Module 1 · 12 min read · Free chapter
Lagrangian problems: sliding wedges, rotating planes, spring pendulums and coupled particles
Exam problems in Lagrangian mechanics follow one recipe: choose coordinates that satisfy the constraints, write T in an inertial frame, write V, and apply Lagrange's equations. A Lagrange multiplier gives the constraint force, such as where a particle leaves a sphere at cos theta = 2/3. The sliding wedge, spring pendulum and rotating plane are the most repeated problems.
Start from zero: where the method pays off
The previous chapter derived Lagrange's equations and used them on easy problems. The method really pays off when parts of a system move together: a block on a wedge that itself slides, a pendulum on a spring, a plane that is being tilted while something slides on it. With Newton's laws each of these needs several free-body diagrams and unknown contact forces.
UPSC and IFoS papers return to such problems again and again. This chapter works through the standard ones in full, in the same order an examiner expects: coordinates, Lagrangian, equations, solution and a physical check.
It also shows how to get a constraint force when you do want it, using a Lagrange multiplier. Hamilton's principle, cyclic coordinates and symmetries are treated more deeply in the next chapter.
Strategy, and finding constraint forces
Choosing coordinates.
- Let the coordinates satisfy the constraints automatically: distance along an incline, angle on a hoop.
- Measure a part's position relative to the part it rides on, then add velocities as vectors.
- Write T in an inertial frame; never put pseudo-forces into a Lagrangian.
- Before solving, scan L for coordinates that do not appear (cyclic coordinates). Each gives a conserved momentum and an easy first integral.
Lagrange multipliers. To find a normal force, do not remove the constrained coordinate. Keep it, write the constraint as , and add to the right side of each Lagrange equation. The multiplier λ turns out to be the constraint force.
Worked example: sliding off a sphere. A particle starts from rest at the top of a smooth fixed sphere of radius R. Use polar coordinates (r, θ) with θ from the vertical and constraint r − R = 0. With , the r-equation is
On the sphere r = R and , so . Energy conservation gives , hence
λ is the normal reaction. It falls to zero, and the particle leaves the surface, when , about 48° from the top. Newton's method gives the same answer, but here the force came out of the formalism without a free-body diagram.
Worked example: a block on a sliding wedge (IFoS 2021, 2022)
A wedge of mass M and angle α rests on a smooth floor. A block of mass m slides without friction down its face. There are two degrees of freedom: X, the wedge's horizontal position, and q, the block's distance down the incline measured from a mark on the wedge.
Velocities. Take the incline to descend in the +x direction. Relative to the wedge the block moves at along the slope, with components . Adding the wedge's velocity ,
and .
Equations. X is cyclic, so its momentum is conserved:
The q-equation is . Eliminating ,
The minus sign means the wedge recoils opposite to the block's horizontal motion; if the block slides towards −x, the wedge moves towards +x with this magnitude.
Checks. (1) If M → ∞, and , the fixed-incline result. (2) If α = 0 or α = 90°, : a flat plate or a vertical wall cannot be pushed sideways. (3) The horizontal momentum stays zero, so the centre of mass falls straight down. Getting the normal force from Newton's laws would have taken two free-body diagrams; here it was never needed.
Worked example: a plane raised at a constant rate (IFoS 2019)
A particle rests on a smooth plane lying flat. At t = 0 the plane starts to turn about a horizontal hinge at constant rate α, so its inclination is θ = αt. The constraint is rheonomic. One coordinate suffices: r, the particle's distance from the hinge along the plane, measured up the slope.
Lagrangian. The particle moves along the plane at and, because the plane turns, perpendicular to it at . Its height is . So
Equation of motion.
The term is the centrifugal effect of the turning plane; the right side is the component of gravity along the slope, growing as the plane steepens.
Solution. A particular solution is with , so . The general solution is . With and ,
Reading the result. At early times and cancel, and the cosh term pushes the particle slightly outward. Soon the growing sinh terms decide: if the particle slides down towards the hinge, while if it is flung outward. The energy is not conserved, because the motor raising the plane does work on the particle.
Worked example: the spring pendulum (IFoS 2024)
A bob of mass m hangs from a fixed pivot on a spring of constant k and natural length , and moves in a vertical plane. Two coordinates are needed: the length r and the angle θ from the downward vertical.
Lagrangian.
Equations of motion.
The first is the radial equation, with the centripetal term . The second is the torque equation; the term is a Coriolis-type term that appears because the length changes.
Small oscillations. At equilibrium θ = 0 and . For small motions the two equations separate into a bounce at and a swing at . At larger amplitude the terms and couple them, and the motion can become complicated, even chaotic.
Worked example: N particles joined by equal springs (Geo-Scientist 2023)
The Lagrangian is
Every pair is joined by the same spring, and the double sum counts each pair twice.
Differentiating. The coordinate appears in the double sum both when i = k and when j = k, giving two equal contributions:
So the equations of motion are
Conservation of momentum. Adding all N equations, the right sides cancel in pairs, so . The Lagrangian depends only on differences of positions: it is unchanged if every particle is shifted by the same amount, and that symmetry gives conservation of total momentum.
Equal masses. Then is the centre of mass, which moves uniformly. Each displacement obeys . There is one zero-frequency mode (uniform drift) and N − 1 modes all at the same frequency . The many-fold repeated frequency is a sign of the high symmetry: every particle is coupled to every other in the same way.
Deep dive: when bouncing turns into swinging
Start a spring pendulum bouncing straight up and down with only a tiny sideways nudge. If the spring is tuned so that , the bouncing slowly dies away and the bob starts to swing like an ordinary pendulum. A little later the swing fades and the bouncing returns. The energy sloshes back and forth between the two motions.
Why the factor of two? The radial motion changes the effective length of the pendulum twice per swing cycle. A swing driven by a length that varies at twice its own frequency is amplified, just as a child on a playground swing pumps by standing and squatting twice per cycle. This is parametric resonance; here the system pumps itself, so it is called autoparametric resonance.
The same physics elsewhere. In the carbon dioxide molecule, the symmetric stretch vibration has almost exactly twice the frequency of the bending vibration. The two mix strongly, splitting lines in its infrared and Raman spectra. This Fermi resonance was explained by Enrico Fermi in 1931. Engineers guard against autoparametric resonance in tall structures and ship hulls, where one mode can feed energy into another.
None of this is visible in the small-oscillation equations, which treat the two motions as independent. It appears only in the full nonlinear Lagrangian equations, which is one reason examiners ask for them in full.
Critiques and debates: Lagrange or Newton for these problems?
Lagrange's method is not always shorter. A useful rule: use it when there are moving supports, several connected bodies or curvilinear coordinates; use Newton when you need the internal forces anyway or when friction dominates.
| Problem | Lagrange advantage | What Newton gives more easily |
|---|---|---|
| Block on sliding wedge | no normal force; X cyclic gives momentum at once | the normal force itself |
| Plane tipped at constant rate | rheonomic constraint handled automatically | the reaction force from the plane |
| Spring pendulum | two clean equations in r and θ | the spring tension directly |
| N coupled particles | one formula for all k; symmetry visible | little |
| Sliding off a sphere | multiplier gives the normal force | equally quick |
A subtle point: Lagrange's equations are only as good as the Lagrangian. Forgetting that a support moves, or writing T in a rotating frame, gives wrong answers that look perfectly reasonable.
Concept clarifications: commonly confused ideas
Writing a 20-mark answer
Question: "A block of mass m slides without friction on a wedge of mass M and angle α, which rests on a smooth horizontal floor. Using Lagrange's equations find the accelerations of the block and the wedge, and comment on the conserved quantities." (20 marks)
- Figure and coordinates (3 marks). X for the wedge, q along the incline; two degrees of freedom; constraints automatic.
- Kinetic and potential energy (5 marks). Vector addition of velocities; T with the cross term ; V = −mgq sin α.
- Equations (5 marks). X cyclic gives momentum conservation; q-equation.
- Solution (4 marks). Both accelerations; direction of wedge recoil.
- Checks and comments (3 marks). M → ∞, α = 0 and 90°; centre of mass falls vertically; total energy conserved since the floor is fixed.
Mains practice: questions to try
These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.
| # | Question | Marks | What it tests |
|---|---|---|---|
| 1 | Find the normal force on a bead sliding on a smooth vertical circle of radius R released from the top. | 10 | Lagrange multiplier |
| 2 | Find the normal reaction between the block and the wedge in the sliding-wedge problem. | 15 | multiplier with two bodies |
| 3 | A pendulum hangs from a block of mass M that slides freely on a horizontal rail. Find the frequency of small oscillations. | 15 | moving support |
| 4 | Show that the spring pendulum has a conserved energy and find it. Why is angular momentum not conserved? | 10 | conservation laws |
| 5 | Three equal masses on a ring are joined by three equal springs. Find the normal-mode frequencies. | 15 | coupled oscillations |
Quick revision
- Multiplier: add ; sliding off a sphere , leaves at .
- Wedge: , ; X cyclic.
- Rotating plane: ; .
- Spring pendulum: two coordinates; ; resonance at .
- N particles: ; momentum conserved; equal masses .
- Strategy: automatic constraints, relative velocities, inertial T, look for cyclic coordinates.