In classical mechanics,Routh's procedure orRouthian mechanics is a hybrid formulation ofLagrangian mechanics andHamiltonian mechanics developed byEdward John Routh. Correspondingly, theRouthian is thefunction which replaces both theLagrangian andHamiltonian functions. Although Routhian mechanics is equivalent to Lagrangian mechanics and Hamiltonian mechanics, and introduces no new physics, it offers an alternative way to solve mechanical problems.
The Routhian, like the Hamiltonian, can be obtained from aLegendre transform of the Lagrangian, and has a similar mathematical form to the Hamiltonian, but is not exactly the same. The difference between the Lagrangian, Hamiltonian, and Routhian functions are their variables. For a given set ofgeneralized coordinates representing thedegrees of freedom in the system, the Lagrangian is a function of the coordinates and velocities, while the Hamiltonian is a function of the coordinates and momenta.
The Routhian differs from these functions in that some coordinates are chosen to have corresponding generalized velocities, the rest to have corresponding generalized momenta. This choice is arbitrary, and can be done to simplify the problem. It also has the consequence that theRouthian equations are exactly the Hamiltonian equations for some coordinates and corresponding momenta, and the Lagrangian equations for the rest of the coordinates and their velocities. In each case the Lagrangian and Hamiltonian functions are replaced by a single function, the Routhian. The full set thus has the advantages of both sets of equations, with the convenience of splitting one set of coordinates to the Hamilton equations, and the rest to the Lagrangian equations.
In the case of Lagrangian mechanics, thegeneralized coordinatesq1,q2, ... and the corresponding velocitiesdq1/dt,dq2/dt, ..., and possibly time[nb 1]t, enter the Lagrangian,
In Hamiltonian mechanics, the generalized coordinatesq1,q2, ... and the corresponding generalized momentap1,p2, ..., and possibly time, enter the Hamiltonian,
where the second equation is the definition of the generalized momentumpi corresponding to the coordinateqi (partial derivatives are denoted using∂). The velocitiesdqi/dt are expressed as functions of their corresponding momenta by inverting their defining relation. In this context,pi is said to be the momentum "canonically conjugate" toqi.
The Routhian is intermediate betweenL andH; some coordinatesq1,q2, ...,qn are chosen to have corresponding generalized momentap1,p2, ...,pn, the rest of the coordinatesζ1,ζ2, ...,ζs to have generalized velocitiesdζ1/dt,dζ2/dt, ...,dζs/dt, and time may appear explicitly;[1][2]
Routhian (n +s degrees of freedom)
where again the generalized velocitydqi/dt is to be expressed as a function of generalized momentumpi via its defining relation. The choice of whichn coordinates are to have corresponding momenta, out of then +s coordinates, is arbitrary.
The above is used byLandau and Lifshitz, andGoldstein. Some authors may define the Routhian to be the negative of the above definition.[3]
Given the length of the general definition, a more compact notation is to use boldface fortuples (or vectors) of the variables, thusq = (q1,q2, ...,qn),ζ = (ζ1,ζ2, ...,ζs),p = (p1,p2, ...,pn), anddζ/dt = (dζ1/dt,dζ2/dt, ...,dζs/dt), so that
where · is thedot product defined on the tuples, for the specific example appearing here:
wherej = 1, 2, ...,s, and theHamiltonian equations forn degrees of freedom are a set of2n coupled first order ordinary differential equations in the coordinates and momenta
Below, the Routhian equations of motion are obtained in two ways, in the process other useful derivatives are found that can be used elsewhere.
Consider the case of a system with twodegrees of freedom,q andζ, with generalized velocitiesdq/dt anddζ/dt, and the Lagrangian is time-dependent. (The generalization to any number of degrees of freedom follows exactly the same procedure as with two).[4] The Lagrangian of the system will have the form
Now change variables, from the set (q,ζ,dq/dt,dζ/dt) to (q,ζ,p,dζ/dt), simply switching the velocitydq/dt to the momentump. This change of variables in the differentials is theLegendre transformation. The differential of the new function to replaceL will be a sum of differentials indq,dζ,dp,d(dζ/dt), anddt. Using the definition of generalized momentum and Lagrange's equation for the coordinateq:
we have
and to replacepd(dq/dt) by(dq/dt)dp, recall theproduct rule for differentials,[nb 2] and substitute
to obtain the differential of a new function in terms of the new set of variables:
Introducing the Routhian
where again the velocitydq/dt is a function of the momentump, we have
but from the above definition, the differential of the Routhian is
Comparing the coefficients of the differentialsdq,dζ,dp,d(dζ/dt), anddt, the results areHamilton's equations for the coordinateq,
and taking the total time derivative of the second equation and equating to the first. Notice the Routhian replaces the Hamiltonian and Lagrangian functions in all the equations of motion.
The remaining equation states the partial time derivatives ofL andR are negatives
Forn +s coordinates as defined above, with Routhian
the equations of motion can be derived by a Legendre transformation of this Routhian as in the previous section, but another way is to simply take the partial derivatives ofR with respect to the coordinatesqi andζj, momentapi, and velocitiesdζj/dt, wherei = 1, 2, ...,n, andj = 1, 2, ...,s. The derivatives are
The first two are identically the Hamiltonian equations. Equating the total time derivative of the fourth set of equations with the third (for each value ofj) gives the Lagrangian equations. The fifth is just the same relation between time partial derivatives as before. To summarize[5]
Routhian equations of motion (n +s degrees of freedom)
The total number of equations is2n +s, there are2n Hamiltonian equations pluss Lagrange equations.
Since the Lagrangian has the same units asenergy, the units of the Routhian are also energy. InSI units this is theJoule.
Taking the total time derivative of the Lagrangian leads to the general result
If the Lagrangian is independent of time, the partial time derivative of the Lagrangian is zero,∂L/∂t = 0, so the quantity under the total time derivative in brackets must be a constant, it is the total energy of the system[6]
(If there are external fields interacting with the constituents of the system, they can vary throughout space but not time). This expression requires the partial derivatives ofL with respect toall the velocitiesdqi/dt anddζj/dt. Under the same condition ofR being time independent, the energy in terms of the Routhian is a little simpler, substituting the definition ofR and the partial derivatives ofR with respect to the velocitiesdζj/dt,
Notice only the partial derivatives ofR with respect to the velocitiesdζj/dt are needed. In the case thats = 0 and the Routhian is explicitly time-independent, thenE =R, that is, the Routhian equals the energy of the system. The same expression forR in whens = 0 is also the Hamiltonian, so in allE =R =H.
If the Routhian has explicit time dependence, the total energy of the system is not constant. The general result is
which can be derived from the total time derivative ofR in the same way as forL.
Often the Routhian approach may offer no advantage, but one notable case where this is useful is when a system hascyclic coordinates (also called "ignorable coordinates"), by definition those coordinates which do not appear in the original Lagrangian. The Lagrangian equations are powerful results, used frequently in theory and practice, since the equations of motion in the coordinates are easy to set up. However, if cyclic coordinates occur there will still be equations to solve for all the coordinates, including the cyclic coordinates despite their absence in the Lagrangian. The Hamiltonian equations are useful theoretical results, but less useful in practice because coordinates and momenta are related together in the solutions - after solving the equations the coordinates and momenta must be eliminated from each other. Nevertheless, the Hamiltonian equations are perfectly suited to cyclic coordinates because the equations in the cyclic coordinates trivially vanish, leaving only the equations in the non cyclic coordinates.
The Routhian approach has the best of both approaches, because cyclic coordinates can be split off to the Hamiltonian equations and eliminated, leaving behind the non cyclic coordinates to be solved from the Lagrangian equations. Overall fewer equations need to be solved compared to the Lagrangian approach.
The Routhian formulation is useful for systems withcyclic coordinates, because by definition those coordinates do not enterL, and henceR. The corresponding partial derivatives ofL andR with respect to those coordinates are zero, which equates to the corresponding generalized momenta reducing to constants. To make this concrete, if theqi are all cyclic coordinates, and theζj are all non cyclic, then
where theαi are constants. With these constants substituted into the Routhian,R is a function of only the non cyclic coordinates and velocities (and in general time also)
The2n Hamiltonian equation in the cyclic coordinates automatically vanishes,
and thes Lagrangian equations are in the non cyclic coordinates
Thus the problem has been reduced to solving the Lagrangian equations in the non cyclic coordinates, with the advantage of the Hamiltonian equations cleanly removing the cyclic coordinates. Using those solutions, the equations forcan be integrated to compute.
If we are interested in how the cyclic coordinates change with time, the equations for the generalized velocities corresponding to the cyclic coordinates can be integrated.
One general class of mechanical systems with cyclic coordinates are those withcentral potentials, because potentials of this form only have dependence on radial separations and no dependence on angles.
Consider a particle of massm under the influence of a central potentialV(r) inspherical polar coordinates(r,θ,φ)
Noticeφ is cyclic, because it does not appear in the Lagrangian. The momentum conjugate toφ is the constant
in whichr anddφ/dt can vary with time, but the angular momentumpφ is constant. The Routhian can be taken to be
We can solve forr andθ using Lagrange's equations, and do not need to solve forφ since it is eliminated by Hamiltonian's equations. Ther equation is
and theθ equation is
The Routhian approach has obtained two coupled nonlinear equations. By contrast the Lagrangian approach leads tothree nonlinear coupled equations, mixing in the first and second time derivatives ofφ in all of them, despite its absence from the Lagrangian.
Consider thespherical pendulum, a massm (known as a "pendulum bob") attached to a rigid rod of lengthl of negligible mass, subject to a local gravitational fieldg. The system rotates with angular velocitydφ/dt which isnot constant. The angle between the rod and vertical isθ and isnot constant.
andφ is the cyclic coordinate for the system with constant momentum
which again is physically the angular momentum of the system about the vertical. The angleθ and angular velocitydφ/dt vary with time, but the angular momentum is constant. The Routhian is
Theθ equation is found from the Lagrangian equations
or simplifying by introducing the constants
gives
This equation resembles the simple nonlinearpendulum equation, because it can swing through the vertical axis, with an additional term to account for the rotation about the vertical axis (the constanta is related to the angular momentumpφ).
Applying the Lagrangian approach there are two nonlinear coupled equations to solve.
whereψ,φ,θ are theEuler angles,θ is the angle between the verticalz-axis and the top'sz′-axis,ψ is the rotation of the top about its ownz′-axis, andφ the azimuthal of the top'sz′-axis around the verticalz-axis. The principalmoments of inertia areI1 about the top's ownx′ axis,I2 about the top's owny′ axes, andI3 about the top's ownz′-axis. Since the top is symmetric about itsz′-axis,I1 =I2. Here the simple relation for localgravitational potential energyV =Mglcosθ is used whereg is the acceleration due to gravity, and the centre of mass of the top is a distancel from its tip along itsz′-axis.
The anglesψ,φ are cyclic. The constant momenta are the angular momenta of the top about its axis and its precession about the vertical, respectively:
From these, eliminatingdψ/dt:
we have
and to eliminatedφ/dt, substitute this result intopψ and solve fordψ/dt to find
The Routhian can be taken to be
and since
we have
The first term is constant, and can be ignored since only the derivatives ofR will enter the equations of motion. The simplified Routhian, without loss of information, is thus
The equation of motion forθ is, by direct calculation,
or by introducing the constants
a simpler form of the equation is obtained
Although the equation is highly nonlinear, there is only one equation to solve for, it was obtained directly, and the cyclic coordinates are not involved.
By contrast, the Lagrangian approach leads tothree nonlinear coupled equations to solve, despite the absence of the coordinatesψ andφ in the Lagrangian.
Classical charged particle in uniformB field, using cylindrical coordinates.Top: If the radial coordinater and angular velocitydθ/dt vary, the trajectory is a helicoid with varying radius but uniform motion in thez direction.Bottom: Constantr anddθ/dt means a helicoid with constant radius.
In this case of no electric field, the electric potential is zero,, and we can choose the axial gauge for the magnetic potential
and the Lagrangian is
Notice this potential has an effectively cylindrical symmetry (although it also has angular velocity dependence), since the only spatial dependence is on the radial length from an imaginary cylinder axis.
There are two cyclic coordinates,θ andz. The canonical momenta conjugate toθ andz are the constants
so the velocities are
The angular momentum about thez axis isnotpθ, but the quantitymr2dθ/dt, which is not conserved due to the contribution from the magnetic field. The canonical momentumpθ is the conserved quantity. It is still the case thatpz is the linear or translational momentum along thez axis, which is also conserved.
The radial componentr and angular velocitydθ/dt can vary with time, butpθ is constant, and sincepz is constant it followsdz/dt is constant. The Routhian can take the form
where in the last line, thepz2/2m term is a constant and can be ignored without loss of continuity. The Hamiltonian equations forθ andz automatically vanish and do not need to be solved for. The Lagrangian equation inr
is by direct calculation
which after collecting terms is
and simplifying further by introducing the constants
the differential equation is
To see howz changes with time, integrate the momenta expression forpz above
wherecz is an arbitrary constant, the initial value ofz to be specified in theinitial conditions.
The motion of the particle in this system ishelicoidal, with the axial motion uniform (constant) but the radial and angular components varying in a spiral according to the equation of motion derived above. The initial conditions onr,dr/dt,θ,dθ/dt, will determine if the trajectory of the particle has a constantr or varyingr. If initiallyr is nonzero butdr/dt = 0, whileθ anddθ/dt are arbitrary, then the initial velocity of the particle has no radial component,r is constant, so the motion will be in a perfect helix. Ifr is constant, the angular velocity is also constant according to the conservedpθ.
With the Lagrangian approach, the equation forr would includedθ/dt which has to be eliminated, and there would be equations forθ andz to solve for.
Ther equation is
theθ equation is
and thez equation is
Thez equation is trivial to integrate, but ther andθ equations are not, in any case the time derivatives are mixed in all the equations and must be eliminated.
^The coordinates are functions of time, so the Lagrangian always has implicit time-dependence via the coordinates. If the Lagrangian changes with time irrespective of the coordinates, usually due to some time-dependent potential, then the Lagrangian is said to have "explicit" time-dependence. Similarly for the Hamiltonian and Routhian functions.
^For two functionsu andv, the differential of the product isd(uv) =udv +vdu.
but since the first term is constant, it can be ignored in the Lagrangian (and Routhian) which only depend on derivatives of coordinates and velocities. Subtracting this from the kinetic energy means a plus sign in the Lagrangian, not minus.