Second variation and the Legendre condition
Compute the quadratic response to perturbations and distinguish a necessary pointwise curvature condition from a sufficient functional estimate.
On this page
The question for today
What you’ll understand
- Compute a second variation with an explicit factor convention.
- Interpret the scalar Legendre necessary condition.
- Distinguish directional positivity from a uniform coercive lower bound.
When the first variation vanishes, the next question is how the objective bends along nearby functions. The second variation is a quadratic form on perturbations, combining changes in the function and in its derivative. It can expose a descending direction that a stationary equation misses. But the infinite-dimensional setting adds a subtlety: positive change along each fixed direction need not give a uniform lower bound over all directions. A convincing sufficient-condition argument must control the Taylor remainder in the same norm used to define closeness.
Fix the normalization before computing
Use for the second derivative of at zero, so the Taylor expansion contains one half times this quantity. Assume a twice continuously differentiable integrand and classical candidate and directions on a compact interval, with derivatives bounded in a neighborhood so differentiation under the integral is legitimate. The second derivative consists of a displacement term, a mixed term, and a derivative term. Its associated bilinear form follows by using two different directions or by polarization.
At a two-sided local minimum each scalar restriction has nonnegative second derivative once its first derivative vanishes. Thus the quadratic form must be nonnegative for every admissible direction. Finding a single negative value refutes local minimality: arbitrarily small multiples of that fixed direction lower the objective. A zero value is inconclusive in general because higher-order terms can raise, lower, or leave the objective unchanged. Quadratic functionals are especially transparent because their expansion has no higher-order remainder.
Legendre controls the highest derivative coefficient
For a smooth scalar one-dimensional fixed-endpoint problem, a classical weak local minimum in the continuously differentiable topology must satisfy along its graph. This is the Legendre necessary condition. The idea is to localize a perturbation in a region where that coefficient might be negative, making the derivative contribution dominate the lower-order terms. Standard proofs require sufficient smoothness to control these localized estimates; the statement is about the candidate graph and all admissible localized directions, not arbitrary values of the integrand's arguments.
Strictly positive derivative curvature does not by itself make the entire second variation positive. A sufficiently negative displacement coefficient can outweigh it on a long interval. Nor does nonnegative derivative curvature ensure existence of a minimizing curve. In vector-valued or higher-dimensional problems, the correct necessary condition concerns rank-one directions in the gradient Hessian, called the Legendre–Hadamard condition, rather than naive scalar convexity in every matrix direction. The present lesson proves its counterexample in the scalar setting and leaves that generalization as a separate topic.
A sufficient condition needs the right uniform estimate
In a Banach-space formulation, assume the functional is twice Fréchet differentiable near a stationary point and has expansion remainder little-o of the squared norm. If its second derivative is bounded below by a positive constant times the squared norm for every admissible perturbation, the remainder is eventually dominated by that positive term. This proves a strict local minimum in that norm. Mere strict positivity separately for each nonzero direction does not supply such a uniform constant, so it cannot be substituted into this proof.
For a positive quadratic energy on , Poincaré's inequality can convert a derivative bound into an estimate for the full Sobolev norm. For a nonlinear integral energy, establishing a Fréchet remainder in may require additional growth conditions; classical smoothness on bounded position-slope sets does not control arbitrarily large slopes allowed by small norm. It is legitimate to prove a continuously differentiable local result under classical hypotheses instead, provided that topology and conclusion are stated honestly.
Work it through
Positive derivative curvature, descending action
Take on . At the stationary curve zero, test the direction .
The zero curve satisfies and the endpoints. The integrand's derivative Hessian is , so the strict scalar Legendre condition holds.
For the chosen direction, both and equal . Hence the second variation is .
Because the functional is quadratic, exactly. It is negative for every nonzero amplitude, however small.
The zero stationary curve is not a local minimum despite Fᵥᵥ being strictly positive. The full second variation, not just one coefficient, determines this failure.
The living notebook
Explore the model
Interactive lab · function
A negative quadratic direction
Reset and set both coefficient and position . Predict normalized height and slope . This parabola represents the sign pattern of the worked direction after dividing its energy by . Reset and set both for comparison. The instrument is a scalar restriction in amplitude, not a calculation of a functional Hessian over all shapes.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA single negative second-variation direction is enough to disprove local minimality.
Pause & reason
Check your understanding
Your turn
Try it yourself
For at , calculate the second variation for and the exact objective at .
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Compute the derivative-square integral and displacement-square integral separately, then remember the one-half in the Taylor coefficient.
Compare with the solution
The two integrals are and . Thus . The exact objective is . In fact the integrand is positive definite for every nonzero homogeneous perturbation, so zero is the unique global minimum in this example.
Keep the idea
Take it with you
- The second variation is the second derivative, with a one-half Taylor coefficient.
- Legendre is a necessary local coefficient condition, not a complete sufficiency test.
- Uniform positivity and remainder control give a valid norm-specific sufficient condition.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.