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 n degrees of freedom, imply 2n 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.
Consider a holonomic system of N masses under the influence of conservative forces that depend on position qj but not velocity q˙j, that is, the potential is velocity independent. Then for the x coordinate of particle i for N particles
Thus for a holonomic, conservative, velocity-independent potential we have
∂x˙i∂L=pi,x(7.2)
which is the x component of the linear momentum for the ith particle.
This result suggests an obvious extension of the concept of momentum to generalized coordinates. The generalized momentum associated with the coordinate qj is defined to be
∂q˙j∂L≡pj(7.3)
Note that pj also is called the conjugate momentum orcanonical momentum to qj where qj,pj are conjugate, or canonical, variables. Remember that the linear momentum pj is the first-order time integral given by equation (2.4.1). If qj is not a spatial coordinate, then pj is the generalized momentum, not the kinematic linear momentum. For example, if qj is an angle, then pj 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˙ definition of linear momentum in classical mechanics. This is illustrated by the case of a moving charged particles mj,ej in an electromagnetic field. Chapter 6 showed that electromagnetic forces on a charge ej can be described in terms of a scalar potential Uj where
Uj=ej(Φ−A⋅vj)(7.4)
Thus the Lagrangian for the electromagnetic force can be written as
L=j=1∑N[21mjvj⋅vj−ej(Φ−A⋅vj)](7.5)
The generalized momentum to the coordinate xj for charge ej, and mass mj, is given by the above Lagrangian
pj,x=∂x˙j∂L=mjx˙j+ejAx(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, a reversible point transformation can define another set of coordinates qj′ such that
qj′=qj′(q1,q2,..qn;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)
The Lagrangian is a scalar, with units of energy, which does not change if the coordinate representation is changed. Thus L(q′,q˙′,t) can be derived from L(q,q˙,t) by substituting the inverse relation qi=qi(q1′,q2′,..qn′;t) into L(q,q˙,t). That is, the value of the Lagrangian L 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, then the corresponding conjugate momentum, pi, 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), and θ(t), plus their conjugate momenta px and pθ. For a closed system, these provide up to six possible conservation laws for the three axes. Then we will discuss the independent variable 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) to be
This can be written in terms of the generalized momentum as
{dtdpj−∂qj∂L}=k=1∑mλk∂qj∂gk(q,t)+QjEXC
or equivalently as
p˙j=∂qj∂L+[k=1∑mλk∂qj∂gk(q,t)+QjEXC]
Note that if the Lagrangian L does not contain qi 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
∂qj∂L+[k=1∑mλk∂qj∂gk(q,t)+QjEXC]=0
In this case the Lagrange equation reduces to
p˙j=dtdpj=0(7.13)
Equation 7.13 corresponds to pj being a constant of motion. Stated in words, the generalized momentumpiis a constant of motion if the Lagrangian is invariant to a spatial translation ofqi, and the constraint plus generalized force terms are zero. Expressed another way, if the Lagrangian does not contain a given coordinate qi 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. For example, in the uniform gravitational field at the surface of the earth, the Lagrangian does not depend on the x and y coordinates in the horizontal plane, thus px and py are conserved, whereas, due to the gravitational force, the Lagrangian does depend on the vertical z axis and thus pz is not conserved.
7.4: Rotational invariance and conservation of angular momentum¶
The arguments, used above, apply equally well to conjugate momenta pθ and θ for rotation about any axis. The Lagrange equation is
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 θ, then ∂θ∂L=0, and assuming that the constraint plus generalized torques are zero, then pθ 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.
Translational and rotational invariance occurs when a system has a cyclic coordinate qk.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
dtd∂q˙k∂L−∂qk∂L=0
then a cyclic coordinate qk, is one for which ∂qk∂L=0. Thus
dtd∂q˙k∂L=p˙k=0
that is, pkis a constant of motion if the conjugate coordinateqkis cyclic. This is just Noether’s Theorem.
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 N bodies, each having three degrees of freedom, is expressed as
T=21α=1∑Ni=1∑3mαx˙α,i2(7.17)
These can be expressed in terms of generalized coordinates as xα,i=xα,i(qj,t) and in terms of generalized velocities
x˙α,i=j=1∑s∂qj∂xα,iq˙j+∂t∂xα,i
Taking the square of x˙α,i and inserting into the kinetic energy relation gives
When the transformed system is scleronomic, time does not appear explicitly in the transformation equations to generalized coordinates since**∂t∂xα,i=0. Then T1=T0=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)
A useful relation can be derived by taking the differential of Equation 7.21 with respect to q˙l. That is
Equation 7.25 gives that T=T2 when the transformed system is scleronomic, i.e. ∂t∂xα,i=0, and then the kinetic energy is a quadratic function of the generalized velocities q˙j. Using the definition of the generalized momentum equation (7.2.3), assuming T=T2, and that the potential U is velocity independent, gives that
pl≡∂q˙l∂L=∂q˙l∂T−∂q˙l∂U=∂q˙l∂T2
Then Equation 7.27 reduces to the useful relation that
T2=21l∑q˙lpl=21q˙⋅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
The holonomic constraints can be accounted for using the Lagrange multiplier terms while the generalized force QjEXC 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
Define Jacobi’s Generalized Energy[1]** h(q,q˙,t) by
h(q,q˙,t)≡j∑(q˙j∂q˙j∂L)−L(q,q˙,t)
Jacobi’s generalized momentum, equation 7.2.3, can be used to express the generalized energy h(q,q˙,t) in terms of the canonical coordinates q˙i and pi, plus time t. Define the Hamiltonian function to equal the generalized energy expressed in terms of the conjugate variables (qj,pj), that is,
This Hamiltonian H(q,p,t) underlies Hamiltonian mechanics which plays a profoundly important role in most branches of physics as illustrated in chapters 8,15 and 18.
Note that for the special case where all the external forces [QjEXC+∑k=1mλk∂qj∂gk(q,t)]=0, then
dtdH=−∂t∂L
Thus the Hamiltonian is time independent if both**[QjEXC+∑k=1mλk∂qj∂gk(q,t)]=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
dtd[j∑(q˙j∂q˙j∂L)−L]=dtdH=−∂t∂L=0
As a consequence, the Hamiltonian H(q,p,t), and generalized energy h(q,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.
Using equations (7.6.12), (7.6.13), (7.6.14) gives that the total generalized Hamiltonian H(q,p,t) equals
H(q,p,t)=2T2+T1−(T2+T1+T0−U)=T2−T0+U(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)
Note that Jacobi’s generalized energy and the Hamiltonian do not equal the total energy E. However, in the special case where the transformation is scleronomic, then T1=T0=0, and if the potential energy U does not depend explicitly of q˙i, then the**generalized energy (Hamiltonian) equals the total energy,that is, H=E. Recognition of the relation between the Hamiltonian and the total energy facilitates determining the equations of motion.
Chapters 7.8,7.9 addressed two important and independent features of the Hamiltonian regarding: a) when H is conserved, and b) when H 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.
and if the Lagrangian is not an explicit function of time, then the Hamiltonian is a constant of motion. That is,**His conserved if, and only if, the Lagrangian, and consequently the Hamiltonian, are not explicit functions of time, and if the external forces are zero.
The kinetic energy has a homogeneous quadratic dependence on the generalized velocities, that is, the transformation to generalized coordinates is independent of time,**∂t∂xα,i=0.
The**potential energy is not velocity dependent,**thus the terms ∂q˙i∂U=0.
Then equation (7.9.5) implies that the Hamiltonian equals the total mechanical energy, that is,
H=T+U=E(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=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.
Hamiltonian
Constraints and coordinate transformation
Constraints and coordinate transformation
Time behavior
Time independent
Time dependent
dtdH=−∂t∂L=0
H conserved, H=E
H conserved, H=E
dtdH=−∂t∂L=0
H not conserved, H=E
H not conserved, H=E
Note the following general facts regarding the Lagrangian and the Hamiltonian.
the Lagrangian is indefinite with respect to addition of a constant to the scalar potential,
the Lagrangian is indefinite with respect to addition of a constant velocity,
there is no unique choice of generalized coordinates.
the Hamiltonian is a scalar function that is derived from the Lagrangian scalar function.
the generalized momentum is derived from the Lagrangian.
These facts, plus the ability to recognize the conditions under which H is conserved, and when H=E, can greatly facilitate solving problems as shown by the following two examples.
It is interesting to discuss the properties of the Hamiltonian for cyclic coordinates qk for which ∂qk∂L=0. Ignoring the external and Lagrange multiplier terms,
p˙k=∂qk∂L=−∂qk∂H=0
That is, a cyclic coordinate has a constant corresponding momentum pk 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, then px is conserved. Similarly for θ and pθ. 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 qn. As a consequence, the Lagrangian does not depend on qn, and thus it can be written as
L=L(q1,...,qn−1;q˙1,...,q˙n;t).
The Lagrangian still contains n generalized velocities, thus one still has to treat n degrees of freedom even though one degree of freedom qn is cyclic. However, in the Hamiltonian formulation, only n−1 degrees of freedom are required since the momentum for the cyclic degree of freedom is a constant pn=α. Thus the Hamiltonian can be written as
H=H(q1,...,qn−1;p1,....,pn−1;α;t).
that is, the Hamiltonian includes only n−1 degrees of freedom. Thus the dimension of the problem has been reduced by one since the conjugate cyclic (ignorable) variables (qn,pn) 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.
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.
Symmetry
Lagrange property
Conserved quantity
Spatial invariance
Translational invariance
Linear momentum
Spatial homogeneous
Rotational invariance
Angular momentum
Time invariance
Time independence
Total 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.
The Hamiltonian was defined by equation (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). This relates to the fact that the Hamiltonian is written in terms of the fundamental coordinate qi and its generalized momentum pi defined by equation (7.2.3).
It is more convenient to write the n generalized coordinates qi, plus their generalized momentum pi, as vectors, e.g. q≡(q1,q2,..qn), p≡(p1,p2,..pn). The generalized momenta conjugate to the coordinate qi, defined by (7.2.3), then can be written in the form
pi=∂q˙i∂L(q,q˙,t)
Substituting this definition of the generalized momentum into the Hamiltonian defined in (7.7.6), and expressing it in terms of the coordinate q and its conjugate generalized momenta p, leads to
Note that the scalar product p⋅q˙=∑ipiq˙i equals 2T 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), that is, it is a function of the n generalized coordinates q and their conjugate momenta p, which are taken to be independent, in addition to the independent variable, t. This is in contrast to the Lagrangian L(q,q˙,t) which is a function of the n generalized coordinates qj, the corresponding velocities q˙j, and time t. The velocities q˙ are the time derivatives of the coordinates q and thus these are related. In physics, the fundamental conjugate coordinates are (q,p), which are the coordinates underlying the Hamiltonian. This is in contrast to (q,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) and (q,p,t) where the generalized coordinate q and its conjugate generalized momentum, 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)¶
Consider a particle of mass
m
moving in a plane and subject to an inverse square attractive force.
Obtain the equations of motion.
Is the angular momentum about the origin conserved?
Obtain expressions for the generalized forces.
Consider a Lagrangian function of the form
L(qi,qi˙,qi¨,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.
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 q and q˙ fixed at the end points, show that the corresponding Lagrange equation is
dt2d2(∂q¨∂L)−dtd(∂q˙∂L)+∂q∂L=0.
Such equations of motion have interesting applications in chaos theory.
Apply this result to the Lagrangian
L=−2mqq¨−2kq2.
Do you recognize the equations of motion?
A uniform solid cylinder of radius
R
and mass
M
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.
Find Lagrangian for this system
What are the constants of motion?
Show that as long as the cylinders remain in contact then
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:
Is the total angular momentum conserved?
Is the projection of the total angular momentum along a space-fixed z axis conserved?
Is the projection of the angular momentum along the symmetry axis of the rotating molecule conserved?
Is the projection of the angular momentum perpendicular to the rotating symmetry axis conserved?
A bead of mass
m
slides under gravity along a smooth wire bent in the shape of a parabola
x2=az
in the vertical
(x,z)
plane.
What kind (holonomic, nonholonomic, scleronomic, rheonomic) of constraint acts on m?
Set up Lagrange’s equation of motion for x with the constraint embedded.
Set up Lagrange’s equations of motion for both x and z with the constraint adjoined and a Lagrangian multiplier λ introduced.
Show that the same equation of motion for x results from either of the methods used in part (b) or part (c).
Express λ in terms of x and x˙
What are the x and z components of the force of constraint in terms of x and x˙ ?
Let the horizontal plane be the x−y plane. A bead of mass m is constrained to slide with speed v along a curve described by the function y=f(x). What force does the curve apply to the bead? (Ignore gravity)
Consider the Atwoods machine shown. The masses are 4m, 5m, and 3m. Let x and y be the heights of the right two masses relative to their initial positions.
Solve this problem using the Euler-Lagrange equations b) Use Noether’s theorem to find the conserved momentum.
Use Noether’s theorem to find the conserved momentum.
A cube of side
2b
and center of mass
C
, is placed on a fixed horizontal cylinder of radius
r
and center
O
as shown in the figure. Originally the cube is placed such that
C
is centered above
O
but it can roll from side to side without slipping. (a) Assuming that
b<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
L
before using the Lagrange-Euler equations. (b) What will be the motion if
b>r
? Note that the moment of inertia of the cube about the center of mass is
32mb2
.
Two equal masses of mass
m
are glued to a massless hoop of radius
R
is free to rotate about its center in a vertical plane. The angle between the masses is
2θ
, as shown. Find the frequency of oscillations.
Three massless sticks each of length
2r
, and mass
m
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
ε
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
ε
is small
?
Use these to determine the initial angular accelerations of the three sticks.
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 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, qi then the corresponding conjugate momentum, 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) His 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=Eif 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.
The generalized momentum associated with the coordinate qj is defined to be
∂q˙j∂L≡pj(7.3)
where pj is also called the conjugate momentum (orcanonical momentum) to qj where qj,pj are conjugate, or canonical, variables. Remember that the linear momentum pj is the first-order time integral given by equation (3.4.1). Note that if qj is not a spatial coordinate, then pj is not linear momentum, but is the conjugate momentum. For example, if qj is an angle, then pj will be angular momentum.
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.
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.
The generalized energy, and corresponding Hamiltonian, equal the total energy if:
The kinetic energy has a homogeneous quadratic dependence on the generalized velocities and the transformation to generalized coordinates is independent of time,**∂t∂xα,i=0.
The**potential energy is not velocity dependent,**thus the terms ∂q˙i∂U=0.
Chapter 8 will introduce Hamiltonian mechanics that is built on the Hamiltonian, and chapter 15 will explore applications of Hamiltonian mechanics.
Most textbooks call the function h(q,q˙,t)Jacobi’s energy integral. This book adopts the more descriptive name Generalized energy in analogy with use of generalized coordinates q and generalized momentum p.