I'm not actually taking calc 3, I'm just taking a class where we're supposed to romp through various calc 3 topics. So, I have to use the exact methods I'm given, not alternative methods. Can anybody tell me if I'm going about this obviously simple question in at all the right way?

On my exam I am just going to be asked how to minimize/maximize the distance from some point (most likely the origin) to the surface of some shape - that's it. I assume you just use the distance equation as f(x,y,z) and the equation of the shape as the constraint. And then just use the Lagrange multiplier method:

Use the Lagrange multiplier method to determine the minimum distance from the origin to any point on the ellipsoid defined by:

$\displaystyle \frac{x^2}{4}+{y^2}{16}+z^2=1$

Mywork:

Let:

$\displaystyle D^2=f(x,y,z)=x^2+y^2+z^2$

$\displaystyle g(x,y,z)=\frac{x^2}{4}+{y^2}{16}+z^2-1=0$

So:

$\displaystyle f_x+\lambda g_x=0 \Longrightarrow \lambda=-4$

$\displaystyle f_y+\lambda g_y=0 \Longrightarrow \lambda=-16$

$\displaystyle f_z+\lambda g_z=0 \Longrightarrow \lambda=-1$

Assuming these are right, what am I supposed to do with three lambdas?

How else would I do this question?