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.

7.1: Introduction to Symmetries, Invariance, and the Hamiltonian

The chapter 7 discussion of Lagrangian dynamics illustrates the power of Lagrangian mechanics for deriving the equations of motion. In contrast to Newtonian mechanics, which is expressed in terms of force vectors acting on a system, the Lagrangian method, based on d’Alembert’s Principle or Hamilton’s Principle, is expressed in terms of the scalar kinetic and potential energies of the system. The Lagrangian approach is a sophisticated alternative to Newton’s laws of motion, that provides a simpler derivation of the equations of motion that allows constraint forces to be ignored. In addition, the use of Lagrange multipliers or generalized forces allows the Lagrangian approach to determine the constraint forces when these forces are of interest. The equations of motion, derived either from Newton’s Laws or Lagrangian dynamics, can be non-trivial to solve mathematically. It is necessary to integrate second-order differential equations, which for nn degrees of freedom, imply 2n2n constants of integration.

Chapter 7 will explore the remarkable connection between symmetry and invariance of a system under transformation, and the related conservation laws that imply the existence of constants of motion. Even when the equations of motion cannot be solved easily, it is possible to derive important physical principles regarding the first-order integrals of motion of the system directly from the Lagrange equation, as well as for elucidating the underlying symmetries plus invariance. This property is contained in Noether’s theorem which states that conservation laws are associated with differentiable symmetries of a physical system.

7.2: Generalized Momentum

Consider a holonomic system of NN masses under the influence of conservative forces that depend on position qjq_{j} but not velocity q˙j\dot{q}_{j}, that is, the potential is velocity independent. Then for the xx coordinate of particle ii for NN particles

Lx˙i=Tx˙iUx˙i=Tx˙i=x˙ii=1N12mi(x˙i2+y˙i2+z˙i2)=mix˙i=pi,x\begin{align} \frac{\partial L}{\partial \dot{x}_{i}} &= \frac{\partial T}{\partial \dot{x} _{i}}-\frac{\partial U}{\partial \dot{x}_{i}}=\frac{\partial T}{\partial \dot{x}_{i}} \tag{7.1} \\[4pt] &= \frac{\partial }{\partial \dot{x}_{i}}\sum_{i=1}^{N}\frac{1}{2} m_{i}\left( \dot{x}_{i}^{2}+\dot{y}_{i}^{2}+\dot{z}_{i}^{2}\right) \notag\\[4pt] &= m_{i}\dot{x}_{i}=p_{i,x} \notag\end{align}

Thus for a holonomic, conservative, velocity-independent potential we have

Lx˙i=pi,x(7.2)\frac{\partial L}{\partial \dot{x}_{i}}=p_{i,x} \tag{7.2}

which is the xx component of the linear momentum for the ithi^{th} particle.

This result suggests an obvious extension of the concept of momentum to generalized coordinates. The generalized momentum associated with the coordinate qjq_{j} is defined to be

Lq˙jpj(7.3)\frac{\partial L}{\partial \dot{q}_{j}}\equiv p_{j}\tag{7.3}

Note that pjp_{j} also is called the conjugate momentum orcanonical momentum to qjq_{j} where qj,pjq_{j},p_{j} are conjugate, or canonical, variables. Remember that the linear momentum pjp_{j} is the first-order time integral given by equation (2.4.1)(2.4.1). If qjq_{j} is not a spatial coordinate, then pjp_{j} is the generalized momentum, not the kinematic linear momentum. For example, if qjq_{j} is an angle, then pjp_{j} will be angular momentum. That is, the generalized momentum may differ from the usual linear or angular momentum since the definition 7.3 is more general than the usual px=mx˙p_{x}=m \dot{x} definition of linear momentum in classical mechanics. This is illustrated by the case of a moving charged particles mj,ejm_{j},e_{j} in an electromagnetic field. Chapter 6 showed that electromagnetic forces on a charge eje_{j} can be described in terms of a scalar potential UjU_{j} where

Uj=ej(ΦAvj)(7.4)U_{j}=e_{j}(\Phi -\mathbf{A\cdot v}_{j}\mathbf{)}\tag{7.4}

Thus the Lagrangian for the electromagnetic force can be written as

L=j=1N[12mjvjvjej(ΦAvj)](7.5)L=\sum_{j=1}^{N}\left[ \frac{1}{2}m_{j}\mathbf{v}_{j}\cdot \mathbf{v} _{j}-e_{j}(\Phi -\mathbf{A\cdot v}_{j}\mathbf{)}\right]\tag{7.5}

The generalized momentum to the coordinate xjx_{j} for charge ej,e_{j}, and mass mj,m_{j}, is given by the above Lagrangian

pj,x=Lx˙j=mjx˙j+ejAx(7.6)p_{j,x}=\frac{\partial L}{\partial \dot{x}_{j}}=m_{j}\dot{x}_{j}+e_{j}A_{x}\tag{7.6}

Note that this includes both the mechanical linear momentum plus the correct electromagnetic momentum. The fact that the electromagnetic field carries momentum should not be a surprise since electromagnetic waves also carry energy as is illustrated by the transmission of radiant energy from the sun.

7.3: Invariant Transformations and Noether’s Theorem

One of the great advantages of Lagrangian mechanics is the freedom it allows in choice of generalized coordinates which can simplify derivation of the equations of motion. For example, for any set of coordinates, qj,q_{j}, a reversible point transformation can define another set of coordinates qjq_{j}^{\prime } such that

qj=qj(q1,q2,..qn;t)q_{j}^{\prime }=q_{j}^{\prime }(q_{1},q_{2},..q_{n};t)

The new set of generalized coordinates satisfies Lagrange’s equations of motion with the new Lagrangian

L(q,q˙,t)=L(q,q˙,t)L(q^{\prime },\dot{q}^{\prime },t)=L(q,\dot{q},t)

