Please solve it by( the method of Lagrange multipliers )! Suppose you are diming
ID: 2841215 • Letter: P
Question
Please solve it by( the method of Lagrange multipliers )!
Explanation / Answer
z = 1000 - 0.01x^2 - 0.02y^2
grad(z) = (-0.02x, - 0.04y)
at (50,80,847),
grad(z) = (-0.02*50, - 0.04*80)
= (-1,-3.2) (this vector points in the direction of the steepest uphill slope)
a) The unit vector for "south" is (0,-1), so (-1,-3.2) . (0,-1) = 3.2 > 0. So a walk south from the point (50,80,847) is uphill with gradient 3.2
b) The unit vector for "northwest" is (-1/sqrt(2), 1/sqrt(2)), so (-1,-3.2) . (-1/sqrt(2), 1/sqrt(2)) = 1/sqrt(2) * (1 - 3.2) = -2.2/sqrt(2) = -11*sqrt(2)/10 < 0. So a walk northeast from (50,80,847) is downhill with gradient -11*sqrt(2) / 10.
c) The slope is the largest (i.e. most uphill) in the direction of grad(z), and has gradient |grad(z)|. The direction of steepest ascent at (50,80,847) is in the direction of the vector (-1,-3.2) with gradient sqrt(1^2 + 3.2^2) = 3.35.