STEMviz
Physics · Analytical Mechanics and Thermodynamics

Lagrange Equations of the Second Kind and Their Applications

Applying Lagrange's equations of the second kind: the central-force problem reduces to one-dimensional motion in Veff(r)=V(r)+ℓ2/2mr2V_{\text{eff}}(r)=V(r)+\ell^2/2mr^2; small oscillations about a stable equilibrium give Mη⃗¨+Kη⃗=0M\ddot{\vec\eta}+K\vec\eta=0 with normal-mode frequencies from det⁡(K−ω2M)=0\det(K-\omega^2 M)=0; and Lagrange multipliers λαaαj\lambda_\alpha a_{\alpha j} deliver constraint forces and handle non-holonomic (rolling) systems.

Lagrange Equations of the Second Kind and Their Applications

The previous chapter derived Lagrange's equations. This one is about using them. "Equations of the second kind" is Lagrange's own name for the form that uses a minimal set of independent generalised coordinates and carries no constraint forces — the form ddt∂L∂q˙j−∂L∂qj=Qjnc\dfrac{d}{dt}\dfrac{\partial L}{\partial\dot q_j} - \dfrac{\partial L}{\partial q_j} = Q_j^{\text{nc}} we will apply throughout. (The "first kind" keeps all coordinates and enforces the constraints with multipliers; it appears here only in Sections 5 and 6, where the constraint force is the quantity we want.)

The programme is a tour of the systems every graduate course returns to: the central-force problem, small oscillations and normal modes, motion in a rotating frame, the symmetric top, and constrained systems handled by multipliers. In each case the work is the same four steps — choose coordinates, write TT and VV, form LL, differentiate — and the payoff is an equation of motion obtained without a single free-body diagram.

How to read this chapter. Treat each section as a worked template you will reuse. Section 3 (normal modes) and Section 8 (the symmetric top) are the two you are most likely to be examined on; Sections 5–6 (multipliers) are the tool for "find the tension" or "find where the bead leaves the track" problems. The recurring lesson is that a well-chosen coordinate makes a conserved quantity or a decoupling manifest before you differentiate anything.

1. The Recipe and the Role of Conserved Quantities

For a holonomic system:

  1. Choose nn independent generalised coordinates q1,…,qnq_1,\dots,q_n.
  2. Write the kinetic energy T(q⃗,q⃗˙,t)T(\vec q,\dot{\vec q},t) by substituting r⃗˙i=∑j(∂r⃗i/∂qj)q˙j+∂r⃗i/∂t\dot{\vec r}_i = \sum_j (\partial\vec r_i/\partial q_j)\dot q_j + \partial\vec r_i/\partial t into ∑i12mir⃗˙i 2\sum_i \tfrac12 m_i \dot{\vec r}_i^{\,2}, and the potential V(q⃗,t)V(\vec q,t).
  3. Form L=T−VL = T - V (add −U-U for a velocity-dependent potential; keep non-conservative forces as QjncQ_j^{\text{nc}}).
  4. For each jj, evaluate ddt∂L∂q˙j−∂L∂qj=Qjnc\dfrac{d}{dt}\dfrac{\partial L}{\partial\dot q_j} - \dfrac{\partial L}{\partial q_j} = Q_j^{\text{nc}}.

Before integrating, look for structure. A cyclic coordinate qcq_c (absent from LL) gives pc=∂L/∂q˙c=constp_c = \partial L/\partial\dot q_c = \text{const} immediately. If ∂L/∂t=0\partial L/\partial t = 0, the Jacobi energy function h=∑jq˙j ∂L/∂q˙j−Lh = \sum_j \dot q_j\,\partial L/\partial\dot q_j - L is conserved; for a scleronomic system h=T+Vh = T + V. Each conserved quantity is a first integral that lowers the order of the problem by one.

2. The Central-Force Problem

A particle of mass mm in a central potential V(r)V(r), working in the plane of the motion with polar coordinates (r,ϕ)(r,\phi):

L=12m(r˙2+r2ϕ˙2)−V(r)L = \tfrac12 m\left(\dot r^2 + r^2\dot\phi^2\right) - V(r)

ϕ\phi is cyclic, so pϕ=mr2ϕ˙≡ℓp_\phi = m r^2\dot\phi \equiv \ell is conserved — this is the angular momentum, and its constancy is Kepler's second law. The rr-equation is

