Courses / Physics I
Multivariable Calculus

Optimization: Critical Points and Lagrange Multipliers

Finding extrema of f(x,y): 1. Compute f = (fx, fy). 2. Solve f = 0 to find critical points. 3. Classify using the second derivative test. Second derivat…

Physics I 278 words Free to read

Finding extrema of f(x,y)f(x,y):

  1. Compute f=(fx,fy)\nabla f = (f_x, f_y).
  2. Solve f=0\nabla f = \vec{0} to find critical points.
  3. Classify using the second derivative test.

Second derivative test — At a critical point (a,b)(a,b), define:

D = 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

Lagrange multipliers — To optimise f(x,y)f(x,y) subject to g(x,y)=0g(x,y) = 0:

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

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

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

Tip: Always check boundary behaviour too. Lagrange multipliers find constrained critical points, but the global optimum might occur at an endpoint.
Common pitfall: f=0\nabla f = 0 finds flat points, but in two variables flat includes saddles — max in one direction, min in another. The second-derivative test (via the Hessian determinant) is what separates peaks, pits and passes.
Placeholder: Optimization: Critical Points and Lagrange Multipliers

Lagrange Multipliers

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

f=λg\nabla f = \lambda\,\nabla g

At the optimum, the level curve of ff is tangent to the constraint curve g=cg = c. The multiplier λ\lambda measures how much the optimum changes if the constraint is relaxed.

This method converts a constrained problem into a system of equations — no substitution or parameterisation needed.
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
Start Physics I free

Multivariable Calculus