The Lagrangian is a scalar, with units of energy, which does not change if the coordinate representation is changed. Thus L(q,q˙,t)L(q^{\prime },\dot{q} ^{\prime },t) can be derived from L(q,q˙,t)L(q,\dot{q},t) by substituting the inverse relation qi=qi(q1,q2,..qn;t)q_{i}=q_{i}(q_{1}^{\prime },q_{2}^{\prime },..q_{n}^{\prime };t) into L(q,q˙,t).L(q,\dot{q},t). That is, the value of the Lagrangian LL is independent of which coordinate representation is used. Although the general form of Lagrange’s equations of motion is preserved in any point transformation, the explicit equations of motion for the new variables usually look different from those with the old variables. A typical example is the transformation from cartesian to spherical coordinates. For a given system, there can be particular transformations for which the explicit equations of motion are the same for both the old and new variables. Transformations for which the equations of motion are invariant, are called invariant transformations. It will be shown that if the Lagrangian does not explicitly contain a particular coordinate of displacement qi,q_{i}, then the corresponding conjugate momentum, pi,p_{i}, is conserved. This relation is called Noether’s theorem which states “For each symmetry of the Lagrangian, there is a conserved quantity".

Noether’s Theorem will be used to consider invariant transformations for two dependent variables, x(t),x(t), and θ(t),\theta (t), plus their conjugate momenta pxp_{x} and pθp_{\theta }. For a closed system, these provide up to six possible conservation laws for the three axes. Then we will discuss the independent variable t,t, and its relation to the Generalized Energy Theorem, which provides another possible conservation law. For simplicity, these discussions will assume that the systems are holonomic and conservative.

The Lagrange equations using generalized coordinates for holonomic systems, was given by equation (6.5.12)(6.5.12) to be

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

This can be written in terms of the generalized momentum as

{ddtpjLqj}=k=1mλkgkqj(q,t)+QjEXC\left\{ \frac{d}{dt}p_{j}-\frac{\partial L}{\partial q_{j}}\right\} =\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q} ,t)+Q_{j}^{EXC}

or equivalently as

p˙j=Lqj+[k=1mλkgkqj(q,t)+QjEXC]\dot{p}_{j}=\frac{\partial L}{\partial q_{j}}+\left[ \sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)+Q_{j}^{EXC}\right]

Note that if the Lagrangian LL does not contain qiq_{i} explicitly, that is, the Lagrangian is invariant to a linear translation, or equivalently, is spatially homogeneous, and if the Lagrange multiplier constraint force and generalized force terms are zero, then

Lqj+[k=1mλkgkqj(q,t)+QjEXC]=0\frac{\partial L}{\partial q_{j}}+\left[ \sum_{k=1}^{m}\lambda _{k}\frac{ \partial g_{k}}{\partial q_{j}}(\mathbf{q},t)+Q_{j}^{EXC}\right] =0

In this case the Lagrange equation reduces to

p˙j=dpjdt=0(7.13)\dot{p}_{j}=\frac{dp_{j}}{dt}=0 \tag{7.13}

Equation 7.13 corresponds to pjp_{j} being a constant of motion. Stated in words, the generalized momentum pip_{i}is a constant of motion if the Lagrangian is invariant to a spatial translation of qiq_{i}, and the constraint plus generalized force terms are zero. Expressed another way, if the Lagrangian does not contain a given coordinate qiq_{i} and the corresponding constraint plus generalized forces are zero, then the generalized momentum associated with this coordinate is conserved. Note that this example of Noether’s theorem applies to any component of q\mathbf{q}. For example, in the uniform gravitational field at the surface of the earth, the Lagrangian does not depend on the xx and yy coordinates in the horizontal plane, thus pxp_{x} and pyp_{y} are conserved, whereas, due to the gravitational force, the Lagrangian does depend on the vertical zz axis and thus pzp_{z} is not conserved.

7.4: Rotational invariance and conservation of angular momentum

The arguments, used above, apply equally well to conjugate momenta pθp_{\theta } and θ\theta for rotation about any axis. The Lagrange equation is

{ddtpθLθ}=k=1mλkgkθ(q,t)+QθEXC(7.14)\left\{ \frac{d}{dt}p_{\theta }-\frac{\partial L}{\partial \theta }\right\} =\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial \theta }(\mathbf{q} ,t)+Q_{\theta }^{EXC} \tag{7.14}

If no constraint or generalized torques act on the system, then the right-hand side of Equation 7.14 is zero. Moreover if the Lagrangian in not an explicit function of θ,\theta , then Lθ=0,\frac{\partial L}{\partial \theta }=0, and assuming that the constraint plus generalized torques are zero, then pθp_{\theta } is a constant of motion.

Noether’s Theorem illustrates this general result which can be stated as, if the Lagrangian is rotationally invariant about some axis, then the component of the angular momentum along that axis is conserved. Also this is true for the more general case where the Lagrangian is invariant to rotation about any axis, which leads to conservation of the total angular momentum.

7.5: Cyclic Coordinates

Translational and rotational invariance occurs when a system has a cyclic coordinate qk.q_{k}. A cyclic coordinate is one that does not explicitly appear in the Lagrangian. The term cyclic is a natural name when one has cylindrical or spherical symmetry. In Hamiltonian mechanics a cyclic coordinate often is called an ignorable coordinate . By virtue of Lagrange’s equations

ddtLq˙kLqk=0\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{k}}-\frac{\partial L}{ \partial q_{k}}=0

then a cyclic coordinate qk,q_{k}, is one for which Lqk=0\frac{\partial L}{ \partial q_{k}}=0. Thus

ddtLq˙k=p˙k=0\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{k}}=\dot{p}_{k}=0

that is,  pk\ p_{k}is a constant of motion if the conjugate coordinate qkq_{k}is cyclic. This is just Noether’s Theorem.

7.6: Kinetic Energy in Generalized Coordinates

Application of Noether’s theorem to the conservation of energy requires the kinetic energy to be expressed in generalized coordinates. In terms of fixed rectangular coordinates, the kinetic energy for NN bodies, each having three degrees of freedom, is expressed as

T=12α=1Ni=13mαx˙α,i2(7.17)T=\frac{1}{2}\sum_{\alpha =1}^{N}\sum_{i=1}^{3}m_{\alpha }\dot{x}_{\alpha ,i}^{2}\tag{7.17}

These can be expressed in terms of generalized coordinates as xα,i=xα,i(qj,t)x_{\alpha ,i}=x_{\alpha ,i}(q_{j},t) and in terms of generalized velocities

x˙α,i=j=1sxα,iqjq˙j+xα,it\dot{x}_{\alpha ,i}=\sum_{j=1}^{s}\frac{\partial x_{\alpha ,i}}{\partial q_{j}}\dot{q}_{j}+\frac{\partial x_{\alpha ,i}}{\partial t}

Taking the square of x˙α,i\dot{x}_{\alpha ,i} and inserting into the kinetic energy relation gives

T(q,q˙,t)=αi,j,k12mαxα,iqjxα,iqkq˙jq˙k+αi,jmαxα,iqjxα,itq˙j+αi12mα(xα,it)2T(\mathbf{q},\mathbf{\dot{q}},t)=\sum_{\alpha }\sum_{i,j,k}\frac{1}{2} m_{\alpha }\frac{\partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{\partial q_{k}}\dot{q}_{j}\dot{q}_{k}+\sum_{\alpha }\sum_{i,j}m_{\alpha }\frac{\partial x_{\alpha ,i}}{\partial q_{j}}\frac{ \partial x_{\alpha ,i}}{\partial t}\dot{q}_{j}+\sum_{\alpha }\sum_{i}\frac{1 }{2}m_{\alpha }\left( \frac{\partial x_{\alpha ,i}}{\partial t}\right) ^{2}

This can be abbreviated as

T(q,q˙,t)=T2(q,q˙,t)+T1(q,q˙,t)+T0(q,t)T(\mathbf{q},\mathbf{\dot{q}},t)=T_{2}(\mathbf{q},\mathbf{\dot{q}},t)+T_{1}( \mathbf{q},\mathbf{\dot{q}},t)+T_{0}(\mathbf{q},t)

where

T2(q,q˙,t)=αi,j,k12mαxα,iqjxα,iqkq˙jq˙k=j,kajkq˙jq˙kT1(q,q˙,t)=αi,jmαxα,iqjxα,itq˙j=j,kbjq˙jT0(q,t)=αi12mα(xα,it)2\begin{align} \tag{7.21} T_{2}(\mathbf{q},\mathbf{\dot{q}},t) &=&\sum_{\alpha }\sum_{i,j,k}\frac{1}{2} m_{\alpha }\frac{\partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{\partial q_{k}}\dot{q}_{j}\dot{q}_{k}=\sum_{j,k}a_{jk}\dot{q} _{j}\dot{q}_{k} \\ T_{1}(\mathbf{q},\mathbf{\dot{q}},t) &=&\sum_{\alpha }\sum_{i,j}m_{\alpha } \frac{\partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{ \partial t}\dot{q}_{j}=\sum_{j,k}b_{j}\dot{q}_{j} \\ T_{0}(\mathbf{q},t) &=&\sum_{\alpha }\sum_{i}\frac{1}{2}m_{\alpha }\left( \frac{\partial x_{\alpha ,i}}{\partial t}\right) ^{2}\end{align}

where

ajkα=1ni,=1312mαxα,iqjxα,iqka_{jk}\equiv \sum_{\alpha =1}^{n}\sum_{i,=1}^{3}\frac{1}{2}m_{\alpha }\frac{ \partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{ \partial q_{k}}

When the transformed system is scleronomic, time does not appear explicitly in the transformation equations to generalized coordinates since**xα,it=0\frac{\partial x_{\alpha ,i}}{\partial t}=0. Then T1=T0=0T_{1}=T_{0}=0, and the kinetic energy reduces to a homogeneous quadratic function of the generalized velocities

T(q,q˙,t)=T2(q,q˙,t)(7.25)T(\mathbf{q},\mathbf{ \dot{q}},t)=T_{2}(\mathbf{q},\mathbf{\dot{q}},t) \tag{7.25}

A useful relation can be derived by taking the differential of Equation 7.21 with respect to q˙l\dot{q}_{l}. That is

T2(q,q˙,t)q˙l=kalkq˙k+jajlq˙j\frac{\partial T_{2}(\mathbf{q},\mathbf{\dot{q}},t)}{\partial \dot{q}_{l}} =\sum_{k}a_{lk}\dot{q}_{k}+\sum_{j}a_{jl}\dot{q}_{j}

Multiply this by q˙l\dot{q}_{l} and sum over ll gives

lq˙lT2(q,q˙,t)q˙l=k,lalkq˙kq˙l+j,lajlq˙jq˙l=2j,kalkq˙kq˙l=2T2\sum_{l}\dot{q}_{l}\frac{\partial T_{2}(\mathbf{q},\mathbf{\dot{q}},t)}{ \partial \dot{q}_{l}}=\sum_{k,l}a_{lk}\dot{q}_{k}\dot{q}_{l}+\sum_{j,l}a_{jl} \dot{q}_{j}\dot{q}_{l}=2\sum_{j,k}a_{lk}\dot{q}_{k}\dot{q}_{l}=2T_{2}

Similarly, the products of the generalized velocities q˙,\dot{q}, with the corresponding derivatives of T1T_{1} and T0T_{0} give $$

lq˙lT2q˙l=2T2lq˙lT1(q,q˙,t)q˙l=T1(q,q˙,t)lq˙lT0(q,t)q˙l=0\begin{align} \tag{7.27} \sum_{l}\dot{q}_{l}\frac{\partial T_{2}}{\partial \dot{q}_{l}} &=&2T_{2} \\ \sum_{l}\dot{q}_{l}\frac{\partial T_{1}(\mathbf{q},\mathbf{\dot{q}},t)}{ \partial \dot{q}_{l}} &=&T_{1}(\mathbf{q},\mathbf{\dot{q}},t) \\ \sum_{l}\dot{q}_{l}\frac{\partial T_{0}(\mathbf{q},t)}{\partial \dot{q}_{l}} &=&0\end{align}

$$

Equation 7.25 gives that T=T2T=T_{2} when the transformed system is scleronomic, i.e. xα,it=0,\frac{\partial x_{\alpha ,i}}{\partial t}=0, and then the kinetic energy is a quadratic function of the generalized velocities q˙j\dot{q}_{j}. Using the definition of the generalized momentum equation (7.2.3)(7.2.3), assuming T=T2T=T_{2}, and that the potential UU is velocity independent, gives that

plLq˙l=Tq˙lUq˙l=T2q˙lp_{l}\equiv \frac{\partial L}{\partial \dot{q}_{l}}=\frac{\partial T}{\partial \dot{q} _{l}}-\frac{\partial U}{\partial \dot{q}_{l}}=\frac{\partial T_{2}}{\partial \dot{q}_{l}}

Then Equation 7.27 reduces to the useful relation that

T2=12lq˙lpl=12q˙pT_{2}=\frac{1}{2}\sum_{l}\dot{q}_{l}p_{l}=\frac{1}{2}\mathbf{\dot{q}\cdot p}

where, for compactness, the summation is abbreviated as a scalar product.

7.7: Generalized Energy and the Hamiltonian Function

Consider the time derivative of the Lagrangian, plus the fact that time is the independent variable in the Lagrangian. Then the total time derivative is

dLdt=jLqjq˙j+jLq˙jq¨j+Lt(7.32)\frac{dL}{dt}=\sum_{j}\frac{\partial L}{\partial q_{j}}\dot{q}_{j}+\sum_{j} \frac{\partial L}{\partial \dot{q}_{j}}\ddot{q}_{j}+\frac{\partial L}{ \partial t} \tag{7.32}

The Lagrange equations for a conservative force are given by equation (6.5.12)(6.5.12) to be

ddtLq˙jLqj=QjEXC+k=1mλkgkqj(q,t)(7.33)\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{j}}-\frac{\partial L}{ \partial q_{j}}=Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{ \partial q_{j}}(\mathbf{q},t) \tag{7.33}

The holonomic constraints can be accounted for using the Lagrange multiplier terms while the generalized force QjEXCQ_{j}^{EXC} includes non-holonomic forces or other forces not included in the potential energy term of the Lagrangian, or holonomic forces not accounted for by the Lagrange multiplier terms.

Substituting Equation 7.33 into Equation 7.32 gives

dLdt=jq˙jddtLq˙jjq˙j[QjEXC+k=1mλkgkqj(q,t)]+jLq˙jq¨j+Lt=jddt(q˙jLq˙j)jq˙j[QjEXC+k=1mλkgkqj(q,t)]+Lt\begin{align} \frac{dL}{dt} &=&\sum_{j}\dot{q}_{j}\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_{j}}-\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k} \frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] +\sum_{j}\frac{ \partial L}{\partial \dot{q}_{j}}\ddot{q}_{j}+\frac{\partial L}{\partial t} \notag \\ &=&\sum_{j}\frac{d}{dt}\left( \dot{q}_{j}\frac{\partial L}{\partial \dot{q} _{j}}\right) -\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] +\frac{ \partial L}{\partial t}\end{align}

