Multivariable Calculus – Lagrange Multipliers Tangency

lagrange multipliermultivariable-calculus

I'm at the start of a section on Lagrange multipliers and the graphical/intuitive explanation is that one can increase/decrease $c$ until the level curves of some function in 2 vars is tangent to the constraint curve.

But what happens when we are already on the min/max level curve and it isn't tangent to the constraint curve?

enter image description here

[EDIT]

Thx everyone for helping out.

My mistake was that I didn't notice that $\nabla f=\vec0$ when we are on the max level curve. So whether there is tangency or not the equation:
$$\nabla f=\lambda\nabla g$$
is still true.

Best Answer

Tangency of the contour lines to the constraint curve is not a necessary condition.

To the Wiki article Lagrange multiplier, there is a note "Inaccurate intuition" criticizing the article for promoting the false intuition that the extrama of the function occurs when the level curves are tangent to the constraint curve. The author of the note gives an example whose simplified version is as follows.

Take $$f(x,y)=x^2$$ whose 3D plot and level curves look like as follows

enter image description here

The constraint curve is a circle centered at the origin (blue line): $$g(x,y)=x^2+y^2-1=0$$ the minima occur at $(0,-1)$ and $(0,1)$ at which points the contor lines are perpendicular to the constraint. The two maxima occur at points where the constraint curve is, indeed, tangent to the contours: $(-1,0)$ and $(1,0)$.

This, however, does not mean that the Lagrange multiplier method does not work. Take the Lagrange function $$\mathscr L(x,y,\lambda)=x^2+\lambda(x^2+y^2-1)$$

and take the partial derivatives and set them equal to zero:

$$2x(1+\lambda)=0,$$ $$\lambda2y=0,$$ $$x^2+y^2=1.$$

For $\lambda=0$: $x=0$ and $y=\pm 1$ and for $\lambda=-1$: $y=0$ and $x=\pm1$ as the intuition already has shown.

Related Question