Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (anonymous):

Lagrange Multipliers: I'm having an issue with the process of lagrange multipliers. I know that the equations are: 1. g(x,y) = 0 2. fx = lambda gx 3. fy = lambda gy For some reason though, in this particular problem I get 2 different values for lambda so I'm kinda stuck. HELP! I'll attach the problem in the comments.

OpenStudy (anonymous):

OpenStudy (anonymous):

Here's my work: Constraint: 4x^2 + y^2 - 4 = 0 What to minimize/maximize: Distance formula sqrt(x^2 + y^2) To make things easier, we can max/min the square of the distance formula instead.

OpenStudy (turingtest):

I hate these things I found the problem in the other one btw, if you want to check that post the notifications aren't working...

OpenStudy (anonymous):

oh haha I'll take a look

OpenStudy (anonymous):

ok that makes sense. any idea where to go with this one?

OpenStudy (anonymous):

df/dx = 2x, df/dy = 2y, dg/dx = 8x, dg/dy = 2y

OpenStudy (turingtest):

totally have to review LM's, so I'll need a minute I should eat first too....

OpenStudy (anonymous):

hm.... sounds like a good idea. Where you at?

OpenStudy (turingtest):

Guadalajara Mexico, you?

OpenStudy (anonymous):

Chicago.

OpenStudy (turingtest):

right on, I"m originally from Cali what's your major?

OpenStudy (anonymous):

Undecided Engineering. Leaning Mechanical or Electrical. Studying at NU

OpenStudy (turingtest):

cool, I'm probably going CS and Electrical Engineering in Minneapolis alright going to eat, see you in a bit!

OpenStudy (anonymous):

ok I'll be here trying to figure these things out.

OpenStudy (turingtest):

ok I'm ready to help, are you there?

OpenStudy (anonymous):

yup

OpenStudy (turingtest):

first of all. g(x,y)=k your partials are right, so by\[\nabla f(x,y,z)=\lambda\nabla g(x,y,z)\\g(x,y,z)=k\]we get the system\[8x=2\lambda x\\2y=2\lambda y\\4x^2+y^2=4\]we only need to solve for \(\lambda\) once, it doesn'tmatter that you get two different values for it if you try to solve with each equation (you actually can avoid finding lambda all together in some problems, but don't think in this one)

OpenStudy (turingtest):

so use the first equation to solve for \(\lambda\) and \(x\)

OpenStudy (anonymous):

From the first equation we get that lambda is 1/4, but how does that help us?

OpenStudy (anonymous):

because the x's cancel...

OpenStudy (turingtest):

lambda is 4... we can also solve for x, too

OpenStudy (anonymous):

oh right. Lambda is 4. but how can we solve for x if it cancels out of the equation?

OpenStudy (turingtest):

\[8x-2\lambda x=0\implies x=0,~\lambda=4\]

OpenStudy (anonymous):

OHHH

OpenStudy (turingtest):

it's the only possible solution...

OpenStudy (turingtest):

so plug that value for x into the constraint and solve for y to get one set of critical points

OpenStudy (anonymous):

so if x = 0 y = 2, -2 right?

OpenStudy (turingtest):

right :) now we can use the second equation and \(\lambda=4\) to solve for y

OpenStudy (turingtest):

then plug that back into the constraint, solve for x, and get another set of critical points

OpenStudy (anonymous):

there we get that lambda is 1 and y is 0 right?

OpenStudy (anonymous):

and if y = 0 , x = 1,-1

OpenStudy (turingtest):

this is where lambda doesn't matter, if you use lambda=4 you get the same answer ;)

OpenStudy (anonymous):

:P

OpenStudy (turingtest):

that's why I say you can avoid solving for lambda at all sometimes funny little trick mr Lagrange came up with lol

OpenStudy (anonymous):

so anyway....our critical points are (0,2), (0,-2), (1,0), (-1,0) and we just plug those into the original equation to figure out which are max's and which are min's. nice. thanks! you saved my rear end again....

OpenStudy (turingtest):

no problem, you gave me a review again :) a fair trade in my book!

OpenStudy (anonymous):

All's well that ends well.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!