Home / Courses / GATE Physics / Practice / Canonical transformations and Hamilton-Jacobi theory

Canonical transformations and Hamilton-Jacobi theory

Classical mechanics (GATE and NET) · 64 questions and templates for GATE Physics, in order from warm-up to top rank. Check each answer, then read the full solution.

Loading questions… (they need JavaScript; nothing you type is sent anywhere)

Written questions with solutions

The same questions as a list, so you can print them or read without the practice box. Templates (fresh numbers) appear only in the practice box above.

  1. MCQWarm-up

    Hamilton-Jacobi theory looks for a canonical transformation, generated by Hamilton's principal function S(q,P,t), for which the new Hamiltonian K is
    1. K=0, so all the new coordinates and momenta are constants
    2. K=H, the same function as before
    3. K=∂S/∂q
    4. K=−H
    Answer and solution

    Answer: A

    With a type-2 generating function, K=H+∂S/∂t. Demanding K=0 gives the Hamilton-Jacobi equation H(q,∂S/∂q,t)+∂S/∂t=0, and then Hamilton's equations say Q˙=P˙=0: the whole motion is encoded in constants.
  2. MCQWarm-up

    For a Hamiltonian with no explicit time dependence and energy E, Hamilton's principal function separates as
    1. S=W(q)e−Et
    2. S=W(q)−Et
    3. S=W(q)+Et2
    4. S=W(q)/t
    Answer and solution

    Answer: B

    Try S=W(q)−Et. Then ∂S/∂t=−E and the HJ equation becomes H(q,∂W/∂q)=E, the time-independent HJ equation for Hamilton's characteristic function W. The separation is additive, because S is an action (in quantum mechanics it sits in the exponent, ψ∼eiS/ℏ).
  3. MCQWarm-up

    For a periodic motion in one degree of freedom, the action variable is defined as
    1. ∫Ldt along the path
    2. ∮qdp divided by the period
    3. ∮pdq over one cycle
    4. pq at the turning point
    Answer and solution

    Answer: C

    J=∮pdq, the area enclosed by the orbit in phase space. It is a function of the energy alone, and its conjugate angle w grows uniformly in time. (Some books divide by 2π; then the angle grows by 2π per cycle.)
  4. NATWarm-up

    Take the action variable as J=∮pdq over one cycle. A harmonic oscillator of frequency ν=3 Hz has energy 6 J. Its action J is ______ J s.
    Answer and solution

    Answer: 2 J s (±0.01)

    The orbit is an ellipse with semi-axes 2E/mω2 and 2mE, of area π⋅2E/mω2⋅2mE=2πE/ω=E/ν. So J=6/3=2 J s, and H=νJ.
  5. MCQWarm-up

    In Hamilton-Jacobi theory the old momenta are obtained from Hamilton's principal function S(q,α,t) as
    1. pi=−∂S/∂qi
    2. pi=∂S/∂αi
    3. pi=∂S/∂t
    4. pi=∂S/∂qi
    Answer and solution

    Answer: D

    S is a type-2 generating function F2(q,P,t) with the constant new momenta Pi=αi. The type-2 relations are pi=∂S/∂qi and Qi=βi=∂S/∂αi.
  6. MCQWarm-up

    The length of a pendulum is changed very slowly compared with its period. Which quantity stays (nearly) constant?
    1. The energy E
    2. The ratio E/ν of energy to frequency
    3. The amplitude of swing
    4. The maximum speed
    Answer and solution

    Answer: B

    The action J=∮pdq is an adiabatic invariant: it is unchanged by slow variations of a parameter. For small oscillations J=E/ν. Energy, amplitude and speed all change as the length changes.
  7. MCQWarm-up

    Hamilton's principal function S(q,α,t) has the dimension of
    1. energy
    2. action (energy times time)
    3. momentum
    4. power
    Answer and solution

    Answer: B

    ∂S/∂t=−H is an energy, so S is energy times time. Equivalently ∂S/∂q=p, and pq is an action. Along the motion S equals the action integral ∫Ldt, measured in J s like Planck's constant.

    Why people get this wrong: ∂S/∂t is an energy; S itself carries one more power of time.

  8. MCQStandard

    For a free particle of mass m in one dimension, the Hamilton-Jacobi equation is
    1. ∂S∂t=12m(∂S∂x)2
    2. 12m∂2S∂x2+∂S∂t=0
    3. 12m(∂S∂x)2+∂S∂t=0
    4. ∂S∂x+∂S∂t=0
    Answer and solution

    Answer: C

    Replace p by ∂S/∂x in H=p2/2m and add ∂S/∂t. The equation is first order and nonlinear (the square of the derivative), unlike the Schrödinger equation, which is second order and linear. A complete solution is S=αx−α2t/2m.
  9. NATStandard

    A free particle of mass 2 kg and energy 9 J has characteristic function W=2mEx. The momentum p=∂W/∂x is ______ kg m/s.
    Answer and solution

    Answer: 6 kg m/s (±0.01)

    p=∂W/∂x=2mE=2×2×9=6 kg m/s, constant as it must be for a free particle.
  10. MCQStandard

    Take the action variable as J=∮pdq over one cycle. Once the Hamiltonian is written as H(J), the frequency of the motion (cycles per unit time) is
    1. ν=∂H/∂J
    2. ν=∂J/∂H
    3. ν=H/J for every system
    4. ν=∂H/∂w
    Answer and solution

    Answer: A

    Hamilton's equation for the angle: w˙=∂H/∂J=ν(J), a constant, so w=νt+β, and w increases by 1 per cycle. ∂J/∂H is the period. H/J equals ν only for the harmonic oscillator, where H is linear in J. ∂H/∂w=0 because w is cyclic.

    Why people get this wrong: You get the frequency without solving the motion: find J(E), invert and differentiate.

  11. NATStandard

    Take the action variable as J=∮pdq over one cycle. For a particle bouncing between the walls of a box, E=J2/(8mL2). If the action is doubled (same box), the energy is multiplied by ______.
    Answer and solution

    Answer: 4

    E∝J2, so doubling J multiplies E by 4. (Here J=∮pdq=2Lp, since the momentum p is constant in magnitude over the path 2L.)
  12. MCQStandard

    In action-angle variables (w,J) for a periodic system, the Hamiltonian is H(J). Which statement is correct?
    1. w is constant and J grows linearly in time
    2. J is constant and w grows linearly in time
    3. Both w and J oscillate sinusoidally
    4. Both are constants
    Answer and solution

    Answer: B

    J˙=−∂H/∂w=0 since H does not depend on w (w is cyclic), so J is constant. w˙=∂H/∂J=ν(J) is then constant, so w=νt+β.
  13. MSQStandard

    Which statements about a complete solution S(q1,…,qn,α1,…,αn,t) of the Hamilton-Jacobi equation are correct?
    1. S is a type-2 generating function with new momenta αi
    2. The new momenta αi are constants of the motion
    3. The quantities βi=∂S/∂αi are constants of the motion
    4. S must be a periodic function of each qi
    Answer and solution

    Answer: A, B, C

    Since the new Hamiltonian is zero, both new momenta αi and new coordinates βi=∂S/∂αi are constant. Solving βi=∂S/∂αi for qi(t) gives the motion. S is generally not periodic: for a free particle S=αx−α2t/2m grows with x, and for a periodic motion W gains J each cycle.
  14. NATStandard

    Take the action variable as J=∮pdq over one cycle. An oscillator of mass 1 kg and angular frequency ω=2 rad/s has energy 4 J. Its action J is ______ J s.
    Answer and solution

    Answer: 12.566 J s (±0.02)

    The phase-space ellipse has area J=2πE/ω=2π×4/2=4π≈12.57 J s. Equivalently J=E/ν with ν=ω/2π=0.318 Hz.

    Why people get this wrong: Using ω in place of ν gives E/ω=2, which is the action with the 1/2π convention, not ∮pdq.

  15. MCQStandard

    Along the actual trajectory, the total time derivative of Hamilton's principal function S(q,α,t) equals
    1. H
    2. 0
    3. −H
    4. the Lagrangian L
    Answer and solution

    Answer: D

    dSdt=∑i∂S∂qiq˙i+∂S∂t=∑ipiq˙i−H=L (α is constant). So S=∫Ldt+ constant: Hamilton's principal function is the action along the true path.
  16. NATStandard

    Take the action variable as J=∮pdq over one cycle. A particle of mass 1 kg moves freely between rigid walls 2 m apart with energy 2 J. Its action J is ______ J s.
    Answer and solution

    Answer: 8 J s (±0.01)

    The speed is constant, p=2mE=2 kg m/s. Over one cycle the particle goes there and back, 2L=4 m, with |p| constant: J=∮pdq=2Lp=8 J s. The phase-space orbit is a rectangle of width L and height 2p.
  17. MCQStandard

    Mathematically, the Hamilton-Jacobi equation is
    1. a first-order nonlinear partial differential equation
    2. a second-order linear partial differential equation
    3. a set of 2n first-order ordinary differential equations
    4. a first-order linear partial differential equation
    Answer and solution

    Answer: A

    It involves only first derivatives of S, but through H (quadratic in the momenta for T=p2/2m), so it is nonlinear. Hamilton's equations are the 2n ODEs; the HJ equation replaces them by one PDE, whose characteristics are the trajectories.
  18. MCQStandard

    A charge q (mass m) moves in fields with potentials ϕ(𝐫,t) and 𝐀(𝐫,t). Its Hamilton-Jacobi equation is
    1. (∇S+q𝐀)22m+qϕ+∂S∂t=0
    2. (∇S)22m+qϕ+∂S∂t=0, since 𝐀 does no work
    3. (∇S−q𝐀)22m+qϕ−∂S∂t=0
    4. (∇S−q𝐀)22m+qϕ+∂S∂t=0
    Answer and solution

    Answer: D

    H=(𝐩−q𝐀)22m+qϕ. The Hamilton-Jacobi equation is H(𝐫,∇S,t)+∂S/∂t=0, with the canonical momentum replaced by ∇S. So (∇S−q𝐀)2/2m+qϕ+∂S/∂t=0. The magnetic force does no work, but 𝐀 still enters the Hamiltonian through the canonical momentum.

    Why people get this wrong: Both signs matter: 𝐩−q𝐀 is the kinetic momentum, and the equation is H+∂S/∂t=0.

  19. NATStandard

    A diatomic molecule rotates freely in a plane with moment of inertia 1.5×10−47 kg m². Applying ∮pϕdϕ=nh, its n=1 energy is ______ meV (to two decimal places).
    Answer and solution

    Answer: 2.31 meV (±0.02)

    Free rotation: pϕ is constant, so ∮pϕdϕ=2πpϕ=nh gives pϕ=nℏ. Then E=pϕ22I=n2ℏ22I=(1.0546×10−34)23×10−47=3.71×10−22 J =2.31 meV for n=1.

    Why people get this wrong: Using h instead of ℏ gives a value 4π2 times too large.

  20. MCQExam level

    For the oscillator H=p22m+12mω2q2, take S=W(q)−Et with W=∫2mE−m2ω2q2dq. Setting ∂S/∂E=β (a constant) gives
    1. q=2E/mcos⁡ωt, independent of β
    2. q=2Emω2sin⁡ω(t+β)
    3. q=β+2E/mt
    4. q=Emω2sin⁡(ωt+β)
    Answer and solution

    Answer: B

    ∂W∂E=∫mdq2mE−m2ω2q2=1ωarcsin⁡(qmω22E). Then β=∂W/∂E−t gives q=2E/mω2sin⁡ω(t+β). The constant conjugate to the energy is a shift of the time origin.
  21. MCQExam level

    The spring constant of an oscillator is increased slowly so that its angular frequency doubles. Its energy
    1. stays the same
    2. halves
    3. quadruples
    4. doubles
    Answer and solution

    Answer: D

    The adiabatic invariant is J=2πE/ω, so E∝ω: the energy doubles. The work comes from whoever stiffens the spring. Quantum version: the oscillator stays in the same level n, with energy (n+12)ℏω.

    Why people get this wrong: Energy is not conserved, because the Hamiltonian depends on time; the action is the quantity that survives.

  22. MCQExam level

    A particle falls in uniform gravity, H=p22m+mgx. Solving the Hamilton-Jacobi equation with S=W(x)−Et and setting ∂S/∂E=β gives
    1. x=β−Emgt
    2. x=Emgcos⁡gt
    3. x=Emg−g2(t+β)2
    4. x=Emg+g2(t+β)2
    Answer and solution

    Answer: C

    W=∫2m(E−mgx)dx=−22m3mg(E−mgx)3/2. Then ∂W∂E=−2mmg(E−mgx)1/2=t+β. Squaring: E−mgx=12mg2(t+β)2, i.e. x=E/mg−12g(t+β)2. E/mg is the top of the flight.
  23. MCQExam level

    Writing ψ=AeiS/ℏ in the Schrödinger equation and letting ℏ→0, the phase S obeys
    1. the diffusion equation
    2. Laplace's equation
    3. the continuity equation only
    4. the classical Hamilton-Jacobi equation
    Answer and solution

    Answer: D

    Substituting gives (∇S)22m+V+∂S∂t=iℏ2m∇2S+… (plus terms from A). As ℏ→0 the right side drops out and S satisfies the HJ equation; the amplitude equation becomes the continuity equation. This is the WKB (semiclassical) limit: classical trajectories are the rays normal to the wavefronts S = constant.
  24. NATExam level

    Take the action variable as J=∮pdq over one cycle. Apply the Bohr-Sommerfeld rule J=nh to a particle in a box of width L (J=2L2mE). The ratio E3/E1 is ______.
    Answer and solution

    Answer: 9

    2L2mEn=nh gives En=n2h28mL2, which happens to match the exact quantum result. E3/E1=9. (For hard walls the extra phase from the two reflections cancels the Maslov 12, so no half-integer appears.)
  25. MSQExam level

    Take the action variable as J=∮pdq over one cycle. For a one-dimensional periodic motion, which statements are correct?
    1. J has the dimensions of angular momentum (J s)
    2. The angle variable w increases by exactly 1 in each cycle
    3. J is an adiabatic invariant
    4. The frequency equals ∂J/∂E
    Answer and solution

    Answer: A, B, C

    ∮pdq has units of momentum times length, the same as ℏ. Over one cycle Δw=νT=1. Slow changes of parameters leave J fixed. ∂J/∂E=1/ν is the period, not the frequency.
  26. NATExam level

    A two-dimensional oscillator H=px2+py22m+12m(ωx2x2+ωy2y2) separates in Cartesian coordinates. With ωx=2 rad/s and ωy=3 rad/s, the orbit closes after a time ______ s.
    Answer and solution

    Answer: 6.283 s (±0.01)

    Each coordinate is periodic: Tx=2π/2=π s and Ty=2π/3 s. The orbit closes when both have completed whole numbers of cycles: 2π=2Tx=3Ty, i.e. after 2π≈6.28 s (a Lissajous figure). For an irrational ratio it would never close.
  27. MCQExam level

    For a free particle in three dimensions, a complete integral of the time-independent Hamilton-Jacobi equation in Cartesian coordinates is
    1. W=2mE(x+y+z)
    2. W=αxαyαzxyz
    3. W=αxx+αyy+αzz with E=(αx2+αy2+αz2)/2m
    4. W=12m(x2+y2+z2)
    Answer and solution

    Answer: C

    Separate W=Wx(x)+Wy(y)+Wz(z): each Wi′2 must be a constant αi2, so Wi=αixi, with the energy as their sum. A complete integral needs as many independent constants as coordinates (three here); the first option has only one, so it describes motion along one diagonal direction only.
  28. NATExam level

    A particle moves in V=12mω2q2 for q>0 with a hard wall at q=0 (it bounces elastically), with ω=2 rad/s. Using action-angle variables, its period is ______ s (to three decimal places).
    Answer and solution

    Answer: 1.571 s (±0.002)

    The phase-space orbit is half of the oscillator's ellipse, so J=∮pdq is half the full value: J=12⋅2πEω=πEω. Then E=ωJ/π and ν=∂E/∂J=ω/π, so the period is π/ω=π/2≈1.571 s, half the oscillator period (the particle does half an oscillation and bounces).

    Why people get this wrong: Quoting the full oscillator period 2π/ω=3.14 s.

  29. MSQExam level

    For the oscillator H=p22m+12mω2q2, take J=∮pdq and the angle w (increasing by 1 per cycle). Which statements are true?
    1. q=Jπmωsin⁡2πw
    2. w=νt+β with ν=ω/2π
    3. H=Jω
    4. J has the units of angular momentum
    Answer and solution

    Answer: A, B, D

    J=2πE/ω, so H=Jω/(2π), not Jω (that would hold for J defined as 12π∮pdq). w˙=∂H/∂J=ω/2π. The amplitude A satisfies E=12mω2A2=Jω/2π, so A2=J/(πmω). J is (momentum)(length), the units of angular momentum and of Planck's constant.

    Why people get this wrong: Two conventions exist for the action; mixing them gives a stray factor 2π.

  30. MCQExam level

    For a free particle of mass m, a complete integral of the Hamilton-Jacobi equation is S=αq−α2t2m. Setting ∂S/∂α=β (a constant) gives
    1. q=β+αt/m
    2. q=β−αt/m
    3. q=αt
    4. q=β+αt2/2m
    Answer and solution

    Answer: A

    ∂S/∂α=q−αt/m=β, so q=β+αt/m: uniform motion with momentum p=∂S/∂q=α and starting point β. The new constant momentum is α and the new constant coordinate is β, as Jacobi's theorem promises.

    Why people get this wrong: Sign slip when moving αt/m across.

← All topics · Timed mock test →