Physics 1 · BE5B02PH1 · Topic 5 of 14
Analytical mechanics: Lagrange & Hamilton
Week 5. Choose generalised coordinates, write L = T − V, and let the Lagrange equations produce the motion.
Key ideas
Pick generalised coordinates and the Lagrangian
Independent coordinates q_k that fully describe the system are generalised coordinates (the angle for a planar pendulum). For conservative systems L=T−V.
Apply Hamilton’s principle
The realised trajectory makes the action stationary, which gives the Lagrange equations of the second kind. For the pendulum they return φ̈+(g/l) sin φ=0. A coordinate missing from L has a conserved generalised momentum.
Go to Hamilton’s equations
The Hamiltonian is the energy written in q_k and p_k. Hamilton’s canonical equations are twice as many first-order equations, which suits numerical solution.
In one line: The Lagrange equations hold in any coordinates; the only real work is writing the right L.
Formulas
- Pick generalised coordinates and the Lagrangian
- Apply Hamilton’s principle
- Go to Hamilton’s equations
Practice with worked solutions
Question 1
For the planar pendulum L = ½ m l² φ̇² + m g l cos φ the Lagrange equation gives φ̈ + (g/l) sin φ = 0. For small oscillations with l = 0.40 m and g = 10 m/s², find the angular frequency in rad/s. Enter the number only.
Worked solution
Answer: 5
For small angles sin φ ≈ φ.
Question 2
A system has L = ½ m q̇² − ½ k q² with m = 3.0 kg. Find the generalised momentum p = ∂L/∂q̇ when q̇ = 4.0 m/s, in kg·m/s. Enter the number only.
Worked solution
Answer: 12
Differentiate L with respect to the velocity only.
Question 3
An oscillator has H = p²/(2m) + ½ k x². For m = 2.0 kg, k = 8.0 N/m, p = 6.0 kg·m/s and x = 1.0 m, find the value of H in joules. Enter the number only.
Worked solution
Answer: 13
H is the energy written in x and p.
More Physics 1 practice in Ucenly
Sources
Written by Ucenly. Based on the BE5B02PH1 course materials:
- Course card BE5B02PH1 (Bílá kniha), p. 1
- Fyzika I, study text by P. Kulhánek (f1.pdf; FEL CTU, Czech), p. 90, 92, 93, 94
- Fyzika 1 – semináře, solved problems by P. Kulhánek (f1s.pdf; FEL CTU, Czech), p. 38, 39