advanced30 min studyLesson 346 in Mathematics

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

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 δ2J[u](h,h)\delta^2J[u](h,h) for the second derivative of J[u+εh]J[u+\varepsilon h] 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.

δ2J[u](h,h)=∫ab(Fuuh2+2Fuvhh′+Fvv(h′)2)dx,J[u+εh]=J[u]+εδJ[u](h)+ε22δ2J[u](h,h)+o(ε2)\delta^2J[u](h,h)=\int_a^b\left(F_{uu}h^2+2F_{uv}hh'+F_{vv}(h')^2\right)dx,\qquad J[u+\varepsilon h]=J[u]+\varepsilon\delta J[u](h)+\frac{\varepsilon^2}{2}\delta^2J[u](h,h)+o(\varepsilon^2)
The displayed convention is the actual second derivative, not the quadratic Taylor coefficient. The expansion is along each fixed direction under the smoothness assumptions.↔ Scroll wide equations horizontally.

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 Fvv≥0F_{vv}\ge0 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.

Fvv(x,u,u′)≥0is necessary for a smooth scalar weak minimum, but∫ab[(h′)2−λh2]dx can be negative when λ>0F_{vv}(x,u,u')\ge0\quad\text{is necessary for a smooth scalar weak minimum, but}\quad \int_a^b[(h')^2-\lambda h^2]dx\text{ can be negative when }\lambda>0
The derivative coefficient is one in the example, yet the displacement term can produce a descending direction. Interval length and admissible functions matter.↔ Scroll wide equations horizontally.

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 H01H_0^1, 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 H1H^1 may require additional growth conditions; classical smoothness on bounded position-slope sets does not control arbitrarily large slopes allowed by small H1H^1 norm. It is legitimate to prove a continuously differentiable local result under classical hypotheses instead, provided that topology and conclusion are stated honestly.

Positive derivative curvature, descending action

Take J[u]=12∫0π[(u′)2−4u2]dxJ[u]=\tfrac12\int_0^\pi[(u')^2-4u^2]dx on H01(0,π)H_0^1(0,\pi). At the stationary curve zero, test the direction h(x)=sin⁡xh(x)=\sin x.

  1. The zero curve satisfies u′′+4u=0u''+4u=0 and the endpoints. The integrand's derivative Hessian is Fvv=1>0F_{vv}=1>0, so the strict scalar Legendre condition holds.

  2. For the chosen direction, both ∫0πsin⁡2x dx\int_0^\pi\sin^2x\,dx and ∫0πcos⁡2x dx\int_0^\pi\cos^2x\,dx equal π/2\pi/2. Hence the second variation is π/2−4π/2=−3π/2\pi/2-4\pi/2=-3\pi/2.

  3. Because the functional is quadratic, J[εh]−J[0]=−3πε2/4J[\varepsilon h]-J[0]=-3\pi\varepsilon^2/4 exactly. It is negative for every nonzero amplitude, however small.

The result

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.

Explore the model

Interactive lab

Interactive lab · function

A negative quadratic direction

Reset and set both coefficient a=−1a=-1 and position x=0.5x=0.5. Predict normalized height −0.25-0.25 and slope −1-1. This parabola represents the sign pattern of the worked direction after dividing its energy by 3π/43\pi/4. Reset and set both a=1,x=0.5a=1,x=0.5 for comparison. The instrument is a scalar restriction in amplitude, not a calculation of a functional Hessian over all shapes.

A negative quadratic directionThis 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. Current readings: y at chosen x: 0.608; Tangent slope · 2ax: 1.35; Signed area · ax³/3: 0.182. All parameters are adjustable with the labeled controls below.−2.4−1.201.22.4−9−4.504.59xy(x, ax²)
y = ax²TangentSigned integral
y at chosen x
0.608
Tangent slope · 2ax
1.35
Signed area · ax³/3
0.182
t = 0 s

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.

Check your understanding

Which statement is sufficient for a strict local minimum of a twice Fréchet differentiable functional at a stationary point, with a little-o squared-norm remainder?

Try it yourself

For J[u]=12∫01[(u′)2+2u2]dxJ[u]=\tfrac12\int_0^1[(u')^2+2u^2]dx at u=0u=0, calculate the second variation for h=x(1−x)h=x(1-x) and the exact objective at εh\varepsilon h.

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 ∫(h′)2=1/3\int(h')^2=1/3 and ∫h2=1/30\int h^2=1/30. Thus δ2J[0](h,h)=1/3+2/30=2/5\delta^2J[0](h,h)=1/3+2/30=2/5. The exact objective is J[εh]=ε2/5J[\varepsilon h]=\varepsilon^2/5. In fact the integrand is positive definite for every nonzero homogeneous perturbation, so zero is the unique global minimum in this example.

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.