Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

9. Hamilton’s Action Principle

9.1: Introduction to Hamilton’s Action Principle

Hamilton’s principle of stationary action was introduced in two papers published by Hamilton in 1834 and 1835. Hamilton’s Action Principle provides the foundation for building Lagrangian mechanics that had been pioneered 46 years earlier. Hamilton’s Principle now underlies theoretical physics and many other disciplines in mathematics and economics. In 1834 Hamilton was seeking a theory of optics when he developed both his principle of stationary action, plus the field of Hamiltonian mechanics.

Hamilton’s Action Principle is based on defining the action functional[1] SS for nn generalized coordinates which are expressed by the vector q,\mathbf{q,} and their corresponding velocity vector q˙\mathbf{ \dot{q}}.

S=titfL(q,q˙,t)dtS=\int_{t_{i}}^{t_{f}}L(\mathbf{q,\dot{q},}t\mathbf{)}dt

The scalar action S,S, is a functional of the Lagrangian L(q,q˙,t)L(\mathbf{q,\dot{q} ,}t\mathbf{)}, integrated between an initial time tit_{i} and final time tft_{f}. In principle, higher order time derivatives of the generalized coordinates could be included, but most systems in classical mechanics are described adequately by including only the generalized coordinates, plus their velocities. The definition of the action functional allows for more general Lagrangians than the standard Lagrangian L(q,q˙,t)=T(q˙,t)U(q,t)L(\mathbf{q,\dot{q},}t)=T( \mathbf{\dot{q},}t)-U(\mathbf{q},t) that has been used throughout chapters 585-8. Hamilton stated that the actual trajectory of a mechanical system is that given by requiring that the action functional is stationary with respect to change of the variables. The action functional is stationary when the variational principle can be written in terms of a virtual infinitessimal displacement, δ,\delta , to be

δS=δtitfL(q,q˙,t)dt=0\delta S=\delta \int_{t_{i}}^{t_{f}}L(\mathbf{q,\dot{q},}t\mathbf{)}dt=0

Typically the stationary point corresponds to a minimum of the action functional. Applying variational calculus to the action functional leads to the same Lagrange equations of motion for systems as the equations derived using d’Alembert’s Principle, if the additional generalized force terms, k=1mλkgkqj(q,t)+QjEXC\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q} ,t)+Q_{j}^{EXC}, are omitted in the corresponding equations of motion.

These are used to derive the equations of motion, which then are solved for an assumed set of initial conditions. Prior to Hamilton’s Action Principle, Lagrange developed Lagrangian mechanics based on d’Alembert’s Principle in contrast to Newtonian equations of motion which are defined in terms of Newton’s Laws of Motion.

9.2: Hamilton’s Principle of Stationary Action

Hamilton’s crowning achievement was his use of the general form of Hamilton’s principle of stationary action SS, equation (9.1.2)(9.1.2), to derive both Lagrangian mechanics, and Hamiltonian mechanics. Consider the action SAS_{A} for the extremum path of a system in configuration space, that is, along path AA for j=1,2,,nj=1,2,\dots ,n coordinates qj(ti)q_{j}(t_{i}) at initial time tit_{i} to qj(tf)q_{j}(t_{f}) at a final time tft_{f} as shown in Figure 9.2.1.

Extremum path A, plus the neighboring path B, shown in configuration space.

Figure 9.2.1:Extremum path A, plus the neighboring path B, shown in configuration space.

Then the action SAS_{A} is given by

SA=titfL(q(t),q˙(t),t)dt(9.3)S_{A}=\int_{t_{i}}^{t_{f}}L(\mathbf{q}(t)\mathbf{, \dot{q}}(t)\mathbf{,}t)dt \tag{9.3}

As used in chapter 5.2,5.2, a family of neighboring paths is defined by adding an infinitessimal fraction ϵ\epsilon of a continuous, well-behaved neighboring function ηj\eta _{j} where ϵ=0\epsilon =0 for the extremum path. That is,

qj(t,ϵ)=qj(t,0)+ϵηj(t)(9.4)q_{j}(t,\epsilon )=q_{j}(t,0)+\epsilon \eta _{j}(t)\tag{9.4}

In contrast to the variational case discussed when deriving Lagrangian mechanics, the variational path used here does not assume that the functions ηi(t)\eta _{i}(t) vanish at the end points. Assume that the neighboring path BB has an action SBS_{B} where

SB=ti+Δttf+ΔtL(q(t)+δq(t),q˙(t)+δq˙(t))dt(9.5)S_{B}=\int_{t_{i}+\Delta t}^{t_{f}+\Delta t}L(\mathbf{q}(t)\mathbf{+\delta q} (t)\mathbf{,\dot{q}}(t)\mathbf{+\delta \dot{q}}(t))dt\tag{9.5}

Expanding the integrand of SBS_{B} in Equation 9.5 gives that, relative to the extremum path AA, the incremental change in action is

δS=SBSA=titfj(Lqjδqj+Lq˙jδq˙j)dt+[LΔt]titf(9.6)\delta S=S_{B}-S_{A}=\int_{t_{i}}^{t_{f}}\sum_{j}\left( \frac{\partial L}{ \partial q_{j}}\delta q_{j}+\frac{\partial L}{\partial \dot{q}_{j}}\delta \dot{q}_{j}\right) dt+\left[ L\Delta t\right] _{t_{i}}^{t_{f}}\tag{9.6}

The second term in the integral can be integrated by parts since δq˙j=d(δqjdt)\delta \dot{q}_{j}=d\left( \frac{\delta q_{j}}{dt}\right) leading to

δS=titfj(LqjddtLq˙j)δqjdt+[jLq˙jδqj+LΔt]titf(9.7)\delta S=\int_{t_{i}}^{t_{f}}\sum_{j}\left( \frac{\partial L}{\partial q_{j}} -\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{j}}\right) \delta q_{j}dt+ \left[ \sum_{j}\frac{\partial L}{\partial \dot{q}_{j}}\delta q_{j}+L\Delta t \right] _{t_{i}}^{t_{f}}\tag{9.7}

Note that Equation 9.7 includes contributions from the entire path of the integral as well as the variations at the ends of the curve and the Δt\Delta t terms. Equation 9.7 leads to the following two pioneering principles of least action in variational mechanics that were developed by Hamilton.

Stationary-action principle in Lagrangian mechanics

Derivation of Lagrangian mechanics in chapter 6 was based on the extremum path for neighboring paths between two given locations q(ti)\mathbf{q(} t_{i}) and q(tf)\mathbf{q}(t_{f}) that the system occupies at the initial and final times tit_{i} and tft_{f} respectively. For this special case, where the end points do not vary, that is, when δqi(ti)=δqi(tf)=0\delta q_{i}(t_{i})=\delta q_{i}(t_{f})=0, and Δti=Δtf=0\Delta t_{i}=\Delta t_{f}=0, then the least action δS\delta S for the stationary path 9.8 reduces to

δS=titfj(LqjddtLq˙j)δqjdt=0(9.8)\delta S=\int_{t_{i}}^{t_{f}}\sum_{j}\left( \frac{\partial L}{\partial q_{j}} -\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{j}}\right) \delta q_{j}dt=0\tag{9.8}

For independent generalized coordinates δqj\delta q_{j}, the integrand in brackets vanishes leading to the Euler-Lagrange equations. Conversely, if the Euler-Lagrange equations in 9.8 are satisfied, then, δS=0,\delta S=0, that is, the path is stationary. This leads to the statement that the path in configuration space between two configurations q(ti)\mathbf{q(} t_{i}) and q(tf)\mathbf{q}(t_{f})that the system occupies at times tit_{i}and tft_{f}respectively, is that for which the action SSis stationary. This is a statement of Hamilton’s Principle.

Stationary-action principle in Hamiltonian mechanics

Hamilton used the general variation of the least-action path to derive the basic equations of Hamiltonian mechanics. For the general path, the integral term in Equation 9.7 vanishes because the Euler-Lagrange equations are obeyed for the stationary path. Thus the only remaining non-zero contributions are due to the end point terms, which can be written by defining the total variation of each end point to be

Δqj=δqj+q˙jΔt(9.9)\Delta q_{j}=\delta q_{j}+\dot{q}_{j}\Delta t\tag{9.9}

where δqi\delta q_{i} and q˙i\dot{q}_{i} are evaluated at tit_{i} and tft_{f}. Then Equation 9.7 reduces to

δS=[jLq˙jδqj+LΔt]titf=[jLq˙jΔqj+(jLq˙jq˙j+L)Δt]titf(9.10)\delta S=\left[ \sum_{j}\frac{\partial L}{\partial \dot{q}_{j}}\delta q_{j}+L\Delta t\right] _{t_{i}}^{t_{f}}=\left[ \sum_{j}\frac{\partial L}{ \partial \dot{q}_{j}}\Delta q_{j}+\left( -\sum_{j}\frac{\partial L}{\partial \dot{q}_{j}}\dot{q}_{j}+L\right) \Delta t\right] _{t_{i}}^{t_{f}}\tag{9.10}

Since the generalized momentum pj=Lq˙jp_{j}=\frac{\partial L}{\partial \dot{q}_{j}}, then Equation 9.10 can be expressed in terms of the Hamiltonian and generalized momentum as

δS=[jpjΔqjHΔt]titf=[pΔqHΔt]titf(9.11)\tag{9.11} \delta S = \left[ \sum_{j}p_{j}\Delta q_{j}-H\Delta t \right]_{t_{i}}^{t_{f}} = \left[ \mathbf{p\cdot }\Delta \mathbf{q}-H\Delta t\right]_{t_{i}}^{t_{f}}
Sqj=Lq˙j=pj(9.12)\frac{\partial S}{\partial q_{j}} = \frac{\partial L}{\partial \dot{q}_{j}} =p_{j} \tag{9.12}

Equation 9.11 contains Hamilton’s Principle of Least-action. Equation 9.12 gives an alternative relation of the generalized momentum pjp_{j} that is expressed in terms of the action functional SS. Note that equations 9.11 and 9.12 were derived directly without invoking reference to the Lagrangian.

Integrating the action δS\delta S, Equation 9.10, between the end points gives the action for the path between t=tit=t_{i} and t=tft=t_{f}, that is, S(qj(ti),t1,qj(tf),t2)S(q_{j}(t_{i}),t_{1},q_{j}(t_{f}),t_{2}) to be

S(qj(ti),ti,qj(tf),tf)=if[pq˙H(q,p,t)]dt(9.13)S(q_{j}(t_{i}),t_{i},q_{j}(t_{f}),t_{f})=\int_{i}^{f}\left[ \mathbf{p\cdot \dot{q}}-H(\mathbf{q,p,}t)\right] dt\tag{9.13}

The stationary path is obtained by using the variational principle

δS=δif[pq˙H(q,p,t)]dt=0(9.14)\delta S=\delta \int_{i}^{f}\left[ \mathbf{p\cdot \dot{q}}-H(\mathbf{q,p,}t) \right] dt=0\tag{9.14}

The integrand, I=[pq˙H(q,p,t)],I=\left[ \mathbf{p\cdot \dot{q}}-H(\mathbf{q,p,}t)\right] , in this modified Hamilton’s principle, can be used in the nn Euler-Lagrange equations for j=1,2,3,,nj=1,2,3,\dots ,n to give

ddt(Iq˙j)Iqj=p˙j+Hqj=0(9.15)\frac{d}{dt}\left( \frac{\partial I}{\partial \dot{q}_{j}}\right) -\frac{ \partial I}{\partial q_{j}}=\dot{p}_{j}+\frac{\partial H}{\partial q_{j}}=0\tag{9.15}

Similarly, the other nn Euler-Lagrange equations give

ddt(Ip˙j)Ipj=q˙j+Hpj=0(9.16)\frac{d}{dt}\left( \frac{\partial I}{\partial \dot{p}_{j}}\right) -\frac{ \partial I}{\partial p_{j}}=-\dot{q}_{j}+\frac{\partial H}{\partial p_{j}}=0\tag{9.16}

Thus Hamilton’s principle of least-action leads to Hamilton’s equations of motion, that is equations 9.15 and 9.16.

The total time derivative of the action SS, which is a function of the coordinates and time, is

dSdt=St+jnSqjq˙j=St+pq˙j(9.17)\frac{dS}{dt}=\frac{\partial S}{\partial t}+\sum_{j}^{n}\frac{\partial S}{ \partial q_{j}}\dot{q}_{j}=\frac{\partial S}{\partial t}+\mathbf{p\cdot \dot{ q}}_{j}\tag{9.17}

But the total time derivative of Equation 9.14 equals

dSdt=pq˙H(q,p,t)(9.18)\frac{dS}{dt}=\mathbf{p\cdot \dot{q}}-H(\mathbf{q,p,}t)\tag{9.18}

Combining equations 9.17 and 9.18 gives the Hamilton-Jacobi equation which is discussed in chapter 15.4.

St+H(q,p,t)=0(9.19)\frac{\partial S}{\partial t}+H(\mathbf{q,p,}t)=0\tag{9.19}

In summary, Hamilton’s principle of least action leads directly to Hamilton’s equations of motion 9.15, 9.16 plus the Hamilton-Jacobi Equation 9.19. Note that the above discussion has derived both Hamilton’s Principle 9.8, and Hamilton’s equations of motion 9.15, 9.16, directly from Hamilton’s variational concept of stationary action, SS, without explicitly invoking the Lagrangian.

Abbreviated action

Hamilton’s Action Principle determines completely the path of the motion and the position on the path as a function of time. If the Lagrangian and the Hamiltonian are time independent, that is, conservative, then H=EH=E and Equation 9.13 equals

S(qj(t1),t1,qj(t2),t2)=if[pq˙E]dt=ifpδqE(tfti)(9.20)S(q_{j}(t_{1}),t_{1},q_{j}(t_{2}),t_{2})=\int_{i}^{f}\left[ \mathbf{p\cdot \dot{q}}-E\right] dt=\int_{i}^{f}\mathbf{p\cdot }\delta \mathbf{q} -E(t_{f}-t_{i})\tag{9.20}

The 12pδq˙\int_{1}^{2}\mathbf{p\cdot \delta \dot{q}} term in Equation 9.20, is called the abbreviated action which is defined as

S0ifpδq˙dt=ifpδq(9.21)S_{0}\equiv \int_{i}^{f}\mathbf{p\cdot }\delta \mathbf{\dot{q}} dt=\int_{i}^{f}\mathbf{p\cdot }\delta \mathbf{q}\tag{9.21}

The abbreviated action can be simplified assuming use of the standard Lagrangian L=TUL=T-U with a velocity-independent potential UU, then equation 8.1.4 gives.

S0titfjnpjq˙jdt=titf(L+H)dt=titf2Tdt=titfpδq(9.22)S_{0}\equiv \int_{t_{i}}^{t_{f}}\sum_{j}^{n}p_{j}\dot{q}_{j}dt= \int_{t_{i}}^{t_{f}}\left( L+H\right) dt=\int_{t_{i}}^{t_{f}}2Tdt=\int_{t_{i}}^{t_{f}}\mathbf{p\cdot }\delta \mathbf{q}\tag{9.22}

Abbreviated action provides for use of a simplified form of the principle of least action that is based on the kinetic energy, and not potential energy. For conservative systems it determines the path of the motion, but not the time dependence of the motion. Consider virtual motions where the path satisfies energy conservation, and where the end points are held fixed, that is δqi=0,\delta q_{i}=0, but allow for a variation δt\delta t in the final time. Then using the Hamilton-Jacobi equation, 9.19

δS=Hδt=Eδt(9.23)\delta S=-H\delta t=-E\delta t\tag{9.23}

However, Equation 9.21 gives that

δS=δS0Eδt(9.24)\delta S=\delta S_{0}-E\delta t\tag{9.24}

Therefore

δS0=0(9.25)\delta S_{0}=0\tag{9.25}

That is, the abbreviated action has a minimum with respect to all paths that satisfy the conservation of energy which can be written as