This can be written in the form

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

Define Jacobi’s Generalized Energy[1]** h(q,q˙,t)h(\mathbf{q},\mathbf{ \dot{q}},t) by

h(q,q˙,t)j(q˙jLq˙j)L(q,q˙,t)h(\mathbf{q},\mathbf{ \dot{q}},t)\equiv \sum_{j}\left( \dot{q}_{j}\frac{\partial L}{\partial \dot{q }_{j}}\right) -L(\mathbf{q},\mathbf{\dot{q}},t)

Jacobi’s generalized momentum, equation 7.2.3,7.2.3, can be used to express the generalized energy h(q,q˙,t)h(q,\dot{q},t) in terms of the canonical coordinates q˙i\dot{q}_{i} and pip_{i}, plus time tt. Define the Hamiltonian function to equal the generalized energy expressed in terms of the conjugate variables (qj,pj)(q_{j},p_{j}), that is,

H(q,p,t)h(q,q˙,t)j(q˙jLq˙j)L(q,q˙,t)=j(q˙jpj)L(q,q˙,t)H\left( \mathbf{q,p,}t\right) \equiv h(\mathbf{q},\mathbf{\dot{q}},t)\equiv \sum_{j}\left( \dot{q}_{j}\frac{\partial L}{\partial \dot{q}_{j}}\right) -L( \mathbf{q},\mathbf{\dot{q}},t)=\sum_{j}\left( \dot{q}_{j}p_{j}\right) -L( \mathbf{q},\mathbf{\dot{q}},t)

This Hamiltonian H(q,p,t)H\left( \mathbf{q,p,}t\right) underlies Hamiltonian mechanics which plays a profoundly important role in most branches of physics as illustrated in chapters 8,158,15 and 18.

7.8: Generalized energy theorem

The Hamilton function, (7.7.6)(7.7.6) plus equation (7.7.4)(7.7.4) lead to the generalized energy theorem

dH(q,p,t)dt=dh(q,q˙,t)dt=jq˙j[QjEXC+k=1mλkgkqj(q,t)]L(q,q˙,t)t\frac{dH\left( \mathbf{q,p,}t\right) }{dt}=\frac{dh(\mathbf{q},\mathbf{\dot{q }},t)}{dt}=\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k} \frac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] -\frac{\partial L( \mathbf{q},\mathbf{\dot{q}},t)}{\partial t}

Note that for the special case where all the external forces [QjEXC+k=1mλkgkqj(q,t)]=0\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}( \mathbf{q},t)\right] =0, then

dHdt=Lt\frac{dH}{dt}=-\frac{\partial L}{\partial t}

Thus the Hamiltonian is time independent if both**[QjEXC+k=1mλkgkqj(q,t)]=0\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\frac{\partial g_{k}}{\partial q_{j}}( \mathbf{q},t)\right] =0**and the Lagrangian are time-independent. For an isolated closed system having no external forces acting, then the Lagrangian is time independent because the velocities are constant, and there is no external potential energy. That is, the Lagrangian is time-independent, and

ddt[j(q˙jLq˙j)L]=dHdt=Lt=0\frac{d}{dt}\left[ \sum_{j}\left( \dot{q}_{j}\frac{\partial L}{\partial \dot{ q}_{j}}\right) -L\right] =\frac{dH}{dt}=-\frac{\partial L}{\partial t}=0

As a consequence, the Hamiltonian H(q,p,t),H\left( \mathbf{q,p,}t\right) , and generalized energy h(q,q˙,t)h(\mathbf{q},\mathbf{\dot{q}},t), both are constants of motion if the Lagrangian is a constant of motion, and if the external non-potential forces are zero. This is an example of Noether’s theorem, where the symmetry of time independence leads to conservation of the conjugate variable, which is the Hamiltonian or Generalized energy.

7.9: Generalized energy and total energy

The generalized kinetic energy, equation (7.6.4)(7.6.4), can be used to write the generalized Lagrangian as

L(q,q˙,t)=T2(q,q˙,t)+T1(q,q˙,t)+T0(q,t)U(q,t)L(\mathbf{q},\mathbf{ \dot{q}},t)=T_{2}(\mathbf{q},\mathbf{\dot{q}},t)+T_{1}(\mathbf{q},\mathbf{ \dot{q}},t)+T_{0}(\mathbf{q},t)-U(\mathbf{q},t)

