research33 min studyLesson 95 in Mathematics

Symplectic geometry and Hamiltonian flow

Generate dynamics from a closed nondegenerate two-form and distinguish area-preserving flow from damping.

On this page

What you’ll understand

  • State both closedness and nondegeneracy in the definition of a symplectic form.
  • Derive Hamilton's equations with one explicit sign convention.
  • Verify energy and area preservation in a quadratic example and identify damping as a different model.

Hamiltonian mechanics organizes motion on phase space rather than configuration space alone. Position and momentum form paired coordinates, while a symplectic form turns an energy function into a vector field. This viewpoint makes conservation and coordinate independence structural. It also sharpens limitations: a symplectic form is not a metric, energy preservation is not the same as preserving every distance, and adding friction changes the mathematical system. We will derive the planar oscillator with a stated convention and compare its properties with a damped illustration.

A two-form pairs directions without measuring lengths

At each point, a differential two-form is an alternating bilinear function of two tangent vectors. A symplectic form is both closed, meaning its exterior derivative vanishes, and nondegenerate, meaning no nonzero vector pairs to zero with every vector. Nondegeneracy forces even dimension and lets a covector determine a unique vector. Closedness is an additional differential condition, not a consequence of invertibility of a matrix at each point. On a two-dimensional manifold every two-form is automatically closed, but that dimensional shortcut does not extend to arbitrary even dimensions.

In canonical coordinates (q,p), take ω=dq∧dp. It assigns the signed area ad−bc to tangent vectors (a,b) and (c,d). By contrast, a Riemannian metric is symmetric and positive definite and measures squared lengths. Confusing these structures hides why Hamiltonian evolution can stretch one direction while compressing another. The local Darboux theorem provides coordinates with a canonical symplectic form, but it does not make every Hamiltonian simple or erase global topology. A standard-looking local form is a coordinate statement, not a complete solution of the dynamics.

dω=0,ω(v,w)=0 ∀w⟹v=0,ω=dq∧dpd\omega=0,\qquad \omega(v,w)=0\ \forall w\Longrightarrow v=0,\qquad \omega=dq\wedge dp
Closedness and nondegeneracy are separate requirements. The final expression is the canonical form on one position–momentum plane.↔ Scroll wide equations horizontally.

Choose a sign, then derive the equations

We define the Hamiltonian vector field X_H by contracting it into ω to obtain dH. For X_H=(q̇,ṗ), contraction into dq∧dp gives q̇dp−ṗdq. Matching coefficients with H_qdq+H_pdp yields q̇=H_p and ṗ=−H_q. Some texts define contraction with the opposite sign and adjust conventions elsewhere. A calculation should state its convention rather than mixing formulas from incompatible choices. The existence and uniqueness of the vector field follow from nondegeneracy; existence of its flow for all time requires further conditions on the vector field and manifold.

For a time-independent H, the derivative of H along its own vector field is dH(X_H)=ω(X_H,X_H)=0 by alternation. Closedness additionally makes the Lie derivative of ω vanish through Cartan's formula. Therefore the flow preserves the symplectic form wherever it exists, and hence preserves the associated phase-space volume. These conclusions do not imply that individual trajectories fill an energy surface or that the system is ergodic. Integrable and chaotic Hamiltonian systems share symplectic preservation while having very different long-time orbit structures.

ιXHω=dH⟹q˙=∂H∂p,p˙=−∂H∂q,dHdt=0\iota_{X_H}\omega=dH\quad\Longrightarrow\quad \dot q=\frac{\partial H}{\partial p},\quad \dot p=-\frac{\partial H}{\partial q},\qquad \frac{dH}{dt}=0
This uses ω=dq∧dp and the stated contraction convention. The energy identity assumes H has no explicit time dependence.↔ Scroll wide equations horizontally.

Numerical geometry and dissipative models differ