δS0=δtitf2Tdt=0(9.26)\delta S_{0}=\delta \int_{t_{i}}^{t_{f}}2Tdt=0\tag{9.26}

Equation 9.26 is called the Maupertuis’ least-action principle which he proposed in 1744 based on Fermat’s Principle in optics. Credit for the formulation of least action commonly is given to Maupertuis; however, the Maupertuis principle is similar to the use of least action applied to the “vis viva”, as was proposed by Leibniz four decades earlier. Maupertuis used teleological arguments , rather than scientific rigor, because of his limited mathematical capabilities. In 1744 Euler provided a scientifically rigorous argument, presented above, that underlies the Maupertuis principle. Euler derived the correct variational relation for the abbreviated action to be

δS0=titfjnpjδqj=0(9.27)\delta S_{0}=\int_{t_{i}}^{t_{f}}\sum_{j}^{n}p_{j}\delta q_{j}=0\tag{9.27}

Hamilton’s use of the principle of least action to derive both Lagrangian and Hamiltonian mechanics is a remarkable accomplishment. It underlies both Lagrangian and Hamiltonian mechanics and confirmed the conjecture of Maupertuis.

Hamilton’s Principle applied using initial boundary conditions

Galley[Gal13] identified a subtle inconsistency in the applications of Hamilton’s Principle of Stationary Action to both Lagrangian and Hamiltonian mechanics. The inconsistency involves the fact that Hamilton’s Principle is defined as the action integral between the initial time tit_{i} and the final time tft_{f}as boundary conditions, that is, it is assumed to be time symmetric. However, most applications in Lagrangian and Hamiltonian mechanics assume that the action integral is evaluated based on the initial values as the boundary conditions, rather than the initial tit_{i} and final times  tf\ t_{f}. That is, typical applications require use of a time-asymmetric version of Hamilton’s principle. Galley proposed a framework for transforming Hamilton’s Principle to a time-asymmetric form in order to handle problems where the boundary conditions are based on using only the initial values at the initial time tit_{i}, rather than the initial plus final times (ti,tf)(t_{i},t_{f}) that is assumed in the time-symmetric definition of the action in Hamilton’s Principle.

The left schematic shows paths between the initial \mathbf{q}(t_i) and final \mathbf{q}(t_f) times for conservative mechanics. The solid line designates the path for which the action is stationary, while the dashed lines represent the varied paths. The right schematic shows the paths applied to t…

Figure 9.2.2:The left schematic shows paths between the initial q(ti)\mathbf{q}(t_i) and final q(tf)\mathbf{q}(t_f) times for conservative mechanics. The solid line designates the path for which the action is stationary, while the dashed lines represent the varied paths. The right schematic shows the paths applied to the doubled degrees of freedom with two initial boundary conditions, that is, q1(ti)\mathbf{q}_1 (t_i) and q2(tf)\mathbf{q}_2 (t_f) plus assuming that both paths are identical at their intersection and that they intersect at the same final time, that is, q1(tf)=q2(tf)\mathbf{q}_1 (t_f) = \mathbf{q}_2 (t_f).

The following describes the framework proposed by Galley for transforming Hamilton’s Principle to a time-asymmetric form. Let q\mathbf{q} and q˙\mathbf{\dot{q}} designate sets of NN generalized coordinates, plus their velocities, where q\mathbf{q} and q˙\mathbf{\dot{q}} are the fundamental variables assumed in the definition of the Lagrangian used by Hamilton’s Principle. As illustrated schematically in Figure 9.2.2, Galley proposed doubling the number of degrees of freedom for the system considered, that is, let q(q1,q2)\mathbf{q\rightarrow }\left( \mathbf{q}_{1}\mathbf{,q}_{2}\right) and q˙(q˙1,q˙2)\mathbf{\dot{q}\rightarrow }\left( \mathbf{\dot{q}}_{1}\mathbf{,\dot{q}} _{2}\right). In addition he defines two identical variational paths 1 and 2,2, where path 2 is the time reverse of path1. That is, path 1 starts at the initial time tit_{i}, and ends at tft_{f}, whereas path 2 starts at tft_{f} and ends at tit_{i}. That is, he assumes that q\mathbf{q} and q˙\mathbf{\dot{q}} specify the two paths in the space of the doubled degrees of freedom that are identical, and that they intersect at the final time tft_{f}. The arrows shown on the paths in Figure 9.2.2 designate the assumed direction of the time integration along these paths.

For the doubled system of degrees of freedom, the total action for the sum of the two paths is given by the time integral of the doubled variables, S(q1,q2)S( \mathbf{q}_{1},\mathbf{q}_{2}) which can be written as

S(q1,q2)=titfL(q1,q˙1,t)dt+tftiL(q2,q˙2,t)dt=titf[L(q1,q˙1,t)dtL(q2,q˙2,t)]dt(9.28)S\left( \mathbf{q}_{1},\mathbf{q}_{2}\right) =\int_{t_{i}}^{t_{f}}L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,}t\right) dt+\int_{t_{f}}^{t_{i}}L\left( \mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) dt=\int_{t_{i}}^{t_{f}}\left[ L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1} \mathbf{,}t\right) dt-L\left( \mathbf{q}_{2},\mathbf{\dot{q}}_{2}\mathbf{,} t\right) \right] dt\tag{9.28}

The above relation assumes that the doubled variables (q1,q˙1)\left( \mathbf{q}_{1}, \mathbf{\dot{q}}_{1}\right) and (q2,q˙2)\left( \mathbf{q}_{2},\mathbf{\dot{q}} _{2}\right) are decoupled from each other. More generally one can assume that the two sets of variables are coupled by some arbitrary function K(q1,q˙1,q2,q˙2,t)K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1},\mathbf{q}_{2},\mathbf{\dot{q}} _{2},t\right). Then the action can be written as

S(q1,q2)=titf[L(q1,q˙1,t)dtL(q2,q˙2,t)+K(q1,q˙1,q2,q˙2,t)]dt(9.29)S\left( \mathbf{q}_{1},\mathbf{q}_{2}\right) =\int_{t_{i}}^{t_{f}}\left[ L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,t}\right) dt-L\left( \mathbf{q}_{2},\mathbf{\dot{q}}_{2}\mathbf{,t}\right) +K\left( \mathbf{q} _{1},\mathbf{\dot{q}}_{1},\mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) \right] dt\tag{9.29}

The effective Lagrangian for this doubled system then can be defined as

Λ(q1,q2,q˙1,q˙2,t)[L(q1,q˙1,t)dtL(q2,q˙2,t)+K(q1,q˙1,q2,q˙2,t)](9.30)\Lambda \left( \mathbf{q}_{1},\mathbf{q}_{2},\mathbf{\dot{q}}_{1},\mathbf{ \dot{q}}_{2},t\right) \equiv \left[ L\left( \mathbf{q}_{1},\mathbf{\dot{q}} _{1}\mathbf{,}t\right) dt-L\left( \mathbf{q}_{2},\mathbf{\dot{q}}_{2}\mathbf{ ,}t\right) +K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1},\mathbf{q}_{2}, \mathbf{\dot{q}}_{2},t\right) \right]\tag{9.30}

and the action can be written as

S(q1,q2)=titfΛ(q1,q˙1,q2,q˙2,t)dt(9.31)S\left( \mathbf{q}_{1},\mathbf{q}_{2}\right) =\int_{t_{i}}^{t_{f}}\Lambda \left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1},\mathbf{q}_{2},\mathbf{\dot{q}} _{2},t\right) dt\tag{9.31}

The coupling term K(q1,q˙1,q2,q˙2,t)K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1},\mathbf{q} _{2},\mathbf{\dot{q}}_{2},t\right) for the doubled system of degrees of freedom must satisfy the following two properties.

