Jump to content

Hamilton's principle/Mathematics/The first variation: Difference between revisions

From The Invariance Itself
m 1 revision imported
Pipe internal links so cross-references read as titles, not paths
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:The first variation}}
{{Plebeian|Hamilton's principle/Explainers/Comparing paths}}
{{Plebeian|Hamilton's principle/Explainers/Comparing paths}}


Line 12: Line 13:


Take <math>J</math>, <math>\mathcal{A}</math> and <math>\mathcal{V}</math> as on
Take <math>J</math>, <math>\mathcal{A}</math> and <math>\mathcal{V}</math> as on
[[Hamilton's principle/Mathematics/Functionals and the space of paths]]. Fix
[[Hamilton's principle/Mathematics/Functionals and the space of paths|Functionals and the space of paths]]. Fix
<math>y \in \mathcal{A}</math> and <math>\eta \in \mathcal{V}</math>, and define
<math>y \in \mathcal{A}</math> and <math>\eta \in \mathcal{V}</math>, and define
the real function
the real function
Line 87: Line 88:
so that <math>\delta J[y;\eta] = \int_a^b E(x)\,\eta(x)\, dx</math>. Noether
so that <math>\delta J[y;\eta] = \int_a^b E(x)\,\eta(x)\, dx</math>. Noether
calls <math>E</math> the Lagrange expression and it recurs under that name on
calls <math>E</math> the Lagrange expression and it recurs under that name on
[[Hamilton's principle/Mathematics/Noether's first theorem]].
[[Hamilton's principle/Mathematics/Noether's first theorem|Noether's first theorem]].


== What has and has not been shown ==
== What has and has not been shown ==
Line 95: Line 96:
integrand vanishes, or because positive and negative contributions cancel. Ruling
integrand vanishes, or because positive and negative contributions cancel. Ruling
out the second possibility is a separate theorem, and it is the subject of
out the second possibility is a separate theorem, and it is the subject of
[[Hamilton's principle/Mathematics/The fundamental lemma]].
[[Hamilton's principle/Mathematics/The fundamental lemma|the fundamental lemma]].


Two further cautions.
Two further cautions.
Line 102: Line 103:
<math>\Phi</math> only to first order. Whether <math>y</math> minimises,
<math>\Phi</math> only to first order. Whether <math>y</math> minimises,
maximises, or does neither depends on <math>\Phi''(0)</math> and beyond, treated
maximises, or does neither depends on <math>\Phi''(0)</math> and beyond, treated
on [[Hamilton's principle/Mathematics/The second variation]].
on [[Hamilton's principle/Mathematics/The second variation|the second variation]].


'''The family is a probe, not a physical path.''' The paths
'''The family is a probe, not a physical path.''' The paths
Line 139: Line 140:
extra condition on the extremal, called a natural boundary condition. That case
extra condition on the extremal, called a natural boundary condition. That case
is worked on
is worked on
[[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]].


== Next ==
== Next ==


[[Hamilton's principle/Mathematics/The fundamental lemma]] proves that a
[[Hamilton's principle/Mathematics/The fundamental lemma|the fundamental lemma]] proves that a
continuous <math>E</math> whose integral against every admissible
continuous <math>E</math> whose integral against every admissible
<math>\eta</math> vanishes must itself vanish identically.
<math>\eta</math> vanishes must itself vanish identically.
Line 150: Line 151:


<references />
<references />

Latest revision as of 04:56, 16 September 2026

Plain-language version: Comparing paths

The first variation of a functional is the derivative of that functional along a one-parameter family of paths, evaluated where the family passes through the path of interest. It is the exact analogue of the first derivative in ordinary calculus, and it plays the same role: it vanishes at an extremum, and its vanishing is necessary but not sufficient.

The variation defined

A true path and several comparison paths between fixed endpoints.

Take J, 𝒜 and 𝒱 as on Functionals and the space of paths. Fix y∈𝒜 and η∈𝒱, and define the real function

Φ(ε)=J[y+εη]=∫abL(x,y+εη,y′+εη′)dx(1)

Φ is an ordinary function of one real variable. The first variation of J at y in the direction η is

δJ[y;η]=Φ′(0)=ddεJ[y+εη]|ε=0(2)

y is stationary for J if δJ[y;η]=0 for every η∈𝒱.

The definition is a reduction, and that is its whole value. A question about an infinite-dimensional set of competing paths becomes a question about the derivative of one real function at one point.

Computing it

A one-parameter family of paths through the true path.

Differentiate (1) under the integral sign. The hypotheses on L from the previous page license this: L and its first partials are continuous on a compact set, so the difference quotients converge uniformly.

Φ′(ε)=∫ab[∂L∂yη+∂L∂y′η′]dx(3)

where both partials are evaluated at (x,y+εη,y′+εη′). Setting ε=0,

δJ[y;η]=∫ab[Lyη+Ly′η′]dx(4)

with Ly and Ly′ now evaluated along y itself. Equation (4) is the first variation in its raw form. Both η and η′ appear, which is the obstacle: they are not independent, so no conclusion about the integrand follows yet.

Removing the derivative of the variation

The boundary term left by integration by parts.

Integrate the second term by parts:

∫abLy′η′dx=[Ly′η]ab−∫abddx(Ly′)ηdx(5)

The boundary term vanishes, because η∈𝒱 and therefore η(a)=η(b)=0. This is the only place the fixed endpoints are used, and it is where they earn their keep. Substituting into (4),

δJ[y;η]=∫ab[Ly−ddxLy′]ηdx(6)

Only η now appears, and it appears multiplied by an expression that does not involve η at all. Write

E(x)=Ly−ddxLy′(7)

so that δJ[y;η]=∫abE(x)η(x)dx. Noether calls E the Lagrange expression and it recurs under that name on Noether's first theorem.

What has and has not been shown

Stationarity says (6) vanishes for every admissible η. It does not yet say E≡0. An integral can vanish because its integrand vanishes, or because positive and negative contributions cancel. Ruling out the second possibility is a separate theorem, and it is the subject of the fundamental lemma.

Two further cautions.

Stationary is not extremal. Φ′(0)=0 constrains Φ only to first order. Whether y minimises, maximises, or does neither depends on Φ″(0) and beyond, treated on the second variation.

The family is a probe, not a physical path. The paths y+εη for ε≠0 generally violate the equations of motion. They are comparison curves, and Hamilton described them in exactly those terms: geometrically imaginable, but dynamically impossible motion.[1]

The δ notation

The classical literature writes δy for εη and δJ for the first variation, and manipulates δ as an operator commuting with d/dx and with ∫. Hamilton's papers are written this way throughout; his fundamental formula reads

Σ.m(x″δx+y″δy+z″δz)=δU(8)

[2]

The operator notation is compact and correct, and this volume uses it in the history track where the sources use it. The ε-family notation is used in the mathematics track because it makes the hypotheses visible: it is clear what is differentiated, with respect to what, and where the result is evaluated.

Variations at free endpoints

If one or both endpoint values are not prescribed, 𝒱 is enlarged and the boundary term in (5) no longer vanishes. It then supplies an extra condition on the extremal, called a natural boundary condition. That case is worked on Boundary terms and natural boundary conditions.

Next

the fundamental lemma proves that a continuous E whose integral against every admissible η vanishes must itself vanish identically.

References

  1. ↑ Hamilton, On a General Method in Dynamics (1834), §3. Verbatim.
  2. ↑ Hamilton, On a General Method in Dynamics (1834), equation (1.). Verbatim, with Hamilton's own notation preserved: Σ runs over the points of the system, primes are derivatives with respect to time, and U is the force-function.