MTH 432.2 · Mathematical Methods
Our notes
2 min readHamilton's principle
Of all the paths a mechanical system could take between two configurations at times t₁ and t₂, the actual one makes the action stationary:
S = ∫ L dt, with L = T − V
where T is the kinetic energy and V the potential energy. L is the Lagrangian.
Generalised coordinates
Describe the system with any independent coordinates q₁, ..., q_n (angles, distances) that fix its position; n is the number of degrees of freedom. Constraints (a bead on a wire, a rigid rod) are built in by the choice of coordinates, so constraint forces never have to be found.
Lagrange's equations
Applying the Euler-Lagrange equation to S, with t in place of x:
d/dt(∂L/∂q̇_i) − ∂L/∂q_i = 0, for each i
Worked example 1: the simple pendulum
Length l, angle θ from the vertical. T = ½ml²θ̇², V = −mgl cos θ.
- L = ½ml²θ̇² + mgl cos θ.
- ∂L/∂θ̇ = ml²θ̇, so d/dt gives ml²θ̈; ∂L/∂θ = −mgl sin θ.
- θ̈ + (g/l) sin θ = 0. For small angles sin θ ≈ θ, giving simple harmonic motion with period 2π√(l/g): for l = 1 m, 2.01 s.
Worked example 2: mass on a spring
T = ½mẋ², V = ½kx². L = ½mẋ² − ½kx². Lagrange: mẍ + kx = 0, so ω = √(k/m).
Worked example 3: motion under gravity in polar coordinates
A particle under a central potential V(r): T = ½m(ṙ² + r²φ̇²). L has no φ (φ is cyclic), so ∂L/∂φ̇ = mr²φ̇ = constant: conservation of angular momentum, which gives Kepler's second law.
Conserved quantities
- If L has no q_i, the generalised momentum p_i = ∂L/∂q̇_i is conserved.
- If L has no t, the quantity Σq̇_i p_i − L (the energy, H) is conserved: this is the Beltrami identity again.
Noether's theorem (1918) links each symmetry of L to a conservation law: time to energy, space to momentum, rotation to angular momentum.
The Hamiltonian (a first look)
H(q, p) = Σp_iq̇_i − L. Hamilton's equations: q̇ = ∂H/∂p, ṗ = −∂H/∂q: first-order equations, the starting point of quantum mechanics and statistical physics.
Why use this method
- Scalars (energies) instead of vectors (forces).
- Any coordinates.
- No constraint forces.
- The same principle extends to fields (electromagnetism, relativity).
Exams usually ask
- Write the Lagrangian for a pendulum, double pendulum or bead on a rotating wire, and derive the equations of motion.
- Identify cyclic coordinates and the conserved momenta.
Common mistake
Writing L = T + V. The Lagrangian is T − V; the Hamiltonian (for ordinary systems) is T + V.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
No reading links here yet
Our team adds free books, videos and practice for each topic, and opens every link before it goes up.