Jump to content

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

From The Invariance Itself
hamiltons-principle>HPVBuild
Initial import of M2-05
 
Pipe internal links so cross-references read as titles, not paths
 
(2 intermediate revisions by the same user not shown)
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 52: Line 53:
so as <math>h \to 0</math> the derivative term grows two powers of
so as <math>h \to 0</math> the derivative term grows two powers of
<math>h</math> faster than the amplitude term. In the Legendre form of
<math>h</math> faster than the amplitude term. In the Legendre form of
[[Hamilton's principle/Mathematics/The second variation]],
[[Hamilton's principle/Mathematics/The second variation|the second variation]],


:<math>\delta^2 J[y;\eta_h] = \int_I \left[ P\,\eta_h'^2 + Q\,\eta_h^2 \right] dx
:<math>\delta^2 J[y;\eta_h] = \int_I \left[ P\,\eta_h'^2 + Q\,\eta_h^2 \right] dx
Line 67: Line 68:


contradicting the necessary condition (7) of
contradicting the necessary condition (7) of
[[Hamilton's principle/Mathematics/The second variation]]. Hence
[[Hamilton's principle/Mathematics/The second variation|the second variation]]. Hence
<math>P \geq 0</math> on the interior, and at the endpoints by continuity.
<math>P \geq 0</math> on the interior, and at the endpoints by continuity.
<math>\blacksquare</math>
<math>\blacksquare</math>
Line 89: Line 90:
| <math>P < 0</math> somewhere || no minimum || this page
| <math>P < 0</math> somewhere || no minimum || this page
|-
|-
| <math>P = 0</math> somewhere || Euler-Lagrange degenerates; corners possible || [[Hamilton's principle/Mathematics/The Euler-Lagrange equation]]
| <math>P = 0</math> somewhere || Euler-Lagrange degenerates; corners possible || [[Hamilton's principle/Mathematics/The Euler-Lagrange equation|the Euler-Lagrange equation]]
|-
|-
| <math>P > 0</math> throughout || equation is genuinely second order; corners excluded || [[Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions]]
| <math>P > 0</math> throughout || equation is genuinely second order; corners excluded || [[Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions|Boundary terms and natural boundary conditions]]
|}
|}


Line 98: Line 99:
several variables <math>P</math> becomes the Hessian matrix
several variables <math>P</math> becomes the Hessian matrix
<math>W_{ik} = \partial^2 L / \partial y_i' \partial y_k'</math> of
<math>W_{ik} = \partial^2 L / \partial y_i' \partial y_k'</math> of
[[Hamilton's principle/Mathematics/Several dependent variables]], and (1) becomes
[[Hamilton's principle/Mathematics/Several dependent variables|Several dependent variables]], and (1) becomes
positive semidefiniteness of <math>W</math>.
positive semidefiniteness of <math>W</math>.


Line 105: Line 106:
The strengthened condition <math>P > 0</math> is '''not''' sufficient, and the
The strengthened condition <math>P > 0</math> is '''not''' sufficient, and the
counterexample is already on the record. On
counterexample is already on the record. On
[[Hamilton's principle/Mathematics/The second variation]] the integrand
[[Hamilton's principle/Mathematics/The second variation|the second variation]] the integrand
<math>L = \tfrac{1}{2}(y'^2 - k^2y^2)</math> has <math>P = 1 > 0</math>
<math>L = \tfrac{1}{2}(y'^2 - k^2y^2)</math> has <math>P = 1 > 0</math>
everywhere, and yet
everywhere, and yet
Line 123: Line 124:
So the condition is blind in exactly one direction, and it is a direction that
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
matters. Detecting the global failure requires the accessory equation, which is
[[Hamilton's principle/Mathematics/The Jacobi condition and conjugate points]].
[[Hamilton's principle/Mathematics/The Jacobi condition and conjugate points|the Jacobi condition and conjugate points]].


== A historical caution ==
== A historical caution ==
Line 140: Line 141:
Provenance: the attributions in this section are editorial summary. No primary
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
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
Jacobi row of the survey on [[Hamilton's principle/Sources|Sources]] is UNCOMPUTED. No
equation on this page is attributed to either.
equation on this page is attributed to either.
</blockquote>
</blockquote>
Line 162: Line 163:
Only the fourth line is a sufficiency statement, and it is confined to weak
Only the fourth line is a sufficiency statement, and it is confined to weak
minima. The last line is
minima. The last line is
[[Hamilton's principle/Mathematics/The Weierstrass excess function]].
[[Hamilton's principle/Mathematics/The Weierstrass excess function|the Weierstrass excess function]].


== Next ==
== Next ==


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


Line 172: Line 173:


<references />
<references />

Latest revision as of 04:57, 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 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 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 the Euler-Lagrange equation
P>0 throughout equation is genuinely second order; corners excluded 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 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 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 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 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 the Weierstrass excess function.

Next

the Jacobi condition and conjugate points supplies the global condition and the geometric counterexample.

References