In Cartesian coordinates the Lagrangian is
Introduce a Lagrange multiplier for . The Euler-Lagrange equations become
or
Differentiating the constraint twice gives
Taking the scalar product of the vector equation with therefore yields
Substitution gives
For , the equations have the first integrals
Writing and gives and . Hence every trajectory is
These are helices of unit angular frequency about a line parallel to the axis, including circles when and a straight line when .
Define the canonical momenta
When the velocity Hessian is nonsingular, these equations can be inverted for , and the Hamiltonian is the Legendre transform
Its differential is
because the terms cancel. The Euler-Lagrange equation identifies , so coefficient comparison gives Hamilton's equations
For the symmetric top, the momenta are
Thus
The Legendre transform gives
Both and are cyclic coordinates, so and are conserved. The Hamiltonian has no explicit time dependence and is also conserved. Since is independent of ,
under the Poisson bracket. Hence three independent first integrals in involution are
Let a one-parameter infinitesimal transformation be and suppose its change in the Lagrangian is a total derivative,
With canonical momentum , the chain rule and the Euler-Lagrange equations give, along a motion,
Comparison with the assumed total derivative proves Noether theorem:
The given Lagrangian has no explicit time dependence, so its energy function is conserved:
It is also invariant under the dilation : the velocities and all scale by the same factor, while is unchanged. The generator is and . Since
Noether's theorem supplies the second first integral
The integrals and are independent on an open dense subset of phase space.
The two Euler-Lagrange equations are
Differentiating along an extremal and using these equations gives . Hence the Beltrami identity makes constant when has no explicit dependence on . If omits or , that variable is a cyclic coordinate and the corresponding momentum or is an additional first integral; continuous symmetries give the analogous conserved quantities through Noether's theorem.
Put . Since is cyclic,
for a constant . The Beltrami integral is
Therefore
If , then and
For , define
the hinted identity gives . Hence . Because as , the prescribed limit selects the minus sign:
As , the logarithm tends to , so every such solution satisfies .
Write the admissible variation as , where at both ends. Differentiating the functional under the integral sign gives the first variation
After integration by parts, with the boundary term vanishing,
Thus the Euler-Lagrange equation is
A second differentiation gives the second variation
For unit mass, the Lagrangian in cylindrical coordinates is
Introduce shearing sheet coordinates by and . Evaluate all derivatives of at . The reference circular orbit obeys , while midplane symmetry gives . Its Taylor expansion is
Expanding the kinetic energy to the same order gives
The terms linear in cancel by circular-orbit balance. Discard the constant and the term by total-time-derivative invariance of a Lagrangian; these do not change the Euler-Lagrange equations. The particle Lagrangian in a shearing sheet is therefore
with shearing-sheet tidal potential
The second form follows from , the orbital shear parameter and the vertical epicyclic frequency .
The Euler-Lagrange equations of the particle Lagrangian in a shearing sheet are
The terms coupling and are the Coriolis acceleration. The cyclic coordinate has conserved canonical momentum
For a Newtonian potential of a point mass, and . Set and substitute in the radial equation. It becomes , a harmonic oscillator equation about the epicyclic guiding center . Integration gives
The four real constants in and the two in account for the six initial position and velocity data.
Expanding the inertial specific angular momentum gives . Thus measures the angular-momentum offset from the reference circular orbit, and specifies the radius of its associated epicyclic guiding center.
The conserved horizontal energy in the rotating frame is
It is the horizontal part of the local Jacobi energy in a shearing sheet, rather than the inertial specific orbital energy. Its positive term is the epicyclic energy; its negative term is the energy of the background shear at guiding-center position . Independently, the vertical harmonic oscillator has conserved energy
Let
be the infinitesimal generator of the continuous symmetry, and let
be the canonical momentum. Noether theorem states that along every trajectory satisfying the Euler-Lagrange equations,
is conserved.
Indeed, differentiate the invariance of with respect to at zero:
On an Euler-Lagrange trajectory, , so
This proves the Noether conserved quantity for a mechanical point symmetry.
The canonical momentum is
In components, the Euler-Lagrange equation is
Thus
The last term is the th component of , so
the Lorentz force law.
Under the gauge transformation,
because the curl of a gradient vanishes, and
The transformed Lagrangian is
A total time derivative changes the action only by endpoint terms, whose variation vanishes for fixed endpoints, so the Euler-Lagrange equations are unchanged.
The new momentum is
Use the type-two generating function for a canonical transformation
It gives , , and
This equals , so the gauge change is a time-dependent canonical transformation.
The first fundamental form of a surface of revolution is
The geodesic Lagrangian is consequently
The rotation angle is a cyclic coordinate, so its conjugate momentum is conserved by the Euler-Lagrange equation:
Thus is constant.
The positively oriented unit tangent to the parallel of a surface of revolution through is . Since has unit speed and is its angle with that parallel,
Multiplication by yields
which is Clairaut's relation.
A Lagrange top is a rigid body that is symmetric about a principal axis, has a point on that axis fixed in space, and has its center of mass on the same axis while gravity acts uniformly. Here is the transverse principal moment of inertia about the fixed point, is the moment about the symmetry axis, is the total mass, and is the distance from the fixed point to the center of mass.
The Euler angles for a symmetric top use for inclination, for precession, and for spin about the body axis. Since is a cyclic coordinate, its generalized momentum
is conserved. The coordinate is also cyclic, so
is a second integral. Finally, the Lagrangian has no explicit time dependence, and conservation of energy from time-translation invariance gives the independent integral
For steady precession set constant and constant. The Euler-Lagrange equation, with , reduces after division by to
This quadratic has a real precession rate precisely when its quadratic discriminant is nonnegative. Hence Steady precession of a Lagrange top is possible if and only if
Use the geodesic Lagrangian
where here the overdot on a coordinate means differentiation with respect to the affine parameter. Applying the Euler-Lagrange equation to each coordinate and comparing with the geodesic equation
determines the Christoffel symbols. To display derivatives of the metric coefficients unambiguously, write , , and similarly for . The nonzero symbols, together with those obtained by symmetry in the two lower indices, are
This is the Christoffel symbols of a diagonal spherical spacetime metric.
The momentum conjugate to is
while
The Euler-Lagrange equation therefore gives
Since and , division by gives the Lorentz-force equation from the worldline action
Raising the free index yields exactly
Let each mass be and each spring constant be , with the denoting longitudinal displacements from equilibrium. The Lagrangian is
The inverse coordinate transformation is
Substitution gives
Thus the Euler-Lagrange equations separate into a symmetric pair,
and an antisymmetric pair,
The symmetric normal modes are:
  • , corresponding to and the translational frequency
  • , corresponding to and
