Second Variation and Stability

⚡ Key Takeaways

Second Variation and Stability studies whether a critical point of a functional is a genuine minimum by examining the quadratic (second-order) term in its Taylor expansion. In one line: a critical extremal is stable (a local minimizer) only if the second variation is nonnegative, and strictly stable if it is positive definite — conditions encoded by the Jacobi equation, conjugate points, and the Legendre and Jacobi tests. It applies across the calculus of variations, geometry (geodesics, minimal surfaces), optimal control, and physics (action principles). Developed by Legendre, Jacobi, Weierstrass, and Morse from 1786 onward.

💡 The Core Insight

At a critical point the first variation is zero, so optimality is governed by the second-order term. Writing the perturbation as y+ϵηy + \epsilon\eta, the functional expands as

J[y+ϵη]=J[y]+ϵ δJ[η]+12ϵ2 δ2J[η]+o(ϵ2),J[y+\epsilon\eta] = J[y] + \epsilon\,\delta J[\eta] + \tfrac{1}{2}\epsilon^2\,\delta^2 J[\eta] + o(\epsilon^2),

and since δJ=0\delta J = 0, the quadratic functional δ2J[η]\delta^2 J[\eta] decides whether yy is a local minimizer. The deep point is that δ2J\delta^2 J is itself a variational problem — minimizing it leads to an eigenvalue/ODE problem (the Jacobi equation), so stability of one extremal reduces to the existence of conjugate points along it.

Formal Statement

DefinitionSecond Variation

Let J[y]=∫abL(x,y,y′) dxJ[y] = \int_a^b L(x,y,y')\,dx with yy admissible and fixed endpoints, so admissible variations η∈C2[a,b]\eta \in C^2[a,b] satisfy η(a)=η(b)=0\eta(a)=\eta(b)=0. The first variation is

1
δJ[η]=∫ab(Ly η+Ly′ η′)dx=∫ab(Ly−ddxLy′)η dx,\quad \delta J[\eta] = \int_a^b \left( L_y\,\eta + L_{y'}\,\eta' \right) dx = \int_a^b \left( L_y - \frac{d}{dx} L_{y'} \right)\eta\, dx,

Derivation hint: differentiate J[y+ϵη]J[y+\epsilon\eta] in ϵ\epsilon at ϵ=0\epsilon=0; integrate the η′\eta' term by parts using η(a)=η(b)=0\eta(a)=\eta(b)=0. A critical point satisfies the Euler–Lagrange equation Ly−ddxLy′=0L_y - \frac{d}{dx}L_{y'} = 0. The second variation is the quadratic form

2
δ2J[η]=∫ab(Lyy η2+2Lyy′ η η′+Ly′y′ (η′)2)dx,\quad \delta^2 J[\eta] = \int_a^b \left( L_{yy}\,\eta^2 + 2L_{yy'}\,\eta\,\eta' + L_{y'y'}\,(\eta')^2 \right) dx,

Derivation hint: take d2dϵ2J[y+ϵη]∣ϵ=0\frac{d^2}{d\epsilon^2}J[y+\epsilon\eta]\big|_{\epsilon=0}, where all second partials of LL are evaluated along the extremal y(x)y(x). The symbols: Lyy,Lyy′,Ly′y′L_{yy}, L_{yy'}, L_{y'y'} are second partial derivatives of LL evaluated on the extremal; η\eta is the variation field with vanishing endpoints; JJ has units of [action] depending on context.

DefinitionStability and Strict Stability

An extremal yy is stable (a weak local minimizer candidate) if δ2J[η]≥0\delta^2 J[\eta] \ge 0 for all admissible η\eta. It is strictly stable if there exists c>0c>0 with δ2J[η]≥c∥η∥2\delta^2 J[\eta] \ge c\|\eta\|^2 for a suitable norm (e.g. ∥η∥H01\|\eta\|_{H^1_0}). If δ2J[η]<0\delta^2 J[\eta] < 0 for some η\eta, the extremal is unstable and cannot be a minimizer.

After integrating the cross term by parts (using 2ηη′=(η2)′2\eta\eta' = (\eta^2)'), the second variation takes the canonical Legendre form:

3
δ2J[η]=∫ab(P(x) (η′)2+Q(x) η2)dx,P=Ly′y′,Q=Lyy−ddxLyy′.\quad \delta^2 J[\eta] = \int_a^b \left( P(x)\,(\eta')^2 + Q(x)\,\eta^2 \right) dx, \qquad P = L_{y'y'}, \quad Q = L_{yy} - \frac{d}{dx}L_{yy'}.

Derivation hint: integrate ∫2Lyy′ηη′ dx=∫Lyy′(η2)′ dx=−∫(ddxLyy′)η2dx\int 2L_{yy'}\eta\eta'\,dx = \int L_{yy'}(\eta^2)'\,dx = -\int (\frac{d}{dx}L_{yy'})\eta^2 dx by parts; absorb into the η2\eta^2 coefficient.

TheoremLegendre Necessary Condition

If yy is a weak local minimizer of JJ, then

4
P(x)=Ly′y′(x,y(x),y′(x))≥0for all x∈[a,b].\quad P(x) = L_{y'y'}(x,y(x),y'(x)) \ge 0 \quad \text{for all } x \in [a,b].

Derivation hint: localize η\eta near a point x0x_0 via a steep "sawtooth"; the (η′)2(\eta')^2 term dominates and forces P(x0)≥0P(x_0)\ge 0, else δ2J\delta^2 J can be made negative. The strengthened Legendre condition is P(x)>0P(x) > 0 on [a,b][a,b].

TheoremJacobi Equation and Conjugate Points

Assume the strengthened Legendre condition P>0P>0. The Euler–Lagrange equation for the quadratic functional δ2J\delta^2 J in [3] (treating η\eta as the unknown) is the Jacobi equation:

5
−ddx ⁣(P(x) η′)+Q(x) η=0.\quad -\frac{d}{dx}\!\left( P(x)\,\eta' \right) + Q(x)\,\eta = 0.

Derivation hint: apply the Euler–Lagrange operator to the integrand L=P(η′)2+Qη2\mathcal{L} = P(\eta')^2 + Q\eta^2, i.e. Lη−ddxLη′=2Qη−2(Pη′)′=0\mathcal{L}_\eta - \frac{d}{dx}\mathcal{L}_{\eta'} = 2Q\eta - 2(P\eta')' = 0. A point c∈(a,b]c \in (a,b] is conjugate to aa if there is a nontrivial solution uu of [5] with u(a)=0u(a)=0 and u(c)=0u(c)=0. The Jacobi necessary condition states: if yy is a minimizer, then no point of (a,b)(a,b) is conjugate to aa. The Jacobi sufficient condition (with strengthened Legendre) states: if there is no conjugate point in (a,b](a,b], then δ2J\delta^2 J is positive definite and yy is a strict weak local minimizer.

Figure
Conjugate point: the Jacobi field vanishes again, signalling loss of stability
x η a c (conjugate) Jacobi field u(x) beyond c: minimizer fails b

Why It Holds / Derivation

ProofSufficiency via Conjugate-Point-Free Factorization

We show: strengthened Legendre (P>0P>0) plus no conjugate point in (a,b](a,b] implies δ2J[η]>0\delta^2 J[\eta] > 0 for all η≢0\eta \not\equiv 0 with η(a)=η(b)=0\eta(a)=\eta(b)=0.

Step 1 — The completion-of-squares idea. For any C1C^1 function w(x)w(x) and any η\eta with vanishing endpoints,

6
∫abddx ⁣(w η2)dx=[w η2]ab=0.\quad \int_a^b \frac{d}{dx}\!\left( w\,\eta^2 \right) dx = \left[ w\,\eta^2 \right]_a^b = 0.

Derivation hint: fundamental theorem of calculus combined with η(a)=η(b)=0\eta(a)=\eta(b)=0.

Step 2 — Add zero strategically. Expanding the integrand of [6], we have ∫ab(w′η2+2wηη′) dx=0\int_a^b (w'\eta^2 + 2w\eta\eta')\,dx = 0. Add this to δ2J\delta^2 J in [3]:

7
δ2J[η]=∫ab(P(η′)2+2w ηη′+(Q+w′) η2)dx.\quad \delta^2 J[\eta] = \int_a^b \left( P(\eta')^2 + 2w\,\eta\eta' + (Q + w')\,\eta^2 \right) dx.

Derivation hint: superimpose the identically-zero integral from Step 1 onto [3]; the value is unchanged.

Step 3 — Perfect square. The integrand is a perfect square P(η′+wPη)2P\left(\eta' + \frac{w}{P}\eta\right)^2 provided the cross and quadratic coefficients match:

8
Q+w′=w2P⟺w′=w2P−Q,\quad Q + w' = \frac{w^2}{P} \quad\Longleftrightarrow\quad w' = \frac{w^2}{P} - Q,

Derivation hint: expand P(η′+wPη)2=P(η′)2+2wηη′+w2Pη2P(\eta' + \frac{w}{P}\eta)^2 = P(\eta')^2 + 2w\eta\eta' + \frac{w^2}{P}\eta^2 and equate the η2\eta^2 coefficients. This is a Riccati equation for ww.

Step 4 — Riccati solvable iff no conjugate point. Substituting w=−P u′/uw = -P\,u'/u for a solution uu of the Jacobi equation [5] linearizes [8] into [5]. A solution ww exists on all of [a,b][a,b] (no blow-up) precisely when the Jacobi solution uu does not vanish on [a,b][a,b] — i.e. no conjugate point.

Step 5 — Conclusion. With such ww, equation [7] becomes

9
δ2J[η]=∫abP(η′+wPη)2dx≥0,\quad \delta^2 J[\eta] = \int_a^b P\left( \eta' + \frac{w}{P}\eta \right)^2 dx \ge 0,

Derivation hint: substitute the perfect-square form from Step 3 into [7]. and since P>0P>0, this is zero only if η′+wPη≡0\eta' + \frac{w}{P}\eta \equiv 0, a first-order linear ODE whose only solution with η(a)=0\eta(a)=0 is η≡0\eta\equiv 0. Hence δ2J>0\delta^2 J > 0 for nontrivial η\eta. ■\blacksquare

∎
mathematician · Carl Gustav Jacob Jacobi | 1804–1851

Jacobi, the prodigious German analyst best known for elliptic functions and the Hamilton–Jacobi equation, supplied in his 1837 lectures the missing piece of the variational puzzle. Legendre (1786) had given a necessary condition but mistakenly thought it sufficient; Lagrange found the gap. Jacobi recognized that the global behavior of solutions to the variation equation — the vanishing of what we now call Jacobi fields — controls whether an extremal genuinely minimizes. His insight that conjugate points mark the breakdown of minimality unified the analytic, geometric, and dynamical strands of the calculus of variations, and seeded Morse's later index theory.

Building Intuition

🧠 Intuition

Think of the functional landscape as a surface over the infinite-dimensional space of curves. The Euler–Lagrange equation says you're at a flat spot (critical point). The second variation is the Hessian of that landscape — a quadratic form telling you the local curvature in every direction η\eta. If it curves up in all directions (positive definite), you're in a bowl: a minimum. If some direction curves down, you're on a saddle: not a minimum. The conjugate point is the dramatic twist. Imagine geodesics on a sphere leaving the north pole: they all reconverge at the south pole. Up to the south pole, the great-circle arc is the shortest path. Past it, a slightly different route is shorter — the geodesic has stopped minimizing. The south pole is the conjugate point. Jacobi fields are the "spreading" of a family of neighboring extremals; when they refocus (vanish again), the second variation develops a zero eigenvalue, and beyond, a negative one. Stability is thus the statement: neighboring extremals haven't refocused yet.

TA
The Action Principle Lens

In physics the functional is the action S=∫L dtS = \int L\,dt and extremals are classical trajectories. The second variation governs the stability of orbits and the semiclassical phase. The Morse index — the number of conjugate points along a path — enters the Van Vleck–Gutzwiller propagator as the Maslov index, contributing a phase e−iπ index/2e^{-i\pi\,\text{index}/2} to quantum amplitudes. Conjugate points in optics are literal foci where ray families converge; in gravitational lensing they are caustics where image brightness diverges. So "stability" in the variational sense is physically the difference between a focusing and a defocusing trajectory.

Worked Examples

ExampleGeodesic on a Sphere — Locating the Conjugate Point

Given: Great-circle arcs on a unit sphere minimize length J=∫(θ′)2+sin⁡2θ (ϕ′)2 dϕJ = \int \sqrt{(\theta')^2 + \sin^2\theta\,(\phi')^2}\,d\phi. Parametrize an equatorial-type geodesic; the Jacobi equation for normal perturbations uu along a unit-speed geodesic on a surface of Gaussian curvature K=1K=1 is

10
u′′+K u=u′′+u=0.\quad u'' + K\,u = u'' + u = 0.

Derivation hint: the Jacobi equation on a surface reads u′′+Ku=0u'' + K u = 0 with ss = arc length; for the unit sphere K=1K=1.

Steps: 1. General solution: u(s)=Asin⁡s+Bcos⁡su(s) = A\sin s + B\cos s. 2. Impose u(0)=0u(0)=0 at the starting point ⇒B=0\Rightarrow B=0, so u(s)=Asin⁡su(s)=A\sin s. 3. Next zero: sin⁡s=0⇒s=π\sin s = 0 \Rightarrow s = \pi.

Answer: The conjugate point occurs at arc length s=π (antipode)\boxed{s = \pi \text{ (antipode)}}. A great-circle arc shorter than π\pi (i.e. not reaching the antipode) is a strict minimizer; an arc longer than π\pi is not length-minimizing — consistent with everyday intuition that you'd go the "short way" around.

ExampleStability of a Harmonic-Oscillator Action Segment

Given: The action for a unit-mass particle, S=∫0T(12x˙2−12ω2x2)dtS = \int_0^T \left( \tfrac12 \dot x^2 - \tfrac12 \omega^2 x^2 \right) dt. Here L=12x˙2−12ω2x2L = \tfrac12\dot x^2 - \tfrac12\omega^2 x^2, so P=Lx˙x˙=1>0P = L_{\dot x\dot x} = 1 > 0 and Q=Lxx=−ω2Q = L_{xx} = -\omega^2.

Steps: 1. Jacobi equation [5]: −ddt(1⋅η′)+(−ω2)η=0⇒η′′+ω2η=0-\frac{d}{dt}(1\cdot \eta') + (-\omega^2)\eta = 0 \Rightarrow \eta'' + \omega^2\eta = 0. 2. Solution with η(0)=0\eta(0)=0: η(t)=Asin⁡(ωt)\eta(t) = A\sin(\omega t). 3. Conjugate point: first t>0t>0 with η=0\eta=0 is ωt=π⇒t=π/ω\omega t = \pi \Rightarrow t = \pi/\omega.

Answer: The classical path is a strict local minimizer of the action iff T<π/ω\boxed{T < \pi/\omega}. For T≥π/ωT \ge \pi/\omega a conjugate point appears, δ2S\delta^2 S acquires a negative eigenvalue, and the action becomes a saddle — exactly the regime where the WKB propagator picks up a Maslov phase shift. (For half a period the harmonic action ceases to be minimal, though it remains a critical point.)

Common Misconceptions

⚠️ Common mistake

The Legendre condition is not sufficient. A common error is to verify Ly′y′>0L_{y'y'} > 0 everywhere and conclude a minimum. This pointwise condition guards only against high-frequency, locally concentrated perturbations. A global perturbation can still lower JJ if a conjugate point lies inside (a,b)(a,b). Both the strengthened Legendre condition and absence of conjugate points are needed for the sufficiency theorem.

Weak vs. strong minima. The Jacobi/Legendre theory addresses weak local minima (perturbations small in C1C^1, i.e. both η\eta and η′\eta' small). For strong minima (only η\eta small, η′\eta' unrestricted) one additionally needs the Weierstrass condition E≥0E \ge 0 on the Weierstrass excess function. A weak minimizer need not be a strong minimizer.

CounterexampleConjugate Point Defeats Legendre

Consider J[y]=∫0L((y′)2−y2)dxJ[y] = \int_0^L \left( (y')^2 - y^2 \right) dx with y(0)=y(L)=0y(0)=y(L)=0. Here P=2>0P = 2 > 0 (strengthened Legendre holds!) and Q=−2Q = -2. The Jacobi equation η′′+η=0\eta'' + \eta = 0 gives η=sin⁡x\eta = \sin x, with conjugate point at x=πx=\pi. For L>πL > \pi, take η(x)=sin⁡(πx/L)\eta(x) = \sin(\pi x / L):

δ2J=2∫0L(π2L2cos⁡2πxL−sin⁡2πxL)dx=L(π2L2−1)<0.\delta^2 J = 2\int_0^L \left( \frac{\pi^2}{L^2}\cos^2\frac{\pi x}{L} - \sin^2\frac{\pi x}{L} \right) dx = L\left( \frac{\pi^2}{L^2} - 1 \right) < 0.

So y≡0y\equiv 0 is not a minimizer despite Legendre being satisfied everywhere — the conjugate point at π<L\pi < L is the culprit. This is the canonical demonstration that pointwise convexity is insufficient.

Connections

connection

The second variation is the variational incarnation of the Hessian, linking the Calculus of Variations to finite-dimensional optimization where stability means a positive-definite Hessian. The Jacobi equation is the linearization of the Euler–Lagrange Equation and, in geometry, defines Jacobi Fields along geodesics — connecting to the Index Form of Riemannian Geometry. The counting of negative eigenvalues of δ2J\delta^2 J is the Morse index, central to Morse Theory and the Morse Index Theorem, which equates the index to the number of conjugate points. In dynamics, the Riccati substitution in the proof links to Sturm–Liouville Theory (the Jacobi equation is a Sturm–Liouville operator) and to Hamilton–Jacobi Theory via the field-of-extremals construction. In physics the index reappears as the Maslov Index in semiclassical quantization.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1744 — Euler. Establishes the calculus of variations and the first-order (Euler) equation in Methodus inveniendi.
- 1786 — Legendre. Introduces the second variation and the condition Ly′y′≥0L_{y'y'}\ge 0, but erroneously claims it sufficient.
- ~1797 — Lagrange. Points out the flaw in Legendre's sufficiency argument; the gap remains open for decades.
- 1837 — Jacobi. In his Königsberg lectures, introduces the Jacobi equation and conjugate points, identifying the true obstruction to minimality.
- 1868 — Weierstrass. Distinguishes weak from strong extrema; introduces the excess function EE and the field theory of extremals, completing the sufficiency theory for strong minima.
- 1879 — Mayer & Clebsch. Extend conjugate-point theory to multiple integrals and constrained (Lagrange) problems; the Legendre–Clebsch condition emerges.
- 1900s — Hilbert. The invariant integral and field theory give a clean modern proof of sufficiency.
- 1925–1934 — Morse. Creates the calculus of variations in the large (Morse theory); the Morse Index Theorem equates the index of the second variation to the number of conjugate points counted with multiplicity.
- 1965–1970 — Penrose, Hawking. Recast conjugate-point focusing via the Raychaudhuri equation into the singularity theorems of general relativity.

Subtleties & Limits

open-problem

Several frontiers complicate the clean classical picture:

  • Free and broken boundary conditions. With non-fixed endpoints the conjugate point is replaced by focal points, and transversality conditions modify the Jacobi boundary data; the index theory is more delicate.
  • Multiple integrals. For functionals ∫ΩL(x,u,∇u) dx\int_\Omega L(x,u,\nabla u)\,dx over domains Ω⊂Rn\Omega\subset\mathbb R^n, the Legendre–Hadamard condition (rank-one convexity) replaces Ly′y′>0L_{y'y'}>0, and strong/quasiconvexity notions (Morrey) determine lower semicontinuity. The relationship between pointwise convexity conditions and existence/regularity remains subtle (cf. Morrey's quasiconvexity, still not fully characterized).
  • Degenerate second variation (zero eigenvalues). When δ2J\delta^2 J is merely semidefinite (a conjugate point exactly at bb), higher variations or center-manifold-type analysis decide stability — a genuinely open analytical regime.
  • Infinite-dimensional Morse theory & Floer homology. For action functionals that are unbounded above and below (e.g. on the loop space, in symplectic geometry), the classical Morse index is infinite; relative indices and Floer's homological approach are required, an active research area.
  • Non-smooth and constrained settings. For optimal control with state constraints and bang-bang solutions, second-order conditions involve generalized Jacobi equations and remain technically intricate.

See Also

Calculus of Variations · Euler–Lagrange Equation · Jacobi Fields · Morse Theory · Morse Index Theorem · Sturm–Liouville Theory · Maslov Index · Hamilton–Jacobi Theory · Minimal Surface Theory · Optimal Control Theory · Riemannian Geometry