Courses / Physics I
Multivariable Calculus

Optimization: Critical Points and Lagrange Multipliers

Physics I 229 words Free to read

Unconstrained Optimization

Finding extrema of f(x,y)f(x,y) starts by computing the gradient vector f=(fx,fy)\nabla f = (f_x, f_y) and setting it to zero.

A critical point is any (a,b)(a,b) where f=0\nabla f = \vec{0}. However, flat points also include saddles: a maximum in one direction and a minimum in another.

To classify critical points, use the second derivative test via the Hessian determinant:

D=fxxfyy(fxy)2D = f_{xx}f_{yy} - (f_{xy})^2

ConditionClassification
D>0D > 0, fxx>0f_{xx} > 0Local minimum
D>0D > 0, fxx<0f_{xx} < 0Local maximum
D<0D < 0Saddle point
D=0D = 0Inconclusive

Common pitfall: f=0\nabla f = 0 alone only finds flat spots. The determinant DD is required to separate peaks, pits, and passes.

Placeholder: Optimization: Critical Points and Lagrange Multipliers

Constrained Optimization

To optimise f(x,y)f(x,y) subject to a constraint g(x,y)=cg(x,y) = c, use the method of Lagrange multipliers:

f=λgandg(x,y)=c\nabla f = \lambda\,\nabla g \quad\text{and}\quad g(x,y) = c

Geometric meaning: At the optimum, the level curves of ff and gg are tangent, meaning their gradients are parallel.

The scalar λ\lambda is the Lagrange multiplier. It measures how sensitive the optimum value is to small changes in the constraint value cc.

Tip: Lagrange multipliers only find interior constrained points. Always check boundary behavior too, as global extrema often occur at domain endpoints.
Lagrange Multipliers

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes

Multivariable Calculus