For H=(q²+p²)/2, the flow is a rotation: q̇=p and ṗ=−q. Circles of constant energy remain circles and signed area is preserved. Add damping ṗ=−q−2ζp with ζ>0 and the energy derivative becomes −2ζp². The planar divergence is −2ζ, so phase-space area contracts. This damped system is useful physics but is not Hamiltonian for that same canonical form and time-independent oscillator energy. Enlarging a model with reservoirs is another construction; it does not make the reduced damped plane area-preserving.

A numerical method can approximate the trajectory accurately over a short interval yet systematically distort its geometric invariants over long intervals. Symplectic integrators preserve an appropriate discrete symplectic map, usually without exactly preserving the original energy at every step. Exact energy preservation and symplecticity are different design goals. The oscillator lab uses analytic damped solutions with fixed initial conditions; set damping to zero to inspect the nondissipative case, then increase it to compare contraction in the underlying equations. It does not implement a numerical integrator or test a general manifold's symplectic structure.

H=12(q2+p2),q˙=p,p˙=−q−2ζp⟹H˙=−2ζp2H=\tfrac12(q^2+p^2),\quad \dot q=p,\quad\dot p=-q-2\zeta p\quad\Longrightarrow\quad\dot H=-2\zeta p^2
For ζ=0 this is the unit-frequency canonical Hamiltonian oscillator. Positive ζ introduces dissipation and area contraction in the same (q,p) coordinates.↔ Scroll wide equations horizontally.

Following a quarter turn exactly

For H=(q²+p²)/2 and (q(0),p(0))=(1,0), calculate the state and energy at t=π/2 and the Jacobian determinant of the flow.

  1. Hamilton's equations give q̇=p and ṗ=−q. The initial conditions select q(t)=cos t and p(t)=−sin t.

  2. At t=π/2 the state is (0,−1). The energy there is (0²+(−1)²)/2=1/2, matching the initial value.

  3. For arbitrary initial data, the flow matrix is (cos⁡tsin⁡t−sin⁡tcos⁡t)\begin{pmatrix}\cos t&\sin t\\-\sin t&\cos t\end{pmatrix}. Its determinant is cos²t+sin²t=1.

  4. Thus the map preserves signed area. This example also preserves Euclidean length, but a general Hamiltonian map need not preserve that extra metric structure.

The result

The exact flow moves the state to (0,−1), keeps energy 1/2, and preserves area through determinant one.

Explore the model

Interactive lab

Interactive lab · oscillator

Compare conservative motion and damping

Predict whether amplitude persists when damping ratio ζ=0, then set natural frequency ω₀=1 to inspect the unit-frequency oscillator with x(0)=1 and velocity zero. Increase ζ and compare the analytic damping. These controls do not implement symplectic time stepping or prove volume preservation on arbitrary phase spaces.

Compare conservative motion and dampingUnit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Current readings: Displacement x(t): 1; Velocity v(t): 0; Regime: underdamped. All parameters are adjustable with the labeled controls below.02.557.510−1.15−0.5700.571.15Time · sDisplacementunderdamped
Displacement x(t)Current time
Displacement x(t)
1
Velocity v(t)
0
Regime
underdamped
t = 0 s

Unit mass, x(0) = 1 and v(0) = 0. The analytic solution includes underdamped, critically damped and overdamped cases; time is measured in seconds. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forDamping changes the dynamical structure; a contracting oscillator is not the same canonical Hamiltonian flow.

Check your understanding

Which conditions define a symplectic form?

Try it yourself

Take H=qp with ω=dq∧dp and the same contraction convention. Find its flow and decide whether Euclidean distance and area are preserved.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Hamilton's equations separate into q̇=q and ṗ=−p.

Compare with the solution

The flow is (q,p)=(e^tq₀,e^{-t}p₀). Its Jacobian determinant is e^t e^{-t}=1, preserving area. The vector (1,0) changes Euclidean length from 1 to e^t, so distance is not generally preserved. H=qp remains constant since the scale factors cancel.

Take it with you

  • A symplectic form is closed and nondegenerate, rather than a length metric.
  • Hamilton's equations depend on a consistent sign convention and preserve autonomous energy and symplectic volume.
  • Damping, symplectic discretization, and exact energy conservation describe different properties.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.