We know how Hamilton's equations move a state point through phase space, and now we want to track how any physical quantity changes along that motion and tell when it is conserved.
1
Phase Space Velocity as a Rotated Gradient
On the (q,p) phase space plane, the Hamiltonian H(q,p) forms an elevation map of constant-energy contours, and we want to see how the state's velocity vector (q˙,p˙) relates geometrically to the gradient ∇H.
Phase Space Velocity as a Rotated Gradient
Comparing Hamilton's equations to the uphill gradient ∇H shows that the phase space velocity is ∇H rotated 90∘ clockwise, which keeps the moving state tangent to its constant-energy contour:
Try rotating ∇H at a few points on the (q,p) plane to see how the velocity vector follows the energy contours:
At any point in phase space, turning the uphill energy slope 90° clockwise gives a velocity that follows the constant-energy contour and speeds up wherever the contours pack closer together.
2
The Poisson Bracket and Its Geometry
As the state moves along an H(q,p) contour, we want to find the rate of change dtdf of any other phase space quantity f(q,p), such as angular momentum or kinetic energy.
The Poisson Bracket and Its Geometry
Plugging Hamilton's equations into the multivariable chain rule for dtdf produces a crossed-derivative pairing between f and H:
Because (q˙,p˙) is ∇H rotated by 90∘, the dot product ∇f⋅(q˙,p˙) equals the signed area of the parallelogram spanned by ∇f and ∇H. When the yellow f contours cross the white H contours at an angle, ∇f and ∇H span a non-zero parallelogram area and f changes at rate {f,H}; when the two sets of contours run parallel, that parallelogram collapses to zero area, {f,H}=0, and f is conserved along the trajectory.
As the state moves along an energy contour, the parallelogram between the two gradient arrows shows how fast the other quantity changes, shrinking to nothing when the two sets of contours line up.
3
Explicit Time Dependence and Multiple Degrees of Freedom
What if the formula for f(q,p,t) also depends explicitly on the time t, so its contour map shifts underneath the state dot even if the dot stands still?
Explicit Time Dependence and Multiple Degrees of Freedom
Adding the explicit time change of the f map to the change from the dot moving across the map gives the full rate of change:
dtdf=dot moves across map{f,H}+map shifts in time∂t∂f
Plugging H itself in place of f shows why total energy is conserved whenever H has no explicit time dependence, since moving along a contour of H never changes H({H,H}=0):
dtdH={H,H}+∂t∂H=∂t∂H
When a system has N degrees of freedom with coordinates (q1,…,qN) and conjugate momenta (p1,…,pN), the chain rule adds one crossed-derivative term for each coordinate-momentum pair (qi,pi):
{f,g}=i=1∑N(∂qi∂f∂pi∂g−∂pi∂f∂qi∂g)
4
Generators of Flow, Fundamental Brackets, and Symmetry
Any phase space function g(q,p) can act as a generator of flow by rotating its gradient ∇g by 90∘ clockwise to push points along g's contour lines, and {f,g} measures how fast f changes when pushed by g.
Generators of Flow, Fundamental Brackets, and Symmetry
Using momentum p as the generator slides the phase space plane in the +q direction at speed 1, so bracketing any function f with p takes its spatial derivative:
{f,p}=∂q∂f
Across N degrees of freedom, each coordinate qi only moves when pushed by its own partner momentum pi, giving the fundamental Poisson brackets:
Swapping the two functions inside a bracket reverses the order of subtraction and flips the sign. For any time-independent quantity f(q,p), this antisymmetry turns a conservation law directly into a symmetry of the Hamiltonian:
{f,g}=−{g,f}
f is conserved along H’s flow{f,H}=0⟺H is unchanged along f’s flow{H,f}=0
5
Bracket Algebra and Rotation Generators
Rather than writing out partial derivatives every time we evaluate a Poisson bracket, we can break brackets down to the fundamental pairings {qi,pj}=δij using the algebra rules of derivatives.
Bracket Algebra and Rotation Generators
Because the Poisson bracket takes first derivatives in each slot, it obeys linearity, the product rule, and the single-variable chain rule:
Now let's find the phase space flow (x˙,y˙)=({x,Lz},{y,Lz}) generated by the z-component of angular momentum, Lz=xpy−ypx.
Text solution
Pair x with pxIn {x,Lz}, the coordinate x on the left only pairs with its partner momentum px on the right, so xpy gives zero and the spectator −y pulls out in front of {x,px}=1.
{x,Lz}={x,xpy−ypx}=0−y{x,px}=−y
Pair y with pyIn {y,Lz}, the coordinate y on the left only pairs with py on the right, so −ypx gives zero and the spectator x pulls out in front of {y,py}=1.
{y,Lz}={y,xpy−ypx}=x{y,py}−0=x
So Lz pushes points on the (x,y) plane with velocity (x˙,y˙)=(−y,x), which points tangent to a circle and generates counterclockwise rotations around the z-axis.
6
Testing Conservation in a Central Potential
Let's use spectator variables and the chain rule to check whether Lz=xpy−ypx is conserved for a particle of mass m moving in a 3D central potential V(r) with r=x2+y2+z2:
H=2mpx2+py2+pz2+V(r)
Testing Conservation in a Central Potential
Text solution
Split kinetic and potential termsSince ∂t∂Lz=0, we test whether {Lz,H}=0 by splitting the bracket across the kinetic energy and the central potential V(r).
Treat momenta as spectators in the kinetic bracketBecause px2+py2+pz2 contains only momenta, py and px inside Lz act as spectators while x pairs with px2 and y pairs with py2.
Simplify V(r) with the chain ruleBecause V(r) depends on position only through r=(x2+y2+z2)1/2, applying the single-variable chain rule twice reduces {Lz,V(r)} to a bracket with x2+y2+z2.
Treat positions as spectators in the potential bracketBecause x2+y2+z2 contains only positions, x and y inside Lz act as spectators while py pairs with y2 and px pairs with x2, picking up a minus sign from {pi,qi}=−1.
Both the kinetic and potential brackets are zero, so {Lz,H}=0 and Lz is conserved in any central potential V(r). Watch the slot order whenever a momentum sits on the left and a position sits on the right: {qi,pi}=+1, so flipping them gives {pi,qi}=−1.
7
Angular Momentum Brackets and the Jacobi Identity
Now let's see how the pairing method works when both slots mix positions and momenta by evaluating {Lx,Ly} for Lx=ypz−zpy and Ly=zpx−xpz, and what that bracket tells us when both Lx and Ly are conserved.
Angular Momentum Brackets and the Jacobi Identity
LxLy{Lx,Ly}=ypz−zpy=zpx−xpz=?
Text solution
Identify the shared conjugate pairComparing Lx=ypz−zpy on the left with Ly=zpx−xpz on the right, only (z,pz) appears as a coordinate-momentum pair across both slots, so x,px,y,py are spectators throughout.
{Lx,Ly}={ypz−zpy,zpx−xpz}
Pair z and pz across the termsThe terms with matching variables ({ypz,−xpz} and {−zpy,zpx}) give zero, leaving only the two cross-terms where pz pairs with z and z pairs with pz.
So the bracket of the rotation generators around the x- and y-axes is the rotation generator around the z-axis, {Lx,Ly}=Lz.
To find how a bracket {f,g} itself changes in time, any three phase space functions f,g,h obey the cyclic Jacobi identity, which rearranges by antisymmetry into a product rule for brackets:
{{f,g},h}+{{g,h},f}+{{h,f},g}=0
rate {f,g} changes{{f,g},H}={{f,H},g}+{f,{g,H}}
When two time-independent quantities f and g are both conserved ({f,H}=0 and {g,H}=0), both terms on the right are zero (Poisson's theorem), so their bracket {f,g} is automatically conserved too. In particular, if Lx and Ly are conserved, then Lz={Lx,Ly} is guaranteed to be conserved without another calculation.
8
Canonical Structure and Canonical Transformations
We now want to know which coordinate transformations (qi,pi)→(Qi,Pi) on phase space let us keep using Hamilton's equations in the exact same form:
Q˙i=∂Pi∂H,P˙i=−∂Qi∂H
Canonical Structure and Canonical Transformations
In a 1D system, {Q,P} is the Jacobian determinant of the coordinate transformation from (q,p) to (Q,P), which measures the signed area of a transformed 1×1 phase space square:
{Q,P}=∂q∂Q∂p∂P−∂p∂Q∂q∂P
Across N degrees of freedom, rotating the (Q,P)-gradient of H by 90∘ gives the true physical flow in every plane without mixing different degrees of freedom when the new coordinates keep the same fundamental Poisson brackets as the old ones. A coordinate change that preserves this canonical structure is called a canonical transformation:
{Qi,Qj}{Pi,Pj}{Qi,Pj}=0,=0,=δij
On a 1D phase space plane, the 90∘-rotated gradient of H in the new (Q,P) grid matches the true phase space velocity vector if and only if a 1×1 unit square in (q,p) deforms into a parallelogram of signed area {Q,P}=1.
In new phase space coordinates, the rotated gradient of energy matches the true velocity only when the deformed unit cell keeps an area of 1 and the same orientation.
9
Solving the Harmonic Oscillator with a Canonical Transformation
Now let's solve the 1D harmonic oscillator, H(q,p)=2mp2+21mω2q2, by switching to polar-style phase space coordinates (Q,P) that turn its elliptical energy contours into straight horizontal lines:
qp=mω2PsinQ,=2mωPcosQ
Solving the Harmonic Oscillator with a Canonical Transformation
Text solution
Verify the fundamental bracketBecause {Q,Q}=0 and {P,P}=0 automatically in 1D, we verify that the transformation is canonical by checking that {q,p} with respect to (Q,P) equals 1. This bracket is the Jacobian determinant of the reverse transformation, so it equals {Q,P}1, and one is 1 exactly when the other is.
Substitute into the HamiltonianPlugging q(Q,P) and p(Q,P) into H(q,p) combines the sine and cosine terms so that the angle Q drops out as a cyclic coordinate.
Substituting constant P and Q(t)=ωt+Q0 back into q(Q,P) gives the full harmonic oscillator solution q(t)=mω2Psin(ωt+Q0) without solving a differential equation.
Because {q,p}(Q,P)=1, turning the elliptical energy contours of (q,p) into flat horizontal lines at height P on the (Q,P) plane keeps the area of every phase space region unchanged while the angle Q advances at constant speed ω.
When you unroll the harmonic oscillator’s elliptical orbits into flat horizontal lines, every patch of phase space keeps the exact same area no matter how much it stretches or bends.
Key concepts
Phase space velocity as a rotated gradient
On a 1D phase space contour map of H(q,p), the uphill gradient ∇H=(∂q∂H,∂p∂H) points perpendicular to the energy contour, and rotating it 90∘ clockwise gives the velocity (q˙,p˙)=(∂p∂H,−∂q∂H) tangent to the contour.
When to use conjugate pairing vs. the partial-derivative formula
For algebraic combinations of coordinates and momenta, do not write out the partial-derivative sum {f,g}=∑i=1N(∂qi∂f∂pi∂g−∂pi∂f∂qi∂g). Instead, pair each coordinate only with its own partner momentum using {qi,pj}=δij (and {pi,qi}=−1), pull all spectator variables out front like constants, and use {f,V(r)}=drdV{f,r} when a slot depends on a single variable like r. For instance, in {x,xpy−ypx}, only px pairs with x, immediately giving −y{x,px}=−y.
Save the explicit partial-derivative formula {q,p}(Q,P)=∂Q∂q∂P∂p−∂P∂q∂Q∂p for non-polynomial coordinate transformations such as q=mω2PsinQ,p=2mωPcosQ.
Conservation, explicit time dependence, and symmetry
Always check for explicit t dependence first: dtdf={f,H}+∂t∂f. When ∂t∂f=0,{f,H}=0 means f is conserved, and flipping the bracket by antisymmetry ({H,f}=−{f,H}=0) means the flow generated by f leaves H unchanged.
When two time-independent quantities f and g are already known to be conserved ({f,H}=0 and {g,H}=0), don't compute {{f,g},H} from scratch. The Jacobi identity {{f,g},H}={{f,H},g}+{f,{g,H}} guarantees that their bracket {f,g} is conserved too (for example, {Lx,Ly}=Lz).
Canonical transformations
A coordinate change (qi,pi)→(Qi,Pi) preserves Hamilton's equations and all bracket rules if and only if all fundamental brackets hold: {Qi,Pj}=δij and {Qi,Qj}={Pi,Pj}=0. In 2D or higher, checking {Qi,Pi}=1 alone is not enough: you must also verify that cross-brackets like {P1,P2} are zero so different degrees of freedom don't mix into one another.
10
Practice
1
A 1D system has Hamiltonian H(q,p)=2mp2+21kq2. At a state (q0,p0) in the first quadrant (q0>0,p0>0), find the gradient ∇H, rotate it 90∘ clockwise to find the phase space velocity vector (q˙,p˙), determine whether the state moves clockwise or counterclockwise around its elliptical energy contour, and explain how you can tell directly from a contour map of any H(q,p) where along an orbit the system moves fastest.
What happens to the components of a 2D vector (A,B) when you rotate it 90∘ clockwise, and which way does the resulting arrow point when q0>0 and p0>0?
Taking the partial derivatives of H(q,p)=2mp2+21kq2 at (q0,p0) gives the uphill gradient vector perpendicular to the elliptical energy contour:
∇H=(∂q∂H,∂p∂H)=(kq0,mp0)
Rotating a 2D vector (A,B) by 90∘ clockwise turns it into (B,−A), which gives the phase space velocity vector:
(q˙,p˙)=(mp0,−kq0)
(Be careful not to rotate 90∘ counterclockwise to (−B,A)=(−mp0,kq0) or forget to swap the components and write (kq0,−mp0): the first points backwards along the contour, and the second isn't tangent to the contour at all.)
In the first quadrant (q0>0,p0>0), we have q˙=mp0>0 and p˙=−kq0<0, so the velocity points to the right and downward, moving the state clockwise around its elliptical energy contour. Because a 90∘ rotation preserves vector length, the phase space speed equals ∣∇H∣; on any contour map of H(q,p), the system moves fastest where the energy surface is steepest and the constant-H contour lines are packed most tightly together.
2
For a free particle of mass m in 1D with Hamiltonian H(q,p)=2mp2, consider the explicitly time-dependent quantity f(q,p,t)=q−mpt. Compute {f,H} and ∂t∂f, find the total time derivative dtdf, and explain physically what f represents and how it is conserved even though {f,H}=0.
Split dtdf into the bracket {f,H} (where t is held constant) and the explicit time derivative ∂t∂f (where q and p are held constant).
In {q−mpt,2mp2}, the right slot contains only p, so −mpt on the left acts as a spectator and drops out while q pairs with p2:
{f,H}={q−mpt,2mp2}=2m1{q,p2}=2m2p{q,p}=mp
Differentiating f(q,p,t)=q−mpt with respect to t while holding q and p fixed gives the explicit time derivative:
∂t∂f=−mp
Adding the two pieces gives the total rate of change along the trajectory:
dtdf={f,H}+∂t∂f=mp−mp=0
(Do not stop at {f,H}=mp=0 and conclude that f is not conserved: when f depends explicitly on t, conservation is decided by the full sum {f,H}+∂t∂f, not by {f,H} alone.)
Because dtdf=0,f is conserved. Physically, for a free particle moving at constant velocity mp,q(t)=q0+mpt, so f(q,p,t)=q−mpt=q0 is the particle's initial position at t=0. The state dot moves across the f contour map, which raises f at rate {f,H}=mp, while the contour lines of f (the lines q−mpt=const) shift in the same direction as the dot at the same speed mp, which lowers f at any fixed point at rate ∂t∂f=−mp. The contours move along with the dot, keeping the value of f constant at q0.
3
Consider the phase space function D(q,p)=qp in 1D. Using the fundamental brackets and the product rule, find the flow (q˙,p˙)=({q,D},{p,D}) generated by D and describe how it moves points on the (q,p) plane. Then use the antisymmetry of the Poisson bracket to determine whether D is conserved for a system with Hamiltonian H(q,p)=cq2p2, where c is a constant.
When evaluating p˙={p,qp}, pay attention to the slot order in {p,q}. For the second part, rewrite H=cq2p2 as a function of D before taking the bracket.
Using conjugate pairing and pulling spectators out front, the flow generated by D=qp is:
(Watch the sign in the second bracket: {p,q}=−{q,p}=−1, so p˙=−p. Writing +p gives (q˙,p˙)=(q,p), a radial expansion that would violate phase space area conservation.)
Thus D=qp generates the hyperbolic flow (q˙,p˙)=(q,−p), which stretches the horizontal q-axis exponentially while compressing the vertical p-axis at the exact same rate along hyperbolas of constant qp.
For the Hamiltonian H(q,p)=cq2p2=c(qp)2=cD2,H depends on q and p only through D itself. By the chain rule, pushing H along D's flow changes nothing:
{H,D}={cD2,D}=2cD{D,D}=0
By antisymmetry, {D,H}=−{H,D}=0, and since ∂t∂D=0,D=qp is conserved.
4
A particle of mass m moves in 3D inside a central potential V(r) (with r=x2+y2+z2) plus a uniform gravitational field along the z-axis, so its Hamiltonian is H=2mpx2+py2+pz2+V(r)+mgz. Using the pairing method, spectator variables, and the fact that {Li,2mp2+V(r)}=0 for any component of angular momentum, evaluate {Lz,H} and {Lx,H} for Lz=xpy−ypx and Lx=ypz−zpy, and explain physically why one component is conserved while the other is not.
After splitting the bracket by linearity, look at the single coordinate inside mgz: which momentum is the only variable that pairs with z?
By linearity, the central-potential part of H drops out for every angular momentum component:
{Li,H}={Li,2mp2+V(r)}+{Li,mgz}={Li,mgz}
For Lz=xpy−ypx, the right slot mgz contains only z, so only its conjugate partner pz can pair with it. Because pz does not appear in Lz, every variable in Lz is a spectator:
{Lz,H}={xpy−ypx,mgz}=0
For Lx=ypz−zpy, only pz in the first term ypz pairs with z on the right, while y,z,py act as spectators:
{Lx,H}={ypz−zpy,mgz}=mgy{pz,z}−0=−mgy
(Be careful not to pair −zpy with z, since {z,z}=0 and only pz pairs with z, and remember that {pz,z}=−1, giving −mgy rather than +mgy.)
Because ∂t∂Lz=∂t∂Lx=0,Lz is conserved({Lz,H}=0) while Lx is not conserved({Lx,H}=−mgy=0). Physically, rotating the system around the vertical z-axis keeps the height z and gravitational potential energy mgz unchanged, whereas rotating around the horizontal x-axis changes the height z, so gravity exerts a torque −mgy around the x-axis.
5
Suppose a time-independent 3D Hamiltonian H conserves both the z-component of angular momentum, Lz=xpy−ypx, and the x-component of linear momentum, px. First, use the pairing method to evaluate {Lz,px}. Then use the Jacobi identity (Poisson's Theorem) to prove that a third physical quantity must also be conserved, and explain the geometric meaning of this result in terms of the symmetries of H.
In {xpy−ypx,px}, which single coordinate on the left pairs with px on the right? Then substitute {Lz,H}=0 and {px,H}=0 into {{Lz,px},H}={{Lz,H},px}+{Lz,{px,H}}.
In {Lz,px}={xpy−ypx,px}, the right slot contains only px, so only its partner coordinate x on the left pairs with it while py,y,px on the left are spectators:
{Lz,px}={xpy−ypx,px}=py{x,px}−0=py
(Do not pair −ypx with px to get −y, since {px,px}=0, and note that {x,px}=+1 gives +py, not −py.)
Because Lz and px are conserved and have no explicit time dependence, {Lz,H}=0 and {px,H}=0. Applying the Jacobi identity in product-rule form gives:
Substituting {Lz,px}=py yields {py,H}=0, which proves that the y-component of linear momentum py is also conserved. Geometrically, px generates translations along the x-axis and Lz generates rotations around the z-axis; if H is unchanged by both translations along x and rotations around z, then rotating the x-translation symmetry by 90∘ around z forces H to be unchanged by translations along the y-axis as well.
6
In a 2D system with coordinates (q1,q2) and momenta (p1,p2), consider the transformation to new phase space variables Q1=q1,P1=p1+aq2,Q2=q2,P2=p2+bq1, where a and b are constants. Compute all the fundamental Poisson brackets among Q1,Q2,P1,P2 using the old coordinates, determine the condition on a and b for the transformation to be canonical, and explain what happens to Hamilton's equations if a=b.
After checking the coordinate-coordinate and coordinate-momentum brackets, evaluate {P1,P2}={p1+aq2,p2+bq1} by pairing (q1,p1) and (q2,p2).
Using the fundamental brackets in (q1,q2,p1,p2), the brackets involving the new coordinates Q1=q1 and Q2=q2 are:
Now check the bracket between the two new momenta, where p1 on the left pairs with bq1 on the right and aq2 on the left pairs with p2 on the right:
(Do not stop after checking {Qi,Pj}=δij and assume the transformation is canonical for all a and b, and watch the opposite slot orders {p1,q1}=−1 versus {q2,p2}=+1 so you don't get a+b=0.)
For the transformation to be canonical, every fundamental bracket must hold, including {P1,P2}=0, which requires a=b. If a=b, then {P1,P2}=0, so the two momenta mix: gradients of H with respect to one degree of freedom affect the velocity of the other degree of freedom, breaking Hamilton's equations in (Qi,Pi).
7
A particle of mass m moves vertically in a uniform gravitational field with 1D Hamiltonian H(q,p)=2mp2+mgq. Consider the coordinate transformation from (Q,P) to (q,p) given by q=mgP−21gQ2 and p=−mgQ. First, compute {q,p} with respect to the (Q,P) coordinates to verify that the transformation is canonical. Then substitute q and p into H(q,p) to find H(Q,P), and use the canonical bracket equations P˙={P,H} and Q˙={Q,H} to find P(t),Q(t), and q(t) in terms of the initial values P0 and Q0.
Keep track of both minus signs in −(∂P∂q)(∂Q∂p)=−(mg1)(−mg)=+1; dropping one gives {q,p}(Q,P)=−1, which flips the orientation of phase space.
Evaluate {q,p}(Q,P)=∂Q∂q∂P∂p−∂P∂q∂Q∂p first; once you simplify H(Q,P), notice which variable is cyclic.
Taking partial derivatives with respect to Q and P gives the fundamental bracket:
(Keep track of both minus signs in −(∂P∂q)(∂Q∂p)=−(mg1)(−mg)=+1; dropping one gives {q,p}(Q,P)=−1, which flips the orientation of phase space.)
Since {Q,Q}=0 and {P,P}=0 automatically in 1D, {q,p}(Q,P)=1 confirms that the transformation is canonical. Substituting q=mgP−21gQ2 and p=−mgQ into H(q,p)=2mp2+mgq cancels the Q2 terms:
(Do not mix up the two equations and make P grow with t: since H=P, it is P that stays constant at P0 while its conjugate coordinate Q advances at rate {Q,P}=1.)
Plugging P(t)=P0 and Q(t)=t+Q0 back into q(Q,P) gives the vertical free-fall trajectory: