Extrema of Multivariable Functions and Lagrange Multipliers
This final chapter of Block A brings together Chapter 14's partial derivatives and tangent planes to solve a genuinely practical problem: finding the maximum and minimum values of a function of two variables, both freely (over an open region) and when restricted to a constraint curve. The free case extends single-variable optimisation via a Second Derivative Test built from second-order partial derivatives; the constrained case introduces Lagrange multipliers, a strikingly different-looking but conceptually natural technique for optimising along a curve rather than throughout a whole region.
Have to hand: Chapter 14's partial derivatives, the tangent plane, and the fact that a horizontal tangent plane () is necessary but not sufficient for a local extremum (demonstrated by the saddle point example in Section 2 below).
Every extremum problem in this chapter reduces to solving a system of equations built from partial derivatives. Free extrema require simultaneously; constrained extrema require the gradient of to be parallel to the gradient of the constraint — both are systems to be solved algebraically, then classified.
1. Critical Points and the Necessary Condition for a Local Extremum
Definition. A point is a critical point of if and (or if either partial derivative fails to exist there).
Theorem (necessary condition for an interior local extremum). If has a local maximum or minimum at an interior point of its domain, and both exist, then is a critical point.
Proof. Fix ; the single-variable function has a local extremum at (since does, restricted to this slice), so by single-variable theory (Fermat's theorem, Chapter 4), . Symmetrically, fixing gives .
Worked example. Find the critical points of . Setting gives ; setting gives . The unique critical point is .
A critical point is only a CANDIDATE for a local extremum — exactly as in one variable. Just as does not guarantee a maximum or minimum (consider at ), does not guarantee one either; the saddle point of Section 2 below is the two-variable analogue of this phenomenon.