Lagrangian Mechanics
The Newtonian formulation of Newtonian Dynamics describes a system of particles through the forces acting on each of them, referred to the Cartesian coordinates of an inertial frame. When the motion is restricted by constraints this description carries two burdens: the constraint forces are not known in advance, and the Cartesian coordinates are no longer independent. The present chapter removes both. Constraints and generalized coordinates eliminate the redundant variables; the principle of virtual work and d'Alembert's principle eliminate the constraint forces; and the resulting Euler–Lagrange equations recast the dynamics in terms of a single scalar function of the generalized coordinates, the Lagrangian. The chapter closes with Hamilton's principle, which condenses the equations of motion into the stationarity of one functional, the action [Goldstein:2002] [Landau:1976].
Throughout this chapter and Hamiltonian Mechanics, the particles of an \(N\)-particle system are labelled \(s=1,\ldots,N\), carried as a superscript; \(i,j=1,2,3\) label Cartesian components; \(k=1,\ldots,n\) labels holonomic constraints; and \(a,b=1,\ldots,f\) label generalized coordinates. Repeated Cartesian and generalized-coordinate indices are summed over; sums over particles and over constraints are written explicitly, except where the suppression of the particle label is expressly noted. The symbol \(\nabla^{s}\) denotes the gradient with respect to the coordinates \(\vect{x}^{s}\) of the \(s\)-th particle. Active forces are denoted \(\vect{F}\), constraint forces \(\vect{\Phi}\), and the total external force on a particle is their sum.
Generalized coordinates
Constraints
A constraint is a condition that relates the coordinates of a particle. Constraints encode, at the level of the description, everything that the environment forbids the system from doing: a bead cannot leave its wire, a ball cannot penetrate the floor. We classify them as follows.
A holonomic constraint is a condition imposed on the coordinates of a reference frame, with respect to which the motion of a particle is described, expressible in the form
where \(\phi\) is the function that describes the constraint and \(C\) is a constant.
A particle whose motion with respect to some reference frame is two-dimensional is subject to the constraint \(z=0\). In this case \(\phi(x^{i},t)=z\) and \(C=0\).
A particle describing a circular path of radius \(R\) is subject to the constraints given by the equations
A non-holonomic constraint is a condition imposed on the coordinates of a reference frame, with respect to which the motion of a particle is described, that can be written as
A ball on a tennis court is confined to move only in the region
with respect to the ground.
More generally, a constraint is called anholonomic whenever it cannot be written in the form Equation (21.1); the inequality constraints of Definition 21.5 are one instance.
A constraint that does not depend explicitly on time is called scleronomous; one that does depend explicitly on time is called rheonomous [Goldstein:2002].
Degrees of freedom
The number of degrees of freedom of a system of particles is the minimum number of independent, time-dependent variables required to describe the state of the system completely.
If we have \(N\) particles, \(3N\) variables describe the system (three coordinates for each particle, since the motion takes place in \(\R^{3}\)). If the system is subject to \(n\) holonomic constraints, each removes one variable, and the number of degrees of freedom is
A particle describing circular motion is subject to the two constraints of Equation (21.2); the number of degrees of freedom of the system is therefore \(f=3-2=1\).
If instead we have a system of \(N\) bodies, these can also rotate. Three variables are needed to describe the rotation of each body and three for its translation, so that the total number of degrees of freedom is
A pair of scissors has seven degrees of freedom: three of translation, three of rotation, and one variable describing its opening.
Generalized coordinates
Consider a system of \(N\) particles with \(f\) degrees of freedom. The \(f\) independent, time-dependent variables \(q^{a}\), \(a=1,\ldots,f\), sufficient to describe the motion of the \(N\) particles, are called generalized coordinates of the system. There exists, accordingly, a general coordinate transformation of the form
For circular motion there is a single degree of freedom, to which one may assign as generalized coordinate the angle formed by the line joining the particle to the centre with respect to a fixed line. Alternatively, one may assign as generalized coordinate the arc length traversed by the particle with respect to some fixed point. The choice of generalized coordinates is not unique.
Constraint forces and active forces
Consider a system of \(N\) particles with \(f\) degrees of freedom. A force acting on the \(s\)-th particle is called a constraint force if it is due to the action of a constraint; equivalently, it is the force \(\vect{\Phi}\) that replaces the action of a constraint while producing the same effect. We denote by \(\vect{\Phi}^{s}_{k}\) the constraint force on the \(s\)-th particle due to the \(k\)-th constraint.
A force is called active if it is not a constraint force; the active forces are the external forces on a particle, the constraint forces excepted. Denoting the individual active forces on the \(s\)-th particle by \(\vect{F}^{s}_{r}\), \(r=1,\ldots,R\), the total force on that particle is
By Newton's second law (Newtonian Dynamics), for a system of \(N\) particles subject to \(n\) holonomic constraints and to \(R\) active forces,
We shall write \(\vect{F}^{s}=\sum_{r}\vect{F}^{s}_{r}\) for the total active force and \(\vect{\Phi}^{s}=\sum_{k}\vect{\Phi}^{s}_{k}\) for the total constraint force on the \(s\)-th particle.
Virtual work
Virtual displacements
Consider a system of \(N\) particles, the position of the \(s\)-th particle being \(\vect{x}^{s}(t)\). The physical displacement performed by this particle when the system evolves during a time \(\dd t\) is the variation \(\dd\vect{x}^{s}\) of the position,
That the system is evolving implies, however, that the constraints may be changing in time. We can construct the idea of another kind of displacement, one performed at fixed time, so that the constraints do not change. As stated this is impossible, since the system does not evolve at a fixed time; nevertheless, in order to adopt principles that are independent of time, we define the virtual displacement performed by the \(s\)-th particle as a displacement at fixed time, required at least to be compatible with the constraints (which, time being fixed, are not evolving). We denote the virtual displacement by \(\delta\vect{x}^{s}\).
A virtual displacement is compatible with the constraints if it respects them; if it fails to respect some constraint it is called incompatible. A compatible virtual displacement is invertible if the reversed displacement is also compatible with the constraints; there may exist compatible virtual displacements that are not invertible.
The constraint-force hypothesis
We state as a principle that
the constraint force on a particle is always perpendicular to the surface of the constraint.
Thus the constraint force on the \(s\)-th particle due to the \(k\)-th holonomic constraint, with constraint function \(\phi^{k}(x^{i},t)\), is proportional to \(\nabla^{s}\phi^{k}\); that is,
Summing all the constraint forces acting on each particle,
The quantities \(\lambda^{k}\) are properties of each surface (that is, of the \(k\)-th constraint) and may depend on the coordinates and on time,
Virtual displacements compatible with the constraints
By the constraint-force hypothesis, for virtual displacements compatible with the holonomic constraints—displacements in which the particle moves on the surface of the constraint—the virtual displacement is tangent to that surface, and hence perpendicular to each constraint force. Thus
and, summing over the constraints,
Virtual work and its principle
The virtual work performed on the \(s\)-th particle by a force \(\vect{F}\) under the virtual displacement \(\delta\vect{x}^{s}\) is
Consider a system of \(N\) particles, subject on each particle to the total active force \(\vect{F}^{s}\) and the total constraint force \(\vect{\Phi}^{s}\), and suppose the particles are in equilibrium with respect to an inertial frame, so that the total force on each of them vanishes. Then, for virtual displacements compatible with the constraints, the virtual work of the active forces vanishes:
Derivation. Equilibrium means \(\vect{F}^{s}+\vect{\Phi}^{s}=\vect{0}\) for each \(s\). Taking the scalar product with \(\delta\vect{x}^{s}\) and summing over the particles,
The second term is the sum of the virtual works performed on the particles by the constraint forces. In general this constraint-force virtual work is different from zero; but if we consider only virtual displacements compatible with the constraints, it vanishes by Equation (21.15), and Equation (21.17) follows.
∎d'Alembert's principle
The principle of virtual work is a statement about statics. d'Alembert's device extends it to dynamics: the accelerations are absorbed into fictitious forces, so that every problem of motion becomes a problem of equilibrium.
The inertial force on the \(s\)-th particle is defined as
the force introduced to counteract the fictitious effects that appear when the motion is observed from a non-inertial reference frame.
For a system of \(N\) particles, each subject to the total active force \(\vect{F}^{s}\) and the total constraint force \(\vect{\Phi}^{s}\), and for virtual displacements compatible with the constraints,
Derivation. By Newton's second law,
We may pass to a frame in which each particle is in equilibrium by treating the inertial force \(\vect{\varphi}^{s}=-\dot{\vect{p}}^{s}\) as an active force:
Proceeding as in the principle of virtual work, we take the scalar product with \(\delta\vect{x}^{s}\) and sum over the particles:
Again, for virtual displacements compatible with the constraints the second sum vanishes by Equation (21.15), leaving
which, on substituting Equation (21.18), is Equation (21.19).
∎d'Alembert's principle states that the virtual works performed by the impressed forces and by the inertial forces form a system in equilibrium. Denoting the total virtual work performed by the active forces and by the inertial forces as \(\delta W^{A}\) and \(\delta W^{N}\) respectively, it reads
The Euler–Lagrange equations
Lagrange equations of the first kind
Consider a system of \(N\) particles, subject on each particle to the total active force \(\vect{F}^{s}\) and to the action of \(n\) holonomic constraints
Then the motion satisfies
which, together with the conditions Equation (21.21), are known as the Lagrange equations of the first kind.
Derivation. The total virtual work \(\delta W^{V}\) performed by the constraint forces is, by the constraint-force hypothesis Equation (21.12),
and for virtual displacements compatible with the constraints,
In this case d'Alembert's principle takes the form
so that, combining Equation (21.19) and Equation (21.23),
Since the coordinates are linearly independent, the coefficient of each displacement must vanish, which yields Equation (21.22).
∎Lagrange multipliers as constraint forces
The multipliers \(\lambda^{k}\) were introduced by the constraint-force hypothesis Equation (21.12) without being assumed known, and Equation (21.22) does not determine the motion until they are found. That they exist, and that a constrained stationarity problem is equivalent to an unconstrained one for the augmented integrand \(\Lag+\sum_{k}\lambda^{k}\phi^{k}\) whenever the constraint gradients have full rank, is the multiplier rule of Theorem 16.41, proved in Section 16.3.1 and not reproved here [Lagrange:1788]. What belongs to mechanics, and is the subject of this subsection, is what the multipliers physically are: each one is a constraint force, in newtons, and it is usually the number the experiment measures.
The multipliers are determined by the motion
Let the \(n\) constraint functions \(\phi^{k}\) of Equation (21.21) be of class \(C^{2}\) and let the \(n\) vectors of \(\R^{3N}\) with components \(\left(m^{s}\right)^{-1/2}\nabla^{s}\phi^{k}\), \(s=1,\ldots,N\), be linearly independent at each point of the motion. Then the multipliers are fixed algebraically by the instantaneous state \(\left(\vect{x}^{s},\dot{\vect{x}}^{s},t\right)\): the Gram matrix
is symmetric positive definite, and
where \(\Xi^{k}\) collects the terms of \(\dd^{2}\phi^{k}/\dd t^{2}\) that do not contain the accelerations. The first-kind system Equation (21.22)–Equation (21.21) is therefore determinate: \(3N+n\) equations for the \(3N\) coordinates and the \(n\) multipliers. Rests on Equations (21.12), (21.21) and (21.22).
Derivation. Derives Proposition 21.22. Differentiating \(\phi^{k}\left(\vect{x}^{s},t\right)=C^{k}\) twice along the motion and separating the acceleration terms,
with
a function of the state alone (the mixed second derivatives are symmetric by Proposition 7.73). Substituting the accelerations from Equation (21.22),
into Equation (21.26) gives Equation (21.25) with \(M^{kl}\) as in Equation (21.24). That matrix is symmetric by inspection, and for any \(u\in\R^{n}\)
with equality only if \(\sum_{k}u_{k}\left(m^{s}\right)^{-1/2}\nabla^{s}\phi^{k}=\vect{0}\) for every \(s\), that is only if \(u=0\) under the independence hypothesis. So \(M\) is invertible and Equation (21.25) has a unique solution \(\lambda^{l}\). The count of equations and unknowns follows.
∎The hypothesis is not a technicality. Two constraint surfaces whose gradients become parallel at a point are, at that point, statically indeterminate: the same total constraint force can be apportioned between them in infinitely many ways, and no equation of motion can decide the split. The elementary instance is a table with four legs on a rigid floor, where the four normal forces are not determined by rigid-body mechanics and the real answer comes from the elasticity of Continuum Mechanics and Elasticity. Positive definiteness of Equation (21.24) is exactly the statement that this has not happened.
Since \(\vect{\Phi}^{s}_{k}=\lambda^{k}\nabla^{s}\phi^{k}\) is a force, the multiplier carries whatever unit makes the product a newton: \([\lambda^{k}]=\mathrm{N}\,\mathrm{m}/[\phi^{k}]\), equivalently \([\lambda^{k}\phi^{k}]=\mathrm{J}\), which is the mechanical face of the statement in Remark 16.42 that the augmented integrand must remain an energy. For the commonest case, a constraint written as a length — a rod of fixed length, a bead on a wire, a body resting on a surface — \(\phi^{k}\) is in metres and \(\lambda^{k}\) is a force in newtons outright. Writing the same constraint as \(\phi=r^{2}=R^{2}\) instead of \(\phi=r=R\) rescales the multiplier to \(\mathrm{N}/\mathrm{m}\) and halves it; the constraint force \(\lambda\nabla\phi\) is of course unchanged. The multiplier is not an invariant of the constraint, only of the constraint as written.
A worked case: when does a body leave the surface?
The reason to keep the multipliers rather than eliminate the constraint is that the eliminated description cannot answer questions about the constraint force — and one such question is when the constraint stops acting at all.
A point mass \(m\) slides without friction on the outside of a fixed sphere of radius \(R\) in a uniform gravitational field of magnitude \(g\), starting from rest at polar angle \(\theta_{0}\) measured from the upward vertical. While it remains in contact, the outward normal force is
and the body leaves the surface at the angle \(\theta_{\ast}\) given by
independently of \(m\), of \(R\) and of \(g\). Rests on Equation (21.22), Equation (21.12) and Proposition 21.22.
Derivation. Derives Proposition 21.25. Take plane polar coordinates \((r,\theta)\) in the vertical plane of the motion, \(\theta\) measured from the upward vertical, and impose the single constraint \(\phi=r=R\), so that \(\nabla\phi=\hat{\vect{r}}\) is the outward radial unit vector and \(\lambda\) is the outward normal force in newtons (Remark 21.24). The active force is \(\vect{F}=-mg\hat{\vect{z}}\), whose radial and tangential components are \(-mg\cos\theta\) and \(+mg\sin\theta\). With the acceleration in polar coordinates, Equation (21.22) reads
On the constraint \(r=R\), \(\dot{r}=\ddot{r}=0\), so Equation (21.29) gives \(\lambda=m\left(g\cos\theta-R\dot{\theta}^{2}\right)\), which is Equation (21.25) in this one-constraint case. The constraint force is radial and the velocity tangential, so the constraint does no work and the energy of Equation (21.44) is conserved; measuring heights from the centre,
Substituting gives Equation (21.27). The sphere can push but not pull, so the description holds only while \(\lambda\geq0\); the first angle at which Equation (21.27) vanishes is Equation (21.28), and beyond it the body is a projectile with the free trajectory of Experiment: Free Fall and Projectile Motion. Everything cancels except the ratio \(\tfrac23\), so the prediction is a pure number.
∎Take the stipulated values \(m=0.100\,\mathrm{kg}\) and \(R=0.500\,\mathrm{m}\), with the standard gravitational acceleration \(g_{0}=9.80665\,\mathrm{m}/\mathrm{s}^{2}\) (Physical Constants and SI Units; a local \(g\) differs from \(g_{0}\) by a few parts in \(10^{3}\), and since it enters Equation (21.27) linearly it shifts the force by that much and the angle not at all). Release from \(\theta_{0}\rightarrow0\) then gives a normal force \(\lambda(0)=mg_{0}=0.981\,\mathrm{N}\) at the top, departure at \(\theta_{\ast}=48.19\,^\circ\) after a fall of \(R/3=0.167\,\mathrm{m}\), and a departure speed \(v_{\ast}=\sqrt{2g_{0}R/3}=1.81\,\mathrm{m}/\mathrm{s}\), each quoted to the three significant figures of the inputs. Only the angle is falsifiable without reference to those inputs: it depends on nothing that was put in. Rests on Equation (21.28).
Proposition 21.25 is the promised instance of the distinctions drawn in Definition 21.5 and Definition 21.16. Resting on a surface is the inequality constraint \(r\geq R\), not the equality \(r=R\); the equality is merely the part of it that is active. At a point of the boundary \(r=R\) an outward virtual displacement is compatible with \(r\geq R\) while the inward one is not, so the compatible displacements there are not invertible, and the argument of Equation (21.14) — which required a displacement tangent to the surface — covers only the tangential ones. What survives is the inequality \(\vect{\Phi}^{s}\cdot\delta\vect{x}^{s}\geq0\): a one-sided constraint can do no negative virtual work. Its mechanical content is the sign condition \(\lambda\geq0\), and Equation (21.28) is the instant at which that condition ceases to hold. A model that keeps the equality past \(\theta_{\ast}\) predicts a surface that pulls the body back, which is not a small error but the wrong phenomenon.
The alternative treatment eliminates the constraint at the outset, taking \(\theta\) as the single generalized coordinate; the second-kind equations of Section 21.4.3 then reduce to Equation (21.30) with \(r=R\), namely \(R\ddot{\theta}=g\sin\theta\), and the normal force never appears. That is the right route when only the trajectory is wanted, and the wrong one whenever the quantity of interest is carried by the constraint: the tension in a suspension wire, the load on a bearing, the normal force that decides whether a rolling body slips, the reaction that a structure must be built to withstand. Those are the multipliers themselves, and the price of eliminating them is that they cannot be recovered afterwards from the reduced description.
Lagrange equations of the second kind
The Lagrange equations of the first kind are a manifestation of Newton's second law in the presence of \(n\) holonomic constraints, written in Cartesian coordinates. As we saw, each holonomic constraint on a system of \(N\) particles removes one degree of freedom, so that fewer variables are needed to describe the system. What we must now do is find a set of \(f\) equations that describe the system without reference to the constraints, that is, in terms of the generalized coordinates.
In analogy with the definition of virtual work, we define
as the total generalized force corresponding to the generalized coordinate \(q^{a}\).
For a system of \(N\) particles with \(f\) degrees of freedom, subject to holonomic constraints and to active forces of total generalized force \(Q_{a}\), the kinetic energy \(T\) satisfies
which are known as the Lagrange equations of the second kind.
Derivation. We start from d'Alembert's principle,
Suppressing the particle label (all expressions below carry an implicit sum over the suppressed index \(s\), the mass accompanying its particle), this reads
Since the virtual displacement is performed at fixed time, the variation of Equation (21.7) contains no time term,
and therefore
We must analyse each side of Equation (21.33) separately.
The left-hand side is, restoring the particle sum, \(Q_{a}\,\delta q^{a}\) by Equation (21.31).
For the right-hand side we compute, using the product rule,
where the third line applies the chain rule to \(\pdv{x^{i}}{q^{a}}\left(q^{b},t\right)\), the fifth uses the symmetry of mixed partial derivatives, and the sixth and seventh recognize the total time derivative of \(x^{i}\),
Differentiating Equation (21.34) with respect to \(\dot{q}^{a}\) gives the “cancellation of the dots”,
so that
Since the kinetic energy of the \(N\) particles is
(the sum over the suppressed index \(s\) being understood throughout), we obtain
Substituting Equation (21.31) and Equation (21.36) into Equation (21.33),
and since the \(\delta q^{a}\) are arbitrary, Equation (21.32) follows.
∎The Lagrangian
The total generalized force \(Q_{a}\) may arise from conservative active forces and also from non-conservative ones; in the most general case the potential of the conservative forces may depend on the velocities.
The Lagrangian of a system with kinetic energy \(T\) and potential energy \(V\) is
For a system that feels \(R\) active forces, of which \(D\) are conservative and derive from the potential \(V\), the equations of motion take the form
where the right-hand side sums the generalized forces of the \(R-D\) non-conservative active forces. In particular, when all the active forces are conservative,
Derivation. Derives Theorem 21.32. Split the active force on each particle into the resultant \(\vect{F}^{s}_{\mathrm{c}}\) of the \(D\) conservative forces and the remainder \(\vect{F}^{s}_{\mathrm{nc}}\). By Definition 7.103 the former derives from a potential \(V\left(\vect{x}^{1},\ldots,\vect{x}^{N},t\right)\) in joules,
so that the corresponding part of the generalized force Equation (21.31) is, by the chain rule in several variables (Proposition 7.72) applied to \(V\left(\vect{x}^{s}(q,t),t\right)\),
Hence \(Q_{a}=-\pp V/\pp q^{a}+\sum_{r=1}^{R-D}Q_{a}^{(r)}\), where the sum runs over the non-conservative forces, and Equation (21.32) becomes
Because \(V\) is a function of the coordinates and time only, it contributes nothing to the velocity derivative, \(\pp V/\pp\dot{q}^{a}=0\), so with \(\Lag=T-V\) of Equation (21.37)
and Equation (21.41) is exactly Equation (21.38). When every active force is conservative the right-hand side is empty and Equation (21.39) follows.
∎The hypothesis \(\pp V/\pp\dot{q}^{a}=0\) can be weakened, and must be, because the Lorentz force on a charge is velocity-dependent and yet has a Lagrangian. Suppose the generalized force derives from a generalized potential \(U\left(q,\dot{q},t\right)\) in joules in the sense
Substituting Equation (21.42) into Equation (21.32) and collecting terms gives Equation (21.39) with \(\Lag=T-U\), by the same two lines as above; the extra total time derivative in Equation (21.42) is precisely what is needed to cancel the \(\pp U/\pp\dot{q}^{a}\) that now survives in \(\pp\Lag/\pp\dot{q}^{a}\). The electromagnetic case \(U=q_{\mathrm{e}}\left(\Phi-\dot{\vect{x}}\cdot\vect{A}\right)\), with \(q_{\mathrm{e}}\) the charge in coulombs, \(\Phi\) in volts and \(\vect{A}\) in \(\mathrm{T}\,\mathrm{m}\), belongs to Generalized Classical Field Theory; it is also the reason Theorem 21.46 below is stated for a potential \(V\left(q,\dot{q},t\right)\). Velocity-dependent forces that are not of the form Equation (21.42) — sliding friction is the standard example — have no Lagrangian and must be carried on the right-hand side of Equation (21.38) as they stand.
The generalized momentum corresponding to the generalized coordinate \(q^{a}\) is
Cyclic coordinates
A generalized coordinate \(q^{a}\) is said to be cyclic if the Lagrangian does not depend on it.
If \(q^{a}\) is cyclic and every active force is conservative, then the generalized momentum \(p_{a}\) is a constant of the motion. Rests on Definition 21.35, Equation (21.39) and Equation (21.43).
Derivation. Derives Theorem 21.36. By Definition 21.35 the index \(a\) is one for which \(\pp\Lag/\pp q^{a}=0\), so the Lagrange equation Equation (21.39) for that index reduces to
and a \(C^{1}\) function whose derivative vanishes on an interval is constant there (Corollary 7.36). The same statement in the general variational setting is Proposition 16.28.
∎The name is opaque and the content is not. That \(\Lag\) does not depend on \(q^{a}\) says that the translation \(q^{a}\mapsto q^{a}+\varepsilon\), with the other coordinates held fixed, leaves the Lagrangian — and therefore the action — invariant. Theorem 21.36 is thus the simplest instance of Noether's first theorem (Theorem 16.84), and the conserved quantity it produces is the Noether charge of that one-parameter group. Two cases carry names: invariance under a rigid translation of the whole system conserves the total linear momentum, and invariance under a rigid rotation conserves the total angular momentum (Corollary 16.88). The reading in terms of symmetry is the one that survives into field theory and quantum mechanics, where no coordinate is “absent” in any literal sense.
The energy of a Lagrangian system
The total energy of a system with kinetic energy \(T\) and potential energy \(V\) is
The function that will turn out to represent it in the Lagrangian formalism is the Jacobi integral,
also in joules — the Legendre transform of \(\Lag\) with respect to the velocities, which is what will become the Hamiltonian in Hamiltonian Mechanics, and the mechanical instance of the Beltrami constant of Remark 16.30. That \(h\) equals \(E\) is a proposition with hypotheses, not a definition.
Suppose the coordinate transformation Equation (21.7) is scleronomous, \(\pp\vect{x}^{s}/\pp t=\vect{0}\) (Remark 21.8), and the potential is velocity-independent, \(V=V(q,t)\). Then
Derivation. Derives Proposition 21.38. With \(\pp\vect{x}^{s}/\pp t=\vect{0}\) the velocity relation Equation (21.34) loses its inhomogeneous term, \(\dot{\vect{x}}^{s}=\left(\pp\vect{x}^{s}/\pp q^{a}\right)\dot{q}^{a}\), so the kinetic energy is the quadratic form
with \(g_{ab}\) the kinetic metric Equation (21.74), a function of the coordinates alone. Differentiating Equation (21.47) and using \(g_{ab}=g_{ba}\),
which is Euler's relation for a function homogeneous of degree two, obtained here by direct differentiation of the explicit form rather than from a general theorem (Remark 21.40). Since \(V\) carries no velocity, \(\pp\Lag/\pp\dot{q}^{a}=\pp T/\pp\dot{q}^{a}\), and therefore
which is Equation (21.46).
∎It is not enough that \(T\) carry no explicit \(t\). A single particle in one dimension described from a frame translating at constant speed \(v\), \(x=q+vt\), has \(T=\tfrac12 m\left(\dot{q}+v\right)^{2}\) — no explicit time dependence whatever — and yet \(\dot{q}\,\pp T/\pp\dot{q}-T=\tfrac12 m\left(\dot{q}^{2}-v^{2}\right) \neq T\). What fails is homogeneity, not time-independence, and it is the transformation Equation (21.7) rather than \(T\) that must be free of \(t\). In the general rheonomous case Equation (21.34) gives \(T=T_{2}+T_{1}+T_{0}\), homogeneous of degrees two, one and zero in the \(\dot{q}^{a}\), and the same computation yields
which is a perfectly good constant of the motion when \(\pp\Lag/\pp t=0\) but is not the energy \(T+V\). The rotating frame of Rigid Bodies and Rotating Frames is the case that matters in practice: there \(h\) is the Jacobi constant of the restricted three-body problem, \(T_{0}\) is the centrifugal term, and confusing it with the energy is a standard way to get a wrong answer.
The general statement behind Equation (21.48) is Euler's theorem on homogeneous functions: if \(f\) is differentiable and \(f(\mu u)=\mu^{k}f(u)\) for all \(\mu>0\), then \(u^{i}\,\pp f/\pp u^{i}=k f(u)\). It is a result of multivariable calculus and belongs in Real Analysis, which does not at present state it. Nothing above rests on it: the kinetic energy is an explicit quadratic form, so Equation (21.48) is one line of differentiation, and Equation (21.49) is obtained the same way term by term. The general theorem is nevertheless wanted elsewhere in this treatise — the virial theorem of Central Forces and Statics and the thermodynamic Euler relation of Part VI — Classical Thermodynamics both use it in degrees other than two — and is recorded here as owed.
Along any motion obeying Equation (21.38),
where \(Q_{a}=\sum_{r}Q^{(r)}_{a}\) is the generalized force of the non-conservative active forces, as in Equation (21.38). Under the hypotheses of Proposition 21.38, \(h=E\) and Equation (21.50) is the power balance for the total energy; if in addition the active forces are all conservative,
Derivation. Derives Proposition 21.41. Differentiate Equation (21.45) along the motion. The total time derivative of \(\Lag\left(q,\dot{q},t\right)\) is, by the chain rule (Proposition 7.72),
while \(\dd\left(\dot{q}^{a}p_{a}\right)/\dd t =\ddot{q}^{a}p_{a}+\dot{q}^{a}\dot{p}_{a}\). The terms in \(\ddot{q}^{a}\) cancel between the two, leaving
and the bracket is the left-hand side of Equation (21.38), hence equal to \(Q_{a}\). This is Equation (21.50). If every active force is conservative then \(Q_{a}=0\), and if the hypotheses of Proposition 21.38 hold as well then \(h=E\), giving Equation (21.51).
∎Equation (21.50) is a power balance in watts, and its two terms are physically distinct. The first, \(\dot{q}^{a}Q_{a}\), is the rate at which the non-conservative active forces do work on the system — the friction that drains a pendulum, the drive that sustains it. The second, \(-\pp\Lag/\pp t\), is the rate at which work is done by whatever imposes the explicit time dependence: the hand that shortens the string of a pendulum, the motor that spins a constraint. Neither is a failure of energy conservation; both record energy crossing the boundary of the system as it was drawn. Note also that the constraint forces appear in neither term, which is the whole economy of the Lagrangian method — they were eliminated at Equation (21.15) precisely because they do no virtual work.
If the coordinate transformation Equation (21.7) is scleronomous, the potential is velocity-independent, every active force is conservative, and the Lagrangian carries no explicit time dependence, \(\pp\Lag/\pp t=0\), then the total energy \(E=T+V\) is a constant of the motion. This is not the Newtonian statement Theorem 19.32 repeated in new notation. That one assumes a potential and reads the constancy of \(T+V\) off \(\vect{F}=m\vect{a}\) directly; this one holds in the presence of constraints, where \(T\) is a quadratic form in the generalized velocities with coordinate-dependent coefficients and the conserved quantity is identified from \(\pp\Lag/\pp t\) rather than from a force balance. The logical route is not independent of Newton — the Lagrange equations themselves come from \(\vect{F}=m\vect{a}\) by d'Alembert's principle, at Equation (21.36) — but the hypotheses and the argument are different ones, and the two statements agree, as they must, for an unconstrained particle in a time-independent potential. Rests on Equation (21.51), Equation (21.46) and Theorem 19.32.
Derivation. Derives Theorem 21.43. The first three hypotheses put Proposition 21.41 in the form Equation (21.51), \(\dot{E}=-\pp\Lag/\pp t\); the fourth makes the right-hand side vanish, and a \(C^{1}\) function with vanishing derivative is constant (Corollary 7.36).
∎\(\pp\Lag/\pp t=0\) says that the action is invariant under a shift of the origin of time, so Theorem 21.43 is Noether's theorem for time translation (Corollary 16.87), exactly as Theorem 21.36 is Noether's theorem for a translation in a coordinate. The two extra hypotheses — scleronomous constraints and a velocity-independent potential — are not needed for a conserved quantity; they are needed only for that quantity to be the energy, per Remark 21.39. It is worth being explicit about what is and is not assumed: nothing here derives conservation of energy from a deeper principle, since time-translation invariance is itself an empirical property of the interactions, tested wherever energy accounting is tested. What the theorem supplies is the exact link between the two.
Hamilton's principle
The differential principles of this chapter—virtual work and d'Alembert—characterize the motion instant by instant. Hamilton's principle characterizes it globally: among all conceivable histories of the system between two fixed instants, the physical one is singled out by a variational property of a single integral.
The action
The action of a system with Lagrangian \(\Lag\) along a history \(q^{a}(t)\) between the instants \(t_{a}\) and \(t_{b}\) is the functional
Since \(\Lag\) is an energy in joules and the integration is over a time, the action carries the SI dimension \(\mathrm{J}\,\mathrm{s}\), the dimension of angular momentum and of the Planck constant — a coincidence that stops being one in Path-Integral Quantization. The functional is the mechanical instance of Definition 16.96.
Rests on Equation (21.37) and Definition 16.96.
Hamilton's principle
For a physical system in which the active forces derive from a potential \(V=V(q,\dot{q},t)\) and the constraint forces are produced by holonomic constraints, the line integral
has a stationary value on the trajectory of motion of the physical system; that is,
This principle is a necessary and sufficient condition for the Lagrange equations with active forces derived from \(V(q,\dot{q},t)\),
Rests on Equation (21.52), Equation (21.38) and Definition 21.12.
Derivation. Derives Theorem 21.46. The mathematics is Theorem 16.35, the Euler–Lagrange system for a functional of several dependent variables, read with the independent variable \(x\) taken to be the time \(t\) and the dependent variables \(y^{i}\) taken to be the \(f\) generalized coordinates \(q^{a}\); the first variation is computed in Proposition 16.17, the integration by parts and the passage from \(\int E_{a}\eta^{a}\dd t=0\) to \(E_{a}=0\) in Theorem 16.22 and Lemma 16.18. Applied to Equation (21.52) that theorem states exactly that \(S\) is stationary among \(C^{1}\) histories with \(q^{a}(t_{a})\) and \(q^{a}(t_{b})\) prescribed if and only if Equation (21.54) holds, which is the assertion.
What is physics, and is the reason the hypotheses are stated as they are, is that the theorem may be applied at all. It requires the variations \(\delta q^{a}\) to be independent and otherwise arbitrary, and that is precisely what the two hypotheses secure. Because the constraints are holonomic, Equation (21.5) leaves \(f\) independent generalized coordinates and every nearby history obeying the constraints is reached by an unrestricted variation of them — so the comparison class is a full neighbourhood in the \(q^{a}\), with no condition surviving from the constraints. Because the active forces derive from \(V\), the whole content of the dynamics is inside \(\Lag=T-V\), with no leftover generalized force on the right-hand side of Equation (21.38) to be accounted for. Drop either hypothesis and the equivalence fails: a non-conservative force leaves \(\sum_{r}Q^{(r)}_{a}\neq0\), which is not the Euler–Lagrange equation of any functional, and a non-integrable constraint restricts the admissible variations in a way that the unconstrained theorem does not model — the subject of Section 21.6.
∎The traditional name “principle of least action” overstates the result, and Equation (21.53) says only what is true: the first variation vanishes. For a mechanical Lagrangian the action is indeed a minimum over sufficiently short intervals, but past the first conjugate point — the kinetic focus — it is a saddle, never a maximum; for a harmonic oscillator of angular frequency \(\omega\) that happens after a time \(\pi/\omega\), half a period. The second-variation machinery that decides this is Section 16.4, and the statement for mechanics specifically is Remark 16.98. The physical reason the stationary path is the one that matters is not classical at all: in the path-integral formulation of Path-Integral Quantization every history contributes a phase \(\exp\left(\ii S/\hbar\right)\), and neighbouring histories interfere destructively except where \(S\) is stationary.
If the potential depends on the coordinates alone, \(V=V(q)\), the system is conservative: the hypotheses of Proposition 21.38 and, given scleronomous constraints, of Theorem 21.43 are met, so \(h=E\) and \(E\) is constant.
It is worth recording what has and has not been shown. d'Alembert's principle Equation (21.19) and Hamilton's principle Equation (21.53) both yield Equation (21.54) for a holonomically constrained system with forces derived from a potential, so on that class they are equivalent and the choice between them is one of convenience. They are not equivalent in general. d'Alembert's principle is the more robust of the two: it survives non-conservative forces, which merely appear as \(Q_{a}\) on the right-hand side, and it survives non-integrable constraints, which restrict \(\delta q^{a}\) without restricting the histories. Hamilton's principle needs a Lagrangian to exist, and needs the admissible histories to form a neighbourhood. The historical order is the reverse of the logical one: Hamilton's essays [Hamilton:1834] came ninety years after d'Alembert and half a century after [Lagrange:1788], and the variational principle is the later and narrower statement, not the foundation from which the rest descends [Goldstein:2002] [Landau:1976].
Nonholonomic constraints
Every result so far has assumed holonomic constraints. A rolling wheel does not satisfy one. The constraint that a wheel does not slip is a condition on velocities that cannot be integrated to a condition on configurations, and the whole chain of the chapter — eliminate the constraints, count the degrees of freedom, vary freely — breaks at the first link. This section states what survives, and settles a question that is often presented as a matter of taste and is not: given a non-integrable constraint, two inequivalent sets of equations can be written down, and only one of them describes a rolling body.
Pfaffian constraints
A Pfaffian (or linear kinematic) constraint on a system with generalized coordinates \(q^{a}\) is a condition of the form
with the \(m\times f\) matrix \(A^{\alpha}{}_{a}\) of rank \(m\); throughout this section \(m\) counts the Pfaffian constraints and never denotes a mass, the masses appearing only inside the kinetic metric Equation (21.74). It is integrable, and the system is then holonomic after all, if the one-forms \(A^{\alpha}{}_{a}\dd q^{a}+A^{\alpha}{}_{0}\dd t\) admit an invertible matrix of integrating factors turning them into exact differentials \(\dd g^{\alpha}\); the criterion is the Frobenius condition recorded in Definition 16.47. A non-integrable Equation (21.55) is called nonholonomic. Rests on Definitions 16.47 and 21.2.
A holonomic constraint removes one configuration variable and, with it, one velocity: the counting Equation (21.5) is exact and the system genuinely lives on a lower-dimensional space. A nonholonomic constraint removes a velocity and no configuration at all. The vertical rolling disc of Example 16.48 has four configuration variables and two constraints Equation (16.44), leaving two velocity degrees of freedom — and yet every one of the four configurations is reachable, by rolling the disc round a suitable closed loop. There is therefore no reduced coordinate set to pass to, and Definition 21.9 must be read with care: the number of independent velocities and the dimension of the accessible set are different numbers, which for holonomic systems coincide. This is the mechanical content of non-integrability, and it is why the parking of a car is possible at all.
The d'Alembert–Chetaev prescription
The principle of virtual work is stated for virtual displacements compatible with the constraints, and for a Pfaffian constraint that phrase must be given a meaning, since Equation (21.55) constrains velocities and \(\delta q^{a}\) is taken at fixed time. The answer that mechanics uses is the natural one: a virtual displacement is admissible when it lies in the annihilator of the constraint forms.
A virtual displacement is compatible with the Pfaffian constraints Equation (21.55) if
The term \(A^{\alpha}{}_{0}\) is absent because the displacement is taken at fixed time, exactly as in Equation (21.14). Rests on Equation (21.55) and Definition 21.16.
Let \(q^{1},\dots,q^{f}\) be coordinates on the configuration space that remains after any holonomic constraints have been eliminated, so that they are unrestricted as configurations. For a system with Lagrangian \(\Lag\) in those coordinates, subject to the Pfaffian constraints Equation (21.55) whose constraint forces do no virtual work on displacements obeying Equation (21.56), and to non-conservative generalized forces \(Q_{a}\), the motion satisfies
together with the \(m\) constraints Equation (21.55). The \(f+m\) equations determine the \(f\) coordinates and the \(m\) multipliers \(\mu_{\alpha}\), and \(\sum_{\alpha}\mu_{\alpha}A^{\alpha}{}_{a}\) is the generalized constraint force. Rests on Equations (21.19), (21.38) and (21.56).
Derivation. Derives Theorem 21.53. d'Alembert's principle Equation (21.19), rewritten in generalized coordinates by the computation of Theorem 21.30 and then split as in Theorem 21.32, states that
for every \(\delta q^{a}\) obeying Equation (21.56). Unlike the holonomic case, the \(\delta q^{a}\) are now not arbitrary, so the bracket need not vanish; what Equation (21.58) says is that the covector in brackets annihilates the subspace \(\set{\delta q\mid A^{\alpha}{}_{a}\delta q^{a}=0}\) of \(\R^{f}\) — the kernel of the linear map \(A\), of dimension \(f-m\) by Theorem 5.38 and the rank hypothesis. The covectors annihilating that kernel form a subspace of the dual (Definition 5.56) of dimension \(m\), and it contains the \(m\) independent rows \(A^{\alpha}{}_{a}\), so it is exactly their span. Hence there are numbers \(\mu_{\alpha}(t)\) with
which is Equation (21.57). They are determined algebraically: differentiating Equation (21.55) once in time gives \(m\) linear relations among the \(\ddot{q}^{a}\), and substituting the accelerations from Equation (21.57) yields an \(m\times m\) linear system for the \(\mu_{\alpha}\). For a Lagrangian of the mechanical type \(\Lag=T-V\) with \(T=\tfrac12 g_{ab}\dot{q}^{a}\dot{q}^{b}\), that system has matrix \(A^{\alpha}{}_{a}g^{ab}A^{\beta}{}_{b}\), with \(g^{ab}\) inverse to the kinetic metric Equation (21.74) and hence positive definite; the same one-line argument as in Proposition 21.22 makes the matrix positive definite under the rank hypothesis, so the \(\mu_{\alpha}\) are unique.
∎The last step is the one to hold on to. Given a configuration \(q^{a}\) and a velocity \(\dot{q}^{a}\) that satisfies Equation (21.55), the multipliers \(\mu_{\alpha}\) follow at once, and Equation (21.57) then fixes the accelerations. The motion of a nonholonomic system is therefore determined by its mechanical state alone, exactly as a Newtonian system is. This is not a formality; it is what the next subsection turns on.
Why the vakonomic prescription is not the observed one
There is a second, formally impeccable way to write equations for a constrained system, and for a nonholonomic constraint it gives different answers.
The vakonomic equations of a system with Lagrangian \(\Lag\) and constraints Equation (21.55) are the Euler–Lagrange equations obtained by making \(S[q]\) stationary within the class of histories that satisfy Equation (21.55), that is by applying the multiplier rule to the augmented integrand \(\Lag+\sum_{\alpha}\lambda_{\alpha} \left(A^{\alpha}{}_{a}\dot{q}^{a}+A^{\alpha}{}_{0}\right)\) and varying \(q^{a}\) and \(\lambda_{\alpha}\) freely. Rests on Equations (21.53) and (21.55).
The vakonomic equations of Definition 21.55 read
with the obstruction coefficients
If the constraint one-forms are exact, \(A^{\alpha}{}_{a}=\pp g^{\alpha}/\pp q^{a}\) and \(A^{\alpha}{}_{0}=\pp g^{\alpha}/\pp t\), then \(C^{\alpha}{}_{ab}=c^{\alpha}{}_{a}=0\) identically and Equation (21.59) coincides with the d'Alembert–Chetaev equations Equation (21.57) with \(Q_{a}=0\), under the identification \(\mu_{\alpha}=-\dot{\lambda}_{\alpha}\). Otherwise the two differ by the obstruction terms, which are exactly the components of the exterior derivative of the constraint forms — the quantity whose vanishing is the Frobenius integrability condition of Definition 21.50. Rests on Definition 21.55, Equation (21.57) and Theorem 16.41.
Derivation. Derives Proposition 21.56. Write \(F=\Lag+\sum_{\alpha}\lambda_{\alpha}G^{\alpha}\) with \(G^{\alpha}=A^{\alpha}{}_{a}\dot{q}^{a}+A^{\alpha}{}_{0}\). Varying \(\lambda_{\alpha}\) returns Equation (21.55). For the \(q^{a}\),
and
Subtracting and rearranging gives Equation (21.59) with Equation (21.60). If \(A^{\alpha}{}_{a}=\pp_{a}g^{\alpha}\) and \(A^{\alpha}{}_{0}=\pp_{t}g^{\alpha}\) then every entry of Equation (21.60) is a difference of mixed second derivatives of \(g^{\alpha}\) and vanishes by Proposition 7.73, leaving only the \(\dot{\lambda}_{\alpha}\) term, which is Equation (21.57) with \(\mu_{\alpha}=-\dot{\lambda}_{\alpha}\) and \(Q_{a}=0\).
∎For the vertical rolling disc of Example 16.48, with coordinates \(\left(x,y,\varphi,\vartheta\right)\) and the constraints Equation (16.44) written as Equation (21.55),
all other components and all \(A^{\alpha}{}_{0}\) being zero. The only nonvanishing obstruction coefficients Equation (21.60) are
which cannot all vanish, since \(\sin\varphi\) and \(\cos\varphi\) have no common zero. The discrepancy between Equation (21.59) and Equation (21.57) in the \(\varphi\) equation is therefore \(R\dot{\vartheta}\left(\lambda_{1}\sin\varphi -\lambda_{2}\cos\varphi\right)\), a term of the same order as the ones beside it whenever the disc is actually rolling (\(\dot{\vartheta}\neq0\)) and the constraint is actually doing something (\(\lambda\neq0\)). The two prescriptions are not two approximations to one answer; they are two different answers. Rests on Equations (16.44) and (21.60).
The equations of a rolling body are the d'Alembert–Chetaev ones Equation (21.57). Three things settle it, in increasing order of force.
The physical realization of the constraint. Rolling without slipping is enforced by static friction at the contact point: a real force, exerted instant by instant, whose magnitude adjusts to whatever the state requires. It does no work, because the material point of the body at the contact is instantaneously at rest, which is precisely the Chetaev condition Equation (21.56). Nothing in the physical situation restricts which histories the body is permitted to consider, which is what Definition 21.55 assumes.
Determinism. By Remark 21.54 the d'Alembert–Chetaev system fixes the motion from \(\left(q,\dot{q}\right)\) alone. The vakonomic system does not: in Equation (21.59) the multipliers obey their own differential equations, so their initial values \(\lambda_{\alpha}(t_{0})\) are extra data, and one mechanical initial state gives rise to an \(m\)-parameter family of vakonomic motions. A disc released twice from the same place with the same velocity does the same thing twice; that observation alone excludes the vakonomic equations as a description of it, and it can be made in a lecture room.
The two answer different questions. The vakonomic equations are not wrong — they are the correct equations of the optimal-control problem in which the constraint is imposed on the admissible curves by decree and one asks which admissible curve extremizes the action. That is a real and useful problem, and the extra initial data \(\lambda_{\alpha}(t_{0})\) are what select a particular optimal trajectory in it. It is simply not the problem a rolling disc solves. The mathematical statement of the dichotomy, and the reason Theorem 16.41 does not cover the nonholonomic case, is Remark 16.49.
Two honest caveats. First, the standard mechanics texts [Goldstein:2002] [Landau:1976] present Equation (21.57) as the equations of a nonholonomic system, and the derivation above is theirs in substance; but this treatise's bibliography holds no reference reporting a controlled experiment that discriminates the two prescriptions on a rolling body, and the claim of observational adequacy above therefore rests on the accumulated agreement of nonholonomic rigid-body dynamics with measurement — the rolling and spinning experiments of Rigid Bodies and Rotating Frames — rather than on a single cited test. Second, systems whose constraints are not imposed from outside but follow from a degenerate Lagrangian are a third case entirely, governed by the Dirac–Bergmann algorithm of Constrained Hamiltonian Systems: the Dirac–Bergmann Formalism, and nothing here applies to them.
General coordinate transformations
Generalized coordinates were introduced in Section 21.1.3 as any independent set of labels sufficient to locate the system in its configuration space: lengths, angles, or arbitrary mixtures of them, chosen for convenience and carrying no privileged status. That freedom has a consequence which is easy to state and hard to overstate: the equations of motion must not care which labels were chosen. This section proves that they do not, identifies the geometric objects that appear when one changes labels, and—in Section 21.8—shows that the same structure recurs verbatim in special and general relativity. The machinery is the differential geometry of Differentiable Manifolds, Tensors, and Curvature, instantiated here on configuration space.
The conventions of Notation 21.1 continue to apply: \(a,b,\dots\) label the \(f\) generalized coordinates. They are not the frame indices of Section 13.1, which label directions in spacetime; where spacetime enters, in Section 21.8.1, it carries \(\mu,\nu,\dots\) as usual.
Point transformations
A point transformation is a change of generalized coordinates
that is smooth and invertible, i.e. whose Jacobian \(J^{a}{}_{b}=\pdv{Q^{a}}{q^{b}}\) is everywhere nonsingular, \(\det J\neq0\). When Equation (21.63) carries an explicit \(t\) the transformation is time-dependent; a rotating or accelerating frame is of this kind.
Differentiating Equation (21.63) along a trajectory gives the induced transformation of the generalized velocities,
which is affine—not linear—in the velocities whenever the transformation depends on time. Two identities follow from Equation (21.64) and are used repeatedly; the first is the “cancellation of the dots” already met at Equation (21.35), in the special case \(q\rightarrow x\).
For any point transformation,
Derivation. The right-hand side of Equation (21.64) contains \(\dot{q}^{b}\) only in the first term, and there linearly with coefficient \(\pdv{Q^{a}}{q^{b}}\), which is a function of \(q\) and \(t\) alone; differentiating with respect to \(\dot{q}^{b}\) therefore gives Equation (21.65). For Equation (21.66), expand the total time derivative of \(\pdv{Q^{a}}{q^{b}}(q,t)\) by the chain rule and compare with the \(q^{b}\)-derivative of Equation (21.64):
the middle step using the symmetry of mixed partial derivatives (Proposition 7.73) and the independence of \(q^{c}\) and \(\dot{q}^{c}\) as coordinates on velocity phase space, so that \(\dot{q}^{c}\) is held fixed by \(\pp/\pp q^{b}\).
∎Covariance of the Euler–Lagrange equations
For a Lagrangian \(\Lag\) the Euler–Lagrange operator is
so that the equations of motion Equation (21.39) read \(\mathcal{E}_{a}[\Lag]=0\). When a second chart \(Q^{a}\) is in play, \(\widetilde{\mathcal{E}}_{a}[\widetilde{\Lag}]\) denotes the same operator formed with \(Q^{a},\dot{Q}^{a}\) in place of \(q^{a},\dot{q}^{a}\).
Let \(\Lag\) be a Lagrangian and let \(\widetilde{\Lag}(Q,\dot{Q},t) =\Lag\!\left(q(Q,t),\dot{q}(Q,\dot{Q},t),t\right)\) be its expression in new coordinates related to the old by a point transformation Equation (21.63). Then the Euler–Lagrange operator transforms as a covector,
Consequently \(\mathcal{E}_{b}[\Lag]=0\) if and only if \(\widetilde{\mathcal{E}}_{a}[\widetilde{\Lag}]=0\): the Euler–Lagrange equations hold in one system of generalized coordinates precisely when they hold in every other.
Derivation. Since the transformation is invertible, the defining relation may be read as \(\Lag(q,\dot{q},t)=\widetilde\Lag\!\left(Q(q,t),\dot{Q}(q,\dot{q},t), t\right)\), and it is this composition that is differentiated below. As \(\Lag\) and \(\widetilde\Lag\) are the same function of the physical state in different labels, the chain rule gives
using Equation (21.65); note that \(\pdv{Q^{a}}{\dot q^{b}}=0\), because \(Q\) depends on \(q\) and \(t\) only. Differentiating Equation (21.69) totally in time,
The other term of the operator, again by the chain rule, is
Subtracting Equation (21.71) from Equation (21.70), the two terms carrying \(\pdv{\widetilde\Lag}{\dot Q^{a}}\) cancel by Equation (21.66), and what remains is
which is Equation (21.68). The final claim follows because the Jacobian is invertible (Definition 21.60): a covector vanishes in one basis exactly when it vanishes in all.
∎There is a one-line reason behind the computation. The action Equation (21.52) is a number attached to a path—a scalar, independent of how the path is labelled—and Hamilton's principle (Theorem 21.46) characterizes the motion as a stationary point of that number. Stationarity is a property of the functional, not of the chart used to write it, so the resulting equations cannot depend on the chart either. Theorem 21.63 is that observation made explicit, and Equation (21.68) records the precise sense in which it holds: not that the components \(\mathcal{E}_{a}\) are unchanged, but that they transform as the components of a covector, which is what makes the statement \(\mathcal{E}_{a}=0\) coordinate-independent.
A second, distinct freedom leaves the equations of motion untouched: adding to \(\Lag\) the total time derivative of any function \(F(q,t)\),
changes the action only by the boundary term \(F(q_{b},t_{b})-F(q_{a},t_{a})\), which is fixed once the endpoints are fixed and therefore does not affect the variation. The Lagrangian of a system is thus not unique; only its equivalence class modulo point transformations and total derivatives is physical.
That the equations are untouched can also be seen without mentioning the boundary at all, and this is the sharper statement: the Euler–Lagrange operator annihilates a total time derivative identically, on every curve, extremal or not. Writing \(G=\dd F(q,t)/\dd t=\left(\pp F/\pp q^{b}\right)\dot{q}^{b}+\pp F/\pp t\) for \(F\) of class \(C^{2}\), the velocity derivative of \(G\) is \(\pp G/\pp\dot{q}^{a}=\pp F/\pp q^{a}\), so
by the symmetry of mixed partial derivatives (Proposition 7.73). Since \(\mathcal{E}_{a}\) is linear in its argument, \(\mathcal{E}_{a}[\Lag']=\mathcal{E}_{a}[\Lag]\), which is the claim. A function with \(\mathcal{E}_{a}\equiv0\) is called a null Lagrangian; in one independent variable Equation (21.73) has a converse, every null Lagrangian being a total derivative, and it is the freedom Equation (21.72) that reappears as the gauge freedom of the electromagnetic potentials and as the boundary terms that must be added to the Einstein–Hilbert action.
The kinetic metric and the geodesic form
Covariance says the equations keep their form. The next question is what objects appear in that form, and the answer is the metric and connection of Differentiable Manifolds, Tensors, and Curvature.
For a system of particles with \(T=\tfrac12\sum_{i}m_{i}\, \dot{\vect{x}}_{i}\cdot\dot{\vect{x}}_{i}\) and time-independent constraints, substituting \(\dot{\vect{x}}_{i}=\pdv{\vect{x}_{i}}{q^{a}} \dot{q}^{a}\) (Equation (21.34) with \(\pdv{\vect{x}}{t}=0\)) gives a quadratic form in the generalized velocities.
The kinetic metric of such a system is the symmetric, positive-definite \((0,2)\) tensor field on configuration space
It is a metric in the sense of Definition 13.117, of signature \((f,0)\): configuration space is a Riemannian manifold, and \(2T\,\dd t^2\) is its line element.
For \(\Lag=T=\tfrac12 g_{ab}(q)\dot{q}^{a}\dot{q}^{b}\) with no potential, the Euler–Lagrange equations are the autoparallel equation of the Levi-Civita connection of \(g_{ab}\),
with \(\mathring{\Gamma}\) exactly the Christoffel symbols of Theorem 13.150.
Derivation. From Equation (21.74), \(\pdv{\Lag}{\dot{q}^{c}} = g_{cb}\dot{q}^{b}\) (using \(g_{ab}=g_{ba}\)) and \(\pdv{\Lag}{q^{c}} = \tfrac12\,\pp_{c}g_{ab}\,\dot{q}^{a}\dot{q}^{b}\). Hence
The middle term is contracted with the symmetric \(\dot{q}^{a}\dot{q}^{b}\), so only its symmetric part in \(ab\) contributes; replacing it by \(\tfrac12\left(\pp_{a}g_{cb}+\pp_{b}g_{ca}\right)\) and multiplying through by \(g^{dc}\),
which is Equation (21.75).
∎A free system does not travel in straight lines through configuration space; it travels along the straightest available lines, the autoparallels of the metric its own kinetic energy defines. With a potential the right-hand side acquires \(-g^{cd}\pp_{d}V\), so \(V\) acts as a force pushing the motion off the geodesics. Every statement here is the general apparatus of Section 13.10 specialized to a Riemannian configuration space.
Inertial forces are connection coefficients
The Christoffel symbols in Equation (21.75) are built from derivatives of \(g_{ab}\), and \(g_{ab}\) depends on the coordinates chosen. They therefore do not vanish merely because the physics is simple—as the flattest possible example shows.
For one particle of mass \(m\) in a plane, Cartesian coordinates give \(T=\tfrac{m}{2}\left(\dot{x}^{2}+\dot{y}^{2}\right)\), so \(g_{ab}=m\,\delta_{ab}\), all \(\pp_{c}g_{ab}=0\), all \(\mathring{\Gamma}=0\), and Equation (21.75) reads \(\ddot{x}=\ddot{y}=0\). Passing to polar coordinates \(x=r\cos\varphi\), \(y=r\sin\varphi\)—a point transformation Equation (21.63)—the same kinetic energy becomes
on the chart \(r>0\), where the polar labelling is nondegenerate (at \(r=0\) the metric Equation (21.76) degenerates and \(g^{ab}\) fails to exist — a defect of the labels, not of the plane). Its only nonvanishing Christoffel symbols are
The overall factor \(m\) has cancelled, as it must: \(\mathring{\Gamma}\) is invariant under a constant rescaling \(g\rightarrow\lambda g\), the \(\lambda\) from differentiating the metric cancelling the \(\lambda^{-1}\) from its inverse. Mass sets the scale of the metric but not of the connection. The geodesic equation Equation (21.75) then gives
in which one recognizes the centripetal term \(-r\dot\varphi^{2}\) and the Coriolis-like term \(2\dot r\dot\varphi/r\). These are the same straight lines as before, described in different labels.
Example 21.69 is worth pausing on, because it isolates a distinction that the rest of this treatise depends upon. The Christoffel symbols Equation (21.77) are not zero, yet the plane is flat: inserting the symbols Equation (21.77) into the Riemann tensor Equation (13.306) gives \(R^{a}{}_{bcd}=0\) identically, as it must, since curvature is a tensor (Theorem 13.152) and vanishes in the Cartesian chart.
So in a flat space a nonvanishing connection means only one of two things, which are worth separating. Curvilinear coordinates in an inertial frame — Example 21.69 — produce \(\mathring{\Gamma}\) terms that are pure bookkeeping: no observer feels anything, and an accelerometer carried along reads zero. A non-inertial frame, obtained by a time-dependent point transformation, produces \(\mathring{\Gamma}\) terms that an accelerometer does register; these are the inertial (fictitious) forces of Definition 21.19 proper — centrifugal, Coriolis and their relatives. What the two cases share is that both are removable everywhere at once, by returning to inertial Cartesian coordinates, and they are removable precisely because \(R^{a}{}_{bcd}=0\). Curvature is what cannot be removed. Keeping these apart is what makes the equivalence principle a sharp statement rather than a slogan (The Equivalence Principle and Classical Tests).
The universality of general covariance
Nothing in Section 21.7.2 used the number of particles, the signature of the metric, or the presence of gravity. The construction is generic, and it is worth stating plainly how far it reaches, because the same formalism is often presented as though it were the private property of general relativity.
Flat spacetime in arbitrary coordinates
Special relativity is usually written in inertial Cartesian coordinates, in which the metric takes the constant form \(\eta_{\mu\nu}\) of Equation (13.1). Nothing compels that choice. Minkowski space is a manifold (Differentiable Manifolds, Tensors, and Curvature), its coordinates are labels, and a general coordinate transformation \(x^{\mu}\rightarrow x'^{\mu}(x)\) is as legitimate there as a point transformation is in mechanics.
Let the worldline be timelike and future-directed, parametrized monotonically by any \(\lambda\), so that \(g_{\mu\nu}\dot{x}^{\mu}\dot{x}^{\nu}<0\) in the signature \((-,+,+,+)\) used throughout (Notation). Proper time is then defined by \(c^{2}\dd\tau^{2}=-g_{\mu\nu}\,\dd x^{\mu}\dd x^{\nu}\), and the action of a free massive particle is proportional to the proper time elapsed along the worldline,
Two independent invariances hold, for two different reasons. The integrand is a scalar, which makes \(S\) independent of the coordinates \(x^{\mu}\); and it is homogeneous of degree one in \(\dd x^{\mu}/\dd\lambda\), which makes \(S\) independent of the parametrization. The timelike hypothesis is what keeps the square root real.
With the mostly-plus signature this treatise uses, the interval itself is \(\dd s^{2}=g_{\mu\nu}\dd x^{\mu}\dd x^{\nu}\), negative on a timelike worldline, so \(\dd s\) is not the proper distance travelled by a massive particle and \(c^{2}\dd\tau^{2}=-\dd s^{2}\). Writing the action in terms of \(\dd\tau\) rather than \(\dd s\), as in Equation (21.79), keeps this consistent with the interval classification of Lorentz Transformations and with Example 21.74 below. A timelike geodesic maximizes proper time, so the leading minus sign is what makes \(S\) stationary at a minimum.
Extremizing Equation (21.79) with \(g_{\mu\nu}\) the flat metric written in arbitrary coordinates, and choosing \(\lambda=\tau\) the proper time, gives
the same geodesic equation as Equation (21.75), now on spacetime. In inertial Cartesian coordinates \(\mathring{\Gamma}=0\) and it reduces to \(\dd^{2}x^{\mu}/\dd\tau^{2}=0\), uniform motion. Rests on Equation (21.79), Equation (21.75) and Theorem 13.150.
Derivation. Derives Proposition 21.73. Write \(\dot{x}^{\mu}=\dd x^{\mu}/\dd\lambda\) and
so that \(S=\int\Lag_{1}\dd\lambda\) is Equation (21.79); \(u\) carries \(\mathrm{m}/\mathrm{s}\) if \(\lambda\) is a time, and \(\Lag_{1}\dd\lambda\) is an action in \(\mathrm{J}\,\mathrm{s}\) whatever \(\lambda\) is, since \(u\,\dd\lambda=c\,\dd\tau\). Differentiating Equation (21.81),
and the Euler–Lagrange equation \(\mathcal{E}_{\mu}[\Lag_{1}]=0\) of Equation (21.67) reads
Nothing has been assumed about \(\lambda\) so far, and nothing could be: \(\Lag_{1}\) is homogeneous of degree one in the \(\dot{x}^{\mu}\), so \(S\) is unchanged by any monotone reparametrization, and the four equations Equation (21.83) are not independent — contracting them with \(\dot{x}^{\mu}\) gives \(0=0\) identically. That is the degeneracy of Corollary 16.94, and it is what leaves one function's worth of freedom to be fixed by a gauge choice, exactly as the arclength gauge is imposed after the differentiation in Lemma 16.100.
Fix it by \(\lambda=\tau\), legitimate because the worldline is timelike and future-directed, so \(\tau\) is a strictly increasing function of any admissible \(\lambda\) and \(u=c\) identically along the curve. With \(u\) constant, Equation (21.83) may be divided by \(mc/u=m\):
Expanding the derivative, replacing \(\pp_{\nu}g_{\mu\rho}\) by its part symmetric in \(\nu\rho\) (the only part that survives contraction with \(\dd x^{\nu}/\dd\tau\,\dd x^{\rho}/\dd\tau\)) and multiplying by \(g^{\sigma\mu}\) gives Equation (21.80), with \(\mathring{\Gamma}\) the Christoffel symbols of Theorem 13.150 — the identical algebra as in the proof of Theorem 21.67, with \(g_{ab}\) replaced by \(g_{\mu\nu}\).
Finally, the equivalence with the quadratic Lagrangian \(\Lag_{2}=\tfrac12 m\,g_{\mu\nu}\dot{x}^{\mu}\dot{x}^{\nu}\) used in Theorem 21.67. \(\Lag_{2}\) has no explicit \(\lambda\), so Theorem 16.29 makes \(\dot{x}^{\mu}\pp\Lag_{2}/\pp\dot{x}^{\mu}-\Lag_{2}=\Lag_{2}\) constant along its extremals; hence \(u\) is automatically constant for \(\Lag_{2}\), and normalizing that constant to \(u=c\) selects proper time. Under that normalization the two Lagrangians have the same extremals: \(\mathcal{E}_{\mu}[\Lag_{2}]=0\) is the display above multiplied by \(m\). The square-root form is the one with a geometric meaning (Equation (21.79)); the quadratic form is the one that is easier to vary, and \(\Lag_{2}\) is what will be used whenever a computation is wanted. Note that \(\Lag_{2}\) is not reparametrization invariant — it fixes \(\lambda\) to be affine — which is exactly the trade being made.
∎The coordinates natural to a uniformly accelerated observer in flat spacetime are
covering the wedge \(x>\abs{ct}\). Differentiating and substituting into \(\dd s^{2}=-c^{2}\dd t^{2}+\dd x^{2}\), the cross terms cancel and the hyperbolic identity \(\cosh^{2}-\sinh^{2}=1\) leaves
a metric with nonconstant components and hence nonvanishing Christoffel symbols. Both statements can be checked in a few lines, and it is worth doing so, because the example carries the whole distinction of Remark 21.70.
The transverse directions \(y,z\) are untouched by Equation (21.84) and contribute \(\dd y^{2}+\dd z^{2}\) with constant components, so only the \((T,X)\) block of Equation (21.85) can produce anything. There \(g_{TT}=-a^{2}X^{2}/c^{2}\) and \(g_{XX}=1\) are diagonal and depend on \(X\) alone, so Equation (21.75) gives, for the only two nonvanishing symbols,
carrying \(\mathrm{m}/\mathrm{s}^{2}\) and \(/\mathrm{m}\) respectively, which is what makes every term of Equation (21.80) dimensionally uniform. An observer at fixed \(X\) has \(\dd X/\dd\tau=0\) and, from Equation (21.85), \(\dd T/\dd\tau=c^{2}/(aX)\); the only nonvanishing component of the four-acceleration \(A^{\mu}=\dd^{2}x^{\mu}/\dd\tau^{2} +\mathring{\Gamma}^{\mu}{}_{\nu\rho} \left(\dd x^{\nu}/\dd\tau\right)\left(\dd x^{\rho}/\dd\tau\right)\) is therefore
whose magnitude, \(g_{XX}\) being unity, is \(c^{2}/X\): the observer must accelerate to stay put, and feels a weight, exactly as the connection terms of Equation (21.80) predict. It equals \(a\) only on the worldline \(X=c^{2}/a\), which is also the only one on which Equation (21.85) makes \(T\) the proper time.
And yet the curvature vanishes. With only the two symbols Equation (21.86), and both independent of \(T\), the \((T,X)\) block has a single independent curvature component (Proposition 13.154), and Equation (13.306) gives
the two surviving terms being \(-\pp_{X}(1/X)\) and \(-\mathring{\Gamma}^{T}{}_{XT}\mathring{\Gamma}^{T}{}_{TX}\). So \(R^{\mu}{}_{\nu\rho\sigma}=0\) identically, as it must, curvature being a tensor (Theorem 13.152) that vanishes in the inertial Cartesian chart. This is flat spacetime in curvilinear clothing, and \(X=0\) is a horizon where the chart degenerates, not a place where anything happens to the spacetime. Rests on Equation (21.85), Equation (21.75) and Theorem 13.152.
What general relativity adds
The three settings just surveyed share their entire formal apparatus: a manifold of states, a metric, its Levi-Civita connection, geodesics as free motion, and equations of motion that hold in any coordinates whatever. Table 21.1 sets them side by side.
| Classical mechanics | Special relativity | General relativity | |
|---|---|---|---|
| Manifold | configuration space, $f$ degrees of freedom | Minkowski spacetime, $3+1$ | spacetime, $3+1$ |
| Metric | kinetic metric $g_{ab}(q)$, signature $(f,0)$ (time-independent constraints) | $\eta_{\mu\nu}$ in any coordinates, $(3,1)$ | $g_{\mu\nu}(x)$, $(3,1)$ |
| Relabelling | point transformations $Q(q,t)$; the geometric rows assume $Q(q)$ | general coordinate transformations | general coordinate transformations |
| Free motion | geodesics of $g_{ab}$, for $V=0$ | geodesics of $\eta$ | geodesics of $g_{\mu\nu}$ |
| Connection | may be nonzero (curvilinear coordinates) | may be nonzero (accelerated frames) | generally nonzero |
| Curvature | $R^{a}{}_{bcd}$ may be nonzero: constrained systems have genuinely curved configuration spaces | $R^{\mu}{}_{\nu\rho\sigma}=0$ always: spacetime is flat | $R^{\mu}{}_{\nu\rho\sigma}$ generically nonzero and dynamical: the field equations fix its Ricci part from $T_{\mu\nu}$, while the Weyl part propagates |
It would be tidy, but false, to say that curvature is what separates mechanics from gravitation. A particle constrained to a sphere of radius \(\rho\) has \(T=\tfrac{m \rho^{2}}{2}\left(\dot\theta^{2} +\sin^{2}\theta\,\dot\varphi^{2}\right)\), so its kinetic metric Equation (21.74) is \(m\rho^{2}\) times the round metric on the unit sphere. Its Gaussian curvature is therefore \(K=1/(m\rho^{2})\) — carrying units \(1/(\mathrm{kg}\,\mathrm{m}^{2})\), as the SI axiom demands of the curvature of a metric whose components are masses times areas, and not the \(1/\rho^{2}\) of the geometric sphere in Example 13.33, which is a different metric. The distinction is one of scale only: the \((1,3)\) tensor \(R^{a}{}_{bcd}\) is invariant under the constant rescaling \(g\rightarrow\lambda g\), so it is the same as the geometric sphere's and is nonzero either way. Free trajectories are the great circles, geodesics of a genuinely curved space. The same holds for the double pendulum and for rigid-body rotation.
What distinguishes general relativity is therefore not curvature as such, but which manifold is curved and what determines it: in mechanics the curvature belongs to an abstract space of configurations and is fixed once the constraints are imposed by hand, whereas in general relativity it belongs to spacetime itself and is dynamical — its Ricci part fixed algebraically by the local energy–momentum, its Weyl part propagating as a field in its own right (The Einstein Field Equations).
Three conclusions follow, and they are the point of this section.
-
General covariance by itself carries little physical content. The freedom to use arbitrary coordinates is available in Newtonian mechanics (Theorem 21.63) and in flat spacetime (Proposition 21.73) just as much as in curved spacetime, so a theory written covariantly is not thereby a theory of gravity. This is Kretschmann's objection to Einstein, raised in 1917 [Kretschmann:1918]: essentially any theory can be put in generally covariant form. The price, usually left unsaid, is that covariantizing a theory with fixed background structure requires promoting that structure to explicit fields — Newtonian gravity becomes Newton–Cartan theory — so what does real work is not general covariance but background independence, the absence of non-dynamical absolute objects. Whether, and in what form, general covariance retains physical content has been disputed for a century and is not settled here [Norton:1993]; the position this treatise takes is the majority one just stated.
-
The value of the connection at a point carries no invariant information; curvature does. \(\mathring{\Gamma}\) is not a tensor (Equation (13.296)), and for a torsion-free connection its components can always be made to vanish at any chosen point — indeed along an entire geodesic, which is what an extended freely falling observer enjoys. What cannot be done, once the space is curved, is to make them vanish throughout a neighbourhood, however small. The Riemann tensor is a tensor (Theorem 13.152): nonzero in one chart, nonzero in all, and no relabelling removes it. Inertial forces belong to the first category and tidal forces to the second, which is why the observable local content of gravity is tidal (Section 43.2). “Local” is not idle: a flat connection can still carry global physical content through its holonomy, as the conical geometry around a cosmic string shows, so vanishing curvature guarantees removability only region by region.
-
The equivalence principle is what licenses describing gravity by a connection at all. Its empirical core is the universality of free fall: all test bodies fall identically, whatever their mass or composition — the content of the Eötvös-type experiments of The Equivalence Principle and Classical Tests. That universality is what makes a gravitational field describable as a property of spacetime rather than as a force with body-dependent couplings, and it is not a theorem but a measured fact. (The stronger forms add local Lorentz invariance and local position invariance, and extend the claim to self-gravitating bodies.)
Once gravity is represented by a metric connection, the vanishing of \(\mathring{\Gamma}\) in a freely falling frame follows as geometry, not as further physics: Riemann normal coordinates make \(\mathring{\Gamma}\) vanish at any chosen point, and Fermi normal coordinates make it vanish along an entire freely falling worldline, for any metric whatever. What no choice of chart can do is make \(\mathring{\Gamma}\) vanish on an open neighbourhood, because the second derivatives of the metric there carry the curvature, which is a tensor: tidal deviation between neighbouring free-fall trajectories enters at second order in the separation and is chart-independent. That is the precise sense in which the equivalence principle is local, and the failure is not merely “global”. Gravity is thus the one “inertial force” that relabelling removes along a worldline but never on a neighbourhood of it, and that irremovability is spacetime curvature. This is the bridge from the present chapter to Part V — General Relativity and Cosmology.
Every geometric object used above — manifold, chart, metric, connection, geodesic, curvature — is defined once and in full generality, for dimension \(D=p+q\) and signature \((p,q)\), in Differentiable Manifolds, Tensors, and Curvature. This chapter has developed no new mathematics; it has pointed out that the mathematics classical mechanics has used since Lagrange is the mathematics general relativity uses, and that what separates the theories is not the language but the physics it is asked to describe: in mechanics the geometry is a bookkeeping device for constraints imposed by hand, while in general relativity the geometry of spacetime is itself the dynamical variable, determined by its own field equations.
With the Lagrangian formulation complete, the natural next step is to trade the generalized velocities for the generalized momenta Equation (21.43) as independent variables. That exchange—the Legendre transformation of the Lagrangian—produces the Hamiltonian formulation of mechanics, developed in Hamiltonian Mechanics.