Lagrange Multipliers with ellipse

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 8K views
Quincy
Messages
228
Reaction score
0

Homework Statement



Find the points on the ellipse x2 + 2y2 = 1 where f(x,y) = xy has its extreme values.

Homework Equations





The Attempt at a Solution


f(x,y,z) = x2 + y2 + z2 -- constraint
g(x,y,z) = x2 + 2y2 -1 = 0

gradient of f = [tex]\lambda[/tex] * gradient of g

2xi + 2yj + 2zk = [tex]\lambda[/tex]2xi + [tex]\lambda[/tex]4yj

2x = [tex]\lambda[/tex]2x
2y = [tex]\lambda[/tex]4y
2z = 0

I don't know where to go from here, can someone help me out?
 
Physics news on Phys.org
Sorry, I made a mistake in my original post, it should be:

f(x,y,z) = xy
g(x,y,z) = x2 + 2y2 - 1

yi + xj = [tex]\lambda[/tex](2xi + 4yj)
y = 2x[tex]\lambda[/tex]
x = 4y[tex]\lambda[/tex]

y = 2(4y[tex]\lambda[/tex])[tex]\lambda[/tex] = 8y[tex]\lambda[/tex]2

[tex]\lambda[/tex] = sqrt(1/8)

where do i go from here?
 
How about this one:

Find the minimum distance from the surface x2 - y2 - z2 = 1 to the origin. (function being minimized = x2 + y2 + z2)

2xi + 2yj + 2zk = [tex]\lambda[/tex](2xi - 2yj -2zk)

2x = 2x[tex]\lambda[/tex]
2y = -2y[tex]\lambda[/tex]
2z = -2z[tex]\lambda[/tex]
x2 = y2 +z2 + 1

- I can't figure out how to solve this system of equations, any tips?
 
These are pretty close to being trivial. From the first equation, if [itex]x\ne 0[/itex], [itex]\lambda[/itex] must be 1. From the second equation, if [itex]y\ne 0[/itex], [itex]\lambda[/itex] must be -1, and from the third, if [itex]z\ne 0[/itex], [itex]\lambda[/itex] must be -1.

Since [itex]\lambda[/itex] cannot be both 1 and -1, at least one of the coordinates must be 0!

Suppose x= 0. Then the constraint becomes [itex]-y^2- z^2= 1[/itex] which is impossible. If x is not 0, then [itex]\lambda[/itex] must be 1, not -1, so y and z must be 0. The constraint becomes [itex]x^2= 1[/itex].

Looking at it geometrically gives an easy check. This is a "hyperboloid of two sheets" with the x-axis as axis of symmetry.
 
Last edited by a moderator: