Math 2.0

Mechanics of particles and systems Hamiltonian mechanics Theorem

Hamilton's equations

Builds on Hamiltonian mechanicsEuler–Lagrange equationHamiltonian systemLagrangian mechanics

Statement

Let U⊆ℝnU \subseteq \R^n and I⊆ℝI \subseteq \R be open, and let L(q,q˙,t)L(q, \dot q, t) be a hyperregular Lagrangian of class C2C^2 on U×ℝn×IU \times \R^n \times I, with Hamiltonian H(q,p,t)H(q, p, t) and momenta p=∂L/∂q˙p = \partial L / \partial \dot q. Let J⊆IJ \subseteq I be an open interval, let q ⁣:J→Uq \colon J \to U be of class C2C^2, and let p(t)=∂L∂q˙(q(t),q˙(t),t)p(t) = \frac{\partial L}{\partial \dot q}\big(q(t), \dot q(t), t\big). Then qq satisfies the Euler–Lagrange equations ddt∂L∂q˙i−∂L∂qi=0,i=1,…,n,\frac{d}{dt} \frac{\partial L}{\partial \dot q_i} - \frac{\partial L}{\partial q_i} = 0, \qquad i = 1, \ldots, n, if and only if (q,p)(q, p) satisfies Hamilton's equations q˙i=∂H∂pi(q,p,t),p˙i=−∂H∂qi(q,p,t),i=1,…,n.\dot q_i = \frac{\partial H}{\partial p_i}(q, p, t), \qquad \dot p_i = -\frac{\partial H}{\partial q_i}(q, p, t), \qquad i = 1, \ldots, n. Moreover ∂H/∂t=−∂L/∂t\partial H / \partial t = -\partial L / \partial t, so along such a solution ddtH(q,p,t)=∂H∂t\frac{d}{dt} H(q, p, t) = \frac{\partial H}{\partial t}.

Remarks

The proof is a computation of partial derivatives of H=p⋅v−L(q,v,t)H = p \cdot v - L(q, v, t), where v(q,p,t)v(q, p, t) is the inverse of q˙↦∂L/∂q˙\dot q \mapsto \partial L / \partial \dot q. Since ∂L/∂q˙(q,v,t)=p\partial L / \partial \dot q (q, v, t) = p, the terms with derivatives of vv cancel, which gives ∂H/∂p=v\partial H / \partial p = v, ∂H/∂q=−∂L/∂q\partial H / \partial q = -\partial L / \partial q and ∂H/∂t=−∂L/∂t\partial H / \partial t = -\partial L / \partial t. The first equation q˙=∂H/∂p\dot q = \partial H / \partial p is then the definition of pp, and the second is the Euler–Lagrange equation p˙=∂L/∂q\dot p = \partial L / \partial q.

Example: for L=12mq˙2−12kq2L = \frac{1}{2} m \dot q^2 - \frac{1}{2} k q^2, H=p2/(2m)+kq2/2H = p^2/(2m) + k q^2/2, and Hamilton's equations q˙=p/m\dot q = p/m, p˙=−kq\dot p = -k q combine to mq¨=−kqm \ddot q = -k q.

Without hyperregularity, HH need not be defined: for L=12(q˙1−q2)2L = \frac{1}{2} (\dot q_1 - q_2)^2 the momentum p2p_2 is identically 00, and the Legendre transform is not invertible; such systems need the theory of constraints.

Going deeper

For a student

Hamilton's equations say that the velocity in phase space is the Hamiltonian vector field of HH. This form is the starting point for Liouville's theorem on the conservation of phase-space volume, for canonical transformations, and for the Hamilton–Jacobi equation. A quantity f(q,p)f(q, p) evolves by f˙={f,H}+∂f/∂t\dot f = \{f, H\} + \partial f / \partial t, with the Poisson bracket. In canonical coordinates the equations keep the same form, which is why changes of variables that preserve this form are so useful.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Euler–Lagrange equation concept
  2. Hamiltonian mechanics concept
  3. Hamiltonian system concept
  4. Lagrangian mechanics concept
  5. Hamilton's equations statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Hamiltonian_mechanics
About this page
TagCFYQ6R38YP
URIm2://CFYQ6R38YP
Kindstatement, theorem
WritingW0 stub
MSC70H05, 70H03
StatusThis copy of the site has no build data. Run m2 status CFYQ6R38YP.
AboutHamiltonian mechanics, Hamiltonian system
UsesHamiltonian mechanics, Euler–Lagrange equation, Hamiltonian system, Lagrangian mechanics
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.