15.1: Introduction to Advanced Hamiltonian Mechanics¶
This study of classical mechanics has involved climbing a vast mountain of knowledge, while the pathway to the top has led us to elegant and beautiful theories that underlie much of modern physics. Being so close to the summit provides the opportunity to take a few extra steps in order to provide a glimpse of applications to physics at the summit. These are described in chapters 15−18.
Hamilton’s development of Hamiltonian mechanics in 1834 is the crowning achievement for applying variational principles to classical mechanics. A fundamental advantage of Hamiltonian mechanics is that it uses the conjugate coordinates q,p, plus time t, 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. 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 introduces the following four techniques in Hamiltonian mechanics:
the elegant Poisson bracket representation of Hamiltonian mechanics, which played a pivotal role in the development of quantum theory;
the powerful Hamilton-Jacobi theory coupled with Jacobi’s development of canonical transformation theory;
action-angle variable theory; and
canonical perturbation theory.
Prior to further development of the theory of Hamiltonian mechanics, it is useful to summarize the major formula relevant to Hamiltonian mechanics that have been presented in chapters 7, 8, and 9.
where q,p correspond to n-dimensional vectors, e.g. q≡(q1,q2,...,qn) and the scalar product p⋅q˙=∑ipiq˙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) is expressed in terms of the coordinates q, plus conjugate velocities q˙, the Hamiltonian H(q,p,t) is expressed in terms of the coordinates q plus their conjugate momenta p. For scleronomic systems, plus assuming the standard Lagrangian, then equations (7.9.4) and (7.6.13) give that the Hamiltonian simplifies to equal the total mechanical energy, that is, H=T+U.
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 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.
Chapter 8.3 showed that a Legendre transform plus the Lagrange-Euler equations led 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=∂pj∂H(q,p,t)
p˙j=−∂qj∂H(q,p,t)+[k=1∑mλk∂qj∂gk+QjEXC]
∂t∂H(q,p,t)=−∂t∂L(q,q˙,t)
Note the symmetry of Hamilton’s two canonical equations. The canonical variables pk,qk 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 2s first-order differential equations for pk,qk for each of the s degrees of freedom. Lagrange’s equations give s second-order differential equations for the variables qk,q˙k.
Hamilton used Hamilton’s Principle to derive the Hamilton-Jacobi equation (9.2.17).
∂t∂S+H(q,p,t)=0
The solution of Hamilton’s equations is trivial if the Hamiltonian is a constant of motion, or when a set of generalized coordinates can be identified for which all the coordinates qi are constant, or are cyclic (also called ignorable coordinates). Jacobi developed the mathematical framework of canonical transformations required to exploit the Hamilton-Jacobi equation.
15.2: Poisson bracket Representation of Hamiltonian Mechanics¶
Poisson brackets were developed by Poisson, who was a student of Lagrange. Hamilton’s canonical equations of motion describe the time evolution of the canonical variables (q,p) in phase space. Jacobi showed that the framework of Hamiltonian mechanics can be restated in terms of the elegant and powerful Poisson bracket formalism. The Poisson bracket representation of Hamiltonian mechanics provides a direct link between classical mechanics and quantum mechanics.
The Poisson bracket of any two continuous functions of generalized coordinates F(p,q) and G(p,q), is defined to be
Note that the above definition of the Poisson bracket, written using the common brace notation, leads to the following identity, antisymmetry, linearity, Leibniz rules, and Jacobi Identity.
where G, H, and Y are functions of the canonical variables plus time. Jacobi’s identity; 15.17 states that the sum of the cyclic permutation of the double Poisson brackets of three functions is zero. Jacobi’s identity plays a useful role in Hamiltonian mechanics as will be shown.
In summary, the fundamental Poisson brackets equal
{qk,ql}qp=0
{pk,pl}qp=0
{qk,pl}qp=−{pl,qk}qp=δkl
Note that the Poisson bracket is antisymmetric under interchange in p and q. It is interesting that the only non-zero fundamental Poisson bracket is for conjugate variables where k=l, that is
{qk,pk}pq=1
Poisson bracket invariance to canonical transformations¶
The Poisson brackets are invariant under a canonical transformation from one set of canonical variables (qk,pk) to a new set of canonical variables (Qk,Pk) where Qk→Qk(q,p) and Pk→Pk(q,p). This is shown by transforming Equation 15.12 to the new variables by the following derivation
Let F=Qk and replace G by F, and use the fact that the fundamental Poisson brackets {Qk,Qj}qp=0 and {Qk,Pj}qp=δjk, then Equation 15.25 reduces to
Thus the canonical variable subscripts (q,p) and (Q,P) can be ignored since the Poisson bracket is invariant to any canonical transformation of canonical variables. The counter argument is that if the Poisson bracket is independent of the transformation, then the transformation is canonical.
Correspondence of the Commutator and the Poisson Bracket¶
In classical mechanics there is a formal correspondence between the Poisson bracket and the commutator. This can be shown by deriving the Poisson Bracket of four functions taken in two pairs. The derivation requires deriving the two possible Poisson Brackets involving three functions.
These two Poisson Brackets for three functions can be used to derive the Poisson Bracket of four functions, taken in pairs. This can be accomplished two ways using either Equation 15.33 or 15.34.
Since the left-hand ratio holds for F1,G1 independent of F2,G2, and vise versa, then they must equal a constant λ that does not depend on F1,G1, does not depend on F2,G2, and λ must commute with (F1G1−G1F1). That is, λ must be a constant number independent of these variables.
Equation 15.38 is an especially important result which states that to within a multiplicative constant numberλ, there is a one-to-one correspondence between the Poisson Bracket and the commutator of two independent functions. An important implication is that if two functions,FiGkhave a Poisson Bracket that is zero, then the commutator of the two functions also must be zero, that is,FiandGkcommute.
Consider the special case where the variables F1 and G1 correspond to the fundamental canonical variables, (qk,pl). Then the commutators of the fundamental canonical variables are given by
qkpl−plqk=λ{qk,pl}=λδkl
qkql−qlqk=λ{qk,ql}=0
pkpl−plpk=λ{pk,pl}=0
In 1925, Paul Dirac, a 23-year old graduate student at Bristol, recognized that the formal correspondence between the Poisson bracket in classical mechanics, and the corresponding commutator, provides a logical and consistent way to bridge the chasm between the Hamiltonian formulation of classical mechanics, and quantum mechanics. He realized that making the assumption that the constant λ≡iℏ, leads to Heisenberg’s fundamental commutation relations in quantum mechanics, as is discussed in chapter 18.3.1. Assuming that λ≡iℏ provides a logical and consistent way that builds quantization directly into classical mechanics, rather than using ad-hoc, case-dependent, hypotheses as was used by the older quantum theory of Bohr.
Poisson brackets, and the corresponding commutation relations, are especially useful for elucidating which observables are constants of motion, and whether any two observables can be measured simultaneously and exactly. The properties of any observable are determined by the following two criteria.
The total time differential of a function G(qi,pi,t) is defined by
dtdG=∂t∂G+i∑(∂qi∂Gq˙i+∂pi∂Gp˙i)
Hamilton’s canonical equations give that
q˙i=∂pi∂H
p˙i=−∂qi∂H
Substituting these in the above relation gives
dtdG=∂t∂G+i∑(∂qi∂G∂pi∂H−∂pi∂G∂qi∂H)
that is
dtdG=∂t∂G+{G,H}(15.45)
This important equation states that the total time derivative of any function G(q,p,t) can be expressed in terms of the partial time derivative plus the Poisson bracket of G(q,p,t) with the Hamiltonian.
Any observable G(p,q,t) will be a constant of motion if dtdG=0, and thus Equation 15.45 gives
∂t∂G+{G,H}=0(If G is a constant of motion)
That is, it is a constant of motion when
∂t∂G={H,G}
Moreover, this can be extended further to the statement that if the constant of motionGis not explicitly time dependentthen
{G,H}=0
The Poisson bracket with the Hamiltonian is zero for a constant of motion G that is not explicitly time dependent. Often it is more useful to turn this statement around with the statement that if{G,H}=0, and∂t∂G=0, thendtdG=0, implying thatGis a constant of motion.
Consider two observables F(p,q,t) and G(p,q,t). The independence of these two observables is determined by the Poisson bracket
{F,G}=−{G,F}
If this Poisson bracket is zero, that is, if the two observables F(p,q,t) and G(p,q,t) commute, then their values are independent and can be measured independently. However, if the Poisson bracket {F,G}=0, that is F(p,q,t) and G(p,q,t) do not commute, then F and G are correlated since interchanging the order of the Poisson bracket changes the sign which implies that the measured value for F depends on whether G is simultaneously measured.
A useful property of Poisson brackets is that if F and G both are constants of motion, then the double Poisson bracket {H,{F,G}}=0. This can be proved using Jacobi’s identity
{F,{G,H}}+{G,{H,F}}+{H,{F,G}}=0(15.49)
If {G,H}=0 and {F,H}=0, then {H,{F,G}}=0, that is, the Poisson bracket {F,G} commutes with H. Note that if F and G do not depend explicitly on time, that is ∂t∂F=∂t∂G=0, then combining equations 15.45 and 15.49 leads to Poisson’s Theorem that relates the total time derivatives.
dtd{F,G}={dtdF,G}+{F,dtdG}
This implies that if F and G are invariants, that is dtdF=dtdG=0, then the Poisson bracket {F,G} is an invariant if F and G are not explicitly time dependent.
An especially important application of Poisson brackets is that Hamilton’s canonical equations of motion can be expressed directly in the Poisson bracket form. The Poisson bracket representation of Hamiltonian mechanics has important implications to quantum mechanics as will be described in chapter 18.
In Equation 15.45 assume that G is a fundamental coordinate, that is, G≡qk,. Since qk is not explicitly time dependent, then
Thus, it is seen that the Poisson bracket form of the equations of motion includes the Hamilton equations of motion. That is,
q˙k={qk,H}=∂pk∂H(15.57)
p˙k={pk,H}=−∂qk∂H(15.58)
The above shows that the full structure of Hamilton’s equations of motion can be expressed directly in terms of Poisson brackets.
The elegant formulation of Poisson brackets has the same form in all canonical coordinates as the Hamiltonian formulation. However, the normal Hamilton canonical equations in classical mechanics assume implicitly that one can specify the exact position and momentum of a particle simultaneously at any point in time which is applicable only to classical mechanics variables that are continuous functions of the coordinates, and not to quantized systems. The important feature of the Poisson Bracket representation of Hamilton’s equations is that it generalizes Hamilton’s equations into a form 15.57, 15.58 where the Poisson bracket is equally consistent with both classical and quantum mechanics in that it allows for non-commuting canonical variables and Heisenberg’s Uncertainty Principle. Thus the generalization of Hamilton’s equations, via use of the Poisson brackets, provides one of the most powerful analytic tools applicable to both classical and quantal dynamics. It played a pivotal role in derivation of quantum theory as described in chapter 18.
Liouvilles Theorem illustrates an application of Poisson Brackets to Hamiltonian phase space that has important implications for statistical physics. The trajectory of a single particle in phase space is completely determined by the equations of motion if the initial conditions are known. However, many-body systems have so many degrees of freedom it becomes impractical to solve all the equations of motion of the many bodies. An example is a statistical ensemble in a gas, a plasma, or a beam of particles. Usually it is not possible to specify the exact point in phase space for such complicated systems. However, it is possible to define an ensemble of points in phase space that encompasses all possible trajectories for the complicated system. That is, the statistical distribution of particles in phase space can be specified.
Figure 15.2.1:Infinitessimal element of area in phase space
Consider a density ρ of representative points in (q,p) phase space. The number N of systems in the volume element dv is
N=ρdv
where it is assumed that the infinitessimal volume element dv=dq1,dq2....dqs,dp1,dp2....dps contains many possible systems so that ρ can be considered a continuous distribution. For the conjugate variables (qi,pi) shown in Figure 15.2.1, the number of representative points moving across the left-hand edge into the area per unit time is
ρq˙idpi
The number of representative points flowing out of the area along the right-hand edge is
[ρq˙i+∂qi∂(ρq˙i)dqi]dpi
Hence the net increase in ρ in the infinitessimal rectangular element dqidpi due to flow in the horizontal direction is
−∂qi∂(ρq˙i)dqidpi
Similarly, the net gain due to flow in the vertical direction is
−∂pi∂(ρp˙i)dpidqi
Thus the total increase in the element dqidpi per unit time is therefore
−[∂qi∂(ρq˙i)+∂pi∂(ρp˙i)]dpidqi
Assume that the total number of points must be conserved, then the total increase in the number of points inside the element dqidpi must equal the net changes in ρ on the infinitessimal surface element per unit time. That is
This is called Liouville’s theorem which states that the rate of change of density of representative points vanishes, that is, the density of points is a constant in the Hamiltonian phase space along a specific trajectory. Liouville’s theorem means that the system acts like an incompressible fluid that moves such as to occupy an equal volume in phase space at every instant, even though the shape of the phase-space volume may change, that is, the phase-space density of the fluid remains constant. Equation 15.70 is another illustration of the basic Poisson bracket relation 15.45 and the usefulness of Poisson brackets in physics.
Liouville’s theorem is crucially important to statistical mechanics of ensembles where the exact knowledge of the system is unknown, only statistical averages are known. An example is in focussing of beams of charged particles by beam handling systems. At a focus of the beam, the transverse width in x is minimized, while the width in px is largest since the beam is converging to the focus, whereas a parallel beam has maximum width x and minimum spreading width px. However, the product xpx remains constant throughout the focussing system. For a two dimensional beam, this applies equally for the y and py coordinates, etc. It is obvious that the final beam quality for any beam transport system is ultimately limited by the emittance of the source of the beam, that is, the initial area of the phase space distribution. Note that Liouville’s theorem only applies to Hamiltonian qi−pi phase space, not to x−x˙ Lagrangian state space. As a consequence, Hamiltonian dynamics, rather than Lagrange dynamics, is used to discuss ensembles in statistical physics.
Note that Liouville’s theorem is applicable only for conservative systems, that is, where Hamilton’s equations of motion apply. For dissipative systems the phase space volume shrinks with time rather than being a constant of the motion.
15.3: Canonical Transformations in Hamiltonian Mechanics¶
Hamiltonian mechanics is an especially elegant and powerful way to derive the equations of motion for complicated systems. Unfortunately, integrating the equations of motion to derive a solution can be a challenge. Hamilton recognized this difficulty, so he proposed using generating functions to make canonical transformations which transform the equations into a known soluble form. Jacobi, a contemporary mathematician, recognized the importance of Hamilton’s pioneering developments in Hamiltonian mechanics, and therefore he developed a sophisticated mathematical framework for exploiting the generating function formalism in order to make the canonical transformations required to solve Hamilton’s equations of motion.
In the Lagrange formulation, transforming coordinates (qi,q˙i) to cyclic generalized coordinates (Qi,Q˙i), simplifies finding the Euler-Lagrange equations of motion. For the Hamiltonian formulation, the concept of coordinate transformations is extended to include simultaneous canonical transformation of both the spatial coordinates qi and the conjugate momenta pi from (qi,pi) to (Qi,Pi), where both of the canonical variables are treated equally in the transformation. Compared to Lagrangian mechanics, Hamiltonian mechanics has twice as many variables which is an asset, rather than a liability, since it widens the realm of possible canonical transformations.
Hamiltonian mechanics has the advantage that generating functions can be exploited to make canonical transformations to find solutions, which avoids having to use direct integration. Canonical transformations are the foundation of Hamiltonian mechanics; they underlie Hamilton-Jacobi theory and action-angle variable theory, both of which are powerful means for exploiting Hamiltonian mechanics to solve problems in physics and engineering. The concept underlying canonical transformations is that, if the equations of motion are simplified by using a new set of generalized variables (Q,P), compared to using the original set of variables (q,p), then an advantage has been gained. The solution, expressed in terms of the generalized variables (Q,P), can be transformed back to express the solution in terms of the original coordinates, (q,p).
Only a specialized subset of transformations will be considered, namely canonical transformations that preserve the canonical form of Hamilton’s equations of motion. That is, given that the original set of variables (qi,pi) satisfy Hamilton’s equations
q˙=∂p∂H(q,p,t)−p˙=∂q∂H(q,p,t)(15.71)
for some Hamiltonian H(q,p,t), then the transformation to coordinates Qi(qk,pk,t),Pi(qk,pk,t) is canonical if, and only if, there exists a function H(Q,P,t) such that the P and Q are still governed by Hamilton’s equations. That is,
Q˙=∂P∂H(Q,P,t)−P˙=∂Q∂H(Q,P,t)(15.72)
where H(Q,P,t) plays the role of the Hamiltonian for the new variables. Note that H(Q,P,t) may be very different from the old Hamiltonian H(q,p,t). The invariance of the Poisson bracket to canonical transformations, chapter 15.2, provides a powerful test that the transformation is canonical.
Hamilton’s Principle of least action, discussed in chapter 9, states that
The discussion of gauge-invariant Lagrangians, chapter 9.3, showed that L and L can be related by the total time derivative of a generating function F where
dtdF=L−L(15.75)
The generating function F can be any well-behaved function with continuous second derivatives of both the old and new canonical variables p, q, P, Q and t. Thus the integrands of 15.73 and 15.74 are related by
p⋅q˙−H(q,p,t)=λ[P⋅Q˙−H(Q,P,t)]+dtdF(15.76)
where λ is a possible scale transformation. A scale transformation, such as changing units, is trivial, and will be assumed to be absorbed into the coordinates, making λ=1. Assuming that λ=1 is called an extended canonical transformation.
The generating function F has to be chosen such that the transformation from the initial variables (q,p) to the final variables (Q,P) is a canonical transformation. The chosen generating function contributes to 15.76 only if it is a function of the old plus new variables. The four possible types of generating functions of the first kind, are F1(q,Q,t), F2(q,P,t), F3(p,Q,t), and F4(p,P,t). These four generating functions lead to relatively simple canonical transformations, are shown below.
Assume that the generating function F4 determines the canonical variables q and Q to be
q=−∂p∂F4(p,P,t)Q=∂P∂F4(p,P,t)(15.87)
then the terms in brackets cancel, leading to the required transformation
H(Q,P,t)=H(q,p,t)+∂t∂F4(p,P,t)(15.88)
Note that the last three generating functions require the inclusion of additional bilinear products of q, p, Q, P in order for the terms to cancel to give the required result. The addition of the bilinear terms, ensures that the resultant generating function F is the same using any of the four generating functions F1, F2, F3, F4. Frequently the F2(q,P,t) generating function is the most convenient. The four possible generating functions of the first kind, given above, are related by Legendre transformations. A canonical transformation does not have to conform to only one of the four generating functions Fk for all the degrees of freedom, they can be a mixture of different flavors for the different degrees of freedom. The properties of the generating functions are summarized in table 15.3.1.
Generating function
Generating function derivatives
Trivial special examples
F=F1(q,Q,t)
pi=∂qi∂F1Pi=−∂Qi∂F1
F1=qiQiQi=piPi=−qi
F=F2(q,P,t)−Q⋅P
pi=∂qi∂F2Qi=∂Pi∂F2
F2=qiPiQi=qiPi=pi
F=F3(p,Q,t)+q⋅p
qi=−∂pi∂F3Pi=−∂Qi∂F3
F3=piQiQi=−qiPi=−pi
F=F4(p,P,t)+q⋅p−Q⋅P
qi=−∂pi∂F4Qi=∂Pi∂F4
F4=piPiQi=piPi=−qi
The partial derivatives of the generating functions Fi determine the corresponding conjugate variables not explicitly included in the generating function Fi. Note that, for the first trivial example F1=qiQi, the old momenta become the new coordinates, Qi=pi, and vice versa, Pi=−qi. This illustrates that it is better to name them “conjugate variables” rather than “momenta” and “coordinates”.
In summary, Jacobi has developed a mathematical framework for finding the generating function F required to make a canonical transformation to a new Hamiltonian H(Q,P,t), that has a known solution. That is,
H(Q,P,t)=H(q,p,t)+∂t∂F(15.89)
When H(Q,P,t) is a constant, then a solution has been obtained. The inverse transformation for this solution Q(t),P(t)→q(t),p(t) now can be used to express the final solution in terms of the original variables of the system.
Note the special case when H(Q,P,t)=0, then Equation 15.89 has been reduced to the Hamilton-Jacobi relation 15.11
H(q,p,t)+∂t∂S=0(15.11)
In this case, the generating function F determines the action functional S required to solve the Hamilton-Jacobi equation (15.4.23)). Since Equation 15.89 has transformed the Hamiltonian H(q,p,t)→H(Q,P,t), for which H(Q,P,t)=0, then the solution Q(t),P(t) for the Hamiltonian H(Q,P,t)=0 is obtained easily. This approach underlies Hamilton-Jacobi theory presented in chapter 15.4.
The canonical transformation procedure may appear unnecessarily complicated for solving the examples given in this book, but it is essential for solving the complicated systems that occur in nature. For example, canonical transformations can be used to transform time-dependent, (non-autonomous) Hamiltonians to time-independent, (autonomous) Hamiltonians for which the solutions are known. Example 15.6.2 describes such a system. Canonical transformations provide a remarkably powerful approach for solving the equations of motion in Hamiltonian mechanics, especially when using the Hamilton-Jacobi approach discussed in chapter 15.4.
Hamilton used the Principle of Least Action to derive the Hamilton-Jacobi relation (chapter 15.3)
H(q,p,t)+∂t∂S=0(15.11)
where q,p refer to the 1≤i≤n variables qi,pi and S(qj(t1),t1,qj(t2),t2) is the action functional. Integration of this first-order partial differential equation is non trivial which is a major handicap for practical exploitation of the Hamilton-Jacobi equation. This stimulated Jacobi to develop the mathematical framework for canonical transformation that are required to solve the Hamilton-Jacobi equation. Jacobi’s approach is to exploit generating functions for making a canonical transformation to a new Hamiltonian H(Q,P,t) that equals zero.
H(Q,P,t)=H(q,p,t)+∂t∂S=0(15.90)
The generating function for solving the Hamilton-Jacobi equation then equals the action functional S.
The Hamilton-Jacobi theory is based on selecting a canonical transformation to new coordinates (Q,P,t) all of which are either constant, or the Qi are cyclic, which implies that the corresponding momenta Pi are constants. In either case, a solution to the equations of motion is obtained. A remarkable feature of Hamilton-Jacobi theory is that the canonical transformation is completely characterized by a single generating function, S. The canonical equations likewise are characterized by a single Hamiltonian function, H. Moreover, the generating function S, and Hamiltonian function H, are linked together by Equation 15.11. The underlying goal of Hamilton-Jacobi theory is to transform the Hamiltonian to a known form such that the canonical equations become directly integrable. Since this transformation depends on a single scalar function, the problem is reduced to solving a single partial differential equation.
The principle underlying Jacobi’s approach to Hamilton-Jacobi theory is to provide a recipe for finding the generating function F=S needed to transform the Hamiltonian H(q,p,t) to the new Hamiltonian H(Q,P,t) using Equation 15.90. When the derivatives of the transformed Hamiltonian H(Q,P,t) are zero, then the equations of motion become
Q˙i=∂Pi∂H=0(15.91)
P˙i=−∂Qi∂H=0(15.92)
and thus Qi and Pi are constants of motion. The new Hamiltonian H must be related to the original Hamiltonian H by a canonical transformation for which
H(Q,P,t)=H(q,p,t)+∂t∂S(15.93)
Equations 15.91 and 15.92 are automatically satisfied if the new Hamiltonian H=0 since then Equation 15.93 gives that the generating function S satisfies Equation 15.90.
Any of the four types of generating function can be used. Jacobi chose the type 2 generating function as being the most useful for many practical cases, that is, S(qi,Pi,t) which is called Jacobi’s complete integral.
For generating functions F1 and F2 the generalized momenta are derived from the action by the derivative
pi=∂qi∂S(15.4)
Use this generalized momentum to replace pi in the Hamiltonian H, given in Equation 15.93, leads to the Hamilton-Jacobi equation expressed in terms of the action S.
The Hamilton-Jacobi equation, 15.94, can be written more compactly using tensors q and ∇S to designate (q1,..qn) and ∂q1∂S,...,∂qn∂S respectively. That is
H(q,∇S,t)+∂t∂S=0(15.95)
Equation 15.95 is a first-order partial differential equation in n+1 variables which are the old spatial coordinates qi plus time t. The new momenta Pi have not been specified except that they are constants since H=0.
Assume the existence of a solution of 15.95 of the form S(qi,Pi,t)=S(q1,..qn;α1,..αn+1;t) where the generalized momenta Pi=α1,α2,....α plus t are the n+1independent constants of integration in the transformed frame. One constant of integration is irrelevant to the solution since only partial derivatives of S(qi,Pi,t) with respect to qi and t are involved. Thus, if S is a solution of the first-order partial differential equation, then so is S+α where α is a constant. Thus it can be assumed that one of the n+1 constants of integration is just an additive constant which can be ignored leading effectively to a solution
where none of the n independent constants are solely additive. Such generating function solutions are called complete solutions of the first-order partial differential equations since all constants of integration are known.
It is possible to assume that the n generalized momenta, Pi are constants αi, where the αi are the constants. This allows the generalized momentum to be written as
pi=∂qi∂S(q,α,t)(15.97)
Similarly, Hamilton’s equations of motion give the conjugate coordinate Q=β, where βi are constants. That is
Qi=βi=∂αi∂S(q,α,t)(15.98)
The above procedure has determined the complete set of 2n constants (Q=β,P=α). It is possible to invert the canonical transformation to express the above solution, which is expressed in terms of Qi=βi and Pi=αi, back to the original coordinates, that is, qj=qj(α,β,t) and momenta pj=pj(α,β,t) which is the required solution.
Hamilton’s approach to solving the Hamilton-Jacobi Equation 15.95 is to seek a canonical transformation from variables (p,q) at time t, to a new set of constant quantities, which may be the initial values (q0,p0) at time t=0. Hamilton’s principle function SH(qi,t;qoto) is the generating function for this canonical transformation from the variables (q,p) at time t to the initial variables (q0,p0) at time t0. Hamilton’s principle function SH(qi,t;qoto) is directly related to Jacobi’s complete integral S(qi,Pi,t).
Note that SH is the generating function of a canonical transformation from the present time (q,p,t) variables to the initial (q0,p0,t0), whereas Jacobi’s S is the generating function of a canonical transformation from the present (q,p,t) variables to the constant variables (Q=β,P=α). For the Hamilton approach, the canonical transformation can be accomplished in two steps using S by first transforming from (q,p,t) at time t, to (β,α), then transforming from (β,α) to (q0,p0,t0). That is, this two-step process corresponds to
SH(q,t;qoto)=S(q,α,t)−S(q0,α,t0)(15.99)
Hamilton’s principle function SH(q,t;qoto) is related to Jacobi’s complete integral S(q,α,t), and it will not be discussed further in this book.
Frequently the Hamiltonian does not explicitly depend on time. For the standard Lagrangian with time-independent constraints and transformation, then H(q,p,t)=E which is the total energy. For this case, the Hamilton-Jacobi equation simplifies to give
∂t∂S=−H(q,p,t)=−E(α)(15.100)
The integration of the time dependence is trivial, and thus the action integral for a time-independent Hamiltonian equals
S(q,α,t)=W(q,α)−E(α)t(15.101)
That is, the action integral has separated into a time independent term W(q,α) which is called Hamilton’s characteristic function plus a time-dependent term −E(α)t. Thus using equations 15.97, 15.101 gives that the generalized momentum is
pi=∂qi∂W(q,α)(15.102)
The physical significance of Hamilton’s characteristic function W(q,α) can be understood by taking the total time derivative
dtdW=i∑∂qi∂W(q,α)q˙i=i∑piq˙i
Taking the time integral then gives
W(q,α)=∫∑piq˙idt=∫∑pidqi(15.103)
Note that this equals the abbreviated action described in chapter 9.2.3, that is W(q,α)=S0(q,α).
Inserting the action S(q,α) into the Hamilton-Jacobi equation (15.2.1) gives
H(q;∂q∂W(q,α))=E(α)(15.104)
This is called the time-independent Hamilton-Jacobi equation. Usually it is convenient to have E equal the total energy. However, sometimes it is more convenient to exclude the kth energy E(αk) in the set, in which case E=E(α1,α2,...αk−1); the Routhian exploits this feature.
The equations of the canonical transformation expressed in terms of W(q,α) are
These equations show that Hamilton’s characteristic function W(q,α) is itself the generating function of a time-independent canonical transformation from the old variables (q,p) to a set of new variables
Qi=βi+∂αi∂E(α)tPi=αi(15.106)
Table 15.4.1 summarizes the time-dependent and time-independent forms of the Hamilton-Jacobi equation.
Exploitation of the Hamilton-Jacobi theory requires finding a suitable action function S. When the Hamiltonian is time independent, then Equation 15.101 shows that the time dependence of the action integral separates out from the dependence on the spatial variables. For many systems, the Hamilton’s characteristic function W(q,P) separates into a simple sum of terms each of which is a function of a single variable. That is,
W(q,α)=W1(q1)+W2(q2)+⋯⋅⋅Wn(qn)(15.107)
where each function in the summation on the right depends only on a single variable. Then Equation 15.100 reduces to
H(q1,...qn;∂q1∂W,...,∂qn∂W)=E(15.108)
where E is the constant denoting the total energy.
Hamilton’s characteristic function W(q,P) can be used with equations 15.101, 15.102, 15.91, 15.92, and 15.93 to derive
pi=∂qi∂W(q,α)Qi=∂Pi∂W(q,α)(15.109)
Q˙i=∂Pi∂H=0P˙i=∂Qi∂H=0(15.110)
H=H+∂t∂S=H−E=0(15.111)
which has reduced the problem to a simple sum of one-dimensional first-order differential equations.
If the ith variable is cyclic, then the Hamiltonian is not a function of qi and the ith term in Hamilton’s characteristic function equals Wi=αiqi which separates out from the summation in Equation 15.107. That is, all cyclic variables can be factored out of W(q,α) which greatly simplifies solution of the Hamilton-Jacobi equation. As a consequence, the ability of the Hamilton-Jacobi method to make a canonical transformation to separate the system into many cyclic or independent variables, which can be solved trivially, is a remarkably powerful way for solving the equations of motion in Hamiltonian mechanics.
Figure 15.4.1:Surfaces of constant action integral S (dashed lines) and the corresponding particle momenta (solid lines) with arrows showing the direction.
The important role of the action integral S can be illuminated by considering the case of a single point mass m moving in a time independent potential U(r). Then the action reduces to
S(q,α,t)=W(q,α)−Et(15.112)
Let q1=x,q2=y,q3=z,p1=px,p2=py,p3=pz. The momentum components are given by
pi=∂qi∂W(q,α)(15.113)
which corresponds to
p=∇W=∇S(15.114)
That is, the time-independent Hamilton-Jacobi equation is
2m1∣∇W∣2+U(r)=E(15.115)
This implies that the particle momentum is given by the gradient of Hamilton’s characteristic function and is perpendicular to surfaces of constant W as illustrated in Figure 15.4.1. The constant W surfaces are time dependent as given by Equation 15.101. Thus, if at time t=0 the equi-action surface S0(q,t)=W0(q,Pi)=0, then at t=1 the same surface S0(q,t)=0 now coincides with the S0(q,t)=E surface etc. That is, the equi-action surfaces move through space separately from the motion of the single point mass.
The above pictorial representation is analogous to the situation for motion of a wavefront for electromagnetic waves in optics, or matter waves in quantum physics where the wave equation separates into the form ϕ=ϕ0eℏiS=ϕ0ei(k⋅r−ωt). Hamilton’s goal was to create a unified theory for optics that was equally applicable to particle motion in classical mechanics. Thus the optical-mechanical analogy of the Hamilton-Jacobi theory has culminated in a universal theory that describes wave-particle duality; this was a Holy Grail of classical mechanics since Newton’s time. It played an important role in development of the Schrödinger representation of quantum mechanics.
Initially, only a few scientists, like Jacobi, recognized the advantages of Hamiltonian mechanics. In 1843 Jacobi made some brilliant mathematical developments in Hamilton-Jacobi theory that greatly enhanced exploitation of Hamiltonian mechanics. Hamilton-Jacobi theory now serves as a foundation for contemporary physics, such as quantum and statistical mechanics. A major advantage of Hamilton-Jacobi theory, compared to other formulations of analytic mechanics, is that it provides a single, first-order partial differential equation for the action S, which is a function of the n generalized coordinates q and time t. The generalized momenta no longer appear explicitly in the Hamiltonian in equations 15.94, 15.95. Note that the generalized momentum do not explicitly appear in the equivalent Euler-Lagrange equations of Lagrangian mechanics, but these comprise a system of nsecond-order, partial differential equations for the time evolution of the generalized coordinate q. Hamilton’s equations of motion are a system of 2nfirst-order equations for the time evolution of the generalized coordinates and their conjugate momenta.
An important advantage of the Hamilton-Jacobi theory is that it provides a formulation of classical mechanics in which motion of a particle can be represented by a wave. In this sense, the Hamilton-Jacobi equation fulfilled a long-held goal of theoretical physics, that dates back to Johann Bernoulli, of finding an analogy between the propagation of light and the motion of a particle. This goal motivated Hamilton to develop Hamiltonian mechanics. A consequence of this wave-particle analogy is that the Hamilton-Jacobi formalism featured prominently in the derivation of the Schrödinger equation during the development of quantum-wave mechanics.
Systems possessing periodic solutions are a ubiquitous feature in physics. The periodic motion can be either an oscillation, for which the trajectory in phase space is a closed loop (libration), or rolling (rotational) motion as discussed in chapter 3.4. For many problems involving periodic motion, the interest often lies in the frequencies of motion rather than the detailed shape of the trajectories in phase space. The action-angle variable approach uses a canonical transformation to action and angle variables which provide a powerful, and elegant method to exploit Hamiltonian mechanics. In particular, it can determine the frequencies of periodic motion without having to calculate the exact trajectories for the motion. This method was introduced by the French astronomer Ch. E. Delaunay(1816 − 1872) for applications to orbits in celestial mechanics, but it has equally important applications beyond celestial mechanics such as to bound solutions of the atom in quantum mechanics.
The action-angle method replaces the momenta in the Hamilton-Jacobi procedure by the action phase integral for the closed loop (libration) trajectory in phase space defined by
Ji≡∮pidqi(15.116)
where for each cyclic variable the integral is taken over one complete period of oscillation. The cyclic variable Ii is called the action variable where
Ii≡2π1Ji=2π1∮pidqi(15.117)
The canonical variable to the action variable I is the angle variable ϕ. Note that the name “action variable” is used to differentiate I from the action functional S=∫Ldt which has the same units; i.e. angular momentum.
The general principle underlying the use of action-angle variables is illustrated by considering one body, of mass m, subject to a one-dimensional bound conservative potential energy U(q). The Hamiltonian is given by
H(p,q)=2mp2+U(q)(15.118)
This bound system has a (q,p) phase space contour for each energy H=E.
p(q,E)=±2m(E−U(q))(15.119)
For an oscillatory system the two-valued momentum of Equation 15.119 is non-trivial to handle. By contrast, the area J≡∮pdq of the closed loop in phase space is a single-valued scalar quantity that depends on E and U(q). Moreover, Liouville’s theorem states that the area of the closed contour in phase space J≡∮pdq is invariant to canonical transformations. These facts suggest the use of a new pair of conjugate variables, (ϕ,I), where I(E) uniquely labels the trajectory, and corresponding area, of a closed loop in phase space for each value of E, and the single-valued function ϕ is a corresponding angle that specifies the exact point along the phase-space contour as illustrated in Fig 15.5.1.
For simplicity consider the linear harmonic oscillator where
The solution of equations 15.122 and 15.123 is of the form
q=Ccos(ω(t−t0))(15.124)
p=−mωCsinω(t−t0)(15.125)
where C, and t0 are integration constants. For the harmonic oscillator, equations 15.124 and 15.125 correspond to the usual elliptical contours in phase space, as illustrated in Figure 15.5.1.
Figure 15.5.1:The potential energy V(q), (upper) and corresponding phase space (p,q) (middle) for the harmonic oscillator at four equally spaced total energies E. The corresponding action-angles (Iϕ) resulting from a canonical transformation of this system are shown in the lower plot.
The action-angle canonical transformation involves making the transform
(q,p)→(ϕ,I)(15.126)
where I is defined by Equation 15.117 and the angle ϕ being the corresponding canonical angle. The logical approach to this canonical transformation for the harmonic oscillator is to define q and p in terms of ϕ and I
q=mω2Icosϕ(15.127)
p=2mIωsinϕ(15.128)
Note that the Poisson bracket is unity
[q,p](ϕ,I)=1
which implies that the above transformation is canonical, and thus the phase space area I(E)≡2π1∮pdq is conserved.
For this canonical transformation the transformed Hamiltonian H(ϕ,I) is
Note that this Hamiltonian is a constant that is independent of the angle ϕ, and thus Hamilton’s equations of motion give
I˙=−∂ϕ∂H(ϕ,I)=0(15.130)
ϕ˙=∂I∂H(ϕ,I)=ω(15.131)
Thus we have mapped the harmonic oscillator to new coordinates (ϕ,I) where
I=ωH(ϕ,I)=ωE(15.132)
ϕ=ω(t−t0)(15.133)
That is, the phase space has been mapped from ellipses, with area proportional to E in the (q,p) phase space, to a cylindrical (ϕ,I) phase space where I=ωE are constant values that are independent of the angle, while ϕ increases linearly with time. Thus the variables (q,p) are periodic with modulus Δϕ=2π.
q(ϕ+2π,I)=q(ϕ,I)(15.134)
p(ϕ+2π,I)=p(ϕ,I)(15.135)
The period τ of the periodic oscillatory motion is given simply by Δϕ=2π=ωτ which is the well known result for the harmonic oscillator. Note that the action-angle variable canonical transformation has determined the frequency of the periodic motion without solving the detailed trajectory of the motion.
The above example of the harmonic oscillator has shown that, for integrable periodic systems, it is possible to identify a canonical transformation to (ϕ,I) such that the Hamiltonian is independent of the angle ϕ which specifies the instantaneous location on the constant energy contour I. If the phase space contour is a separatrix, then it divides phase space into invariant regions containing phase-space contours with differing behavior. The action-angle variables are not useful for separatrix contours. For rolling motion, the system rotates with continuously increasing, or decreasing angle, and there is no natural boundary for the action angle variable since the phase space trajectory is continuous and not closed. However, the action-angle approach still is valid if the motion involves periodic as well as rolling motion.
The example of the one-dimensional, one-body, harmonic oscillator can be expanded to the more general case for many bodies in three dimensions. This is illustrated by considering multiple periodic systems for which the Hamiltonian is conservative and where the equations of the canonical transformation are separable. The generalized momenta then can be written as
pi=∂qi∂Wi(qi;α1,α2,..αn)(15.136)
for which each pi is a function of qi and the n integration constants αj
pi=pi(qi,α1,α2,..αn)(15.137)
The momentum pi(qi,α1,α2,..αn) represents the trajectory of the system in the (qi,pi) phase space that is characterized by Hamilton’s characteristic function W(q,J). Combining equations 15.116, 15.136 gives
Ji≡∮∂qi∂Wi(qi;α1,α2,..αn)dqi(15.138)
Since qi is merely a variable of integration, each active action variable Ji is a function of the n constants of integration in the Hamilton-Jacobi equation. Because of the independence of the separable-variable pairs (qi,pi), the Ji form n independent functions of the αi, and hence are suitable for use as a new set of constant momenta. Thus the characteristic function W can be written as
The corresponding equation of motion for ϕ is given by
ϕ˙i=∂Ji∂H(J)=2πωi(J1,...Jn)(15.141)
where ωi(J) are constant functions of the action variables Jj with a solution
ϕi=2πωit+βi(15.142)
that is, they are linear functions of time. The constants ωi can be identified with the frequencies of the multiple periodic motions.
The action-angle variables appear to be no different than a particular set of transformed coordinates. Their merit appears when the physical interpretation is assigned to ωi. Consider the change δϕi as the qj are changed infinitesimally
δϕi=j∑∂qj∂ϕi∂qj=j∑∂Ji∂qj∂2W∂qj(15.143)
The derivative with respect to qi vanishes except for the Wj component of W. Thus Equation 15.143 reduces to
δϕi=∂Ji∂j∑pj(qj,J)dqj(15.144)
Therefore, the total change in ϕ, as the system goes through one complete cycle is
Δϕi=j∑∂Ji∂∮pj(qj,J)dqj=2πδij(15.145)
where ∂Ji∂ is outside the integral since the Ji are constants for cyclic motion. Thus Δϕi=2π=ωiτi where τi is the period for one cycle of oscillation, where the angular frequency ωi is given by
2πωi=νi=τi1(15.146)
Thus the frequency ν associated with the periodic motion is the reciprocal of the period τ. The secret here is that the derivative of H with respect to the action variable J given by Equation 15.141 directly determines the frequency of the periodic motion without the need to solve the complete equations of motion. Note that multiple periodic motion can be represented by a Fourier expansion of the form
Although the action-angle approach to Hamilton-Jacobi theory does not produce complete equations of motion, it does provide the frequency decomposition that often is the physics of interest. The reason that the powerful action-angle variable approach has been introduced here is that it is used extensively in celestial mechanics. The action-angle concept also played a key role in the development of quantum mechanics, in that Sommerfeld recognized that Bohr’s ad hoc assumption that angular momentum is quantized, could be expressed in terms of quantization of the angle variable as is mentioned in chapter 18.
When the Hamiltonian depends on time it can be quite difficult to solve for the motion because it is difficult to find constants of motion for time-dependent systems. However, if the time dependence is sufficiently slow, that is, if the motion is adiabatic, then there exist dynamical variables that are almost constant which can be used to solve for the motion. In particular, such approximate constants are the familiar action-angle integrals. The adiabatic invariance of the action variables played an important role in the development of quantum mechanics during the 1911 Solvay Conference. This was a time when physicists were grappling with the concepts of quantum mechanics. Einstein used the following classical mechanics example of adiabatic invariance, applied to the simple pendulum, in order to illustrate the concept of adiabatic invariance of the action. This example demonstrates the power of using action-angle variables.
Most examples in classical mechanics discussed so far have been capable of exact solutions. In real life, the majority of problems cannot be solved exactly. For example, in celestial mechanics the two-body Kepler problem can be solved exactly, but solution of the three-body problem is intractable. Typical systems in celestial mechanics are never as simple as the two-body Kepler system because of the influence of additional bodies. Fortunately in most cases the influence of additional bodies is sufficiently small to allow use of perturbation theory. That is, the restricted three-body approximation can be employed for which the system is reduced to considering it as an exactly solvable two-body problem, subject to a small perturbation to this solvable two-body system. Note that even though the change in the Hamiltonian due to the perturbing term may be small, the impact on the motion can be especially large near a resonance.
Consider the Hamiltonian, subject to a time-dependent perturbation, is written as
H(q,p,t)=H0(q,p,t)+ΔH(q,p,t)
where H0(q,p,t) designates the unperturbed Hamiltonian and ΔH(q,p,t) designates the perturbing term. For the unperturbed system the Hamilton-Jacobi equation is given by
where S(qi,Pi,t) is the generating function for the canonical transformation (q,p)→(Q,P). The perturbed S(qi,Pi,t) remains a canonical transformation, but the transformed Hamiltonian H(Qi,Pi,t)=0. That is,
The equations of motion satisfied by the transformed variables now are
Q˙i=∂Pi∂ΔHP˙i=∂Qi∂ΔH(15.149)
These equations remain as difficult to solve as the full Hamiltonian. However, the perturbation technique assumes that ΔH is small, and that one can neglect the change of (Qi,Pi) over the perturbing interval. Therefore, to a first approximation, the unperturbed values of ∂Pi∂ΔH and ∂Qi∂ΔH can be used in equations 15.149. A detailed explanation of canonical perturbation theory is presented in chapter 12 of Goldstein[Go50].
The Hamilton’s first-order equations of motion are symmetric if the generalized and constraint force terms, in equation (15.1.9), are excluded.
q˙=∂p∂H−p˙=∂q∂H
This stimulated attempts to treat the canonical variables (q,p) in a symmetric form using group theory. Some graduate textbooks in classical mechanics have adopted use of symplectic symmetry in order to unify the presentation of Hamiltonian mechanics. For a system of n degrees of freedom, a column matrix η is constructed that has 2n elements where
ηj=qjηn+j=pjj≤n(15.150)
Therefore the column matrix
(∂η∂H)j=∂qj∂H(∂η∂H)n+j=∂pj∂Hj≤n(15.151)
The symplectic matrix J is defined as being a 2n by 2n skew-symmetric, orthogonal matrix that is broken into four n×n null or unit matrices according to the scheme
J=([0]−[1]+[1][0])(15.152)
where [0] is the n-dimension null matrix, for which all elements are zero. Also [1] is the n-dimensional unit matrix, for which the diagonal matrix elements are unity and all off-diagonal matrix elements are zero. The J matrix accounts for the opposite signs used in the equations for q˙ and p˙. The symplectic representation allows the Hamilton’s equations of motion to be written in the compact form
η˙=J∂η∂H(15.153)
This textbook does not use the elegant symplectic representation since this representation ignores the important generalized forces and Lagrange multiplier forces.
15.8: Comparison of the Lagrangian and Hamiltonian Formulations¶
The discussion of Lagrangian and Hamiltonian dynamics has illustrated the power of such algebraic formulations. Both approaches are based on application of variational principles to scalar energy which gives the freedom to concentrate solely on active forces and to ignore internal forces. Both methods can handle manybody systems and exploit canonical transformations, which are impractical or impossible using the vectorial Newtonian mechanics. These algebraic approaches simplify the calculation of the motion for constrained systems by representing the vector force fields, as well as the corresponding equations of motion, in terms of either the Lagrangian function L(q,q˙,t) or the action functional S(q,p,t) which are related by the definite integral
S(q,p,t)=∫t1t2L(q,q˙,t)dt(15.1)
The Lagrangian function L(q,q˙,t), and the action functional S(q,p,t), are scalar functions under rotation, but they determine the vector force fields and the corresponding equations of motion. Thus the use of rotationally-invariant functions L(q,q˙,t) and S(q,p,t) provide a simple representation of the vector force fields. This is analogous to the use of scalar potential fields ϕ(q,t) to represent the electrostatic and gravitational vector force fields. Like scalar potential fields, Lagrangian and Hamiltonian mechanics represents the observables as derivatives of L(q,q˙,t) and S(q,p,t), and the absolute values of L(q,q˙,t) and S(q,p,t) are undefined; only differences in L(q,q˙,t) and S(q,p,t) are observable. For example, the generalized momenta are given by the derivatives pi≡∂q˙i∂L and pj=∂qj∂S. The physical significance of the least action S(q,α,t) is illustrated when the canonically transformed momenta P=α is a constant. Then the generalized momenta and the Hamilton-Jacobi equation, imply that the total time derivative of the action equals
dtdS=∂qi∂Sq˙i+∂t∂S=piqi−H=L(15.154)
The indefinite integral of this equation reproduces the definite integral 15.1 to within an arbitrary constant, i.e.
Consider a system with n independent generalized coordinates, plus m constraint forces that are not required to be known. The Lagrangian approach can reduce the system to a minimal system of s=n−m independent generalized coordinates leading to s=n−msecond-order differential equations. By comparison, the Newtonian approach uses n+m unknowns. Alternatively, the Lagrange multipliers approach allows determination of the holonomic constraint forces resulting in s=n+m second order equations to determine s=n+m unknowns. The Lagrangian potential function is limited to conservative forces, but generalized forces can be used to handle non-conservative and non-holonomic forces. The advantage of the Lagrange equations of motion is that they can deal with any type of force, conservative or non-conservative, and they directly determine q,q˙ rather than q,p which then requires relating p to q˙. The Lagrange approach is superior to the Hamiltonian approach if a numerical solution is required for typical undergraduate problems in classical mechanics. However, Hamiltonian mechanics has a clear advantage for addressing more profound and philosophical questions in physics.
For a system with n independent generalized coordinates, and m constraint forces, the Hamiltonian approach determines 2nfirst-order differential equations. In contrast to Lagrangian mechanics, where the Lagrangian is a function of the coordinates and their velocities, the Hamiltonian uses the variables q and p, rather than velocity. The Hamiltonian has twice as many independent variables as the Lagrangian which is a great advantage, not a disadvantage, since it broadens the realm of possible transformations that can be used to simplify the solutions. Hamiltonian mechanics uses the conjugate coordinates q,p, corresponding to phase space. This is an 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. These techniques include, the Poisson bracket formulation, canonical transformations, the Hamilton-Jacobi approach, the action-angle variables, and canonical perturbation theory. In addition, Hamiltonian dynamics provides a means of determining the unknown variables for which the solution assumes a soluble form, and it is ideal for study of the fundamental underlying physics in applications to other fields such as quantum or statistical physics. However, the Hamiltonian approach endemically assumes that the system is conservative putting it at a disadvantage with respect to the Lagrangian approach. The appealing symmetry of the Hamiltonian equations, plus their ability to utilize canonical transformations, makes it the formalism of choice for examination of system dynamics. For example, Hamilton-Jacobi theory, action-angle variables and canonical perturbation theory are used extensively to solve complicated multibody orbit perturbations in celestial mechanics by finding a canonical transformation that transforms the perturbed Hamiltonian to a solved unperturbed Hamiltonian.
The Hamiltonian formalism features prominently in quantum mechanics since there are well established rules for transforming the classical coordinates and momenta into linear operators used in quantum mechanics. The variables q,q˙ used in Lagrangian mechanics do not have simple analogs in quantum physics. As a consequence, the Poisson bracket formulation, and action-angle variables of Hamiltonian mechanics played a key role in development of matrix mechanics by Heisenberg, Born, and Dirac, while the Hamilton-Jacobi formulation played a key role in development of Schrödinger’s wave mechanics. Similarly, Hamiltonian mechanics is the preeminent variational approached used in statistical mechanics.
Poisson brackets are a powerful means of elucidating when observables are constant of motion and whether two observables can be simultaneously measured with unlimited precision. Consider a spherically symmetric Hamiltonian
H=2m1(pr2+r2pθ2+r2sin2θpϕ2)+U(r)
for a mass m where U(r is a central potential. Use the Poisson bracket plus the time dependence to determine the following:
Does pϕ commute with H and is it a constant of motion?
Does pθ2+sin2θpϕ2 commute with H and is it a constant of motion?
Does pr commute with H and is it a constant of motion?
Does pϕ commute with pθ and what does the result imply?
Consider the Poisson brackets for angular momentum L
Show {Li,rj}=ϵijkrk, where the Levi-Cevita tensor is,
ϵijk=⎩⎨⎧+1−10if ijk are cyclically permutedif ijk are anti-cyclically permutedif i=j or i=k or j=k
Show {Li,pj}=ϵijkpk.
Show {Li,Lj}=ϵijkLk. The following identity may be useful: ϵijkϵilm=δjlδkm−δjmδkl.
Show {Li,L2}=0.
Consider the Hamiltonian of a two-dimensional harmonic oscillator,
H=2mp2+21m(ω12r12+ω22r22)
What condition is satisfied if L2 a conserved quantity?
Consider the motion of a particle of mass m in an isotropic harmonic oscillator potential U=21kr2 and take the orbital plane to be the x−y plane. The Hamiltonian is then
H≡S0=2m1(px2+py2)+21k(x2+y2)
Introduce the three quantities
S1=2m1(px2−py2)+21k(x2−y2)
S2=m1pxpy+kxy
S3=ω(xpy−ypx)
with ω=mk. Use Poisson brackets to solve the following:
Show that {S0,Si}=0 for i=1,2,3 proving that (S1,S2,S3) are constants of motion.
Show that
{S1,S2}=2ωS3
{S2,S3}=2ωS1
{S3,S1}=2ωS2
so that (2ω)−1(S1,S2,S3) have the same Poisson bracket relations as the components of a 3-dimensional angular momentum.
S02=S12+S22+S32
Assume that the transformation equations between the two sets of coordinates (q,p) and (Q,P) are
Q=ln(1+q21cosp)
P=2(1+q21cosp)q21sinp)
Assuming that q,p are canonical variables, i.e. [q,p]=1, show directly from the above transformation equations that Q,P are canonical variables.
Show that the generating function that generates this transformation between the two sets of canonical variables is
F3=−[eQ−1]2tanp
Consider a bound two-body system comprising a mass m in an orbit at a distance r from a mass M. The attractive central force binding the two-body system is
F=r2kr^
where k is negative. Use Poisson brackets to prove that the eccentricity vector A=p×L+μkr^ is a conserved quantity.
Consider the case of a single mass m where the Hamiltonian H=21p2.
Use the generating function S(q,P,t) to solve the Hamilton-Jacobi equation with the canonical transformation q=q(Q,P) and p=p(Q,P) and determine the equations relating the (q,p) variables to the transformed coordinate and momentum (Q,P).
If there is a perturbing Hamiltonian ΔH=21q2, then P will not be constant. Express the transformed Hamiltonian H (using the transformation given above in terms of P, Q, and t). Solve for Q(t) and P(t) and show that the perturbed solution q[Q(t),P(t)], p[Q(t),P(t)] is simple harmonic.
This chapter has gone beyond what is normally covered in an undergraduate course in classical mechanics, in order to illustrate the power of the remarkable arsenal of methods available for solution of the equations of motion using Hamiltonian mechanics. This has included the Poisson bracket representation of Hamiltonian formulation of mechanics, canonical transformations, Hamilton-Jacobi theory, action-angle variables, and canonical perturbation theory. The purpose was to illustrate the power of variational principles in Hamiltonian mechanics and how they relate to fields such as quantum mechanics and astronomy. The following are the key points made in this chapter.
The elegant and powerful Poisson bracket formalism of Hamiltonian mechanics was introduced. The Poisson bracket of any two continuous functions of generalized coordinates F(p,q) and G(p,q), is defined to be
{F,G}pq≡i∑(∂qi∂F∂pi∂G−∂pi∂F∂qi∂G)
The fundamental Poisson brackets equal
{qk,ql}=0
{pk,pl}=0
{qk,pl}=−{pl,qk}=δkl
The Poisson bracket is invariant to a canonical transformation from (q,p) to (Q,P). That is
There is a one-to-one correspondence between the commutator and Poisson Bracket of two independent functions,
(F1G1−G1F1)=λ{F1,G1}
where λ is an independent constant. In particular F1G1 commute of the Poisson Bracket {F1,G1}=0.
Poisson Bracket representation of Hamiltonian mechanics:¶
It has been shown that the Poisson bracket formalism contains the Hamiltonian equations of motion and is invariant to canonical transformations. Also this formalism extends Hamilton’s canonical equations to non-commuting canonical variables. Hamilton’s equations of motion can be expressed directly in terms of the Poisson brackets
q˙k={qk,H}=∂pk∂H
p˙k={pk,H}=−∂qk∂H
An important result is that the total time derivative of any operator is given by
dtdG=∂t∂G+{G,H}
Poisson brackets provide a powerful means of determining which observables are time independent and whether different observables can be measured simultaneously with unlimited precision. It was shown that the Poisson bracket is invariant to canonical transformations, which is a valuable feature for Hamiltonian mechanics. Poisson brackets were used to prove Liouville’s theorem which plays an important role in the use of Hamiltonian phase space in statistical mechanics. The Poisson bracket is equally applicable to continuous solutions in classical mechanics as well as discrete solutions in quantized systems.
A transformation between a canonical set of variables (q,p) with Hamiltonian H(q,p,t) to another set of canonical variable (Q,P) with Hamiltonian H(Q,P,t) can be achieved using a generating functions F such that
H(Q,P,t)=H(q,p,t)+∂t∂F
Possible generating functions are summarized in the following table.
Generating function
Generating function derivatives
Trivial special case
F=F1(q,Q,t)
pi=∂qi∂F1Pi=−∂Qi∂F1
F1=qiQiQi=piPi=−qi
F=F2(q,P,t)−Q⋅P
pi=∂qi∂F2Qi=∂Pi∂F2
F2=qiPiQi=qiPi=pi
F=F3(p,Q,t)+q⋅p
qi=−∂pi∂F3Pi=−∂Qi∂F3
F3=piQiQi=−qiPi=−pi
F=F4(p,P,t)+q⋅p−Q⋅P
qi=−∂pi∂F4Qi=∂Pi∂F4
F1=piPiQi=piPi=−qi
If the canonical transformation makes H(Q,P,t)=0 then the conjugate variables (Q,P) are constants of motion. Similarly if H(Q,P,t) is a cyclic function then the corresponding P are constants of motion.
Hamilton-Jacobi theory determines the generating function required to perform canonical transformations that leads to a powerful method for obtaining the equations of motion for a system. The Hamilton-Jacobi theory uses the action function S≡F2 as a generating function, and the canonical momentum is given by
pi=∂qi∂S
This can be used to replace pi in the Hamiltonian H leading to the Hamilton-Jacobi equation
H(q;∂q∂S;t)+∂t∂S=0
Solutions of the Hamilton-Jacobi equation were obtained by separation of variables. The close optical-mechanical analogy of the Hamilton-Jacobi theory is an important advantage of this formalism that led to it playing a pivotal role in the development of wave mechanics by Schrödinger.
The action-angle variables exploits a canonical transformation from (q,p)→(ϕ,I) where
Ii≡2π1Ji=2π1∮pidqi
For periodic motion the phase-space trajectory is closed with area given by J and this area is conserved for the above canonical transformation. For a conserved Hamiltonian the action variable I is independent of the angle variable ϕ. The time dependence of the angle variable ϕ directly determines the frequency of the periodic motion without recourse to calculation of the detailed trajectory of the periodic motion.
Canonical perturbation theory is a valuable method of handling multibody interactions. The adiabatic invariance of the action-angle variables provides a powerful approach for exploiting canonical perturbation theory.
Comparison of Lagrangian and Hamiltonian formulations:¶
The remarkable power, and intellectual beauty, provided by use of variational principles to exploit the underlying principles of natural economy in nature, has had a long and rich history. It has led to profound developments in many branches of theoretical physics. However, it is noted that although the above algebraic formulations of classical mechanics have been used for over two centuries, the important limitations of these algebraic formulations to non-linear systems remain a challenge that still is being addressed.
It has been shown that the Lagrangian and Hamiltonian formulations represent the vector force fields, and the corresponding equations of motion, in terms of the Lagrangian function L(q,q˙,t), or the action functional S(q,p,t), which are scalars under rotation. The Lagrangian function L(q,q˙,t) is related to the action functional S(q,p,t) by
S(q,p,t)=∫t1t2L(q,q˙,t)dt(15.1)
These functions are analogous to electric potential, in that the observables are derived by taking derivatives of the Lagrangian function L(q,q˙,t) or the action functional S(q,p,t). The Lagrangian formulation is more convenient for deriving the equations of motion for simple mechanical systems. The Hamiltonian formulation has a greater arsenal of techniques for solving complicated problems plus it uses the canonical variables (qi,pi) which are the variables of choice for applications to quantum mechanics and statistical mechanics.