Find the points on the plane x + y + z = 9 which are closest to origin.

KellyPoima

New member
Find the points on the plane x + y + z = 9 which are closest to origin.
A. (3,3,3)
B. (2,1,3)
C. (2,2,2)
D. (3,4,1)
 
Answer: a
Explanation: The objective function is f(x,y,z) = x$^{2}$ + y$^{2}$ + z$^{2}$
compute gradient ∇f = 2x i + 2y j + 2z k
Now compute gradient of the function x + y + z = 9
which is
= i + j + k
Using Lagrange condition we have
∇f = λ . ∇$_{g}$
2x i + 2y j + 2z k = λ * (i + j + k)
⇒ x = y =z
Put this back into constraint function we get
3x = 9 ⇒ (x,y,z) = (3,3,3).
 

Tìm kiếm

Back
Top