Jump to content

Hamilton's principle/Mathematics/The Euler-Lagrange equation: Difference between revisions

From The Invariance Itself
m 1 revision imported
Remove phrase duplicated by the piped link
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:The Euler-Lagrange equation}}
{{Plebeian|Hamilton's principle/Explainers/What the Euler-Lagrange equation says}}
{{Plebeian|Hamilton's principle/Explainers/What the Euler-Lagrange equation says}}


Line 16: Line 17:


on the admissible set <math>\mathcal{A}</math> of
on the admissible set <math>\mathcal{A}</math> of
[[Hamilton's principle/Mathematics/Functionals and the space of paths]]. If
[[Hamilton's principle/Mathematics/Functionals and the space of paths|Functionals and the space of paths]]. If
<math>y \in \mathcal{A}</math> is stationary for <math>J</math>, then
<math>y \in \mathcal{A}</math> is stationary for <math>J</math>, then


Line 29: Line 30:
Stationarity means <math>\delta J[y;\eta] = 0</math> for every
Stationarity means <math>\delta J[y;\eta] = 0</math> for every
<math>\eta \in \mathcal{V}</math>. By equation (6) of
<math>\eta \in \mathcal{V}</math>. By equation (6) of
[[Hamilton's principle/Mathematics/The first variation]],
[[Hamilton's principle/Mathematics/The first variation|the first variation]],


:<math>\int_a^b \left[ L_y - \frac{d}{dx} L_{y'} \right] \eta \, dx = 0
:<math>\int_a^b \left[ L_y - \frac{d}{dx} L_{y'} \right] \eta \, dx = 0
Line 37: Line 38:
second partials by hypothesis and <math>y \in C^2</math>, so
second partials by hypothesis and <math>y \in C^2</math>, so
<math>\frac{d}{dx} L_{y'}</math> exists and is continuous. Equation (3) holds for
<math>\frac{d}{dx} L_{y'}</math> exists and is continuous. Equation (3) holds for
every admissible <math>\eta</math>. The fundamental lemma of
every admissible <math>\eta</math>. [[Hamilton's principle/Mathematics/The fundamental lemma|The fundamental lemma]] therefore applies to
[[Hamilton's principle/Mathematics/The fundamental lemma]] therefore applies to
the bracket, and it vanishes identically. That is (2).
the bracket, and it vanishes identically. That is (2).
<math>\blacksquare</math>
<math>\blacksquare</math>
Line 68: Line 68:
value problem, not an initial value problem, and that difference is the source of
value problem, not an initial value problem, and that difference is the source of
the non-uniqueness discussed on
the non-uniqueness discussed on
[[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]].


'''Degeneracy when <math>L_{y'y'} = 0</math>.''' If the coefficient of
'''Degeneracy when <math>L_{y'y'} = 0</math>.''' If the coefficient of
<math>y''</math> vanishes, (5) is not a second-order equation at all and the
<math>y''</math> vanishes, (5) is not a second-order equation at all and the
problem is singular. The condition <math>L_{y'y'} \neq 0</math> is called
problem is singular. The condition <math>L_{y'y'} \neq 0</math> is called
'''non-degeneracy''', and its signed version is the Legendre condition of
'''non-degeneracy''', and its signed version is [[Hamilton's principle/Mathematics/The Legendre condition|the Legendre condition]].
[[Hamilton's principle/Mathematics/The Legendre condition]].


'''Solutions are called extremals, not extrema.''' A solution of (2) is an
'''Solutions are called extremals, not extrema.''' A solution of (2) is an
'''extremal'''. The word records only that the first variation vanishes. Whether
'''extremal'''. The word records only that the first variation vanishes. Whether
an extremal minimises anything is undecided by (2) and is settled, when it can be
an extremal minimises anything is undecided by (2) and is settled, when it can be
settled, on [[Hamilton's principle/Mathematics/The second variation]].
settled, on [[Hamilton's principle/Mathematics/The second variation|the second variation]].


== First integrals ==
== First integrals ==
Line 101: Line 100:


which is the Beltrami identity, derived on
which is the Beltrami identity, derived on
[[Hamilton's principle/Mathematics/The Beltrami identity]]. Where <math>x</math>
[[Hamilton's principle/Mathematics/The Beltrami identity|the Beltrami identity]]. Where <math>x</math>
is time, (7) is conservation of energy.
is time, (7) is conservation of energy.


Line 107: Line 106:
independence of a variable — produces a conserved quantity. The general statement
independence of a variable — produces a conserved quantity. The general statement
is Noether's, on
is Noether's, on
[[Hamilton's principle/Mathematics/Noether's first theorem]]. Noether states it
[[Hamilton's principle/Mathematics/Noether's first theorem|Noether's first theorem]]. Noether states it
in the form that <math>\rho</math> linearly independent combinations of the
in the form that <math>\rho</math> linearly independent combinations of the
Lagrange expressions become divergences.<ref>Noether, ''Invariante
Lagrange expressions become divergences.<ref>Noether, ''Invariante
Line 134: Line 133:
but establishing that requires the sufficiency theory, and the geodesic problem
but establishing that requires the sufficiency theory, and the geodesic problem
on a sphere in
on a sphere in
[[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]]
is the case where the corresponding extremal is stationary and is ''not'' a
is the case where the corresponding extremal is stationary and is ''not'' a
minimum.
minimum.
Line 149: Line 148:
Provenance: this paragraph is editorial summary, not transcription. The Euler and
Provenance: this paragraph is editorial summary, not transcription. The Euler and
Lagrange source rows of the survey on
Lagrange source rows of the survey on
[[Hamilton's principle/Sources]] are not yet ESTABLISHED, and no equation on this
[[Hamilton's principle/Sources|Sources]] are not yet ESTABLISHED, and no equation on this
page is attributed to either. The two attributed equations, (2) as a Lagrange
page is attributed to either. The two attributed equations, (2) as a Lagrange
expression and the Theorem I statement, come from Noether 1918, which is
expression and the Theorem I statement, come from Noether 1918, which is
Line 157: Line 156:
== Next ==
== Next ==


[[Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions]]
[[Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions|Boundary terms and natural boundary conditions]]
relaxes the fixed-endpoint condition and recovers the boundary term dropped at
relaxes the fixed-endpoint condition and recovers the boundary term dropped at
equation (5) of
equation (5) of
[[Hamilton's principle/Mathematics/The first variation]].
[[Hamilton's principle/Mathematics/The first variation|the first variation]].


== References ==
== References ==


<references />
<references />

Latest revision as of 05:15, 16 September 2026

The Euler-Lagrange equation is the differential equation satisfied by every stationary path of a functional. It is the central result of the machinery track, and everything in the applications track is an instance of it.

Statement

The two rates the Euler-Lagrange equation balances.

Theorem. Let L(x,y,y′) have continuous partial derivatives up to second order, and let

J[y]=∫abL(x,y(x),y′(x))dx(1)

on the admissible set 𝒜 of Functionals and the space of paths. If y∈𝒜 is stationary for J, then

∂L∂y−ddx(∂L∂y′)=0(2)

for every x∈[a,b].

Derivation

Stationarity means δJ[y;η]=0 for every η∈𝒱. By equation (6) of the first variation,

∫ab[Ly−ddxLy′]ηdx=0(3)

The bracket is continuous on [a,b]: L has continuous second partials by hypothesis and y∈C2, so ddxLy′ exists and is continuous. Equation (3) holds for every admissible η. The fundamental lemma therefore applies to the bracket, and it vanishes identically. That is (2). ◼

The derivation is three lines because the work was done on the two preceding pages. That is the correct division: the integration by parts is where the endpoints are used, and the lemma is where the arbitrariness of η is used.

Expanded form

Carrying out the total derivative in (2) with the chain rule,

ddxLy′=Ly′x+Ly′yy′+Ly′y′y″(4)

so that (2) becomes

Ly′y′y″+Ly′yy′+Ly′x−Ly=0(5)

This is a second-order ordinary differential equation for y, generally nonlinear. Three consequences follow immediately from its form.

It is second order, so it needs two conditions. The admissible set supplies exactly two, y(a)=ya and y(b)=yb. The count matches, which is why the fixed-endpoint problem is well posed. It is a boundary value problem, not an initial value problem, and that difference is the source of the non-uniqueness discussed on the Jacobi condition and conjugate points.

Degeneracy when Ly′y′=0. If the coefficient of y″ vanishes, (5) is not a second-order equation at all and the problem is singular. The condition Ly′y′≠0 is called non-degeneracy, and its signed version is the Legendre condition.

Solutions are called extremals, not extrema. A solution of (2) is an extremal. The word records only that the first variation vanishes. Whether an extremal minimises anything is undecided by (2) and is settled, when it can be settled, on the second variation.

First integrals

Two cases reduce the order of (2) by one.

L free of y. Then Ly=0 and (2) gives

ddxLy′=0⟹Ly′=const(6)

The conserved quantity Ly′ is the conjugate momentum. Where x is time and y a coordinate, (6) is conservation of momentum.

L free of x. Then

y′Ly′−L=const(7)

which is the Beltrami identity, derived on the Beltrami identity. Where x is time, (7) is conservation of energy.

Both cases are instances of one theorem. A symmetry of L — here, independence of a variable — produces a conserved quantity. The general statement is Noether's, on Noether's first theorem. Noether states it in the form that ρ linearly independent combinations of the Lagrange expressions become divergences.[1]

Worked example: the shortest plane curve

Minimise arc length between (a,ya) and (b,yb):

J[y]=∫ab1+y'2dx(8)

Here L=1+y'2 is free of both x and y. Using (6),

Ly′=y′1+y'2=c(9)

Solving (9) for y′ gives y'2(1−c2)=c2, so y′ is a constant wherever |c|<1, and y is a straight line. The two endpoint conditions fix its two parameters.

Note what has not been shown: that the line is the shortest curve. Equation (2) is necessary, not sufficient. The line is here in fact the unique minimiser, but establishing that requires the sufficiency theory, and the geodesic problem on a sphere in the Jacobi condition and conjugate points is the case where the corresponding extremal is stationary and is not a minimum.

Historical note

Euler reached the equation in 1744 by a limiting argument on a polygonal approximation to the curve, in Methodus inveniendi lineas curvas maximi minimive proprietate gaudentes. Lagrange's variational derivation, close to the one above, followed in the 1750s correspondence with Euler and reached print in the Mécanique analytique of 1788.

Provenance: this paragraph is editorial summary, not transcription. The Euler and Lagrange source rows of the survey on Sources are not yet ESTABLISHED, and no equation on this page is attributed to either. The two attributed equations, (2) as a Lagrange expression and the Theorem I statement, come from Noether 1918, which is ESTABLISHED.

Next

Boundary terms and natural boundary conditions relaxes the fixed-endpoint condition and recovers the boundary term dropped at equation (5) of the first variation.

References

  1. ↑ Noether, Invariante Variationsprobleme (1918), Theorem I, in Tavel's translation. Verbatim. Noether's Lagrange expressions ψi are the left-hand side of (2).