Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

14.3: Hamilton's Equations of Motion

( \newcommand{\kernel}{\mathrm{null}\,}\)

In classical mechanics we can describe the state of a system by specifying its Lagrangian as a function of the coordinates and their time rates of change:

L=L(qi,˙q)

If the coordinates and the velocities increase, the corresponding increment in the Lagrangian is

dL=iLqidqi+iL˙qid˙qi.

Definition: generalized momenta

The generalized momentum pi associated with the generalized coordinate qi is defined as

pi=L˙qi.

[You have seen this before, in Section 13.4. Remember “ignorable coordinate”?]

It follows from the Lagrangian equation of motion (Equation 13.4.14)

ddtL˙qi=Lqi

that

˙pi=Lqi.

Thus

dL=i˙pidqi+ipid˙qi.

(I am deliberately numbering this Equation ???, to maintain an analogy between this section and Section 14.2.)

However, it is sometimes convenient to change the basis of the description of the state of a system from qi and ˙qi to qi and ˙pi by defining a quantity called the hamiltonian H defined by

H=ipi˙qiL.

Definition: hamiltonian

In that case, if the state of the system changes, then

dH=ipid˙qi+i˙qidpidL=ipid˙qi+i˙qidpii˙pidqiipid˙qi

That is

dH=i˙qidpii˙pidqi.

We are regarding the hamiltonian as a function of the generalized coordinates and generalized momenta:

H=H(qi,pi)

so that

dH=iHqidqi+iHpidpi,

from which we see that

˙pi=Hqi

and

˙qi=Hpi

In summary, then, Equations ???, ???, ??? and ???:

pi=L˙qi

˙pi=Lqi

˙pi=Hqi

˙qi=Hpi

which I personally find impossible to commit accurately to memory (although note that there is one dot in each equation) except when using them frequently, may be regarded as Hamilton’s equations of motion. I’ll refer to these equations as A, B, C and D.

Note that, in Equation ???, if the Lagrangian is independent of the coordinate qi the coordinate qi is referred to as an “ignorable coordinate”. I suppose it is called “ignorable” because you can ignore it when calculating the lagrangian, but in fact a so-called “ignorable” coordinate is usually a very interesting coordinate indeed, because it means (look at the second equation) that the corresponding generalized momentum is conserved.

Now the kinetic energy of a system is given by T=12ipi˙qi (for example, 12mνν), and the hamiltonian (Equation ???) is defined as H=ipi˙qiL. For a conservative system, L=TV, and hence, for a conservative system, H=T+V. If you are asked in an examination to explain what is meant by the hamiltonian, by all means say it is T+V. That’s fine for a conservative system, and you’ll probably get half marks. That’s 50% - a D grade, and you’ve passed. If you want an A+, however, I recommend Equation ???.


This page titled 14.3: Hamilton's Equations of Motion is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Jeremy Tatum via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?