If the potential energy UU does not depend explicitly on velocities q˙i\dot{q }_{i} or time, then

pj=Lq˙j=(TU)q˙j=Tq˙j(7.42)\tag{7.42} p_{j}=\frac{\partial L}{\partial \dot{q}_{j}}=\frac{\partial \left( T-U\right) }{\partial \dot{q}_{j}}=\frac{\partial T}{\partial \dot{q}_{j}}

Equation 7.42 can be used to write the Hamiltonian, equation (7.7.6)(7.7.6), as

H(q,p,t)=i(q˙jT2q˙j)+i(q˙jT1q˙j)+i(q˙jT0q˙j)L(q,q˙,t)H\left( \mathbf{q,p,}t\right) =\sum_{i}\left( \dot{q}_{j}\frac{\partial T_{2} }{\partial \dot{q}_{j}}\right) +\sum_{i}\left( \dot{q}_{j}\frac{\partial T_{1}}{\partial \dot{q}_{j}}\right) +\sum_{i}\left( \dot{q}_{j}\frac{ \partial T_{0}}{\partial \dot{q}_{j}}\right) -L(\mathbf{q},\mathbf{\dot{q}} ,t)

Using equations (7.6.12)(7.6.12), (7.6.13)(7.6.13), (7.6.14)(7.6.14) gives that the total generalized Hamiltonian H(q,p,t)H\left( \mathbf{q,p,}t\right) equals

H(q,p,t)=2T2+T1(T2+T1+T0U)=T2T0+U(7.44)H\left( \mathbf{q,p,}t\right) =2T_{2}+T_{1}-(T_{2}+T_{1}+T_{0}-U)=T_{2}-T_{0}+U \tag{7.44}

But the sum of the kinetic and potential energies equals the total energy. Thus Equation 7.44 can be rewritten in the form

H(q,p,t)=(T+U)(T1+2T0)=E(T1+2T0)H\left( \mathbf{q,p,}t\right) =(T+U)-(T_{1}+2T_{0})=E-(T_{1}+2T_{0})

Note that Jacobi’s generalized energy and the Hamiltonian do not equal the total energy EE. However, in the special case where the transformation is scleronomic, then T1=T0=0,T_{1}=T_{0}=0, and if the potential energy UU does not depend explicitly of q˙i\dot{q}_{i}, then the**generalized energy (Hamiltonian) equals the total energy,that is, H=E.H=E. Recognition of the relation between the Hamiltonian and the total energy facilitates determining the equations of motion.

7.10: Hamiltonian Invariance

Chapters 7.8,7.97.8,7.9 addressed two important and independent features of the Hamiltonian regarding: a)a) when HH is conserved, and bb) when HH equals the total mechanical energy. These important results are summarized below with a discussion of the assumptions made in deriving the Hamiltonian, as well as the implications.

a) Conservation of generalized energy

The generalized energy theorem (7.8.1)(7.8.1) was given as

dH(q,p,t)dt=dh(q,q˙,t)dt=jq˙j[QjEXC+k=1mλkgkqj(q,t)]L(q,q˙,t)t(7.46)\dfrac{dH\left( \mathbf{q,p,}t\right) }{dt}=\dfrac{dh(\mathbf{q},\mathbf{\dot{q }},t)}{dt}=\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k} \dfrac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] -\dfrac{\partial L( \mathbf{q},\mathbf{\dot{q}},t)}{\partial t} \tag{7.46}

Note that when

jq˙j[QjEXC+k=1mλkgkqj(q,t)]=0,\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k}\dfrac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] =0, \nonumber

then Equation 7.46 reduces to

dHdt=Lt(7.47)\dfrac{dH}{dt}=-\dfrac{\partial L}{\partial t}\tag{7.47}

Also, when

jq˙j[QjEXC+k=1mλkgkqj(q,t)]=0,\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\lambda _{k} \dfrac{\partial g_{k}}{\partial q_{j}}(\mathbf{q},t)\right] =0, \nonumber

and if the Lagrangian is not an explicit function of time, then the Hamiltonian is a constant of motion. That is,**HHis conserved if, and only if, the Lagrangian, and consequently the Hamiltonian, are not explicit functions of time, and if the external forces are zero.

b) The generalized energy and total energy

If the following two requirements are satisfied

  1. The kinetic energy has a homogeneous quadratic dependence on the generalized velocities, that is, the transformation to generalized coordinates is independent of time,**xα,it=0.\dfrac{\partial x_{\alpha ,i}}{\partial t}=0.

  2. The**potential energy is not velocity dependent,**thus the terms Uq˙i=0.\dfrac{\partial U}{\partial \dot{q}_{i}}=0.

Then equation (7.9.5)(7.9.5) implies that the Hamiltonian equals the total mechanical energy, that is,

H=T+U=E(7.48)H=T+U=E\tag{7.48}

Expressed in words, the generalized energy (Hamiltonian) equals the total energy if the constraints are time independent and the potential energy is velocity independent.**This is equivalent to stating that, if the constraints, or generalized coordinates, for the system are time independent, thenH=EH=E.

The four combinations of the above two independent conditions, assuming that the external forces term in Equation 7.46 is zero, are summarized in table 7.10.1.

HamiltonianConstraints and coordinate transformationConstraints and coordinate transformation
Time behaviorTime independentTime dependent
dHdt=Lt=0\dfrac{dH}{dt}=-\dfrac{\partial L}{\partial t}=0HH conserved, H=EH=EHH conserved, HEH\neq E
dHdt=Lt0\dfrac{dH}{dt}=-\dfrac{\partial L}{\partial t}\neq 0HH not conserved, H=EH=EHH not conserved, HEH\neq E

Note the following general facts regarding the Lagrangian and the Hamiltonian.

  1. the Lagrangian is indefinite with respect to addition of a constant to the scalar potential,

  2. the Lagrangian is indefinite with respect to addition of a constant velocity,

  3. there is no unique choice of generalized coordinates.

  4. the Hamiltonian is a scalar function that is derived from the Lagrangian scalar function.

  5. the generalized momentum is derived from the Lagrangian.

These facts, plus the ability to recognize the conditions under which HH is conserved, and when H=E,H=E, can greatly facilitate solving problems as shown by the following two examples.

7.11: Hamiltonian for Cyclic Coordinates

It is interesting to discuss the properties of the Hamiltonian for cyclic coordinates qkq_{k} for which Lqk=0\frac{\partial L}{\partial q_{k}}=0. Ignoring the external and Lagrange multiplier terms,