(a) If it can be expressed as the difference of two scalar potentials, ΔU(q1,q2)=U(q1)U(q2)\Delta U\left( \mathbf{q}_{1},\mathbf{q}_{2}\right) =U\left( \mathbf{q} _{1}\right) -U\left( \mathbf{q}_{2}\right), then it can be absorbed into the potential term for each of the doubled variables in the Lagrangian. This implies that K=0,K=0, and there is no reason to double the number of degrees of freedom because the system is conservative. Thus KK describes generalized forces that are not derivable from potential energy, that is, conservative.

(b) A second property of the coupling term K(q1,q˙1,q2,q˙2,t)K\left( \mathbf{q}_{1},\mathbf{ \dot{q}}_{1},\mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) is that it must be antisymmetric under interchange of the arbitrary labels 121\leftrightarrow 2. That is,

K(q2,q˙2,q1,q˙1,t)=K(q1,q˙1,q2,q˙2,t)(9.32)K\left( \mathbf{q}_{2},\mathbf{\dot{q}}_{2},\mathbf{q}_{1},\mathbf{\dot{q}} _{1},t\right) =-K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1},\mathbf{q}_{2}, \mathbf{\dot{q}}_{2},t\right)\tag{9.32}

Therefore the antisymmetric function K(q1,q˙1,q2,q˙2,t)K\left( \mathbf{q}_{1},\mathbf{\dot{q}} _{1},\mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) vanishes when q2=q1\mathbf{q} _{2}=\mathbf{q}_{1}.

The variational condition requires that the action S(q1,q2)S\left( \mathbf{q}_{1}, \mathbf{q}_{2}\right) has a well defined stationary point for the doubled system. This is achieved by parametrizing both coordinate paths as

q1,2(t,ϵ)=q1,2(t,0)+ϵη1,2(t)(9.33)\mathbf{q}_{1,2}(t,\epsilon )=\mathbf{q}_{1,2}(t,0)+\epsilon \eta _{1,2}(t)\tag{9.33}

where q1,2(t,0)\mathbf{q}_{1,2}(t,0) are the coordinates for which the action is stationary, ϵ1.\epsilon \ll 1. and where η1,2(t)\eta _{1,2}(t) are arbitrary functions of time denoting virtual displacements of the paths. The doubled system has two independent paths connecting the two initial boundary conditions at tit_{i}, and it requires that these paths intersect at tft_{f}. The variational system for the two intersecting paths requires specifying four conditions, two per path. Two of the four conditions are determined by requiring that at tit_{i} the initial boundary conditions satisfies that η1,2(ti)=0\eta _{1,2}(t_{i})=0. The remaining two conditions are derived by requiring that the variation of the action S(q1,q2)S\left( \mathbf{q}_{1},\mathbf{q} _{2}\right) satisfies

[dSdϵ]ϵ=0=0=titfdt{η1[Λq1dπ1dt]ϵ=0η2[Λq2dπ2dt]ϵ=0}+[η1π1η2π2]t=tf(9.34)\left[ \frac{dS}{d\epsilon }\right] _{\epsilon =0}=0=\int_{t_{i}}^{t_{f}}dt\left\{ \eta _{1}\left[ \frac{\partial \Lambda }{ \partial q_{1}}-\frac{d\pi _{1}}{dt}\right] _{\epsilon =0}-\eta _{2}\left[ \frac{\partial \Lambda }{\partial q_{2}}-\frac{d\pi _{2}}{dt}\right] _{\epsilon =0}\right\} +\left[ \eta _{1}\pi _{1}-\eta _{2}\pi _{2}\right] _{t=t_{f}}\tag{9.34}

The canonical momenta π1,2\pi _{1,2} conjugate to the doubled coordinates q1,2\mathbf{q}_{1,2} are defined using the nonconservative Lagrangian Λ\Lambda to be

π1I(q1,2,q˙1,2)Λq˙1I(t)=L(q1,q˙1,t)q˙1I(t)+K(q1,q˙1,q2,q˙2,t)q˙1I(t)(9.35)\pi _{1}^{I}\left( \mathbf{q}_{1,2},\mathbf{\dot{q}}_{1,2}\right) \equiv \frac{\partial \Lambda }{\partial \dot{q}_{1}^{I}(t)}=\frac{\partial L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,}t\right) }{\partial \dot{q} _{1}^{I}(t)}+\frac{\partial K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}, \mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) }{\partial \dot{q}_{1}^{I}(t)}\tag{9.35}

where the superscript II designates the solution based on the initial conditions. Note that the conjugate momentum p1I=L(q1,q˙1,t)q˙1I(t)p_{1}^{I}=\frac{\partial L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,}t\right) }{\partial \dot{q}_{1}^{I}(t)} while the K(q1,q˙1,q2,q˙2,t)q˙1I(t)\frac{\partial K\left( \mathbf{q}_{1}, \mathbf{\dot{q}}_{1},\mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) }{\partial \dot{q}_{1}^{I}(t)} term is part of the total momentum due to the nonconservative interaction. Similarly the momentum for the second path is

π2I(q1,2,q˙1,2)Λq˙2I(t)=L(q1,q˙1,t)q˙2I(t)+K(q1,q˙1,q2,q˙2,t)q˙2I(t)(9.36)\pi _{2}^{I}\left( \mathbf{q}_{1,2},\mathbf{\dot{q}}_{1,2}\right) \equiv \frac{\partial \Lambda }{\partial \dot{q}_{2}^{I}(t)}=\frac{\partial L\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,}t\right) }{\partial \dot{q} _{2}^{I}(t)}+\frac{\partial K\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}, \mathbf{q}_{2},\mathbf{\dot{q}}_{2},t\right) }{\partial \dot{q}_{2}^{I}(t)}\tag{9.36}

The last term in Equation 9.34, that is, the term [η1π1η2π2]t=tf\left[ \eta _{1}\pi _{1}-\eta _{2}\pi _{2}\right] _{t=t_{f}} results from integration by parts, which will vanish if

η1I(tf)π1I(tf)=η2I(tf)π2I(tf)(9.37)\eta _{1}^{I}(t_{f})\pi _{1}^{I}(t_{f})=\eta _{2}^{I}(t_{f})\pi _{2}^{I}(t_{f})\tag{9.37}

The equality condition at the intersection of the two paths at tft_{f} requires that

η1I(tf)=η2I(tf)(9.38)\eta _{1}^{I}(t_{f})=\eta _{2}^{I}(t_{f})\tag{9.38}

Therefore equations 9.37 and 9.38 imply that

π1I(tf)=π2I(tf)(9.39)\pi _{1}^{I}(t_{f})=\pi _{2}^{I}(t_{f})\tag{9.39}

Therefore equations 9.38 and 9.39 constitute the equality condition that must be satisfied when the two paths intersect at tft_{f}. The equality condition ensures that the boundary term for integration by parts in Equation 9.34 will vanish for arbitrary variations provided that the two unspecified paths agree at the final time tft_{f}. Similarly the conjugate momenta π1I(tf),π2I(tf)\pi _{1}^{I}(t_{f}),\pi _{2}^{I}(t_{f}) must agree, but otherwise are unspecified. As a consequence, the equality condition ensures that the variational principle is consistent with the final state at tft_{f} not being specified. That is, the equations of motion are only specified by the initial boundary conditions of the time-asymmetric action for the doubled system.

More physics insight is provided by using a more convenient parametrization of the coordinates in terms of their average and difference. That is, let

q+Iq1I+q2I2qIq1Iq2I(9.40)q_{+}^{I}\equiv \frac{q_{1}^{I}+q_{2}^{I}}{2}\hspace{0.85in}q_{-}^{I}\equiv q_{1}^{I}-q_{2}^{I}\tag{9.40}

Then the physical limit is

q+IqIqI0(9.41)q_{+}^{I}\rightarrow q^{I}\hspace{0.85in}q_{-}^{I}\rightarrow 0\tag{9.41}

That is, the average history is the relevant physical history, while the difference coordinate simply vanishes. For these coordinates, the nonconservative Lagrangian is Λ(q+,q,q˙+,q˙,t)\Lambda \left( \mathbf{q}_{+},\mathbf{q}_{-}, \mathbf{\dot{q}}_{+},\mathbf{\dot{q}}_{-},t\right) and the equality conditions reduce to

π(tf)=0η(tf)=0\begin{align} \pi _{-}(t_{f}) &=&0 \tag{9.42} \\ \eta _{-}(t_{f}) &=&0 \tag{9.43} \end{align}

which implies that the physically relevant average (+)\left( +\right) quantities are not specified at the final time tft_{f} in order to have a well-defined variational principle.

The canonical momenta are given by

π+I=π1I+π2I2=Λq˙IπI=π1Iπ2I=Λq˙+I\begin{align} \tag{9.44} \pi _{+}^{I} &=&\frac{\pi _{1}^{I}+\pi _{2}^{I}}{2}=\frac{\partial \Lambda }{ \partial \dot{q}_{-}^{I}} \\ \pi _{-}^{I} &=&\pi _{1}^{I}-\pi _{2}^{I}=\frac{\partial \Lambda }{\partial \dot{q}_{+}^{I}}\tag{9.45} \end{align}

The equations of motion can be written as.

ddtΛq˙±I=Λq±I(9.46)\frac{d}{dt}\frac{\partial \Lambda }{\partial \dot{q}_{\pm }^{I}}=\frac{ \partial \Lambda }{\partial q_{\pm }^{I}}\tag{9.46}

Equation 9.46 is identically zero for the ++ subscript, while, in the physical limit (PL), the negative subscript gives that

[ddtΛq˙IΛqI]PL=0(9.47)\left[ \frac{d}{dt}\frac{\partial \Lambda }{\partial \dot{q}_{-}^{I}}-\frac{ \partial \Lambda }{\partial q_{-}^{I}}\right] _{PL}=0\tag{9.47}

Substituting for the Lagrangian Λ\Lambda gives that

ddtLq˙ILqI=[KqIddtKq˙I]PLQI(q1,q˙1,t)(9.48)\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{-}^{I}}-\frac{\partial L}{ \partial q_{-}^{I}}=\left[ \frac{\partial K}{\partial q_{-}^{I}}-\frac{d}{dt} \frac{\partial K}{\partial \dot{q}_{-}^{I}}\right] _{PL}\equiv Q^{I}\left( \mathbf{q}_{1},\mathbf{\dot{q}}_{1}\mathbf{,}t\right)\tag{9.48}

where QIQ^{I} is a generalized nonconservative force derived from KK.

Note that Equation 9.46 can be derived equally well by taking the direct functional derivative with respect to qI(t)q_{-}^{I}(t), that is,

0=[δSδqI(t)]PL(9.49)0=\left[ \frac{\delta S}{\delta q_{-}^{I}(t)}\right] _{PL}\tag{9.49}

The above time-asymmetric formalism applies Hamilton’s action principle to systems that involve initial boundary conditions while the second path corresponds to the final boundary conditions. This framework, proposed recently by Galley, provides a remarkable advance for the handling of nonconservative action in Lagrangian and Hamiltonian mechanics.[2] This formalism directly incorporates the variational principle for initial boundary conditions and causal dynamics that are usually required for applications of Lagrangian and Hamiltonian mechanics. Currently, there is limited exploitation of this new formalism because there has been insufficient time for it to become well known, for full recognition of its importance, and for the development and publication of applications. Chapter 10 discusses an application of this formalism to nonconservative systems in classical mechanics.

9.3: Lagrangian

Standard Lagrangian

Lagrangian mechanics, as introduced in chapter 6,6, was based on the concepts of kinetic energy and potential energy. d’Alembert’s principle of virtual work was used to derive Lagrangian mechanics in chapter 6 and this led to the definition of the standard Lagrangian. That is, the standard Lagrangian was defined in chapter 6.2 to be the difference between the kinetic and potential energies.

L(q,q˙,t)=T(q˙,t)U(q,t)L(\mathbf{q, \dot{q},}t)=T(\mathbf{\dot{q},}t)-U(\mathbf{q},t)

Hamilton extended Lagrangian mechanics by defining Hamilton’s Principle, equation (9.1.2)(9.1.2), which states that a dynamical system follows a path for which the action functional is stationary, that is, the time integral of the Lagrangian. Chapter 6 showed that using the standard Lagrangian for defining the action functional leads to the Euler-Lagrange variational equations

{ddt(Lq˙j)Lqj}=QjEXC+k=1mλkgkqj(q,t)(9.51)\left\{ \frac{d}{dt}\left( \frac{\partial L}{\partial \dot{q}_{j}}\right) - \frac{\partial L}{\partial q_{j}}\right\} =Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t) \tag{9.51}

The Lagrange multiplier terms handle the holonomic constraint forces and QjEXCQ_{j}^{EXC} handles the remaining excluded generalized forces. Chapters 686-8 showed that the use of the standard Lagrangian, with the Euler-Lagrange equations 9.51, provides a remarkably powerful and flexible way to derive second-order equations of motion for dynamical systems in classical mechanics.

Note that the Euler-Lagrange equations, expressed solely in terms of the standard Lagrangian 9.51, that is, excluding the QjEXC+k=1mλkgkqj(q,t)Q_{j}^{EXC}+ \sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q} ,t) terms, are valid only under the following conditions:

  1. The forces acting on the system, apart from any forces of constraint, must be derivable from scalar potentials.

  2. The equations of constraint must be relations that connect the coordinates of the particles and may be functions of time, that is, the constraints are holonomic.

The QjEXC+k=1mλkgkqj(q,t)Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{ \partial q_{j}}(\mathbf{q},t) terms extend the range of validity of using the standard Lagrangian in the Lagrange-Euler equations by introducing constraint and omitted forces explicitly.

Chapters 686-8 exploited Lagrangian mechanics based on use of the standard definition of the Lagrangian. The present chapter will show that the powerful Lagrangian formulation, using the standard Lagrangian, can be extended to include alternative non-standard Lagrangians that may be applied to dynamical systems where use of the standard definition of the Lagrangian is inapplicable. If these non-standard Lagrangians satisfy Hamilton’s Action Principle, (9.1.2)(9.1.2), then they can be used with the Euler-Lagrange equations to generate the correct equations of motion, even though the Lagrangian may not have the simple relation to the kinetic and potential energies adopted by the standard Lagrangian. Currently, the development and exploitation of non-standard Lagrangians is an active field of Lagrangian mechanics.

Gauge invariance of the standard Lagrangian

Note that the standard Lagrangian is not unique in that there is a continuous spectrum of equivalent standard Lagrangians that all lead to identical equations of motion. This is because the Lagrangian LL is a scalar quantity that is invariant with respect to coordinate transformations. The following transformations change the standard Lagrangian, but leave the equations of motion unchanged.

  1. The Lagrangian is indefinite with respect to addition of a constant to the scalar potential which cancels out when the derivatives in the Euler-Lagrange differential equations are applied.

  2. The Lagrangian is indefinite with respect to addition of a constant kinetic energy.

  3. The Lagrangian is indefinite with respect to addition of a total time derivative of the form L2L1+ddt[Λ(qi,t)],L_{2}\rightarrow L_{1}+ \frac{d}{dt}\left[ \Lambda (q_{i},t)\right] , for any differentiable function Λ(qit)\Lambda (q_{i}t) of the generalized coordinates plus time, that has continuous second derivatives.

This last statement can be proved by considering a transformation between two related standard Lagrangians of the form

L2(q,q.,t)=L1(q,q.,t)+dΛ(q,t)dt=L1(q,q.,t)+(Λ(q,t)qjq˙j+Λ(q,t)t)(9.52)\tag{9.52} L_{2}(\mathbf{q},\overset{.}{q},t)=L_{1}(\mathbf{q},\overset{.}{q},t)+\frac{ d\Lambda (\mathbf{q},t)}{dt}=L_{1}(\mathbf{q},\overset{.}{q},t)+\left( \frac{ \partial \Lambda (\mathbf{q},t)}{\partial q_{j}}\dot{q}_{j}+\frac{\partial \Lambda (\mathbf{q},t)}{\partial t}\right)

This leads to a standard Lagrangian L2L_{2} that has the same equations of motion as L1L_{1} as is shown by substituting Equation 9.52 into the Euler-Lagrange equations. That is,

ddt(L2q˙j)L2qj=ddt(L1q˙j)L1qj+2Λ(q,t)tqj2Λ(q,t)tqj=ddt(L1q˙j)L1qj\begin{align} \tag{9.53} \frac{d}{dt}\left( \frac{\partial L_{2}}{\partial \dot{q}_{j}}\right) -\frac{ \partial L_{2}}{\partial q_{j}} &=\frac{d}{dt}\left( \frac{\partial L_{1}}{ \partial \dot{q}_{j}}\right) -\frac{\partial L_{1}}{\partial q_{j}}+\frac{ \partial ^{2}\Lambda (\mathbf{q},t)}{\partial t\partial q_{j}}-\frac{ \partial ^{2}\Lambda (\mathbf{q},t)}{\partial t\partial q_{j}} \\[4pt] &=\frac{d}{dt} \left( \frac{\partial L_{1}}{\partial \dot{q}_{j}}\right) -\frac{\partial L_{1}}{\partial q_{j}} \end{align}

Thus even though the related Lagrangians L1L_{1} and L2L_{2} are different, they are completely equivalent in that they generate identical equations of motion.

There is an unlimited range of equivalent standard Lagrangians that all lead to the same equations of motion and satisfy the requirements of the Lagrangian. That is, there is no unique choice among the wide range of equivalent standard Lagrangians expressed in terms of generalized coordinates. This discussion is an example of gauge invariance in physics.

Modern theories in physics describe reality in terms of potential fields. Gauge invariance, which also is called gauge symmetry, is a property of field theory for which different underlying fields lead to identical observable quantities. Well-known examples are the static electric potential field and the gravitational potential field where any arbitrary constant can be added to these scalar potentials with zero impact on the observed static electric field or the observed gravitational field. Gauge theories constrain the laws of physics in that the impact of gauge transformations must cancel out when expressed in terms of the observables. Gauge symmetry plays a crucial role in both classical and quantal manifestations of field theory, e.g. it is the basis of the Standard Model of electroweak and strong interactions.

Equivalent Lagrangians are a clear manifestation of gauge invariance as illustrated by equations 9.52, 9.53 which show that adding any total time derivative of a scalar function Λ(q,t)\Lambda (\mathbf{q,}t) to the Lagrangian has no observable consequences on the equations of motion. That is, although addition of the total time derivative of the scalar function Λ(q,t)\Lambda ( \mathbf{q},t) changes the value of the Lagrangian, it does not change the equations of motion for the observables derived using equivalent standard Lagrangians.

For Lagrangian formulations of classical mechanics, the gauge invariance is readily apparent by direct inspection of the Lagrangian.

Non-standard Lagrangians

The definition of the standard Lagrangian was based on d’Alembert’s differential variational principle. The flexibility and power of Lagrangian mechanics can be extended to a broader range of dynamical systems by employing an extended definition of the Lagrangian that is based on Hamilton’s Principle, equation (9.1.2)(9.1.2). Note that Hamilton’s Principle was introduced 46 years after development of the standard formulation of Lagrangian mechanics. Hamilton’s Principle provides a general definition of the Lagrangian that applies to standard Lagrangians, which are expressed as the difference between the kinetic and potential energies, as well as to non-standard Lagrangians where there may be no clear separation into kinetic and potential energy terms. These non-standard Lagrangians can be used with the Euler-Lagrange equations to generate the correct equations of motion, even though they may have no relation to the kinetic and potential energies. The extended definition of the Lagrangian based on Hamilton’s action functional (9.1.1)(9.1.1) can be exploited for developing non-standard definitions of the Lagrangian that may be applied to dynamical systems where use of the standard definition is inapplicable. Non-standard Lagrangians can be equally as useful as the standard Lagrangian for deriving equations of motion for a system. Secondly, non-standard Lagrangians, that have no energy interpretation, are available for deriving the equations of motion for many nonconservative systems. Thirdly, Lagrangians are useful irrespective of how they were derived. For example, they can be used to derive conservation laws or the equations of motion. Coordinate transformations of the Lagrangian is much simpler than that required for transforming the equations of motion. The relativistic Lagrangian defined in chapter 17.6 is a well-known example of a non-standard Lagrangian.

Inverse variational calculus

Non-standard Lagrangians and Hamiltonians are not based on the concept of kinetic and potential energies. Therefore, development of non-standard Lagrangians and Hamiltonians require an alternative approach that ensures that they satisfy Hamilton’s Principle, equation (9.1.2)(9.1.2), which underlies the Lagrangian and Hamiltonian formulations. One useful alternative approach is to derive the Lagrangian or Hamiltonian via an inverse variational process based on the assumption that the equations of motion are known. Helmholtz developed the field of inverse variational calculus which plays an important role in development of non-standard Lagrangians. An example of this approach is use of the well-known Lorentz force as the basis for deriving a corresponding Lagrangian to handle systems involving electromagnetic forces. Inverse variational calculus is a branch of mathematics that is beyond the scope of this textbook. The Douglas theorem states that, if the three Helmholtz conditions are satisfied, then there exists a Lagrangian that, when used with the Euler-Lagrange differential equations, leads to the given set of equations of motion. Thus, it will be assumed that the inverse variational calculus technique can be used to derive a Lagrangian from known equations of motion.

9.4: Application of Hamilton’s Action Principle to Mechanics

Knowledge of the equations of motion is required to predict the response of a system to any set of initial conditions. Hamilton’s action principle, that is built into Lagrangian and Hamiltonian mechanics, coupled with the availability of a wide arsenal of variational principles and techniques, provides a remarkably powerful and broad approach to deriving the equations of motions required to determine the system response.

As mentioned in the Prologue, derivation of the equations of motion for any system, based on Hamilton’s Action Principle, separates naturally into a hierarchical set of three stages that differ in both sophistication and understanding, as described below.

  1. Action stage: The primary “action stage” employs Hamilton’s Action functional, S=titfL(q,q˙,t)dtS=\int_{t_{i}}^{t_{f}}L(\mathbf{q, \dot{q},}t\mathbf{)}dt to derive the Lagrangian and Hamiltonian functionals. This action stage provides the most fundamental and sophisticated level of understanding. It involves specifying all the active degrees of freedom, as well as the interactions involved. Symmetries incorporated at this primary action stage can simplify subsequent use of the Hamiltonian and Lagrangian functionals.

  2. Hamiltonian/Lagrangian stage: The “Hamiltonian/Lagrangian stage” uses the Lagrangian or Hamiltonian functionals, that were derived at the action stage, in order to derive the equations of motion for the system of interest. Symmetries, not already incorporated at the primary action stage, may be included at this secondary stage.

  3. Equations of motion stage: The “equations-of-motion stage” uses the derived equations of motion to solve for the motion of the system subject to a given set of initial boundary conditions. Nonconservative forces, such as dissipative forces, that were not included at the primary and secondary stages, may be added at the equations of motion stage.

Lagrange omitted the action stage when he used d’Alembert’s Principle to derive Lagrangian mechanics. The Newtonian mechanics approach omits both the primary “action” stage, as well as the secondary “Hamiltonian/Lagrangian” stage, since Newton’s Laws of Motion directly specify the “equations-of-motion stage”. Thus these do not exploit the considerable advantages provided by the use of the action, the Lagrangian, and the Hamiltonian. Newtonian mechanics requires that all the active forces be included when deriving the equations of motion, which involves dealing with vector quantities. In Newtonian mechanics, symmetries must be incorporated directly at the equations of motion stage, which is more difficult than when done at the primary “action” stage, or the secondary “Lagrangian/Hamiltonian” stage. The “action” and “Hamiltonian/Lagrangian” stages allow for use of the powerful arsenal of mathematical techniques that have been developed for applying variational principles.

There are considerable advantages to deriving the equations of motion based on Hamilton’s Principle, rather than derive them using Newtonian mechanics. It is significantly easier to use variational principles to handle the scalar functionals, action, Lagrangian, and Hamiltonian, rather than starting at the equationsof-motion stage. For example, utilizing all three stages of algebraic mechanics facilitates accommodating extra degrees of freedom, symmetries, and interactions. The symmetries identified by Noether’s theorem are more easily recognized during the primary “action” and secondary “Hamiltonian/Lagrangian” stages rather than at the subsequent “equations of motion” stage. Approximations made at the “action” stage are easier to implement than at the “equations-of-motion” stage. Constrained motion is much more easily handled at the primary “action”, or secondary “Hamilton/Lagrangian” stages, than at the equations-of-motion stage. An important advantage of using Hamilton’s Action Principle, is that there is a close relationship between action in classical and quantal mechanics, as discussed in chapters 15 and 18. Algebraic principles, that underly analytical mechanics, naturally encompass applications to many branches of modern physics, such as relativistic mechanics, fluid motion, and field theory.

In summary, the use of the single fundamental invariant quantity, action, as described above, provides a powerful and elegant framework, that was developed first for classical mechanics, but now is exploited in a wide range of science, engineering, and economics. An important feature of using the algebraic approach to classical mechanics is the tremendous arsenal of powerful mathematical techniques that have been developed for use of variational calculus applied to Lagrangian and Hamiltonian mechanics. Some of these variational techniques were presented in chapters 6, 7, 8, and 9, while others will be introduced in chapter 15.

9.S: Hamilton’s Action Principle (Summary)

The Hamilton’s 1834 publication, introducing both Hamilton’s Principle of Stationary Action and Hamiltonian mechanics, marked the crowning achievements for the development of variational principles in classical mechanics. A fundamental advantage of Hamiltonian mechanics is that it uses the conjugate coordinates q\mathbf{q}, p\mathbf{p}, plus time tt, which is a considerable advantage in most branches of physics and engineering. Compared to Lagrangian mechanics, Hamiltonian mechanics has a significantly broader arsenal of powerful techniques that can be exploited to obtain an analytical solution of the integrals of the motion for complicated systems, as described in chapter 15. In addition, Hamiltonian dynamics provides a means of determining the unknown variables for which the solution assumes a soluble form, and is ideal for study of the fundamental underlying physics in applications to fields such as quantum or statistical physics. As a consequence, Hamiltonian mechanics has become the preeminent variational approach used in modern physics.

This chapter has introduced and discussed Hamilton’s Principle of Stationary Action, which underlies the elegant and remarkably powerful Lagrangian and Hamiltonian representations of algebraic mechanics. The basic concepts employed in algebraic mechanics are summarized below.

Hamilton’s Action Principle

As discussed in chapter 9.2, Hamiltonian mechanics is built upon Hamilton’s action functional

S(q,p,t)=titfL(q,q˙,t)dt(9.1)S(\mathbf{q},\mathbf{p},t) = \int^{t_f}_{t_i} L(\mathbf{q}, \mathbf{\dot{q}},t)dt \tag{9.1}

Hamilton’s Principle of least action states that

δS(q,p,t)=δtitfL(q,q˙,t)dt=0(9.2)\delta S(\mathbf{q},\mathbf{p},t) = \delta \int^{t_f}_{t_i} L(\mathbf{q}, \mathbf{\dot{q}},t)dt = 0 \tag{9.2}

Generalized momentum pp

In chapter 7.2, the generalized (canonical) momentum was defined in terms of the Lagrangian LL to be

piL(q,q˙,t)q˙i(7.3)p_i \equiv \frac{\partial L(\mathbf{q}, \mathbf{\dot{q}},t)}{\partial \dot{q}_i} \tag{7.3}

Chapter 9.2.2 defined the generalized momentum in terms of the action functional SS to be

pjS(q,p,t)q˙j(9.12)p_j \equiv \frac{\partial S(\mathbf{q}, \mathbf{p},t)}{\partial \dot{q}_j} \tag{9.12}

Generalized energy h(q,q˙,t)h (\mathbf{q},\dot{q},t)

Jacobi’s Generalized Energy h(q,q˙,t)h (\mathbf{q},\dot{q},t) was defined in Equation 7.37 as

h(q,q˙,t)j(q˙jL(q,q˙,t)q˙j)L(q,q˙,t)(7.37)h (\mathbf{q},\dot{q},t) \equiv \sum_j \left( \dot{q}_j \frac{\partial L(\mathbf{q}, \mathbf{\dot{q}},t)}{\partial \dot{q}_j} \right) - L(\mathbf{q}, \mathbf{\dot{q}},t) \tag{7.37}

Hamiltonian function H(q,p,t)H(\mathbf{q}, \mathbf{p},t)

The Hamiltonian H(q,p,t)H(\mathbf{q}, \mathbf{p},t) was defined in terms of the generalized energy h(q,q˙,t)h (\mathbf{q},\dot{q},t) plus the generalized momentum. That is

H(q,p,t)h(q,q˙,t)=jpjq˙jL(q,q˙,t)=pq˙L(q,q˙,t)H(\mathbf{q}, \mathbf{p},t) \equiv h (\mathbf{q},\dot{q},t) = \sum_j p_j\dot{q}_j - L(\mathbf{q}, \mathbf{\dot{q}},t) = \mathbf{p} \cdot \mathbf{\dot{q}} - L(\mathbf{q}, \mathbf{\dot{q}},t)

where p\mathbf{p}, q\mathbf{q} correspond to nn-dimensional vectors, e.g. q(q1,q2,,qn)\mathbf{q} \equiv (q_1, q_2, \dots , q_n) and the scalar product pq˙=ipiq˙i\mathbf{p} \cdot \mathbf{\dot{q}} = \sum_i p_i \dot{q}_i. Chapter 8.2 used a Legendre transformation to derive this relation between the Hamiltonian and Lagrangian functions. Note that whereas the Lagrangian L(q,q˙,t)L(\mathbf{q},\mathbf{\dot{q}},t) is expressed in terms of the coordinates q\mathbf{q}, plus conjugate velocities q˙\mathbf{\dot{q}}, the Hamiltonian H(q,p,t)H (\mathbf{q}, \mathbf{p}, t) is expressed in terms of the coordinates q\mathbf{q} plus their conjugate momenta p\mathbf{p}. For scleronomic systems, using the standard Lagrangian, in equations (7.9.4)(7.9.4) and (7.6.14)(7.6.14), shows that the Hamiltonian simplifies to be equal to the total mechanical energy, that is, H=T+UH = T + U.

Generalized energy theorem

The equations of motion lead to the generalized energy theorem which states that the time dependence of the Hamiltonian is related to the time dependence of the Lagrangian.

dH(q,p,t)dt=jq˙j[QjEXC+k=1mλkgkqj(q,t)]L(q,q˙,t)t(7.38)\frac{dH (\mathbf{q},\mathbf{p},t)}{dt} = \sum_j \dot{q}_j \left[ Q^{EXC}_j + \sum^{m}_{k=1} \lambda_k \frac{\partial g_k}{\partial q_j} (\mathbf{q},t) \right] - \frac{\partial L(\mathbf{q},\mathbf{\dot{q}},t)}{\partial t} \tag{7.38}

Note that if all the generalized non-potential forces and Lagrange multiplier terms are zero, and if the Lagrangian is not an explicit function of time, then the Hamiltonian is a constant of motion.

Lagrange equations of motion

Equation 6.60 gives that the NN Lagrange equations of motion are

{ddt(Lq˙j)Lqj}=k=1mλkgkqj(q,t)+QjEXC(6.60)\left\{ \frac{d}{dt} \left(\frac{\partial L}{\partial \dot{q}_j}\right) - \frac{\partial L}{\partial q_j} \right\} = \sum^m_{k=1} \lambda_k \frac{\partial g_k}{\partial q_j} (\mathbf{q}, t) + Q^{EXC}_j \tag{6.60}

where j=1,2,3,....Nj = 1, 2, 3, ....N.

Hamilton’s equations of motion

Chapter 8.3 showed that a Legendre transform, plus the Lagrange-Euler equations, (8.3.11,8.3.12,8.3.13)(8.3.11, 8.3.12, 8.3.13) lead to Hamilton’s equations of motion. Hamilton derived these equations of motion directly from the action functional, as shown in chapter 9.2.

q˙j=H(q,p,t)pj(8.25)\dot{q}_j = \frac{\partial H (\mathbf{q},\mathbf{p},t)}{ \partial p_j} \tag{8.25}
p˙j=Hqj(q,p,t)+[k=1mλkgkqj(q,t)+QjEXC]\begin{align} \dot{p}_j &=& −\frac{\partial H}{\partial q_j} (\mathbf{q},\mathbf{p},t) + \left[ \sum^m_{k=1} \lambda_k \frac{\partial g_k}{\partial q_j} (\mathbf{q}, t) + Q^{EXC}_j \right] \tag{8.26}\end{align}
H(q,p,t)t=L(q,q˙,t)t(8.24)\frac{\partial H (\mathbf{q},\mathbf{p},t)}{\partial t } = −\frac{\partial L(\mathbf{q},\mathbf{\dot{q}},t)}{\partial t} \tag{8.24}

Note the symmetry of Hamilton’s two canonical equations. The canonical variables pkp_k, qkq_k are treated as independent canonical variables. Lagrange was the first to derive the canonical equations but he did not recognize them as a basic set of equations of motion. Hamilton derived the canonical equations of motion from his fundamental variational principle and made them the basis for a far-reaching theory of dynamics. Hamilton’s equations give 2s2s first-order differential equations for pkp_k, qkq_k for each of the ss degrees of freedom. Lagrange’s equations give ss second-order differential equations for the variables qkq_k, q˙k\dot{q}_k.

Hamilton-Jacobi equation

Hamilton used Hamilton’s Principle plus Equation 9.19 to derive the Hamilton-Jacobi equation.

St+H(q,p,t)=0(9.19)\frac{\partial S}{\partial t} + H(\mathbf{q},\mathbf{p},t)=0 \tag{9.19}

The solution of Hamilton’s equations is trivial if the Hamiltonian is a constant of motion, or when a set of generalized coordinate can be identified for which all the coordinates qiq_i are constant, or are cyclic (also called ignorable coordinates). Jacobi developed the mathematical framework of canonical transformation required to exploit the Hamilton-Jacobi equation.

Hamilton’s Principle applied using initial boundary conditions

The definition of Hamilton’s Principle assumes integration between the initial time tit_i and final time tft_f. A recent development has extended applications of Hamilton’s Principle to apply to systems that are defined in terms of only the initial boundary conditions. This method doubles the number of degrees of freedom and uses a coupling Lagrangian K(q2,q˙2,q1,q˙1,t)K (\mathbf{q}_2, \mathbf{\dot{q}}_2, \mathbf{q}_1, \mathbf{\dot{q}}_1, t) between the corresponding q1\mathbf{q}_1 and q2\mathbf{q}_2 doubled degrees of freedom

ddtLq˙ILqI=[KqIddtKq˙I]PLQI(q1,q˙1,t)(9.50)\frac{d}{dt} \frac{ \partial L}{ \partial \dot{q}^I_-} − \frac{\partial L}{\partial q^{I}_-} = \left[ \frac{\partial K}{\partial q^I_-} − \frac{d}{dt} \frac{\partial K}{\partial \dot{q}^I_-} \right]_{PL} \equiv Q^I (\mathbf{q}_1, \mathbf{\dot{q}}_1, t) \tag{9.50}

and where QIQ^I is a generalized nonconservative force derived from KK.

Standard Lagrangians

Derivation of Lagrangian mechanics, using d’Alembert’s principle of virtual work, assumed that the Lagrangian is defined by Equation 9.52

L(q,q˙,t)=T(q˙,t)U(q,t)(9.52)L(\mathbf{q}, \mathbf{\dot{q}},t) = T(\mathbf{\dot{q}},t) − U(\mathbf{q}, t) \tag{9.52}

This was used in equation (9.2.1)(9.2.1) to derive the action in terms of the fundamental Lagrangian defined by Equation 9.52. The assumption that the action SS is the fundamental property inverts this procedure and now equation (9.2.1)(9.2.1) is used to derived the Lagrangian. That is, the assumption that Hamilton’s Principle is the foundation of algebraic mechanics defines the Lagrangian in terms of the fundamental action SS.

Non-standard Lagrangians

The flexibility and power of Lagrangian mechanics can be extended to a broader range of dynamical systems by employing an extended definition of the Lagrangian that assumes that the action is the fundamental property, and then the Lagrangian is defined in terms of Hamilton’s variational action principle using Equation 9.2. It was illustrated that the inverse variational calculus formalism can be used to identify non-standard Lagrangians that generate the required equations of motion. These nonstandard Lagrangians can be very different from the standard Lagrangian and do not separate into kinetic and potential energy components. These alternative Lagrangians can be used to handle dissipative systems which are beyond the range of validity when using standard Lagrangians. That is, it was shown that several very different Lagrangians and Hamiltonians can be equivalent for generating useful equations of motion of a system. Currently the use of non-standard Lagrangians is a narrow, but active, frontier of classical mechanics with important applications to relativistic mechanics.

Gauge invariance of the standard Lagrangian

It was shown that there is a continuum of equivalent standard Lagrangians that lead to the same set of equations of motion for a system. This feature is related to gauge invariance in mechanics. The following transformations change the standard Lagrangian, but leave the equations of motion unchanged.

  1. The Lagrangian is indefinite with respect to addition of a constant to the scalar potential which cancels out when the derivatives in the Euler-Lagrange differential equations are applied.

  2. Similarly the Lagrangian is indefinite with respect to addition of a constant kinetic energy.

  3. The Lagrangian is indefinite with respect to addition of a total time derivative of the form L+ddt[Λ(qi,t)]L + \frac { d } { d t } \left[ \Lambda \left( q _ { i } , t \right) \right] for any differentiable function Λ(qit)\Lambda \left( q _ { i } t \right) of the generalized coordinates, plus time, that has continuous second derivatives.

Application of Hamilton’s Action Principle to mechanics

The derivation of the equations of motion for any system can be separated into a hierarchical set of three stages in both sophistication and understanding. Variational principles are employed during the primary “action” stage and secondary “Hamilton/Lagrangian” stage to derive the required equations of motion, which then are solved during the third “equations-of-motion stage”. Hamilton’s Action Principle, is a scalar function that is the basis for deriving the Lagrangian and Hamiltonian functions. The primary “action stage” uses Hamilton’s Action functional, S=titfL(q,q˙,t)dtS = \int^{t_f}_{t_i} L (\mathbf{q},\mathbf{\dot{q}},t) dt to derive the Lagrangian and Hamiltonian functionals that are based on Hamilton’s action functional and provide the most fundamental and sophisticated level of understanding. The second “Hamiltonian/Lagrangian stage” involves using the Lagrangian and Hamiltonian functionals to derive the equations of motion. The third “equations-of-motion stage” uses the derived equations of motion to solve for the motion subject to a given set of initial boundary conditions. The Newtonian mechanics approach bypasses the primary “action” stage, as well as the secondary “Hamiltonian/Lagrangian” stage. That is, Newtonian mechanics starts at the third “equations-of-motion” stage, which does not allow exploiting the considerable advantages provided by use of action, the Lagrangian, and the Hamiltonian. Newtonian mechanics requires that all the active forces be included when deriving the equations of motion, which involves dealing with vector quantities. This is in contrast to the action, Lagrangian, and Hamiltonian which are scalar functionals. Both the primary “action” stage, and the secondary “Lagrangian/Hamiltonian” stage, exploit the powerful arsenal of mathematical techniques that have been developed for exploiting variational principles.

Footnotes
  1. The term “action functional” was named “Hamilton’s Principal Function” in older texts. The name usually is abbreviated to “action” in modern mechanics.

  2. This topic goes beyond the planned scope of this book. It is recommended that the reader refer to the work of Galley, Tsang, and Stein[Gal13, Gal14] for further discussion plus examples of applying this formalism to nonconservative systems in classical mechanics, electromagnetic radiation, RLC circuits, fluid dynamics, and field theory.