calc 3 help plz use lagrange multipliers to find the max and min values of f(x,y,z)=2x+y-2z subject to the constraint x^2+y^2+z^2=4 and find the points at which these extreme values occur.
this isnt too bad, check on pauls online notes
would you like to go through it?
uhm sure.
Should I just say what I did?
yeah
found gradient of F and lamda gradient of G
put like terms together form the 2 functions, the i components together, j components and z components
ok lets set it up
uhm I did gradient F = lamda gradient G
solve the system <fx, fy,fz> = lambda <gx,gy,gz> g(x,y,z) = k
found x=1/lamda, y=1/2lamda and z = -1/lamda
one sec
<2,1,-2> = L <2x, 2y, 2z> 2 = 2Lx, 1 = 2Ly , -2 = 2Lz
Yes I got that, then I solved for x, y and z
ok so we need to solve the system of equations 2 = 2Lx, 1 = 2Ly , -2 = 2Lz , x^2+y^2+z^2=4
so I get 1/x = 1/(2y)= -1/z ,
Yes, I plugged in the values I got, and solved for lamda
yes
so x/2 = y, and z = -x , we can plug that into g(x) x^2 + (x/2)^2 + (-x)^2 = 4
Would it be right if I just plugged in the x, y, and z values?
x^2 +(x/2)^2 + (-x)^2 = 4 , solve that
Like rather than subbing it in terms of X, would I be able to just put in 1/L for x and 1/2L for y etc?
you want to solve for x, not for L
Ok, but before I solve it
L is just an auxiliary thing
why isn't it x^2+(2x)^2+(-x)^2=4?
do you agree that 2 = 2Lx, 1 = 2Ly , -2 = 2Lz , x^2+y^2+z^2=4
Yes
L = 1/x , L = 1/(2y ) , L = -1/z now set them equal to each other, since they all equal to L
oohhh, that changes everything, I solved for the variables, not L
basically we want to get rid of the L. it is just a helper, we dont care about L actually
it helps to turn this into a one variable problem,
So after I solve for L
actually you can solve for L if you want
I just erased my work =[[
no problem
in this problem, either way works actually
after you solved L = 1/x, 1/2y, -1/z what do you do?
so I got x = positive or negative 4/3
hhhmm
do you agree x^2 +(x/2)^2 + (-x)^2 = 4
yeah that what i got
x^2+(x^2/4)+x^2=4
x^2 + x^2/4 + x^2 = 4 9/4 *x^2 = 4
its 16/9
x^2= 16/9
right, woops
ok , i agree x = + - 4/3
Yes, I almost erased it again aahhaha
from there you plug x back into L = 1/L correct?
then solve for L, and plug L back into the other ones?
hmmm, we plug this x into f(x,y,z) first find y and z though
we have two solutions for x , (4/3 , , ) (-4/3 , , )
for my Y i got positive and negative 2/3
and x = -z so positive and negative 4/3?
yes
Alright, then plug in EVERY combination of those points, back into the F function, find which one gives you the highest and lowest value, and that's the max/min and the points are the coordinates for which they occur?
so we test (4/3, 2/3, -4/3) and (-4/3, -2/3, 4/3)
right
I got 8 different points
but the points you just said.... are the max/min points ahah, how'd you figure them out so quick?
8 different points?
since x = 4/3, -4/3 that means there will be two points, remember y and z depend on x here because of our work above
two points (x,y,z) to plug into f(x,y,z) , one will be greater than the other, so that tells you which is min which is max
oh you're right, x = -z
you could solve this by using L, you were right earlier
Join our real-time social learning platform and learn together with your friends!