The action of a Lagrangian and the principle of stationary action #
Let E be a real normed space, the configuration space of a mechanical system, and let
L : ℝ → E × E → ℝ be a possibly time-dependent Lagrangian, a function L t (q, v) of time,
positions and velocities. The action of a curve q : ℝ → E between the times a and b is
S(q) = ∫_a^b L(t, q(t), q'(t)) dt (TauCeti.lagrangianAction).
A variation of q is a two-parameter family Q s t with Q 0 = q, and its variation field is
η(t) = ∂_s Q(0, t). This file computes the derivative of the action along a variation. When the
uncurried family (s, t) ↦ Q s t is C² and L is C¹ along q, differentiation under the
integral sign and the symmetry of the mixed partial derivatives of Q give
d/ds S(Q s)|₀ = ∫_a^b DL_t(q, q')(η, η') dt (TauCeti.hasDerivAt_lagrangianAction),
the integral of the derivative of L along the first prolongation (η, η') of the variation
field. Along a C¹ curve q, the force ∂_q L(t, q, q') is continuous
(TauCeti.continuousAt_force). When L is moreover C², the momentum p(t) = ∂_v L(t, q, q') is
C¹ (TauCeti.contDiffAt_momentum), and an integration by parts produces the first variation
formula with its endpoint boundary term
d/ds S(Q s)|₀ = p(b)(η(b)) - p(a)(η(a)) + ∫_a^b (∂_q L(t, q, q') - p'(t))(η(t)) dt
(TauCeti.hasDerivAt_lagrangianAction_of_contDiffAt_two). For a variation with fixed endpoints
(TauCeti.Manifold.IsFixedEndpointVariation, in the normed space E) the variation field vanishes
at a and b, so only the integral of the Euler–Lagrange expression ∂_q L - p' remains
(TauCeti.Manifold.IsFixedEndpointVariation.hasDerivAt_lagrangianAction).
A curve is a stationary point of the action among C^n variations
(TauCeti.IsActionStationary) when it is C^n on [a, b] and the action of every C^n
variation with fixed endpoints has derivative zero at s = 0. Hamilton's principle of
stationary action says that, for 2 ≤ n ≤ ∞, a C^n curve along which L is C² is
stationary exactly when it solves the Euler–Lagrange equations
d/dt ∂_v L(t, q, q') = ∂_q L(t, q, q')
on the open interval between a and b (TauCeti.isActionStationary_iff_eulerLagrange). The
forward direction tests the first variation formula against the variations
q + s ψ e, with ψ a smooth function supported in the open interval and e ∈ E, and applies the
fundamental lemma of the calculus of variations
(IsOpen.ae_eq_zero_of_integral_contDiff_smul_eq_zero). The Euler–Lagrange equations are stated
in the form of the hypothesis of Noether's theorem TauCeti.hasDerivAt_noetherCharge, with the
velocity deriv q, so stationary curves feed it directly.
No finite dimensionality of E is needed, and the endpoints a and b may come in either order.
When a = b every curve that is C^n at a is stationary and the open interval is empty.
The structure of the variation computation, and of the stationarity predicate carrying the
regularity of the curve as a field, follows the Riemannian first variation of energy
TauCeti.Manifold.hasDerivAt_energy and TauCeti.Manifold.IsEnergyCritical in
TauCeti.Geometry.Manifold.Riemannian.FirstVariation.
Main definitions #
TauCeti.lagrangianAction L q a b: the action∫_a^b L(t, q(t), q'(t)) dt.TauCeti.IsActionStationary n L q a b:qis a stationary point of the action amongC^nvariations with fixed endpoints.
Main results #
TauCeti.contDiffAt_momentum,TauCeti.continuousAt_force: regularity of the momentum along aC²curve and of the force along aC¹curve.TauCeti.hasDerivAt_lagrangianAction: the derivative of the action along a variation.TauCeti.hasDerivAt_lagrangianAction_of_contDiffAt_two: the first variation formula with the endpoint boundary term.TauCeti.Manifold.IsFixedEndpointVariation.hasDerivAt_lagrangianAction: the first variation formula for a variation with fixed endpoints.TauCeti.isActionStationary_iff_eulerLagrange: Hamilton's principle of stationary action.
References #
- V. I. Arnold, Mathematical Methods of Classical Mechanics, 2nd ed., Graduate Texts in Mathematics 60, Springer, 1989, Section 12.
- I. M. Gelfand, S. V. Fomin, Calculus of Variations, Prentice–Hall, 1963, Sections 3 and 4.
- J. E. Marsden, T. S. Ratiu, Introduction to Mechanics and Symmetry, 2nd ed., Texts in Applied Mathematics 17, Springer, 1999, Section 8.1.
The action #
The action of a time-dependent Lagrangian L along a curve q between the times a and
b: the integral ∫_a^b L(t, q(t), q'(t)) dt.
Instances For
The action is additive over consecutive time intervals.
The momentum and the force along a curve #
Along a C² curve, where L is C², the momentum t ↦ ∂_v L(t, q, q') is C¹.
Along a C¹ curve, where L is C¹, the force t ↦ ∂_q L(t, q, q') is continuous.
The first variation of the action #
The derivative of the action along a variation. Let the uncurried family
(s, t) ↦ Q s t be C² at every point of {0} × [a, b], and let L be jointly C¹ in time,
position and velocity along the central curve Q 0. Then the action of Q s between a and b
is differentiable at s = 0, with derivative the integral of the derivative of L along the first
prolongation (η, η') of the variation field η(t) = ∂_s Q(0, t).
The first variation formula, with the endpoint boundary term. Let the uncurried family
(s, t) ↦ Q s t be C² at every point of {0} × [a, b], and let L be jointly C² along the
central curve q = Q 0. Then the action of Q s between a and b is differentiable at s = 0,
with derivative
p(b)(η(b)) - p(a)(η(a)) + ∫_a^b (∂_q L(t, q, q') - p'(t))(η(t)) dt,
where η(t) = ∂_s Q(0, t) is the variation field and p(t) = ∂_v L(t, q, q') the momentum.
The first variation formula for a variation with fixed endpoints. For a C² variation Q
of q = Q 0 with fixed endpoints between a and b, along which L is C², the derivative at
s = 0 of the action of Q s is the integral of the Euler–Lagrange expression
∂_q L(t, q, q') - d/dt ∂_v L(t, q, q') against the variation field η(t) = ∂_s Q(0, t).
Hamilton's principle of stationary action #
A curve q is a stationary point of the action of L among C^n variations between the
times a and b when it is C^n at every point of [a, b] and every C^n variation of q with
fixed endpoints (TauCeti.Manifold.IsFixedEndpointVariation, in the normed space E) leaves the
action stationary to first order: the action of Q s has derivative 0 at s = 0. The regularity
of q is part of the definition, since a curve which is not C^n admits no C^n variation.
- contDiffAt (t : ℝ) : t ∈ Set.uIcc a b → ContDiffAt ℝ n q t
A stationary point of the action among
C^nvariations isC^non[a, b]. - hasDerivAt {Q : ℝ → ℝ → E} : Q 0 = q → Manifold.IsFixedEndpointVariation (modelWithCornersSelf ℝ E) n Q a b → HasDerivAt (fun (s : ℝ) => lagrangianAction L (Q s) a b) 0 0
The action of a
C^nfixed-endpoint variation of a stationary point has derivative0ats = 0.
Instances For
Hamilton's principle of stationary action. For 2 ≤ n ≤ ∞, let q be C^n at every
point of [a, b] and let L be jointly C² along q. Then q is a stationary point of the
action of L among C^n variations with fixed endpoints between a and b exactly when it
solves the Euler–Lagrange equations d/dt ∂_v L(t, q, q') = ∂_q L(t, q, q') at every time strictly
between a and b.