mr¨−mrϕ˙2+dVdr=0⟹mr¨=−dVdr+ℓ2mr3=−ddrVeff(r),Veff(r)=V(r)+ℓ22mr2.m\ddot r - m r\dot\phi^2 + \frac{dV}{dr} = 0 \quad\Longrightarrow\quad m\ddot r = -\frac{dV}{dr} + \frac{\ell^2}{m r^3} = -\frac{d}{dr}V_{\text{eff}}(r), \qquad V_{\text{eff}}(r) = V(r) + \frac{\ell^2}{2 m r^2}.

The two-dimensional problem has collapsed to one-dimensional motion in the effective potential VeffV_{\text{eff}}, whose centrifugal term ℓ2/2mr2\ell^2/2mr^2 was generated automatically by ∂T/∂r\partial T/\partial r. Since ∂L/∂t=0\partial L/\partial t = 0, the energy E=12mr˙2+Veff(r)E = \tfrac12 m\dot r^2 + V_{\text{eff}}(r) is also conserved, and r˙=±(2/m)(E−Veff)\dot r = \pm\sqrt{(2/m)(E - V_{\text{eff}})} reduces the problem to a quadrature.

Worked example — Kepler. For V=−k/rV = -k/r, Veff=−k/r+ℓ2/2mr2V_{\text{eff}} = -k/r + \ell^2/2mr^2 has a single minimum at r0=ℓ2/mkr_0 = \ell^2/mk; circular orbits sit there, bound orbits oscillate in rr between turning points, and integrating dϕ/dr=(ℓ/r2)/(2m)(E−Veff)d\phi/dr = (\ell/r^2)/\sqrt{(2m)(E - V_{\text{eff}})} gives the conic r=ℓ2/mk1+ecos⁡ϕr = \dfrac{\ell^2/mk}{1 + e\cos\phi}.

3. Small Oscillations and Normal Modes

Near a stable equilibrium q⃗=q⃗0\vec q = \vec q_0 (a minimum of VV), expand to quadratic order. Let ηj=qj−q0j\eta_j = q_j - q_{0j}. Then

T≈12∑j,kMjk η˙jη˙k,V≈V0+12∑j,kKjk ηjηk,T \approx \tfrac12 \sum_{j,k} M_{jk}\,\dot\eta_j\dot\eta_k, \qquad V \approx V_0 + \tfrac12 \sum_{j,k} K_{jk}\,\eta_j\eta_k,

with Mjk=MkjM_{jk} = M_{kj} the (constant) mass matrix evaluated at q⃗0\vec q_0 and Kjk=∂2V/∂qj∂qk∣q⃗0K_{jk} = \partial^2 V/\partial q_j\partial q_k|_{\vec q_0} the stiffness matrix. Lagrange's equations become the linear system

∑k(Mjkη¨k+Kjkηk)=0.\sum_k \left( M_{jk}\ddot\eta_k + K_{jk}\eta_k \right) = 0.

Seeking solutions ηk=akeiωt\eta_k = a_k e^{i\omega t} turns this into the generalised eigenvalue problem

(K−ω2M)a⃗=0⟹det⁡ ⁣(K−ω2M)=0.\left( K - \omega^2 M \right)\vec a = 0 \quad\Longrightarrow\quad \det\!\left( K - \omega^2 M \right) = 0.

The nn roots ωr2\omega_r^2 are the normal-mode frequencies; the corresponding eigenvectors a⃗(r)\vec a^{(r)} are the mode shapes, and the general motion is their superposition. The modes are MM-orthogonal, a⃗(r)TM a⃗(s)=0\vec a^{(r)\mathsf{T}} M\,\vec a^{(s)} = 0 for r≠sr \ne s, which is what lets the coupled system be rewritten as nn independent oscillators in normal coordinates ξr\xi_r.

Worked example — two masses, three springs. With equal masses mm and equal springs kk, M=m 1M = m\,\mathbb{1} and K=(2k−k−k2k)K = \begin{pmatrix} 2k & -k \\ -k & 2k \end{pmatrix}. The eigenvalues are ω2=k/m\omega^2 = k/m (mode (1,1)(1,1), the masses moving together, the middle spring unstretched) and ω2=3k/m\omega^2 = 3k/m (mode (1,−1)(1,-1), the masses moving oppositely).

4. Motion in a Rotating Frame from a Lagrangian

Let a frame rotate at constant angular velocity Ω⃗\vec\Omega about a fixed axis. Writing the Lagrangian of a free particle in the inertial frame and substituting v⃗in=v⃗rot+Ω⃗×r⃗\vec v_{\text{in}} = \vec v_{\text{rot}} + \vec\Omega\times\vec r gives

