Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Poisson Brackets and Canonical Transformations

    The oscillator becomes especially simple when its coordinates are energy and phase: energy stays fixed, while phase advances uniformly. But an arbitrary change of variables does not preserve the canonical equations. The Poisson bracket gives a direct test. We will derive its algebra, explain what a generating function actually generates, and construct the oscillator's action-angle map with its domain stated explicitly.

    Preparation: Symplectic forms and Hamiltonian vector fields and the chain rule for coordinate transformations.

    The bracket measures change along a Hamiltonian flow

    On a symplectic manifold (M,Ω)(M,\Omega), use the convention ιXFΩ=dF\iota_{X_F}\Omega=dF. Define

    {F,G}=dF(XG)=Ω(XF,XG).\boxed{\{F,G\}=dF(X_G)=\Omega(X_F,X_G)}.

    For a time-independent observable FF, evolution generated by HH is F˙={F,H}\dot F=\{F,H\}. In canonical coordinates,

    {F,G}=∑a(∂F∂qa∂G∂pa−∂F∂pa∂G∂qa),{qa,pb}=δab.\{F,G\}=\sum_a\left( \frac{\partial F}{\partial q^a}\frac{\partial G}{\partial p_a} -\frac{\partial F}{\partial p_a}\frac{\partial G}{\partial q^a} \right), \qquad \{q^a,p_b\}=\delta^a{}_b.

    Bilinearity, antisymmetry, and the product rule follow directly. The product rule is essential: a bracket with GG differentiates functions along the vector field XGX_G, rather than being a separate multiplication law.

    In general coordinates xix^i, write {F,G}=∂iF Πij∂jG\{F,G\}=\partial_iF\,\Pi^{ij}\partial_jG. With the coefficient convention Ω=12Ωijdxi∧dxj\Omega=\tfrac12\Omega_{ij}dx^i\wedge dx^j, the bracket matrix is Π=−Ω−1\Pi=-\Omega^{-1}. In the charged-particle coordinates of the preceding article this gives

    {xi,xj}=0,{xi,πj}=δij,{πi,πj}=eFij(x).\{x^i,x^j\}=0, \qquad \{x^i,\pi_j\}=\delta^i{}_j, \qquad \{\pi_i,\pi_j\}=eF_{ij}(x).

    Thus the kinetic momenta are not canonical when the magnetic field is nonzero. Substituting these brackets into F˙={F,H}\dot F=\{F,H\} gives precisely the Lorentz-force equations already derived from the two-form.

    Closedness supplies the Jacobi identity

    The Jacobi identity is a geometric consequence of dΩ=0d\Omega=0. Since Hamiltonian vector fields preserve Ω\Omega, Cartan's identity gives

    ι[XF,XG]Ω=LXF(ιXGΩ)−ιXGLXFΩ=d(XFG)=−d{F,G}.\begin{aligned} \iota_{[X_F,X_G]}\Omega &=\mathcal L_{X_F}(\iota_{X_G}\Omega) -\iota_{X_G}\mathcal L_{X_F}\Omega\\ &=d(X_FG)=-d\{F,G\}. \end{aligned}

    Nondegeneracy therefore implies

    [XF,XG]=−X{F,G}.\boxed{[X_F,X_G]=-X_{\{F,G\}}}.

    The minus sign is required by our definition: XFG={G,F}X_FG=\{G,F\}. Applying this identity to a third function KK gives

    {{K,G},F}−{{K,F},G}=−{K,{F,G}}.\{\{K,G\},F\}-\{\{K,F\},G\} =-\{K,\{F,G\}\}.

    Antisymmetry rearranges it into

    {F,{G,K}}+{G,{K,F}}+{K,{F,G}}=0.\boxed{\{F,\{G,K\}\}+\{G,\{K,F\}\}+\{K,\{F,G\}\}=0}.

    This proves an identity of functions, not merely that its Hamiltonian vector field vanishes. The latter statement alone would leave a possible constant. The signs and the vector-field relation agree with Cannas da Silva, §18.3, pp.108–109 (PDF).

    For the magnetic brackets, the Jacobi identity on three kinetic momenta becomes

    {πi,{πj,πk}}+cyclic=−e(∂iFjk+∂jFki+∂kFij)=0.\{\pi_i,\{\pi_j,\pi_k\}\}+\text{cyclic} =-e\bigl(\partial_iF_{jk}+\partial_jF_{ki}+\partial_kF_{ij}\bigr)=0.

    The condition is exactly dF=0dF=0. This is a useful way to detect an inconsistent bracket proposed on a region containing an untreated magnetic singularity.

    A Poisson manifold generalizes this construction: it has an antisymmetric bracket satisfying the product rule and Jacobi, even when its bracket matrix is degenerate. Such a matrix cannot be inverted to obtain a symplectic form on the whole manifold. On a symplectic manifold, however, a function that brackets to zero with every function is locally constant, because its Hamiltonian vector field must vanish.

    Canonical maps preserve brackets, not just volume

    A diffeomorphism Φ:M→M′\Phi:M\to M' is canonical, or a symplectomorphism, when Φ∗Ω′=Ω\Phi^*\Omega'=\Omega. It intertwines the brackets:

    {F∘Φ,G∘Φ}M={F,G}M′∘Φ.\{F\circ\Phi,G\circ\Phi\}_M =\{F,G\}_{M'}\circ\Phi.

    To see this, evaluate the defining equation for XG∘ΦX_{G\circ\Phi} against an arbitrary vector and use the pullback condition. Nondegeneracy gives dΦ(XG∘Φ)=XG∘Φd\Phi(X_{G\circ\Phi})=X_G\circ\Phi; applying this to FF proves the formula. If both coordinate systems are canonical, the practical tests are

    {Qa,Qb}=0,{Qa,Pb}=δab,{Pa,Pb}=0.\{Q^a,Q^b\}=0, \qquad \{Q^a,P_b\}=\delta^a{}_b, \qquad \{P_a,P_b\}=0.

    Equivalently, the Jacobian obeys (DΦ)TJ(DΦ)=J(D\Phi)^T J(D\Phi)=J. A passive coordinate change always represents the same geometric two-form, but generally changes its components. Calling the new coordinates canonical asserts the extra property that these components again have the canonical block form.

    Symplectic maps preserve Ωn/n!\Omega^n/n!, hence volume. The converse holds locally in two dimensions for preservation of the oriented area form, but fails in higher dimensions. For instance, on ordered coordinates (q1,p1,q2,p2)(q_1,p_1,q_2,p_2), the map

    (Q1,P1,Q2,P2)=(2q1,p1,q2/2,p2)(Q_1,P_1,Q_2,P_2)=(2q_1,p_1,q_2/2,p_2)

    has determinant one, yet pulls back the target form to 2dq1∧dp1+12dq2∧dp22dq_1\wedge dp_1+\tfrac12dq_2\wedge dp_2. The total four-volume is unchanged while the individual canonical pairings are altered.

    Hamiltonian flows supply a distinguished family of canonical maps connected to the identity. Not every symplectic flow has a global Hamiltonian: the cylinder example in the preceding article has a closed contraction with Ω\Omega that is not exact. Global topology matters even when all local bracket tests succeed.

    A generating function describes a suitable graph

    Suppose a canonical map is described locally by old coordinates (q,p)(q,p) and new coordinates (Q,P)(Q,P). On its graph the one-form

    β=padqa−PadQa\beta=p_a dq^a-P_a dQ^a

    is closed, because dβ=−Ω+Ω′=0d\beta=-\Omega+\Omega'=0 after pullback to the graph. Locally it is dSdS. If (q,Q)(q,Q) are independent coordinates on that graph, write S=S(q,Q)S=S(q,Q) and obtain the type-one generating equations

    pa=∂S∂qa,Pa=−∂S∂Qa.p_a=\frac{\partial S}{\partial q^a}, \qquad P_a=-\frac{\partial S}{\partial Q^a}.

    Conversely, these equations determine a local canonical map if the mixed Hessian is invertible:

    det⁡(∂2S∂qa∂Qb)≠0.\det\left(\frac{\partial^2S}{\partial q^a\partial Q^b}\right)\ne0.

    The inverse function theorem then solves the first equation for Q(q,p)Q(q,p), after which the second determines PP. Taking another derivative of dSdS proves preservation of the two-form. This is the construction in Cannas da Silva, §4.2, pp.23–24 (PDF).

    The graph-coordinate assumption has content. The identity map has Q=qQ=q, so (q,Q)(q,Q) cannot be independent coordinates on its graph; it needs a different generating-function type. Nor does local exactness imply one global generating function. On the cylinder, the canonical map Q=qQ=q, P=p+κP=p+\kappa gives β=−κ dq\beta=-\kappa\,dq. Its period is −2πκ-2\pi\kappa, so for κ≠0\kappa\ne0 no single-valued global primitive exists. This is separate from the choice of graph coordinates.

    Oscillator action-angle coordinates

    For H=p2/(2m)+mω2q2/2H=p^2/(2m)+m\omega^2q^2/2 with m,ω>0m,\omega>0, define on the punctured phase plane

    q=2Imωsin⁡θ,p=2mωIcos⁡θ,I>0,θ∈R/(2πZ).q=\sqrt{\frac{2I}{m\omega}}\sin\theta, \qquad p=\sqrt{2m\omega I}\cos\theta, \qquad I>0,\quad\theta\in\mathbb R/(2\pi\mathbb Z).

    Direct differentiation gives dq∧dp=dθ∧dIdq\wedge dp=d\theta\wedge dI. One can also check the bracket without assuming the result. Since I=H/ωI=H/\omega, a local real branch of the angle satisfies

    dθ=p dq−q dp2I,{θ,I}=p22mωI+mωq22I=1.d\theta=\frac{p\,dq-q\,dp}{2I}, \qquad \{\theta,I\} =\frac{p^2}{2m\omega I}+\frac{m\omega q^2}{2I}=1.

    The Hamiltonian and equations become

    H=ωI,I˙=0,θ˙=ω.H=\omega I, \qquad \dot I=0, \qquad \dot\theta=\omega.

    The angle increases even though q+ip/(mω)q+ip/(m\omega) rotates clockwise: our parametrization uses sine for qq and cosine for pp. There is no sign contradiction.

    The action has an invariant orbit interpretation. Following a positive-time oscillator orbit,

    12π∮p dq=12π∫02π2Icos⁡2θ dθ=I.\frac1{2\pi}\oint p\,dq =\frac1{2\pi}\int_0^{2\pi}2I\cos^2\theta\,d\theta=I.

    More precisely, the one-forms satisfy

    p dq−I dθ=d(Isin⁡θcos⁡θ).p\,dq-I\,d\theta=d\bigl(I\sin\theta\cos\theta\bigr).

    On a patch with sin⁡θ≠0\sin\theta\ne0 and q/sin⁡θ>0q/\sin\theta>0, eliminate II to find a type-one generator:

    S(q,θ)=mωq22cot⁡θ,p=Sq=mωqcot⁡θ,I=−Sθ=mωq22sin⁡2θ.S(q,\theta)=\frac{m\omega q^2}{2}\cot\theta, \qquad p=S_q=m\omega q\cot\theta, \qquad I=-S_\theta=\frac{m\omega q^2}{2\sin^2\theta}.

    Its mixed derivative is Sqθ=−mωq/sin⁡2θS_{q\theta}=-m\omega q/\sin^2\theta, nonzero on this patch. These equations reproduce the chosen action-angle transformation. The excluded axes are a failure of this generating chart, not of the cylinder description of the punctured plane. At I=0I=0, however, the entire angle circle collapses to the oscillator equilibrium. The transformation genuinely ceases to be a coordinate map there. A periodic angle also cannot be replaced globally by a single real-valued smooth function.

    What changes for a nonquadratic oscillator

    Consider H=p2/(2m)+V(q)H=p^2/(2m)+V(q) in an energy interval where each orbit oscillates between two simple turning points q−(E)q_-(E) and q+(E)q_+(E), with no separatrix or equilibrium on the level. The action is

    I(E)=1π∫q−(E)q+(E)2m [E−V(q)] dq.I(E)=\frac1\pi\int_{q_-(E)}^{q_+(E)}\sqrt{2m\,[E-V(q)]}\,dq.

    Differentiation gives no endpoint contribution because the integrand vanishes at the turning points. The remaining integrable endpoint singularities yield

    dIdE=1π∫q−q+m dq2m(E−V(q))=T(E)2π.\frac{dI}{dE} =\frac1\pi\int_{q_-}^{q_+}\frac{m\,dq}{\sqrt{2m(E-V(q))}} =\frac{T(E)}{2\pi}.

    Thus H=E(I)H=E(I) and θ˙=dE/dI=2π/T(E)\dot\theta=dE/dI=2\pi/T(E) in an action-angle chart. The oscillator's constant frequency is the special case in which E(I)E(I) is linear. At a separatrix the period can diverge, invalidating this regular periodic-orbit construction.

    For several degrees of freedom, action-angle coordinates require more than conservation of energy. The Liouville theorem assumes enough independent commuting integrals and, for a torus description, a compact connected regular common level; see Cannas da Silva, §18.4, pp.110–111 (PDF). It is a theorem with local neighborhood and regularity assumptions, not a statement that every Hamiltonian system has global action-angle coordinates.

    Summary

    The Poisson bracket expresses Hamiltonian evolution and obeys Jacobi because the symplectic form is closed. Canonical transformations preserve this full bracket structure; volume preservation alone is weaker. Generating functions describe local graph patches and may fail globally. The oscillator provides an explicit canonical map to a periodic phase and an action, with the equilibrium and angle branches explaining the limits of the coordinates.

    Exercises

    1. A nonlinear position change

    On a patch with q>0q>0, set Q=q3Q=q^3. Find PP so that p dq=P dQp\,dq=P\,dQ, and verify the canonical bracket. Does the resulting chart extend smoothly through q=0q=0?

    Solution

    Since dQ=3q2dqdQ=3q^2dq, take P=p/(3q2)P=p/(3q^2). Then

    {Q,P}=(3q2)13q2=1,dQ∧dP=dq∧dp.\{Q,P\}=(3q^2)\frac1{3q^2}=1, \qquad dQ\wedge dP=dq\wedge dp.

    The other two one-pair coordinate brackets vanish by antisymmetry. The map is invertible on q>0q>0, but PP is singular at q=0q=0 and dQ/dqdQ/dq vanishes there. Even along p=0p=0, the Jacobian fails to define a smooth invertible chart at the origin. A canonical transformation is a local diffeomorphism, not just a formal substitution in one equation.

    2. The sign in the vector-field algebra

    Take F=q2/2F=q^2/2 and G=p2/2G=p^2/2. Calculate XFX_F, XGX_G, their commutator, and X{F,G}X_{\{F,G\}}. Find the flow generated by K=qpK=qp.

    Solution

    The definitions give XF=−q∂pX_F=-q\partial_p, XG=p∂qX_G=p\partial_q, and {F,G}=qp\{F,G\}=qp. Directly,

    [XF,XG]=−q∂q+p∂p=−Xqp.[X_F,X_G]=-q\partial_q+p\partial_p =-X_{qp}.

    The flow of KK obeys q˙=q\dot q=q, p˙=−p\dot p=-p, hence (q,p)↦(etq,e−tp)(q,p)\mapsto(e^tq,e^{-t}p). Its pullback preserves dq∧dpdq\wedge dp, and qpqp is conserved. The minus sign in the commutator relation coexists with F˙={F,K}\dot F=\{F,K\}; changing one sign convention requires translating the other definitions too.

    3. Energy conservation does not give enough actions

    For two uncoupled oscillators in action-angle coordinates, let H=ω1I1+ω2I2H=\omega_1 I_1+\omega_2 I_2, with positive frequencies and positive actions. Describe the orbit on a fixed (I1,I2)(I_1,I_2) torus. Explain why a fixed total-energy surface is not itself one such torus.

    Solution

    The equations are I˙a=0\dot I_a=0 and θ˙a=ωa\dot\theta_a=\omega_a. On the two-torus of fixed actions the orbit is a straight line in the lifted angle plane, reduced modulo 2π2\pi in each coordinate. It closes if ω1/ω2\omega_1/\omega_2 is rational. For irrational ratio it is dense: successive returns of one angle produce an irrational rotation of the other circle. A fixed positive energy imposes only one equation on the two actions and still allows a one-parameter family of such tori, with special collapsed circles at vanishing actions. In the four-dimensional phase space the regular energy surface is three-dimensional. Both independent commuting actions, rather than energy alone, select an individual two-torus.

    References

    • Ana Cannas da Silva, Lectures on Symplectic Geometry, revised January 2006, author's PDF, §4.2, pp.23–24, and §§18.3–18.4, pp.108–111. See also the author's website errata, 10 December 2022 (PDF); generating-function notation and compactness hypotheses must be kept with their statements.

    Scrollable formula. Use Left and Right arrow keys to reveal hidden content.

    Scrollable table. Use Left and Right arrow keys to reveal hidden columns.

    Scrollable figure. Use Left and Right arrow keys to reveal hidden content.