Jump to content

Hamilton's principle/Mathematics/The second variation

From The Invariance Itself
Revision as of 05:05, 9 September 2026 by BFP Rauch (talk | contribs) (1 revision imported)
Plain-language version: Is it really a minimum

Every result so far has been necessary and none has been sufficient. The Euler-Lagrange equation says the first variation vanishes; it says nothing about whether the extremal is a minimum, a maximum, or neither. The second variation is the tool that begins to answer that, and this page is where the volume's central distinction — stationary against least — acquires machinery rather than assertion.

Definition

The second variation changing sign as the interval lengthens.

With Φ(ε)=J[y+εη] as on Hamilton's principle/Mathematics/The first variation, the second variation is

δ2J[y;η]=Φ″(0)(1)

Taylor's theorem with the first variation vanishing gives

J[y+εη]−J[y]=12ε2δ2J[y;η]+o(ε2)(2)

So the sign of δ2J controls the comparison, subject to the error term — and that qualification is where the difficulty lives.

Computing it

Local penalty against accumulated reward.

Differentiate under the integral twice and set ε=0:

δ2J[y;η]=∫ab[Lyyη2+2Lyy′ηη′+Ly′y′η'2]dx(3)

with all second partials evaluated along the extremal. This is a quadratic functional of η — the analogue of the Hessian in finite dimensions.

The cross term can be removed. Since 2ηη′=(η2)′, integrate the middle term by parts; the boundary term vanishes because η does, and

∫ab2Lyy′ηη′dx=−∫abddx(Lyy′)η2dx(4)

Substituting into (3) gives the Legendre form

δ2J[y;η]=∫ab[Pη'2+Qη2]dx(5)

with

P=Ly′y′,Q=Lyy−ddxLyy′(6)

Two terms, two coefficients, both determined by the extremal.

Necessary conditions, and the trap

If y is a weak local minimum then Φ has a minimum at ε=0 for every η, so

δ2J[y;η]≥0for all η∈𝒱(7)

This is necessary. The temptation is to reverse it and conclude that δ2J>0 for all η≠0 makes y a minimum, by analogy with the finite-dimensional second derivative test.

That inference is false in infinite dimensions. The reason is the error term in (2). In finite dimensions a positive definite Hessian is bounded below by c‖v‖2 with c>0, which dominates the remainder. On a function space, positivity of a quadratic functional does not give such a bound: the infimum of δ2J[y;η] over ‖η‖=1 can be zero without being attained. The remainder is then not dominated and no conclusion follows.

Repairing this is the whole content of the sufficiency theory. It needs a strengthened positivity, and that is what the Legendre and Jacobi conditions supply.

What the two coefficients contribute

P and Q enter (5) very differently, and seeing why motivates the next two pages.

P is local and dominant. η′ can be made enormous while η stays small — a rapid, low-amplitude wiggle. Any such η makes the Pη'2 term overwhelm the Qη2 term. So if P<0 anywhere, a wiggle localised there drives δ2J negative and (7) fails. This yields P≥0 as a necessary condition, derived properly on Hamilton's principle/Mathematics/The Legendre condition.

Q is global and accumulative. With P>0 the first term is a penalty on bending and the second may be a reward, if Q<0. Over a short interval the penalty wins. Over a long enough interval the accumulated reward can win, and δ2J turns negative even though P>0 throughout. The length at which this happens is set by conjugate points, on Hamilton's principle/Mathematics/The Jacobi condition and conjugate points.

Interval length is therefore part of the answer. The same extremal can be a minimum on [a,b] and fail to be one on [a,b′] with b′>b, with no change to L and no change to the equation it satisfies. Nothing in the Euler-Lagrange equation sees this.

The accessory problem

Equation (5) is itself a variational problem, in the unknown η. Its Euler-Lagrange equation is

ddx(Pη′)−Qη=0(8)

called the Jacobi accessory equation. Analysing the second variation thus means solving a linear second-order equation derived from the original extremal — a striking reduction, and the reason the sufficiency theory is tractable at all.

Solutions of (8) are exactly the directions in which δ2J is stationary, and its zeros are the conjugate points.

A first sight of the failure

Take L=12(y'2−k2y2) on [0,b] with y≡0 as the extremal, endpoints zero. Then P=1 and Q=−k2, so

δ2J[0;η]=∫0b(η'2−k2η2)dx(9)

Test with η=sin⁡(πx/b), which vanishes at both ends. Using ∫0bsin2(πx/b)dx=∫0bcos2(πx/b)dx=b/2,

δ2J=b2(π2b2−k2)(10)

This is positive for b<π/k and negative for b>π/k. The extremal, the integrand and the Legendre coefficient P=1>0 are identical in both cases. Only the interval length changed.

At b=π/k exactly, (10) vanishes for this η: the second variation is degenerate, and x=π/k is the point conjugate to the origin. Beyond it the zero solution is stationary and is not a minimum.

Equation (10) is the volume's first exhibited demonstration that stationary does not imply least. It is a computation, not an assertion, and the geometric version of the same phenomenon — a great-circle arc past its antipode — is worked on Hamilton's principle/Mathematics/The Jacobi condition and conjugate points.

Second variation with constraints

For constrained problems the second variation is that of the augmented integrand of Hamilton's principle/Mathematics/Lagrange multipliers, evaluated with the multipliers at their solution values, and it is tested only against variations satisfying the linearised constraint. Both restrictions matter; dropping either gives the wrong sign test.

Next

Hamilton's principle/Mathematics/The Legendre condition derives the local condition P≥0 and shows exactly how much it does and does not buy.

References