Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
Find the maximum and minimum values of f(x,y,z)=x+4y+5z on the sphere x^2+y^2+z^2=1.Asked by Salman
Find the maximum and minimum values of f(x,y,z)=3x+1y+5z on the sphere x^2+y^2+z^2=1
Answers
Answered by
DQR
Use Lagrange multipliers to maximize g(x, y, z, ë) = 3x+1y+5z + ë(x^2+y^2+z^2-1) by differentiating it with respect to x, y, z and ë:
dg/dx = 3 + 2ëx = 0;
dg/dy = 1 + 2ëy = 0;
dg/dz = 5 + 2ëz = 0;
dg/dë = x^2+y^2+z^2-1 = 0
so
(a) 2ëx = -3
(b) 2ëy = -1
(c) 2ëz = -5
and (d) x^2+y^2+z^2 = 1
Divide (a) by (b) to get x/y = 3, or x = 3y
Divide (c) by (b) to get z/y = 5, or z = 5y
You can now express (d) entirely in terms of y^2: the rest should be plain sailing! Don't forget that square roots can take either positive or negative values.
dg/dx = 3 + 2ëx = 0;
dg/dy = 1 + 2ëy = 0;
dg/dz = 5 + 2ëz = 0;
dg/dë = x^2+y^2+z^2-1 = 0
so
(a) 2ëx = -3
(b) 2ëy = -1
(c) 2ëz = -5
and (d) x^2+y^2+z^2 = 1
Divide (a) by (b) to get x/y = 3, or x = 3y
Divide (c) by (b) to get z/y = 5, or z = 5y
You can now express (d) entirely in terms of y^2: the rest should be plain sailing! Don't forget that square roots can take either positive or negative values.
Answered by
DQR
Oops - that "ë" is supposed to be a lambda symbol. Wikipedia on "Lagrange Multipliers" will show how it works.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.