p˙k=Lqk=Hqk=0\dot{p}_{k}=\frac{\partial L}{\partial q_{k}}=-\frac{\partial H}{\partial q_{k}}=0

That is, a cyclic coordinate has a constant corresponding momentum pkp_{k} for the Hamiltonian as well as for the Lagrangian. Conversely, if a generalized coordinate does not occur in the Hamiltonian, then the corresponding generalized momentum is conserved. Cyclic coordinates were discussed earlier when discussing symmetries and conservation-law aspects of the Lagrangian. For example, if the Lagrangian, or Hamiltonian do not depend on a linear coordinate x,x, then pxp_{x} is conserved. Similarly for θ\theta and pθ.p_{\theta }. An extension of this principle has been derived for the relationship between time independence and total energy of a system, that is, the Hamiltonian equals the total energy if the transformation to generalized coordinates is time independent and the potential is velocity independent.

A valuable feature of the Hamiltonian formulation is that it allows elimination of cyclic variables which reduces the number of degrees of freedom to be handled. As a consequence, cyclic variables are called ignorable variables in Hamiltonian mechanics. For example, consider that the Lagrangian has one cyclic variable qnq_{n}. As a consequence, the Lagrangian does not depend on qnq_{n}, and thus it can be written as

L=L(q1,...,qn1;q˙1,...,q˙n;t).L=L(q_{1},...,q_{n-1};\dot{q}_{1},...,\dot{q}_{n};t). \nonumber

The Lagrangian still contains nn generalized velocities, thus one still has to treat nn degrees of freedom even though one degree of freedom qnq_{n} is cyclic. However, in the Hamiltonian formulation, only n1n-1 degrees of freedom are required since the momentum for the cyclic degree of freedom is a constant pn=α.p_{n}=\alpha . Thus the Hamiltonian can be written as

H=H(q1,...,qn1;p1,....,pn1;α;t).H=H(q_{1},...,q_{n-1};p_{1},....,p_{n-1};\alpha ;t). \nonumber

that is, the Hamiltonian includes only n1n-1 degrees of freedom. Thus the dimension of the problem has been reduced by one since the conjugate cyclic (ignorable) variables (qn,pn)(q_{n},p_{n}) are eliminated. Hamiltonian mechanics can significantly reduce the dimension of the problem when the system involves several cyclic variables. This is in contrast to the situation for the Lagrangian approach as discussed in chapters 8 and 15.

7.12: Symmetries and Invariance

This chapter has shown that the symmetries of a system lead to invariance of physical quantities as was proposed by Noether. The symmetry properties of the Lagrangian can lead to the conservation laws summarized in Table 7.12.1.

SymmetryLagrange propertyConserved quantity
Spatial invarianceTranslational invarianceLinear momentum
Spatial homogeneousRotational invarianceAngular momentum
Time invarianceTime independenceTotal energy

The importance of the relations between invariance and symmetry cannot be overemphasized. It extends beyond classical mechanics to quantum physics and field theory. For a three-dimensional closed system, there are three possible constants for linear momentum, three for angular momentum, and one for energy. It is especially interesting in that these, and only these, seven integrals have the property that they are additive for the particles comprising a system, and this occurs independent of whether there is an interaction among the particles. That is, this behavior is obeyed by the whole assemble of particles for finite systems. Because of its profound importance to physics, these relations between symmetry and invariance are used extensively.

7.13: Hamiltonian in Classical Mechanics

The Hamiltonian was defined by equation (7.7.6)(7.7.6) during the discussion of time invariance and energy conservation. The Hamiltonian is of much more profound importance to physics than implied by the ad hoc definition given by equation (7.7.6)(7.7.6). This relates to the fact that the Hamiltonian is written in terms of the fundamental coordinate qiq_{i} and its generalized momentum pip_{i} defined by equation (7.2.3)(7.2.3).

It is more convenient to write the nn generalized coordinates qi,q_{i}, plus their generalized momentum pi,p_{i}, as vectors, e.g. q(q1,q2,..qn)\mathbf{q}\equiv (q_{1},q_{2},..q_{n}), p(p1,p2,..pn)\mathbf{p}\equiv (p_{1},p_{2},..p_{n}). The generalized momenta conjugate to the coordinate qiq_{i}, defined by (7.2.3)(7.2.3), then can be written in the form

pi=L(q,q˙,t)q˙ip_{i}= \frac{\partial L(\mathbf{q,\dot{q},t)}}{\partial \dot{q}_{i}}

Substituting this definition of the generalized momentum into the Hamiltonian defined in (7.7.6)(7.7.6), and expressing it in terms of the coordinate q\mathbf{q} and its conjugate generalized momenta p\mathbf{p}, leads to

H(q,p,t)=ipiq˙iL(q,q˙,t)=pq˙L(q,q˙,t)\begin{aligned} H\left( \mathbf{q},\mathbf{p},t\right) &= \sum_{i}p_{i}\dot{q}_{i}-L(\mathbf{ q},\mathbf{\dot{q}},t) \\ &= \mathbf{p\cdot \dot{q}-}L(\mathbf{q},\mathbf{\dot{q}},t)\end{aligned}

Note that the scalar product pq˙=ipiq˙i\mathbf{p\cdot \dot{q}=}\sum_{i}p_{i}\dot{q} _{i} equals 2T2T for systems that are scleronomic and when the potential is velocity independent.

The crucial feature of the Hamiltonian is that it is expressed as H(q,p,t),H\left( \mathbf{q},\mathbf{p},t\right) , that is, it is a function of the nn generalized coordinates q\mathbf{q} and their conjugate momenta p\mathbf{p}, which are taken to be independent, in addition to the independent variable, tt. This is in contrast to the Lagrangian L(q,q˙,t)L(\mathbf{q},\mathbf{ \dot{q}},t) which is a function of the nn generalized coordinates qjq_{j}, the corresponding velocities q˙j\dot{q}_{j}, and time t.t. The velocities q˙\mathbf{\dot{q}} are the time derivatives of the coordinates q\mathbf{q} and thus these are related. In physics, the fundamental conjugate coordinates are (q,p),(\mathbf{q,p}), which are the coordinates underlying the Hamiltonian. This is in contrast to (q,q˙)(\mathbf{q,\dot{q}}) which are the coordinates that underlie the Lagrangian. Thus the Hamiltonian is more fundamental than the Lagrangian and is a reason why the Hamiltonian mechanics, rather than the Lagrangian mechanics, was used as the foundation for development of quantum and statistical mechanics.

