Home / Courses / CSIR NET Physics / Practice / Hamiltonian mechanics and phase space

Hamiltonian mechanics and phase space

Classical mechanics (GATE and NET) · 85 questions and templates for CSIR NET 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

    For a particle with L=12mx˙2−V(x), the Hamiltonian is
    1. p22m+V(x)
    2. p22m−V(x)
    3. p2m−V(x)
    4. 12mx˙2+V(x) written in terms of x˙
    Answer and solution

    Answer: A

    p=∂L/∂x˙=mx˙, so x˙=p/m. H=px˙−L=p2m−p22m+V=p22m+V(x).

    Why people get this wrong: The value equals the energy, but a Hamiltonian must be written in terms of p, not x˙; otherwise Hamilton's equations cannot be used.

  2. MCQWarm-up

    Hamilton's equations of motion are
    1. q˙=−∂H/∂p, p˙=∂H/∂q
    2. q˙=∂H/∂p, p˙=−∂H/∂q
    3. q˙=∂H/∂q, p˙=−∂H/∂p
    4. q˙=∂H/∂p, p˙=∂H/∂q
    Answer and solution

    Answer: B

    Check with H=p2/2m+V: q˙=p/m (velocity) and p˙=−V′(q) (force). So q˙=∂H/∂p and p˙=−∂H/∂q.

    Why people get this wrong: Remember the sign by testing on a free fall: p˙ must equal the force −∂V/∂q.

  3. NATWarm-up

    The dimension of the phase space of three free point particles moving in three dimensions is ______.
    Answer and solution

    Answer: 18

    There are 3×3=9 coordinates and 9 conjugate momenta: phase space has 2×9=18 dimensions.

    Why people get this wrong: Configuration space has 9 dimensions; phase space doubles it.

  4. MCQWarm-up

    The trajectory of a one-dimensional harmonic oscillator in its phase plane (x,p) is
    1. a parabola
    2. a straight line through the origin
    3. an ellipse
    4. a hyperbola
    Answer and solution

    Answer: C

    Energy conservation p22m+12mω2x2=E is an ellipse with semi-axes 2E/(mω2) along x and 2mE along p.

    Why people get this wrong: A parabola in phase space belongs to the free fall, p2/2m+mgx=E.

  5. MCQWarm-up

    For H=p22m+mgq, Hamilton's equation for p gives
    1. p˙=p/m
    2. p˙=mg
    3. p˙=0
    4. p˙=−mg
    Answer and solution

    Answer: D

    p˙=−∂H/∂q=−mg: a constant downward force when q is the height.
  6. NATWarm-up

    A system has H=p22m+12kq2 with m=2 kg and k=8 N/m. Its angular frequency is ______ rad/s.
    Answer and solution

    Answer: 2 rad/s

    q˙=p/m and p˙=−kq combine to q¨=−(k/m)q, so ω=k/m=4=2 rad/s.
  7. MCQWarm-up

    Whatever generalised coordinate q is chosen (a length, an angle, an area ...), the product qp of the coordinate and its conjugate momentum always has the dimension of
    1. energy (J)
    2. momentum (N s)
    3. action (J s)
    4. power times length (W m)
    Answer and solution

    Answer: C

    H=∑pq˙−L, so every product pq˙ is an energy. Since q˙=q/time in dimensions, pq is energy times time: J s, the dimension of action (and of Planck's constant). For a length, p is a momentum; for an angle, p is an angular momentum; in both cases pq is in J s.

    Why people get this wrong: p itself changes dimension with the choice of q; only the product is fixed.

  8. NATWarm-up

    A ball of mass 0.5 kg has H=p22m+mgq. At an instant when p=3 kg m/s, Hamilton's equations give q˙= ______ m/s.
    Answer and solution

    Answer: 6 m/s

    q˙=∂H/∂p=p/m=3/0.5=6 m/s. The potential term does not depend on p, so it does not enter q˙.

    Why people get this wrong: ∂H/∂p of p2/2m is p/m, not p/2m.

  9. MCQStandard

    For a particle in a plane with L=12m(r˙2+r2θ˙2)−V(r), the Hamiltonian is
    1. pr22m+pθ22mr2+V(r)
    2. pr22m+pθ22m+V(r)
    3. pr22m+r2pθ22m+V(r)
    4. pr2+pθ22mr2+V(r)
    Answer and solution

    Answer: A

    pr=mr˙ and pθ=mr2θ˙. Then T=12mr˙2+12mr2θ˙2=pr22m+pθ22mr2, and H=T+V.

    Why people get this wrong: Substituting θ˙=pθ/(mr2) into 12mr2θ˙2 leaves one r2 in the denominator.

  10. NATStandard

    For H=p22+q44, the value of p˙ at the instant when q=2 and p=3 is ______.
    Answer and solution

    Answer: -8

    p˙=−∂H/∂q=−q3=−8. (The value of p does not matter here; it sets q˙=p=3.)
  11. MSQStandard

    For a system with Lagrangian L=T−V, which conditions together guarantee that the Hamiltonian equals the total energy T+V?
    1. The constraints do not depend on time
    2. The potential does not depend on the velocities
    3. The Lagrangian has no explicit time dependence
    4. The kinetic energy is a homogeneous quadratic function of the generalised velocities
    Answer and solution

    Answer: A, B, D

    Euler's theorem for a homogeneous quadratic T gives ∑q˙k∂T/∂q˙k=2T. If V has no velocities, H=2T−(T−V)=T+V. Time-independent constraints are what make T homogeneous quadratic (moving constraints add linear and constant terms). Explicit time dependence in L decides whether H is conserved, not whether it equals T+V.

    Why people get this wrong: "H=E" and "H is conserved" are separate questions.

  12. MCQStandard

    The Hamiltonian of a charge q (mass m) in fields with potentials ϕ and A→ is
    1. (p→+qA→)22m+qϕ
    2. (p→−qA→)22m+qϕ
    3. p22m+qϕ−qv→⋅A→
    4. (p→−qA→)22m−qϕ
    Answer and solution

    Answer: B

    From L=12mv2−qϕ+qv→⋅A→: p→=mv→+qA→, so mv→=p→−qA→. H=p→⋅v→−L=12mv2+qϕ=(p→−qA→)22m+qϕ. The magnetic field does no work, so it appears only through p→−qA→.

    Why people get this wrong: The third option still contains v→; a Hamiltonian must be a function of p→.

  13. NATStandard

    A harmonic oscillator of mass 1 kg and angular frequency 2 rad/s has energy 3 J. The area enclosed by its orbit in the (x,p) plane is kπ J s. The value of k is ______.
    Answer and solution

    Answer: 3

    The ellipse has semi-axes a=2E/(mω2) and b=2mE, so the area is πab=π⋅2Eω=π×2×32=3π J s.

    Why people get this wrong: The area ∮pdx=2πE/ω is the action; in quantum mechanics it is (n+12)h.

  14. MCQStandard

    Liouville's theorem states that, for a Hamiltonian system,
    1. every trajectory is closed
    2. the energy of each member of an ensemble is the same
    3. the density of an ensemble of systems in phase space stays constant along each trajectory
    4. the phase-space volume of an ensemble shrinks to a point over time
    Answer and solution

    Answer: C

    The Hamiltonian flow has zero divergence in phase space, ∂q˙/∂q+∂p˙/∂p=∂2H/∂q∂p−∂2H/∂p∂q=0. So dρ/dt=0 along the flow: phase-space volumes keep their size (they may change shape).

    Why people get this wrong: Volumes are preserved, not shapes: an ensemble blob can stretch into a long thin filament.

  15. MSQStandard

    For a Hamiltonian H(q,p) with no explicit time dependence, which statements are correct?
    1. Two different phase-space trajectories never cross
    2. The phase-space area of a set of initial conditions is preserved
    3. Some trajectories can spiral into a stable point (an attractor)
    4. The value of H changes slowly along a trajectory
    Answer and solution

    Answer: A, B

    A: through each point (q,p) Hamilton's equations give a unique velocity, so trajectories cannot cross. B: Liouville's theorem. C: an attractor would shrink areas, which Liouville forbids; spirals need damping. D: dH/dt=∂H/∂t=0, so H is exactly constant.

    Why people get this wrong: A separatrix seems to cross itself at a saddle point, but the saddle is a separate trajectory (a fixed point) that the others only approach as t→±∞.

  16. NATStandard

    A system has H=p26+5q. Working back to the Lagrangian, the value of L when q=1 and q˙=2 is ______.
    Answer and solution

    Answer: 1

    q˙=∂H/∂p=p/3, so p=3q˙. L=pq˙−H=3q˙2−32q˙2−5q=32q˙2−5q=6−5=1.

    Why people get this wrong: H has p2/6, which means a mass of 3 (not 6).

  17. MCQStandard

    For a free relativistic particle with H=p2c2+m2c4, Hamilton's equation gives the velocity q˙ as
    1. p/m
    2. c
    3. p2c2p2c2+m2c4
    4. pc2p2c2+m2c4
    Answer and solution

    Answer: D

    q˙=∂H/∂p=pc2p2c2+m2c4=pc2E, which is always less than c and becomes p/m when p≪mc.
  18. MCQStandard

    If a coordinate qk does not appear in the Hamiltonian, then
    1. pk is a constant of the motion
    2. qk is a constant of the motion
    3. q˙k=0
    4. H cannot depend on pk
    Answer and solution

    Answer: A

    p˙k=−∂H/∂qk=0. The coordinate itself changes at the rate q˙k=∂H/∂pk, which is then a function of the constant pk and the other variables. Since pk is just a constant, the problem loses one degree of freedom.
  19. NATStandard

    A particle of mass 2 kg moves in a plane with H=pr22m+pθ22mr2+12kr2, where k=1 N/m. At an instant when r=3 m and pθ=6 kg m²/s, the value of p˙r is ______ N (to two decimal places).
    Answer and solution

    Answer: -2.33 N (±0.01)

    p˙r=−∂H∂r=pθ2mr3−kr=362×27−1×3=0.667−3=−2.33 N. The first term is the centrifugal push, the second the spring pull.

    Why people get this wrong: Differentiating 1/r2 gives −2/r3, and the minus sign of Hamilton's equation turns it positive; dropping either sign gives the wrong answer.

  20. MCQStandard

    A system has H=ap2+bq2 with constants a,b>0. The angular frequency of its motion is
    1. ab
    2. a/b
    3. 4ab
    4. 2ab
    Answer and solution

    Answer: D

    q˙=∂H/∂p=2ap and p˙=−∂H/∂q=−2bq. Then q¨=2ap˙=−4abq, so ω2=4ab and ω=2ab. Check with a=1/2m, b=k/2: ω=2k/4m=k/m.

    Why people get this wrong: Forgetting the factors of 2 from differentiating the squares gives ab.

  21. MCQStandard

    For H=p22m+V(q), a closed phase orbit crosses the q axis (p=0) at a turning point where V′(q)≠0. There the orbit is
    1. tangent to the q axis
    2. perpendicular to the q axis
    3. at 45∘ to the axes
    4. not smooth: it has a corner
    Answer and solution

    Answer: B

    At p=0, q˙=p/m=0 while p˙=−V′(q)≠0. The phase point moves straight along the p direction, so the orbit crosses the q axis at right angles. (Only at a fixed point, where V′=0 too, can orbits meet the axis differently, as at a saddle.)

    Why people get this wrong: The orbit is smooth at turning points; corners appear only for potentials with kinks or walls.

  22. MCQExam level

    A particle of mass m is confined to the surface of a sphere of radius R with no potential. In the usual polar angles (θ,ϕ) its Hamiltonian is
    1. pθ2+pϕ22mR2
    2. 12mR2(pθ2+pϕ2sin2⁡θ)
    3. 12mR2(pθ2+pϕ2sin2⁡θ)
    4. mR22(pθ2+pϕ2sin2⁡θ)
    Answer and solution

    Answer: B

    L=12mR2(θ˙2+sin2⁡θϕ˙2). pθ=mR2θ˙, pϕ=mR2sin2⁡θϕ˙. So H=pθ22mR2+pϕ22mR2sin2⁡θ. (Quantum mechanics turns this into Lˆ2/2mR2, the rigid rotor.)
  23. NATExam level

    A particle bounces back and forth with speed v between two hard walls a distance a apart. Its action is J=∮pdq=2amv, so H=J2/(8ma2). For a=0.5 m and v=3 m/s, the frequency ν=∂H/∂J is ______ Hz.
    Answer and solution

    Answer: 3 Hz (±0.01)

    ν=∂H∂J=J4ma2=2amv4ma2=v2a=31=3 Hz. Check directly: one round trip covers 2a=1 m at 3 m/s, so 3 round trips per second.

    Why people get this wrong: With J=∮pdq (no 2π), the derivative ∂H/∂J is a frequency in Hz, not an angular frequency.

  24. MCQExam level

    The spring of an oscillator is stiffened very slowly (over many periods) until its angular frequency has doubled. Its energy
    1. stays the same
    2. is halved
    3. quadruples
    4. doubles
    Answer and solution

    Answer: D

    For a slow change the action J=∮pdx=2πE/ω is an adiabatic invariant. With E/ω fixed, doubling ω doubles E. (Quantum version: the oscillator stays in level n, whose energy (n+12)ℏω doubles.)

    Why people get this wrong: Energy is not conserved: the slowly changing spring does work. What stays fixed is E/ω.

  25. NATExam level

    The angular frequency of an oscillator is raised very slowly from 2 rad/s to 8 rad/s (the mass stays the same). The ratio of the final amplitude to the initial amplitude is ______.
    Answer and solution

    Answer: 0.5 (±0.005)

    E/ω is invariant and E=12mω2A2, so ωA2 is constant and A∝ω−1/2. Ratio =(2/8)1/2=0.5.

    Why people get this wrong: Energy goes up by 4 but the amplitude still falls, because E grows more slowly than ω2.

  26. MSQExam level

    Which statements about the Hamiltonian H(q,p,t) are correct?
    1. Along the motion, dH/dt=∂H/∂t
    2. If H depends explicitly on time, H is not conserved
    3. H can be conserved even when it is not the total energy
    4. H is always the total energy of the system
    Answer and solution

    Answer: A, B, C

    A: dHdt=∂H∂qq˙+∂H∂pp˙+∂H∂t, and the first two terms cancel by Hamilton's equations. B follows. C: a bead on a hoop driven at constant speed has a conserved H that is not T+V. D is false for the same reason, and for any time-dependent constraint.
  27. NATExam level

    A system has H=12(p2+q2)+0.6qp (in suitable units). Its motion is periodic with angular frequency ______.
    Answer and solution

    Answer: 0.8 (±0.005)

    q˙=∂H/∂p=p+0.6q and p˙=−∂H/∂q=−q−0.6p. For eλt: det⁡(0.6−λ1−1−0.6−λ)=λ2−0.36+1=0, so λ=±0.8i and ω=0.8.

    Why people get this wrong: The cross term does not damp anything (Liouville forbids it); it lowers the frequency, and for a coefficient above 1 the motion would become unbounded.

  28. MCQExam level

    For a simple pendulum (mass m, length l), with the energy zero at the lowest point, the separatrix in the (θ,pθ) phase portrait, which divides swinging from full rotation, has energy
    1. mgl
    2. 12mgl
    3. 4mgl
    4. 2mgl
    Answer and solution

    Answer: D

    The separatrix passes through the unstable equilibrium at the top, θ=±π, where the pendulum is at rest at height 2l. So its energy is 2mgl. Below it the motion is libration (closed loops round the origin); above it, rotation (wavy lines).

    Why people get this wrong: mgl is the energy to reach the horizontal, not the top.

  29. NATExam level

    A pendulum has a 0.5 kg bob on a light rigid rod of length 0.4 m. Where its separatrix crosses θ=0, the angular momentum pθ=ml2θ˙ is ______ kg m²/s (g=9.8 m/s²).
    Answer and solution

    Answer: 0.792 kg m²/s (±0.008)

    On the separatrix 12ml2θ˙2=2mgl at the bottom, so θ˙=2g/l=224.5=9.90 rad/s. Then pθ=0.5×0.16×9.90=0.792 kg m²/s.
  30. MCQExam level

    A system has L=12q˙2+qq˙−12q2. Its Hamiltonian is
    1. 12(p−q)2+12q2
    2. 12p2+12q2
    3. 12(p+q)2+12q2
    4. 12(p−q)2−12q2
    Answer and solution

    Answer: A

    p=q˙+q, so q˙=p−q. H=pq˙−L=(p−q)(p)−12(p−q)2−q(p−q)+12q2=12(p−q)2+12q2. (Since qq˙ is a total derivative the motion is still q¨=−q; the Hamiltonian looks different because p is shifted.)

    Why people get this wrong: Dropping the qq˙ term before the Legendre transform gives 12(p2+q2), which uses a different p.

← All topics · Timed mock test →