Finding extrema of :
- Compute .
- Solve to find critical points.
- Classify using the second derivative test.
Second derivative test — At a critical point , define:
D = f_{xx}f_{yy} - (f_{xy})^2
| Condition | Classification |
|---|---|
| , | Local minimum |
| , | Local maximum |
| Saddle point | |
| Inconclusive |
Lagrange multipliers — To optimise subject to :
The scalar 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 and 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: 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.
Lagrange Multipliers
To optimise subject to a constraint , the method of Lagrange multipliers requires:
At the optimum, the level curve of is tangent to the constraint curve . The multiplier 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.