L=12m∣v⃗rot+Ω⃗×r⃗∣2−V=12mvrot2+m v⃗rot⋅(Ω⃗×r⃗)+12m∣Ω⃗×r⃗∣2−V.L = \tfrac12 m\left| \vec v_{\text{rot}} + \vec\Omega\times\vec r \right|^2 - V = \tfrac12 m v_{\text{rot}}^2 + m\,\vec v_{\text{rot}}\cdot(\vec\Omega\times\vec r) + \tfrac12 m|\vec\Omega\times\vec r|^2 - V.

Applying Lagrange's equations in the rotating coordinates reproduces the equation of motion

m a⃗rot=−∇V−2m Ω⃗×v⃗rot−m Ω⃗×(Ω⃗×r⃗),m\,\vec a_{\text{rot}} = -\nabla V - 2m\,\vec\Omega\times\vec v_{\text{rot}} - m\,\vec\Omega\times(\vec\Omega\times\vec r),

with the Coriolis term coming from the middle (velocity-linear) piece of LL and the centrifugal term from the last piece. The rotating-frame fictitious forces are thus not postulated — they fall out of a coordinate change applied to the Lagrangian, exactly as the centrifugal term did for the central-force problem.

5. Lagrange Multipliers for Holonomic Constraints

Sometimes the constraint force is the answer. Keep the constraint f(q⃗,t)=0f(\vec q,t) = 0 explicit and adjoin it with a multiplier λ(t)\lambda(t):

ddt∂L∂q˙j−∂L∂qj=λ ∂f∂qj,j=1,…,n+1,\frac{d}{dt}\frac{\partial L}{\partial\dot q_j} - \frac{\partial L}{\partial q_j} = \lambda\,\frac{\partial f}{\partial q_j}, \qquad j = 1,\dots,n+1,

together with f(q⃗,t)=0f(\vec q,t) = 0. This is n+2n+2 equations (the n+1n+1 Lagrange equations plus f=0f=0) for the n+2n+2 unknowns q1,…,qn+1,λq_1,\dots,q_{n+1},\lambda (one more coordinate is kept than strictly independent). The term λ ∂f/∂qj\lambda\,\partial f/\partial q_j is the generalised force of constraint, so once λ(t)\lambda(t) is known the reaction is known.

Worked example — particle on a sphere, when does it leave? A particle slides on the outside of a fixed sphere of radius RR under gravity, starting near the top. Use spherical coordinates with f=r−R=0f = r - R = 0. The rr-equation gives m(r¨−rθ˙2)=−mgcos⁡θ+λm(\ddot r - r\dot\theta^2) = -mg\cos\theta + \lambda, and on the constraint r¨=0\ddot r = 0, r˙=0\dot r = 0, so λ=m(gcos⁡θ−Rθ˙2)\lambda = m(g\cos\theta - R\dot\theta^2). Energy conservation gives Rθ˙2=2g(1−cos⁡θ)R\dot\theta^2 = 2g(1 - \cos\theta), hence λ=mg(3cos⁡θ−2)\lambda = mg(3\cos\theta - 2). The normal force λ\lambda reaches zero at cos⁡θ=2/3\cos\theta = 2/3: the particle leaves the sphere there.

6. Non-Holonomic Constraints

For a constraint that is a non-integrable relation among the velocities,

∑j=1naαj(q⃗,t) q˙j+aαt(q⃗,t)=0,α=1,…,m,\sum_{j=1}^{n} a_{\alpha j}(\vec q,t)\,\dot q_j + a_{\alpha t}(\vec q,t) = 0, \qquad \alpha = 1,\dots,m,

the same multiplier structure applies, now with one multiplier λα\lambda_\alpha per constraint:

ddt∂L∂q˙j−∂L∂qj=∑α=1mλα aαj.\frac{d}{dt}\frac{\partial L}{\partial\dot q_j} - \frac{\partial L}{\partial q_j} = \sum_{\alpha=1}^{m} \lambda_\alpha\,a_{\alpha j}.

These nn equations plus the mm constraint relations determine the nn coordinates and mm multipliers. The method works because the virtual displacements still satisfy ∑jaαj δqj=0\sum_j a_{\alpha j}\,\delta q_j = 0 (frozen time), so the constraint forces ∑αλαaαj\sum_\alpha \lambda_\alpha a_{\alpha j} do no virtual work — the same principle as always.

