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

Canonical transformations and Hamilton-Jacobi theory

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

New to this topic? Read the lesson first: Canonical transformations and Hamilton-Jacobi theory.

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. MCQStandard

    The Hamilton-Jacobi equation for a particle is fully separable in spherical polar coordinates (r,θ,ϕ) when the potential has the form
    1. V=f(x)+g(y)+h(z) only
    2. V=f(r)g(θ)
    3. V=a(r)+b(θ)r2+c(ϕ)r2sin2⁡θ
    4. V=a(r)+b(θ)+c(ϕ)
    Answer and solution

    Answer: C

    The kinetic part is 12m[Wr2+Wθ2r2+Wϕ2r2sin2⁡θ]. Multiplying through by r2sin2⁡θ isolates ϕ only if the ϕ part of V carries the factor 1/(r2sin2⁡θ); then multiplying by r2 isolates θ only if its part carries 1/r2. A central potential V(r) is the special case b=c=0.
  17. 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.
  18. 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.
  19. 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.

  20. 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.

  21. NATExam level

    A ball bounces elastically on a floor in uniform gravity, H=p2/2m+mgq (q≥0). Its action varies as J∝E3/2. If the action is doubled, the energy is multiplied by ______.
    Answer and solution

    Answer: 1.587 (±0.005)

    J=2∫0E/mg2m(E−mgq)dq=42m3mgE3/2, so E∝J2/3 and the factor is 22/3≈1.587. Unlike the oscillator, the frequency ν=∂E/∂J∝J−1/3 falls as the energy rises: higher bounces take longer.
  22. 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.
  23. NATExam level

    For the Kepler problem the Hamiltonian in action variables is H=−2π2mk2(Jr+Jθ+Jϕ)2. The number of distinct frequencies νi=∂H/∂Ji of the bound motion is ______.
    Answer and solution

    Answer: 1

    H depends on the three actions only through their sum, so ∂H/∂Jr=∂H/∂Jθ=∂H/∂Jϕ: all three frequencies are equal. This complete degeneracy is why Kepler orbits close (one period for the radial and angular motion). The same degeneracy shows up as the n2-fold degeneracy of hydrogen.
  24. 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.

  25. NATExam level

    A simple pendulum swings with a small angular amplitude while its string is pulled up slowly through a hole, from length 1 m to 0.25 m. The ratio of final to initial angular amplitude is ______.
    Answer and solution

    Answer: 2.828 (±0.02)

    Adiabatic invariant: E/ν = constant, with ν∝l−1/2, so E∝l−1/2. For small swings E=12mglθ02, so θ02∝E/l∝l−3/2 and θ0∝l−3/4. Ratio (1/0.25)3/4=43/4=2.83. The swing grows as the string shortens.
  26. 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.
  27. 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.
  28. 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.)
  29. 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.
  30. NATExam level

    A particle of mass 1 kg moves in the potential V=k|q| with k=2 N. Its action is J(E)=82m3kE3/2. Using T=dJ/dE, the period at E=8 J is ______ s.
    Answer and solution

    Answer: 8 s (±0.01)

    T=dJdE=42mkE1/2=42×82=8 s. Check: from q=0 the particle decelerates under the constant force k, stopping after t=mv0/k=2mE/k=2 s; a full cycle is four such pieces, 8 s.

← All topics · Timed mock test →