For antisymmetric modes, the squared dimensionless frequencies are the eigenvalues of
namely . They give
and
In the original coordinates their mode shapes are respectively
and
If is measured in the rotating frame, its inertial velocity is . The masses producing the gravitational field are stationary in this frame, so their potential energy is a time-independent function . Thus kinetic minus potential energy gives the stated Lagrangian
Put . Then
Substitution in the Euler-Lagrange equation yields
The extra terms are the Coriolis acceleration, Euler acceleration, and centrifugal acceleration of a rotating reference frame.
The canonical momentum and Hamiltonian are
Accordingly, Hamilton's equations are
Introduce a Lagrange multiplier for the normalization and vary
For a smooth variation with on , integration by parts gives
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equation
Multiplying by and integrating, while using
the divergence theorem and on the boundary give
The normalization is one, so the multiplier equals the stationary value:
Take a variation with . Expanding the action gives
An integration by parts and the fixed endpoint conditions give the first variation
The fundamental lemma of the calculus of variations therefore yields the Euler-Lagrange equation
and the second variation is
Linearizing the equation of motion about gives
so the Jacobi equation is
When has no zero on ,
The total derivative integrates to zero because , hence
For the simple harmonic oscillator, the Jacobi equation is . Put and choose
If , then throughout , so is positive there. The preceding square identity proves that the classical path is a local minimum of the action whenever the elapsed time is less than half an oscillation period.
For a smooth curve on a Riemannian surface, its energy of a curve is
Choose a local parameterization and write . With coefficients of the first fundamental form
the Lagrangian is
The Euler-Lagrange equations are equivalently
After multiplying by the inverse metric these become the geodesic equation
where the Christoffel symbols are determined by .
If a straight line segment lies in the surface, parameterize it by
Then , so its acceleration has zero tangential component. The two displayed equations hold directly, and the segment is a geodesic.
For the one-sheeted hyperboloid
put
Two distinct ruling lines through are
Indeed, the direction satisfies
so substitution shows that every point of the line lies in . These are geodesics by the straight-line argument.
A third geodesic is the meridian through . Choose with ; then
Its acceleration is , which is normal to , so it is a geodesic. If , these give the required three distinct subsets.
If , there is also the equatorial circle. Writing ,
Its acceleration is normal to along , so it is a fourth geodesic distinct from the meridian and the two rulings.
Finally, write . Clairaut's relation gives the conserved quantity
Choose initial data in with
Since , every point of the resulting geodesic satisfies , and therefore
Continuity keeps the geodesic in the component , and the stated completeness assumption defines it for every real time. The continuum of choices of supplies infinitely many such geodesics.
For
the Euler-Lagrange equation is
or
The general solution of this inhomogeneous linear differential equation is
The condition gives , and the condition at gives . Therefore