Worked example — vertical disc rolling on a plane. Coordinates (x,y,θ,ϕ)(x,y,\theta,\phi): contact-point position, heading, spin. The rolling constraints x˙=aϕ˙cos⁡θ\dot x = a\dot\phi\cos\theta, y˙=aϕ˙sin⁡θ\dot y = a\dot\phi\sin\theta are non-holonomic. To get the friction force out of the multipliers, the constraint must not be substituted into LL beforehand: write L=12m(x˙2+y˙2)+12I3ϕ˙2+12I1θ˙2L = \tfrac12 m(\dot x^2 + \dot y^2) + \tfrac12 I_3\dot\phi^2 + \tfrac12 I_1\dot\theta^2 (disc on a horizontal plane, no potential) for the four coordinates treated as independent, and adjoin the two rolling constraints with multipliers λ1,λ2\lambda_1,\lambda_2. The xx- and yy-equations then read mx¨=λ1m\ddot x = \lambda_1, my¨=λ2m\ddot y = \lambda_2: the multipliers are the horizontal friction-force components at the contact point. For steady rolling (θ˙,ϕ˙=const\dot\theta,\dot\phi = \text{const}) these combine into a centripetal force of magnitude maϕ˙θ˙ma\dot\phi\dot\theta directed toward the centre of the path — the disc rolls in a circle of fixed radius, with friction supplying exactly the force needed to curve it. (Substituting the constraint into LL first, as if to simplify, removes all x˙,y˙\dot x,\dot y dependence and makes the multipliers vanish identically — it answers a different question, the motion of the already-constrained system, not the force of constraint.)

7. Systems with a Velocity-Dependent Potential

The charged particle is the standard case. With L=12mr⃗˙ 2−eϕ+e r⃗˙⋅A⃗L = \tfrac12 m\dot{\vec r}^{\,2} - e\phi + e\,\dot{\vec r}\cdot\vec A, in a uniform magnetic field B⃗=Bz^\vec B = B\hat z and the symmetric gauge A⃗=12B(−y,x,0)\vec A = \tfrac12 B(-y,x,0), cylindrical coordinates (ρ,φ,z)(\rho,\varphi,z) give

L=12m(ρ˙2+ρ2φ˙2+z˙2)+12eBρ2φ˙.L = \tfrac12 m\left(\dot\rho^2 + \rho^2\dot\varphi^2 + \dot z^2\right) + \tfrac12 e B\rho^2\dot\varphi.

φ\varphi and zz are cyclic. The φ\varphi-momentum pφ=mρ2φ˙+12eBρ2p_\varphi = m\rho^2\dot\varphi + \tfrac12 e B\rho^2 is conserved (canonical angular momentum), and pz=mz˙p_z = m\dot z is conserved. The ρ\rho-equation then yields circular cyclotron motion at ωc=eB/m\omega_c = eB/m drifting uniformly along zz — the helical path, obtained without ever writing v⃗×B⃗\vec v\times\vec B.

8. The Symmetric Top

A rigid body with I1=I2≠I3I_1 = I_2 \ne I_3, one point fixed, in gravity. Using Euler angles (ϕ,θ,ψ)(\phi,\theta,\psi) — precession, nutation, spin — the kinetic energy is

T=12I1(θ˙2+ϕ˙2sin⁡2θ)+12I3(ψ˙+ϕ˙cos⁡θ)2,T = \tfrac12 I_1\left(\dot\theta^2 + \dot\phi^2\sin^2\theta\right) + \tfrac12 I_3\left(\dot\psi + \dot\phi\cos\theta\right)^2,

and with the centre of mass a distance ℓ\ell from the fixed point, V=Mgℓcos⁡θV = M g\ell\cos\theta. Both ϕ\phi and ψ\psi are cyclic, giving two conserved momenta:

pψ=I3(ψ˙+ϕ˙cos⁡θ)=I3ω3,pϕ=(I1sin⁡2θ+I3cos⁡2θ)ϕ˙+I3ψ˙cos⁡θ.p_\psi = I_3\left(\dot\psi + \dot\phi\cos\theta\right) = I_3\omega_3, \qquad p_\phi = \left(I_1\sin^2\theta + I_3\cos^2\theta\right)\dot\phi + I_3\dot\psi\cos\theta.

With ∂L/∂t=0\partial L/\partial t = 0 the energy is conserved as well. Eliminating ϕ˙\dot\phi and ψ˙\dot\psi leaves a one-dimensional problem for θ\theta in an effective potential Veff(θ)V_{\text{eff}}(\theta), whose analysis gives steady precession, nutation between two values of θ\theta, and the "sleeping top" stability condition I32ω32>4I1MgℓI_3^2\omega_3^2 > 4 I_1 M g\ell.

9. Further Worked Systems

