Home / Learn / Exam prep / GATE Physics / Lesson 2.3
All lessons

Module 2: Classical mechanics · Lesson 2.3 · about 50 min

Poisson brackets and canonical transformations

The Poisson bracket and its rules, time evolution and constants of motion, angular momentum brackets, canonical transformations and how to test one, the four generating functions, generators of symmetries, and the bridge to quantum commutators and the Hamilton-Jacobi equation.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 2 · about 50 minutes. By the end you will be able to compute Poisson brackets quickly, use them to find how any quantity changes and whether it is conserved, test whether a change of variables is canonical, find and use generating functions, and see why quantum mechanics replaces brackets with commutators.

This lesson uses Hamilton’s equations from lesson 2.2, Hamiltonian mechanics.

One operation, the Poisson bracket, tells you how anything changes in time, which quantities are conserved, and which changes of variables keep Hamilton's equations intact.

1. The bracket and its rules

For two functions f(q,p,t) and g(q,p,t) on phase space,

{f,g}=∑j(∂f∂qj∂g∂pj−∂f∂pj∂g∂qj)

Some books define it with the opposite sign; GATE and NET follow the one above. Check the fundamental brackets to be sure which convention a question uses:

{qj,qk}=0,{pj,pk}=0,{qj,pk}=δjk

The rules make most brackets quick to evaluate without writing out derivatives:

Rule Formula
antisymmetry {f,g}=−{g,f}, so {f,f}=0
linearity {af+bg,h}=a{f,h}+b{g,h}
product (Leibniz) {fg,h}=f{g,h}+{f,h}g
chain rule {f,g(p)}=g′(p)∂f/∂q, {f(q),g}=f′(q)∂g/∂p
Jacobi identity {f,{g,h}}+{g,{h,f}}+{h,{f,g}}=0

Worked example. {q2p,qp2}. Using derivatives: (2qp)(2qp)−(q2)(p2)=3q2p2. For monomials {qapb,qcpd}=(ad−bc)qa+c−1pb+d−1, here (4−1)q2p2, the same.

2. Time evolution and constants of motion

By the chain rule and Hamilton’s equations, any function f(q,p,t) changes along the motion as

dfdt={f,H}+∂f∂t

Hamilton’s equations themselves are the special cases q˙={q,H}, p˙={p,H}. A quantity with no explicit t is a constant of motion exactly when its bracket with H vanishes.

{f, H}
the rate at which f changes because the system moves
∂f/∂t
the change because f itself is defined with a clock in it
{f, H} = 0
f is conserved (if it has no explicit t); also, H is unchanged by the transformation f generates
{qj, pk} = δjk
the structure of phase space: each coordinate is paired with exactly one momentum
Physical meaning
The bracket measures how much moving along the flow of one quantity changes another. If H does not change along the flow of f, then f does not change along the flow of H: symmetry and conservation are the same statement.

Poisson’s theorem. If f and g are both constants of motion, so is {f,g}, by the Jacobi identity with h=H. Sometimes this gives a new constant, sometimes only a trivial one (a number, or a function of the ones you had).

Worked example: a constant that depends on time. For a free particle, H=p2/2m, take G=q−pt/m. Then {G,H}=p/m and ∂G/∂t=−p/m, so dG/dt=0. G is the starting position, conserved even though it contains t. For a boost in three dimensions the same idea gives the conserved centre-of-mass motion.

3. Angular momentum brackets

With L→=r→×p→, the product rule gives

{Li,Lj}=ϵijkLk,{xi,Lj}=ϵijkxk,{pi,Lj}=ϵijkpk,{Li,L2}=0

So {Lx,Ly}=Lz and its cyclic versions. Any scalar built from r→ and p→ (such as r2, p2, r→⋅p→) has zero bracket with every Li, because Li generates rotations and scalars do not change under rotations. Hence, for any central potential H=p2/2m+V(r), every component of L→ is conserved.

The components of L→ cannot all be used as canonical momenta at once, because their brackets with one another are not zero. In quantum mechanics this becomes the statement that Lx, Ly and Lz cannot all be sharp, while L2 and one component can.

Worked example. {Lz,x2+y2}=0, and {Lz,px}=−{px,Lz}=−ϵxzkpk=py. A force with a non-zero x-component but symmetric about z still conserves Lz.

4. Canonical transformations

A change of variables (q,p)→(Q,P) is canonical if, for some new Hamiltonian K(Q,P,t), the motion obeys Hamilton’s equations in the new variables too. The practical test (for a transformation with no explicit time dependence, or at each instant) is that the fundamental brackets are kept:

{Qj,Qk}q,p=0,{Pj,Pk}q,p=0,{Qj,Pk}q,p=δjk

For one degree of freedom, {Q,P} is the Jacobian ∂(Q,P)/∂(q,p), so a canonical map keeps phase-space area. That is Liouville’s theorem again: time evolution itself is a canonical transformation. A canonical map then keeps every Poisson bracket, so brackets can be worked out in whichever variables are easiest.

A square patch of phase space under different maps. The rotation, shear and squeeze keep its area and give {Q, P} = 1; the uniform scaling does not. The pendulum's own time evolution bends the patch into a curl but keeps the area exactly.

Worked example. Is Q=qcos⁡α+psin⁡α, P=−qsin⁡α+pcos⁡α canonical? {Q,P}=cos⁡αcos⁡α−sin⁡α(−sin⁡α)=1, yes, for every α. At α=π/2 it is Q=p, P=−q: coordinates and momenta can be swapped (with a sign), so in Hamiltonian mechanics there is nothing special about which is which. Without the minus sign, Q=p, P=q gives {Q,P}=−1 and is not canonical.

5. Generating functions

Canonical transformations can be built from one function of one old and one new variable. Requiring pq˙−H and PQ˙−K to differ by a total time derivative dF/dt gives four types:

Type Relations New Hamiltonian
F1(q,Q,t) p=∂F1/∂q, P=−∂F1/∂Q K=H+∂F/∂t
F2(q,P,t) p=∂F2/∂q, Q=∂F2/∂P (same for all four)
F3(p,Q,t) q=−∂F3/∂p, P=−∂F3/∂Q
F4(p,P,t) q=−∂F4/∂p, Q=∂F4/∂P

Three examples worth knowing:

  • F2=∑qjPj is the identity, Q=q, P=p.
  • F2=∑fj(q)Pj is a point transformation: Qj=fj(q), and the momenta change to match. Every change of coordinates, such as Cartesian to polar, is canonical.
  • F1=∑qjQj swaps them: p=Q, P=−q.

Worked example: the oscillator made trivial. Take F1=12mωq2cot⁡Q for H=p2/2m+12mω2q2:

Old momentum. p = ∂F₁/∂q = mωq cot Q.

New momentum. P = −∂F₁/∂Q = ½mωq² csc²Q.

Solve for q and p. q = √(2P/mω) sin Q and p = √(2mωP) cos Q.

New Hamiltonian. K = H = ωP cos²Q + ωP sin²Q = ωP. Q is cyclic.

Solve. P = E/ω is constant and Q̇ = ∂K/∂P = ω, so Q = ωt + φ: the motion follows at once.

Here P is J/2π, the action of lesson 2.2 divided by 2π, and Q is the angle variable.

6. Generators and symmetries

An infinitesimal canonical transformation is generated by a function G: F2=qP+ϵG(q,P) gives

δq=ϵ∂G∂p,δp=−ϵ∂G∂q,δf=ϵ{f,G}
Generator G Transformation
px translation along x
Lz rotation about z
H (with ϵ=dt) evolution in time

The change in H under the transformation generated by G is ϵ{H,G}=−ϵ{G,H}=−ϵG˙. So H is unchanged exactly when G is conserved: Noether’s theorem in one line.

7. From brackets to commutators

Dirac noticed that the commutator of quantum operators obeys the same rules as the Poisson bracket (antisymmetry, linearity, product rule, Jacobi identity). The rule

{A,B}⟶1iℏ[Aˆ,Bˆ]

turns {q,p}=1 into [xˆ,pˆ]=iℏ, df/dt={f,H} into the Heisenberg equation dAˆ/dt=[Aˆ,Hˆ]/iℏ, and {Lx,Ly}=Lz into [Lˆx,Lˆy]=iℏLˆz. Canonical transformations become unitary transformations.

“A transformation is canonical if it keeps the Hamiltonian the same.” Canonical is about keeping the bracket structure, not H. The oscillator map above changes H from a quadratic in q and p to ωP, and is canonical. A scaling Q=2q, P=2p has {Q,P}=4, so it is not canonical. Hamilton’s equations survive it only if the new Hamiltonian is taken as 4 times the old one written in Q,P; such scale changes are sometimes called extended canonical transformations, and exams count them as not canonical.

8. The Hamilton-Jacobi equation

The most ambitious canonical transformation makes the new Hamiltonian zero, so every new variable is constant. Its type-2 generating function S(q,P,t), Hamilton’s principal function, must satisfy

H(q,∂S∂q,t)+∂S∂t=0

For a time-independent H, S=W(q)−Et, and W solves H(q,∂W/∂q)=E. For a free particle W=2mEq. The equation is the short-wavelength limit of the Schrödinger equation, with ψ≈eiS/ℏ, which is how the WKB method arises.

  • {f,g}=∑(∂qf∂pg−∂pf∂qg); {qj,pk}=δjk; antisymmetric, Leibniz, Jacobi.
  • df/dt={f,H}+∂f/∂t; conserved if this is zero. Poisson’s theorem: brackets of constants are constants.
  • {Li,Lj}=ϵijkLk, {Li,L2}=0; scalars commute with every Li.
  • Canonical test: {Q,P}=1 (for one degree of freedom, area kept); Q=p, P=−q is canonical, Q=p, P=q is not.
  • Generating functions: F1: p=∂qF1, P=−∂QF1; F2: p=∂qF2, Q=∂PF2; K=H+∂F/∂t.
  • Generators: p translates, Lz rotates, H evolves; {G,H}=0 means G conserved and H symmetric.
  • Quantum: {A,B}→[Aˆ,Bˆ]/iℏ. Hamilton-Jacobi: H(q,∂S/∂q)+∂S/∂t=0.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. More on the Poisson brackets practice page.

Before this: lesson 2.2, Hamiltonian mechanics. Next: lesson 2.4, central forces and scattering.

Going on to CSIR NET? Canonical transformations and Hamilton-Jacobi theory builds on these generating functions.

Check yourself

1With {f, g} = ∂f/∂q ∂g/∂p − ∂f/∂p ∂g/∂q, the transformation Q = q², P = p/(2q) is
2If L_x and L_y are both constants of motion for some system, then
3The quantity that generates an infinitesimal rotation about the z-axis, through δf = ε{f, G}, is

Sources

  • H. Goldstein, C. Poole and J. Safko, Classical Mechanics, 3rd ed. (2002), chapters 9 and 10
  • L. D. Landau and E. M. Lifshitz, Mechanics, 3rd ed. (1976), chapter 7
  • P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed. (1958), chapter 4
  • GATE Physics syllabus (Classical Mechanics), IIT organising institute; CSIR-UGC NET Physical Sciences syllabus, Part A Classical Mechanics

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.