Hamiltonian mechanics will be derived two other ways. Chapter 8 uses the Legendre transformation between the conjugate variables (q,q˙,t)\left( \mathbf{q}, \mathbf{\dot{q}},t\right) and (q,p,t)\left( \mathbf{q},\mathbf{p},t\right) where the generalized coordinate q\mathbf{q} and its conjugate generalized momentum, p\mathbf{p} are independent. This shows that Hamiltonian mechanics is based on the same variational principles as those used to derive Lagrangian mechanics. Chapter 9 derives Hamiltonian mechanics directly from Hamilton’s Principle of Least action. Chapter 8 will introduce the algebraic Hamiltonian mechanics, that is based on the Hamiltonian. The powerful capabilities provided by Hamiltonian mechanics will be described in chapter 15.

7.E: Symmetries, Invariance and the Hamiltonian (Exercises)

  1. Consider a particle of mass

    mm

    moving in a plane and subject to an inverse square attractive force.

    1. Obtain the equations of motion.

    2. Is the angular momentum about the origin conserved?

    3. Obtain expressions for the generalized forces.

  2. Consider a Lagrangian function of the form

    L(qi,qi˙,qi¨,t)L(q_{i},\dot{q_{i} },\ddot{q_{i}},t)

    . Here the Lagrangian contains a time derivative of the generalized coordinates that is higher than the first. When working with such Lagrangians, the term “generalized mechanics” is used.

    1. Consider a system with one degree of freedom. By applying the methods of the calculus of variations, and assuming that Hamilton’s principle holds with respect to variations which keep both qq and q˙\dot{q} fixed at the end points, show that the corresponding Lagrange equation is

d2dt2(Lq¨)ddt(Lq˙)+Lq=0.\frac{d^{2}}{dt^{2}}\left( \frac{\partial L}{\partial \ddot{q}}\right) - \frac{d}{dt}\left( \frac{\partial L}{\partial \dot{q}}\right) +\frac{ \partial L}{\partial q}=0.
  Such equations of motion have interesting applications in chaos theory.
  1. Apply this result to the Lagrangian

L=m2qq¨k2q2.L=-\frac{m}{2}q\ddot{q}-\frac{k}{2}q^{2}.
  Do you recognize the equations of motion?
  1. A uniform solid cylinder of radius

    RR

    and mass

    MM

    rests on a horizontal plane and an identical cylinder rests on it touching along the top of the first cylinder with the axes of both cylinders parallel. The upper cylinder is given an infinitessimal displacement so that both cylinders roll without slipping in the directions shown by the arrows.

    1. Find Lagrangian for this system

    2. What are the constants of motion?

    3. Show that as long as the cylinders remain in contact then

θ˙2=12g(1cosθ)R(17+4cosθ4cos2θ)\dot{\theta}^{2}=\frac{12g\left( 1-\cos \theta \right) }{R\left( 17+4\cos \theta -4\cos ^{2}\theta \right) }
  :::{figure} ../images/lt-21164-7.w.1.png
  :label: fig-7-E-1
  :enumerator: 7.E.1
  :alt: Figure
  :::
  1. Consider a diatomic molecule which has a symmetry axis along the line through the center of the two atoms comprising the molecule. Consider that this molecule is rotating about an axis perpendicular to the symmetry axis and that there are no external forces acting on the molecule. Use Noether’s Theorem to answer the following questions:

    1. Is the total angular momentum conserved?

    2. Is the projection of the total angular momentum along a space-fixed zz axis conserved?

    3. Is the projection of the angular momentum along the symmetry axis of the rotating molecule conserved?

    4. Is the projection of the angular momentum perpendicular to the rotating symmetry axis conserved?

  2. A bead of mass

    mm

    slides under gravity along a smooth wire bent in the shape of a parabola

    x2=azx^{2}=az

    in the vertical

    (x,z)(x,z)

    plane.

    1. What kind (holonomic, nonholonomic, scleronomic, rheonomic) of constraint acts on mm?

    2. Set up Lagrange’s equation of motion for xx with the constraint embedded.

    3. Set up Lagrange’s equations of motion for both xx and zz with the constraint adjoined and a Lagrangian multiplier λ\lambda introduced.

    4. Show that the same equation of motion for xx results from either of the methods used in part (b) or part (c).

    5. Express λ\lambda in terms of xx and x˙\dot{x}

    6. What are the xx and zz components of the force of constraint in terms of xx and x˙\dot{x} ?

  3. Let the horizontal plane be the xyx-y plane. A bead of mass mm is constrained to slide with speed vv along a curve described by the function y=f(x)y=f(x). What force does the curve apply to the bead? (Ignore gravity)

  4. Consider the Atwoods machine shown. The masses are 4m4m, 5m5m, and 3m3m. Let xx and yy be the heights of the right two masses relative to their initial positions.

    1. Solve this problem using the Euler-Lagrange equations b) Use Noether’s theorem to find the conserved momentum.

    2. Use Noether’s theorem to find the conserved momentum.

      Figure
  5. A cube of side

    2b2b

    and center of mass

    CC

    , is placed on a fixed horizontal cylinder of radius

    rr

    and center

    OO

    as shown in the figure. Originally the cube is placed such that

    CC

    is centered above

    OO

    but it can roll from side to side without slipping. (a) Assuming that

    b<rb<r

    use the Lagrangian approach to find the frequency for small oscillations about the top of the cylinder. For simplicity make the small angle approximation for

    LL

    before using the Lagrange-Euler equations. (b) What will be the motion if

    b>rb>r

    ? Note that the moment of inertia of the cube about the center of mass is

    23mb2\frac{2}{3}mb^{2}

    .

    Figure
  6. Two equal masses of mass

    mm

    are glued to a massless hoop of radius

    RR

    is free to rotate about its center in a vertical plane. The angle between the masses is

    2θ2\theta

    , as shown. Find the frequency of oscillations.

    Figure
  7. Three massless sticks each of length

    2r2r

    , and mass

    mm

    with the center of mass at the center of each stick, are hinged at their ends as shown. The bottom end of the lower stick is hinged at the ground. They are held so that the lower two sticks are vertical, and the upper one is tilted at a small angle

    ε\varepsilon

    with respect to the vertical. They are then released. At the instant of release what are the three equations of motion derived from the Lagrangian derived assuming that

    ε\varepsilon

    is small

    ??

    Use these to determine the initial angular accelerations of the three sticks.

    Figure