Bead on a rotating hoop (a bifurcation). A bead slides on a circular hoop of radius RR spun about its vertical diameter at rate ω\omega. With θ\theta the angle from the bottom, L=12mR2θ˙2+12mR2ω2sin⁡2θ+mgRcos⁡θL = \tfrac12 m R^2\dot\theta^2 + \tfrac12 m R^2\omega^2\sin^2\theta + m g R\cos\theta. The equation of motion is Rθ¨=(Rω2cos⁡θ−g)sin⁡θR\ddot\theta = (R\omega^2\cos\theta - g)\sin\theta. For ω2<g/R\omega^2 < g/R the only stable equilibrium is θ=0\theta = 0; for ω2>g/R\omega^2 > g/R that point becomes unstable and a new stable equilibrium appears at cos⁡θ∗=g/Rω2\cos\theta_* = g/R\omega^2 — a pitchfork bifurcation produced entirely by the T0T_0 term of the rotating constraint.

Double pendulum, linearised. For equal masses mm and equal rod lengths ℓ\ell, expanding the Lagrangian of Chapter 2 to quadratic order in (θ1,θ2)(\theta_1,\theta_2) gives M=mℓ2(2111)M = m\ell^2\begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}, K=mgℓ(2001)K = mg\ell\begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}, and det⁡(K−ω2M)=0\det(K - \omega^2 M) = 0 yields ω2=(2±2) g/ℓ\omega^2 = (2\pm\sqrt2)\,g/\ell: two normal modes, a slow in-phase swing and a fast out-of-phase one.

Common Pitfalls

  • Using the conserved pϕp_\phi to eliminate ϕ˙\dot\phi inside LL before differentiating. Substituting a first integral back into the Lagrangian and then varying gives the wrong equations (a Routhian must be used instead). Derive all equations of motion from the full LL, then impose the conserved quantity.
  • Forgetting the centrifugal term in VeffV_{\text{eff}}. It comes from ∂T/∂r\partial T/\partial r, not from the potential; a common slip is to write Veff=V(r)V_{\text{eff}} = V(r) and lose the barrier that prevents collapse to r=0r = 0.
  • Wrong count of multiplier equations. With the multiplier method you keep more coordinates than degrees of freedom; the extra equations are the constraint relations themselves.
  • Assuming the disc's rolling constraint is holonomic. On a straight line it is; free to steer on a plane it is not, and only the multiplier method (Section 6) applies.
  • Linearising TT but not evaluating MM at equilibrium. The mass matrix must be the constant Mjk(q⃗0)M_{jk}(\vec q_0); keeping its q⃗\vec q-dependence spoils the constant-coefficient structure and the normal-mode analysis.
  • Mixing up the Euler angles. ϕ\phi is precession about the vertical, ψ\psi is spin about the symmetry axis, θ\theta is the tilt; the kinetic energy depends on which convention you fixed.

Summary

  • Lagrange's equations "of the second kind" use independent generalised coordinates and carry no constraint forces; apply the four-step recipe and then exploit cyclic coordinates (pcp_c conserved) and time-translation (hh conserved).
  • Central force: ϕ\phi cyclic gives ℓ=mr2ϕ˙\ell = m r^2\dot\phi; the radial motion is one-dimensional in Veff(r)=V(r)+ℓ2/2mr2V_{\text{eff}}(r) = V(r) + \ell^2/2mr^2, reducing the orbit to a quadrature (the conic for V=−k/rV = -k/r).
  • Small oscillations: expand about a stable equilibrium to get Mη⃗¨+Kη⃗=0M\ddot{\vec\eta} + K\vec\eta = 0; the normal-mode frequencies solve det⁡(K−ω2M)=0\det(K - \omega^2 M) = 0 and the MM-orthogonal eigenvectors decouple the motion.
  • Rotating frame: substituting v⃗in=v⃗rot+Ω⃗×r⃗\vec v_{\text{in}} = \vec v_{\text{rot}} + \vec\Omega\times\vec r into LL produces the Coriolis and centrifugal forces automatically.
  • Multipliers (first kind): ddt∂L∂q˙j−∂L∂qj=∑αλαaαj\dfrac{d}{dt}\dfrac{\partial L}{\partial\dot q_j} - \dfrac{\partial L}{\partial q_j} = \sum_\alpha\lambda_\alpha a_{\alpha j} keeps the constraints explicit; λα aαj\lambda_\alpha\,a_{\alpha j} is the constraint force, used to find tensions, normal forces and separation points, and to handle non-holonomic (rolling) systems.
  • Symmetric top: ϕ,ψ\phi,\psi cyclic give pϕ,pψp_\phi,p_\psi; with energy conservation the motion reduces to one dimension in θ\theta, yielding precession, nutation and the sleeping-top condition I32ω32>4I1MgℓI_3^2\omega_3^2 > 4I_1 Mg\ell.