Physics · Glossary

What is Hamiltonian and canonical equations?

Definition 2.1 University Physics — Year 3 · Chapter 2 — Hamiltonian Mechanics

For a system with Lagrangian L(q,q˙,t)L(q, \dot q, t), express the velocities in terms of the momenta pi=L/q˙ip_i = \partial L/\partial\dot q_i and define the Hamiltonian as the Legendre transform

H(q,p,t)=ipiq˙iL,H(q, p, t) = \sum_i p_i\dot q_i - L ,

a function of the coordinates and the momenta. The 2n2n-dimensional space of the (q1,,qn,p1,,pn)(q_1, \dots, q_n, p_1, \dots, p_n) is the phase space; one point of it — one state — determines the entire future and past of the system through the canonical equations of Theorem 2.2.

Examples

Example 2.4 (Two Hamiltonians)

Mass on a spring: p=mx˙p = m\dot x, so

H=p22m+12kx2;H = \frac{p^2}{2m} + \frac12 kx^2 ;

the canonical equations x˙=p/m\dot x = p/m, p˙=kx\dot p = -kx are the familiar pair. Pendulum: p=m2θ˙p = m\ell^2\dot\theta and

H=p22m2mgcosθ.H = \frac{p^2}{2m\ell^2} - mg\ell\cos\theta .

In both cases HH is the energy, constant on each motion: the motions are the level curves of HH in the (q,p)(q,p) plane.

Read in context →