Yefim S. answered 03/13/21
Math Tutor with Experience
Let (x ,y, z) any point on surface.
We have to minimize function f(x,y,z) = x2 + y2 + z2 under condition: xy + 6x + z2 - 36 = 0;
Lagrange funct F(x,y,z,λ) = x2 + y2 + z2 + λ(xy + 6x + z2 - 36)
F'x = 2x + λy + 6λ = 0;
F'y = 2y + λx = 0
F'z = 2z + 2λz = 0; z = 0 or λ = - 1;
F'λ = xy + 6x + z2 - 36 = 0
λ = -1; 2x - y - 6 =0 and 2y - x = 0 x = 2y; 4y - y - 6 = 0; y = 2, x = 4; 8 + 24 + z2 - 36 = 0; z = ± 2
We get 2 points: (4, 2, 2) and (4, 2, - 2);
If z = 0, 2y2 + 12y - 36 = 0; y2 + 6y - 18 = 0; y = -3 ± 3√3 and x = - 6 ± 6√3
We get 2 more points: (- 6 + 6√3, - 3 + 3√3, 0) and (- 6 - 6√3 - 3 - 3√3, 0)
Calculating F(x,y,z) at all this points to get min. We have this 2 points: (4,2,2) and (4,2,-2).
f(4,2,2) = f(4,2, - 2) = 24 AND N MIN DISTANCE FROM ORIGIN IS √24