The question: Find the maximum distance from the origin to the ellipse .

My work: I figure that the distance to the origin is defined by the equation so that is the function I need to maximize subject to the constraint defined by the equation of the ellipse.

So I've formed the Lagrangian and taken the partials:

After setting all the partials equal to zero, I don't know where to go. No obvious algebraic solutions are coming to mind.

September 26th 2009, 01:01 PM

galactus

You could do this without Lagrange by solving the ellipse equation for y and subbing into , differentiating, setting to 0 and solving for x.

It will take some algebra, but it certainly doable.

September 26th 2009, 01:29 PM

garymarkhov

Quote:

Originally Posted by galactus

You could do this without Lagrange by solving the ellipse equation for y and subbing into , differentiating, setting to 0 and solving for x.

It will take some algebra, but it certainly doable.

Hmm, I'm not talented enough to solve for y. Is it possible?

September 26th 2009, 01:40 PM

galactus

Yes, it is. I get

September 26th 2009, 01:56 PM

garymarkhov

Quote:

Originally Posted by galactus

Yes, it is. I get

That's great... can you show me how to do it?

September 26th 2009, 02:37 PM

galactus

Actually, it is amazingly easy. Use the quadratic formula.

Just simplify a wee bit and that's it.

See there?.(Cool)

September 26th 2009, 04:35 PM

garymarkhov

Quote:

Originally Posted by galactus

Actually, it is amazingly easy. Use the quadratic formula.

Just simplify a wee bit and that's it.

See there?.(Cool)

Very cool.

As for solving this thing, why would I want to sub my newly found y into ? The function I want to maximize is (where L is distance to origin) isn't it?

September 27th 2009, 02:24 AM

galactus

It is better to maximize because there is no radical. Remember, the distance and the square of the distance have their max and min at the same point. Therefore, no need to differentiate the radical. Just differentiate

September 27th 2009, 09:11 AM

garymarkhov

Quote:

Originally Posted by galactus

It is better to maximize because there is no radical. Remember, the distance and the square of the distance have their max and min at the same point. Therefore, no need to differentiate the radical. Just differentiate

That's a really super idea. Good insight.

So my solution is x=1.816, y=-1.816 and it looks roughly correct on a graph. Think it's right?