Taylor approximation extrema and Lagrange multipliers
An engineering optimum must satisfy physical constraints, not just derivative equations. A stationary point may be a maximum, a minimum or a saddle, and a boundary may contain the actual optimum. Taylor expansion classifies local behavior; compactness and boundary analysis establish global results.
1 Second-order approximation
For a function on a neighborhood of ,
To justify it, apply one-variable calculus to . Twice integrating its derivative gives a remainder . Replacing the Hessian by its value at creates by continuity. This argument requires the short segment to remain inside the domain.
At an interior differentiable local extremum, the gradient is zero: restrict to every coordinate line and use the one-variable necessary condition. At a stationary point in two dimensions, write . If and , the Hessian quadratic form is positive definite, giving a strict local minimum. If and , it gives a strict local maximum. If , there are directions of both signs and a saddle. If , the test is inconclusive.
Proof of the positive case. Completing the square makes the quadratic form positive on every nonzero vector. Its minimum on the unit circle is some . For sufficiently small , the Taylor error has magnitude below , smaller than half the positive quadratic term. Thus the function increases in every nonzero small displacement. The other definite case follows by negation; opposite-sign directions prove the saddle case.
2 Global optimization on a closed region
A continuous function on a nonempty compact set attains its maximum and minimum. To find them on a planar region, collect interior stationary points, boundary stationary points under a parameterization or constraint, and corners or singular boundary points; then compare actual function values.
Worked disk example. Optimize on . The only interior stationary point is , giving . Its Hessian is , so it is a strict local minimum. On the boundary, with , ranging from 0 to 2. Therefore the global minimum is at and the global maximum is 2 at . Boundary analysis is not optional: the unconstrained function has no global maximum on the whole plane.
The same minimum can be certified directly by . A second, independent argument is often a useful check on optimization algebra.
3 Equality constraints and regularity
Lagrange multiplier condition. Suppose are near , , and . At a local extremum of restricted to , there is a real with .
For a plane curve, the implicit-function theorem supplies a local parameterized graph. Its tangent vectors are precisely the directions perpendicular to . Differentiating along the graph shows is perpendicular to those tangent directions as well. Thus it lies in the one-dimensional normal span of . This proves the condition. Higher-dimensional regular constraints use the corresponding tangent-space argument.
Worked ellipse example. Optimize on . The constraint is compact and regular. The multiplier equations are and . Neither coordinate can vanish at a stationary solution: one zero would force both zero, violating the constraint. Thus and . The constraint gives , . Equal signs give maximum 1; opposite signs give minimum .
A check comes from and : on the ellipse they imply . Lagrange equations are necessary, not sufficient by themselves. If the constraint gradient vanishes or corners occur, the theorem's candidate list is incomplete and those points need separate examination.
Complete second-order estimate under exactly hypotheses
Let be real-valued and on an open neighborhood of . Choose so the closed ball of radius lies there. For , put for . The chain rule gives . Integration by parts, or the fundamental theorem applied to , yields
Subtract . The remaining term satisfies
Continuity at makes the supremum tend to zero because for all . Thus , with no third derivative required. If on the segment, the first displayed identity also gives the first-order error bound .
For completeness, symmetry of the Hessian follows directly from . Fix distinct coordinates and form the rectangular difference
Applying the one-variable fundamental theorem first in coordinate , then , expresses as the iterated integral of over that rectangle. Reversing the order of this argument expresses the same difference as the iterated integral of . Divide each expression by for nonzero . Continuity makes the respective averages tend to the two mixed partials at , so they are equal. This comparison uses two evaluations of one finite difference, not an unproved interchange of integrals.
A full proof of the one-constraint condition in arbitrary finite dimension
The local inverse and implicit-function proof below supplies the general-dimensional existence result needed here; the subsequent multiplier argument uses only its scalar implicit-function case. All vector spaces are real and finite dimensional, and the neighborhoods are open.
Learning goals and setting
Prove local invertibility rather than only differentiating a formally assumed inverse. Use the Euclidean norm and its induced operator norm throughout. Let be open, be , , , and invertible. We will prove that some open neighborhoods of and of make a bijection with derivative of its inverse equal to .
Lemma: contraction on a closed ball
If a map takes a nonempty closed Euclidean ball into itself and for a fixed , then it has a unique fixed point in .
Proof. Starting from any , define . If , the inequality makes constant, and its value is the unique fixed point reached at the first iteration. For , repeated contraction gives . For , summing consecutive differences bounds by , so the sequence is Cauchy. Coordinatewise real completeness gives a limit in , and closedness keeps it in . Contraction implies continuity, so passing to the limit in makes the limit fixed. Two fixed points would have distance at most times that same distance, forcing equality. This proof also gives the stated geometric error bound to the limit.
Existence and uniqueness of the local inverse
Continuity of lets us choose with the closed ball and
For a target near , set . Its derivative has norm at most on the convex ball. Applying the one-variable fundamental theorem along a segment gives . Also
Choose with . For , the second term is less than , so maps into itself. The lemma supplies a unique satisfying . The fixed-point estimate at gives
so all these roots are interior. Let . This is open, contains , and is bijective, because uniqueness holds even on the larger closed ball.
Continuity and differentiability of the inverse
For , compare the fixed-point equations:
Thus is Lipschitz with constant . For , the matrix has . The convergent matrix series is its inverse: multiplying finite partial sums gives , which tends to . Hence is invertible throughout .
Fix , let , and take a small increment with . Set . Differentiability of gives . The Lipschitz estimate gives , so solving yields
Therefore . The inverse matrices vary continuously: the adjugate-over-determinant formula is continuous where determinant is nonzero. Together with continuity of and , this proves is . The theorem is now proved, including existence, uniqueness, neighborhoods and regularity.
Implicit functions as a corollary
Let be , , and invertible. Define . Its block derivative is
which is invertible at . The proved inverse theorem gives a local inverse. Shrink to product neighborhoods so that solving defines a unique and includes every zero in that product neighborhood. Differentiating the identity after existence is established gives
The factor order is forced by solving the matrix equation and cannot be reversed.
Deriving the multiplier after local existence
Write after permuting coordinates so . For apply the just-proved scalar implicit theorem to . Near the feasible set is exactly , with . The restriction has a local extremum at the interior point , so for each ,
Set . These identities give the first components of , and the final component follows from the definition of . When that definition alone proves the statement. This establishes the stated necessary condition for one scalar regular constraint in every finite dimension. It does not apply at and does not claim a sufficient condition or a theorem for several dependent constraints.
4 Graded practice
E1 Foundation. Classify stationary points of .
E2 Boundary. Find maximum and minimum of on , .
E3 Constraint. Minimize subject to , . Is there a maximum?
E4 Degeneracy. Compare the origin for , and . What does the Hessian test say?
5 Full solutions
S1. Stationarity gives , , hence . Hessian has determinant 8 and positive first entry, so the point is a strict local minimum. Translating gives , proving it is the unique global minimum, value .
S2. The objective itself lies between 0 and 3. Minimum 0 occurs at ; maximum 3 occurs along the entire edge , not just at its endpoints. A boundary optimum need not be unique or stationary in the full plane.
S3. gives , with equality at . This proves the global minimum. There is no maximum: with , remains feasible while . The feasible set is not compact.
S4. All have zero gradient and zero Hessian at zero, so the second-derivative test is inconclusive. Direct signs show respectively a strict global minimum, a saddle, and a strict global maximum. Higher-order terms decide the cases.
Summary
Taylor's quadratic term classifies nondegenerate stationary points. Global optimization needs a complete feasible candidate analysis, including boundaries and exceptional points. Lagrange multipliers encode regular constrained directions but do not remove the need for existence, feasibility and sufficient optimality checks.
Further study
Counterexample mode
Without a nonzero constraint gradient the multiplier can fail to exist
The regularity hypothesis cannot be dropped. Minimize subject to . A feasible point has , hence , and forces . Therefore the origin is the unique global minimizer, with value .
At the origin, however, while . No real satisfies , so the multiplier equation has no solution at the actual minimum. The proof breaks at its first step: with both partial derivatives of equal to zero, the implicit-function theorem gives no parameterization of the constraint, and indeed the feasible set is the cusp , which is not the graph of a single function of either coordinate near the origin. This is why points with must be added to the candidate list separately.