7.S: Symmetries, Invariance and the Hamiltonian (Summary)

This chapter has explored the importance of symmetries and invariance in Lagrangian mechanics and has introduced the Hamiltonian. The following summarizes the important conclusions derived in this chapter.

Noether’s theorem:

Noether’s theorem explores the remarkable connection between symmetry, plus the invariance of a system under transformation, and related conservation laws which imply the existence of important physical principles, and constants of motion. Transformations where the equations of motion are invariant are called invariant transformations. Variables that are invariant to a transformation are called cyclic variables. It was shown that if the Lagrangian does not explicitly contain a particular coordinate of displacement, qiq_{i} then the corresponding conjugate momentum, p˙i\dot{p}_{i} is conserved. This is Noether’s theorem which states “ For each symmetry of the Lagrangian, there is a conserved quantity" . In particular it was shown that translational invariance in a given direction leads to the conservation of linear momentum in that direction, and rotational invariance about an axis leads to conservation of angular momentum about that axis. These are the first-order spatial and angular integrals of the equations of motion. Noether’s theorem also relates the properties of the Hamiltonian to time invariance of the Lagrangian, namely;

(1) HHis conserved if, and only if, the Lagrangian, and consequently the Hamiltonian, are not explicit functions of time.

(2) The Hamiltonian gives the total energy if the constraints and coordinate transformations are time independent and the potential energy is velocity independent. This is equivalent to stating that H=EH=E if the constraints, or generalized coordinates, for the system are time independent.

Noether’s theorem is of importance since it underlies the relation between symmetries, and invariance in all of physics; that is, its applicability extends beyond classical mechanics.

Generalized momentum:

The generalized momentum associated with the coordinate qjq_{j} is defined to be

Lq˙jpj(7.3)\frac{\partial L}{\partial \dot{q}_{j}}\equiv p_{j} \tag{7.3}

where pjp_{j} is also called the conjugate momentum (orcanonical momentum) to qjq_{j} where qj,pjq_{j},p_{j} are conjugate, or canonical, variables. Remember that the linear momentum pjp_{j} is the first-order time integral given by equation (3.4.1)(3.4.1). Note that if qjq_{j} is not a spatial coordinate, then pjp_{j} is not linear momentum, but is the conjugate momentum. For example, if qjq_{j} is an angle, then pjp_{j} will be angular momentum.

Kinetic energy in generalized coordinates:

It was shown that the kinetic energy can be expressed in terms of generalized coordinates by $$

T(q,q˙,t)=αi,j,k12mαxα,iqjxα,iqkq˙jq˙k+αi,jmαxα,iqjxα,itq˙j+αi12mα(xα,it)2=T2(q,q˙,t)+T1(q,q˙,t)+T0(q,t)\begin{align} T(\mathbf{q},\mathbf{ \dot{q}},t) &=&\sum_{\alpha }\sum_{i,j,k}\frac{1}{2}m_{\alpha }\frac{ \partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{ \partial q_{k}}\dot{q}_{j}\dot{q}_{k}+\sum_{\alpha }\sum_{i,j}m_{\alpha } \frac{\partial x_{\alpha ,i}}{\partial q_{j}}\frac{\partial x_{\alpha ,i}}{ \partial t}\dot{q}_{j}+\sum_{\alpha }\sum_{i}\frac{1}{2}m_{\alpha }\left( \frac{\partial x_{\alpha ,i}}{\partial t}\right) ^{2} \tag{7.19} \\ &=&T_{2}(\mathbf{q},\mathbf{\dot{q}},t)+T_{1}(\mathbf{q},\mathbf{\dot{q}} ,t)+T_{0}(\mathbf{q},t)\end{align}

$$

For scleronomic systems with a potential that is velocity independent, then the kinetic energy can be expressed as

T=T2=12lq˙lpl=12q˙p(7.31)T=T_{2}=\frac{1}{2}\sum_{l}\dot{q}_{l}p_{l}=\frac{1}{2}\mathbf{\dot{q}\cdot p } \tag{7.31}

Generalized energy

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

h(q,q˙,t)j(q˙jLq˙j)L(q,q˙,t)(7.36)h(\mathbf{q},\mathbf{ \dot{q}},t)\equiv \sum_{j}\left( \dot{q}_{j}\frac{\partial L}{\partial \dot{q }_{j}}\right) -L(\mathbf{q},\mathbf{\dot{q}},t) \tag{7.36}

Hamiltonian function

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

H(q,p,t)h(q,q˙,t)=jpjq˙jL(q,q˙,t)=pq˙L(q,q˙,t)(7.37)H\left( \mathbf{q,p,}t\right) \equiv h(\mathbf{q},\mathbf{\dot{q}} ,t)=\sum_{j}p_{j}\dot{q}_{j}-L(\mathbf{q},\mathbf{\dot{q}},t)=\mathbf{p\cdot \dot{q}-}L(\mathbf{q},\mathbf{\dot{q}},t) \tag{7.37}

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\left( \mathbf{q,p,}t\right) }{dt}=\sum_{j}\dot{q}_{j}\left[ Q_{j}^{EXC}+\sum_{k=1}^{m}\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 are zero, then the bracket in Equation 7.38 is zero, and if the Lagrangian is not an explicit function of time, then the Hamiltonian is a constant of motion.

Generalized energy and total energy:

The generalized energy, and corresponding Hamiltonian, equal the total energy if:

  1. The kinetic energy has a homogeneous quadratic dependence on the generalized velocities and the transformation to generalized coordinates is independent of time,**xα,it=0.\frac{\partial x_{\alpha ,i}}{\partial t}=0.

  2. The**potential energy is not velocity dependent,**thus the terms Uq˙i=0.\frac{\partial U}{\partial \dot{q}_{i}}=0.

Chapter 8 will introduce Hamiltonian mechanics that is built on the Hamiltonian, and chapter 15 will explore applications of Hamiltonian mechanics.

Footnotes
  1. Most textbooks call the function h(q,q˙,t)h(\mathbf{q},\mathbf{\dot{q}},t) Jacobi’s energy integral. This book adopts the more descriptive name Generalized energy in analogy with use of generalized coordinates q\mathbf{q} and generalized momentum p\mathbf{p}.