Jump to content

Hamilton's principle/Mathematics/The Legendre condition: Difference between revisions

From The Invariance Itself
m 1 revision imported
Add DISPLAYTITLE: title the page by its section rather than its path
Line 1: Line 1:
{{DISPLAYTITLE:The Legendre condition}}
{{Plebeian|Hamilton's principle/Explainers/Is it really a minimum}}
{{Plebeian|Hamilton's principle/Explainers/Is it really a minimum}}


Line 172: Line 173:


<references />
<references />

Revision as of 04:46, 16 September 2026

Plain-language version: Is it really a minimum

The Legendre condition is the local necessary condition for a minimum: the coefficient of η'2 in the second variation must not be negative anywhere on the extremal. It is cheap to check and it is the first thing to check. It is also decisively insufficient, and this page is as much about the gap it leaves as about the condition itself.

Statement

A needle variation.

Theorem (Legendre's necessary condition). If y is a weak local minimum of J, then

P(x)=Ly′y′(x,y(x),y′(x))≥0(1)

for every x∈[a,b]. For a maximum the inequality reverses.

The strengthened Legendre condition is the strict form P(x)>0 on [a,b]. It is the hypothesis every sufficiency theorem in this track assumes.

Derivation

The four conditions of the sufficiency theory.

Suppose P(x0)<0 at some interior x0. Build a variation that makes the second variation negative.

By continuity there is δ>0 with P(x)<12P(x0)<0 on I=(x0−δ,x0+δ)⊂(a,b). For 0<h≤δ define the needle variation

ηh(x)={[h2−(x−x0)2]2/h3,|x−x0|≤h0,otherwise(2)

This is admissible: it is C2, vanishes outside a subinterval of (a,b), and therefore vanishes at both endpoints.

The scaling is the point of the construction. Direct integration gives

∫ηh2dx=O(h−1),∫ηh'2dx=O(h−3)(3)

so as h→0 the derivative term grows two powers of h faster than the amplitude term. In the Legendre form of Hamilton's principle/Mathematics/The second variation,

δ2J[y;ηh]=∫I[Pηh'2+Qηh2]dx(4)

the first integral is bounded above by 12P(x0)∫ηh'2dx, which is negative and of order h−3. The second is bounded in magnitude by max⁡|Q|∫ηh2dx, of order h−1. For h small enough the first dominates and

δ2J[y;ηh]<0(5)

contradicting the necessary condition (7) of Hamilton's principle/Mathematics/The second variation. Hence P≥0 on the interior, and at the endpoints by continuity. ◼

The mechanism in one sentence: a narrow, tall-sloped wiggle changes the path very little but its derivative enormously, so wherever P is negative there is a variation that lowers J.

Reading the condition

Ly′y′≥0 says L is convex in its y′ slot along the extremal. Convexity in the velocity is exactly what makes going fast expensive, and a functional that rewards high speed cannot have a minimum: the wiggle exploits it.

Three connected facts, all consequences of the same coefficient:

P=Ly′y′ consequence where treated
P<0 somewhere no minimum this page
P=0 somewhere Euler-Lagrange degenerates; corners possible Hamilton's principle/Mathematics/The Euler-Lagrange equation
P>0 throughout equation is genuinely second order; corners excluded Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions

The middle row connects to the Weierstrass-Erdmann corner conditions: a corner requires P=0, so the strengthened condition rules corners out. In several variables P becomes the Hessian matrix Wik=∂2L/∂yi′∂yk′ of Hamilton's principle/Mathematics/Several dependent variables, and (1) becomes positive semidefiniteness of W.

What it does not buy

The strengthened condition P>0 is not sufficient, and the counterexample is already on the record. On Hamilton's principle/Mathematics/The second variation the integrand L=12(y'2−k2y2) has P=1>0 everywhere, and yet

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

is negative for b>π/k. Legendre's condition holds, uniformly and strictly, on an interval where the extremal is not a minimum.

The reason is visible in the derivation. The needle argument is local: it probes one point at a time and therefore detects only pointwise failures. When Q<0, the reward accumulates over the interval and can defeat the P penalty using a variation spread over the whole domain — a variation the needle construction never builds.

So the condition is blind in exactly one direction, and it is a direction that matters. Detecting the global failure requires the accessory equation, which is Hamilton's principle/Mathematics/The Jacobi condition and conjugate points.

A historical caution

Legendre proposed in 1786 that the strengthened condition was sufficient. Lagrange identified the error. The gap stood until Jacobi supplied the missing condition in 1837, and Weierstrass completed the picture for strong minima later in the century.

The mistake is instructive rather than embarrassing: it is precisely the finite-dimensional analogy, in which a positive definite Hessian does settle the question. The failure of that analogy on a function space is the reason the sufficiency theory has three named conditions instead of one.

Provenance: the attributions in this section are editorial summary. No primary source for Legendre 1786 or Jacobi 1837 has been verified for this volume; the Jacobi row of the survey on Hamilton's principle/Sources is UNCOMPUTED. No equation on this page is attributed to either.

Where the three conditions stand

condition type status
Euler-Lagrange local, first order necessary
Legendre, P≥0 local, second order necessary
Jacobi, no conjugate point in (a,b) global, second order necessary
all three, strengthened sufficient for a weak minimum
Weierstrass excess function strong needed for a strong minimum

Only the fourth line is a sufficiency statement, and it is confined to weak minima. The last line is Hamilton's principle/Mathematics/The Weierstrass excess function.

Next

Hamilton's principle/Mathematics/The Jacobi condition and conjugate points supplies the global condition and the geometric counterexample.

References