Physic Labs

Analytical mechanics

Hamilton's equations, phase space

Hamiltonian mechanics describes dynamics with canonical coordinate–momentum pairs; phase-space trajectories obey first-order differential equations.

For each degree of freedom the state is represented by (q,p). The Hamiltonian H(q,p,t) generates motion through the canonical equations.

q˙i=∂H∂pi,p˙i=−∂H∂qi\dot q_i=\frac{\partial H}{\partial p_i}, \qquad \dot p_i=-\frac{\partial H}{\partial q_i}

Definition: Hamilton’s equations

For n degrees of freedom, q_i are generalized coordinates and p_i=∂L/∂q̇_i are canonical momenta. The Hamiltonian is the Legendre transform H=Σp_iq̇_i−L. When the transform is regular, the 2n first-order equations are equivalent to the Euler–Lagrange equations.

Compare the ellipse in (q,p) with its canonical image Q=q, P=p+αq. The dashed curve is sheared, while phase area is preserved.

Harmonic oscillator

For H=p²/(2m)+mω²q²/2 with no explicit time dependence, energy H is conserved. Constant-energy trajectories are ellipses in (q,p); the sign of p determines the direction of passage.

Canonical coordinates and canonical transformations

A change of variables (q,p)↦(Q,P)(q,p)\mapsto(Q,P) is canonical if it preserves the symplectic structure, so Hamilton’s equations retain their form in the new variables. For example, the shear Q=q, P=p+αqQ=q,\ P=p+\alpha q has unit Jacobian determinant and is canonical. It deforms a phase curve while preserving oriented area.

Q=q,P=p+alphaq,qquaddQwedgedP=dqwedgedpQ=q,\quad P=p+\\alpha q, \\qquad dQ\\wedge dP=dq\\wedge dp

Example: Example

An oscillator has m=1 kg, ω=2 s⁻¹, and amplitude q_max=0.5 m. Find p_max and energy E.

Solution

At q=0 all energy is kinetic, so p_max=√(2mE). At the turning point E=mω²q_max²/2=1×4×0.25/2=0.5 J. Thus p_max=√(2×1×0.5)=1 kg·m/s.

Quick check

For two phase-space functions, the Poisson bracket is {F,G}=∑i(∂F/∂qi ∂G/∂pi−∂F/∂pi ∂G/∂qi)\{F,G\}=\sum_i(\partial F/\partial q_i\,\partial G/\partial p_i-\partial F/\partial p_i\,\partial G/\partial q_i). Along a Hamiltonian trajectory, dF/dt=∂F/∂t+{F,H}dF/dt=\partial F/\partial t+\{F,H\}. Thus a quantity with no explicit time dependence is conserved when its Poisson bracket with HH vanishes. This structure also explains why canonical transformations preserve the form of the equations and provides the classical framework that motivates quantization.

For an oscillator with H=p2/(2m)+mω2q2/2H=p^2/(2m)+m\omega^2q^2/2, Hamilton’s equations give q˙=p/m\dot q=p/m and p˙=−mω2q\dot p=-m\omega^2q. Eliminating pp recovers q¨+ω2q=0\ddot q+\omega^2q=0. The pair of first-order equations describes the same motion as the second-order Lagrangian equation while exposing its phase-space state structure.

For H=p²/(2m)+mω²q²/2, what is a constant-energy trajectory in the (q,p) plane?

For an autonomous system, which quantity is conserved along Hamiltonian motion?

References

  1. Herbert Goldstein, Charles Poole, John Safko (2002). Classical Mechanics
  2. L. D. Landau, E. M. Lifshitz (1976). Mechanics