B146 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

B1 · Lesson 46 · Lagrange's equations

Equations of motion from energy alone, for pendulums, hoops and circuits

Newton's laws need every force, constraint forces included: the tension in a pendulum string, the push of a track, the normal force of a hoop. Lagrange's method skips them. Write the kinetic and potential energies in whatever coordinates describe the system naturally (an angle, a distance along a track, a charge), form L=T−V, and a single rule produces the equations of motion. The constraint forces never appear. The same rule describes circuits, with charge as the coordinate, which is why it's the standard tool for electromechanical systems like motors, speakers and MEMS sensors.

  • A bead slides on a vertical hoop of radius 0.1 m that spins about its vertical axis at Ω.
  • Below Ω=g/R=9.9 rad/s the bead rests at the bottom. Above it, the bottom becomes unstable and the bead rises to a new equilibrium where cos⁡θ=gRΩ2.
  • The readouts give the equilibrium angle and the frequency of small oscillations about it, both found from the Lagrangian without ever computing the hoop's force on the bead.

Predict

The Lagrangian of an LC circuit is 12Lq˙2−q22C. What equation does Lagrange's rule give?

Name it

The recipe

  1. Choose generalized coordinates qi, as many as the system's degrees of freedom, that automatically satisfy the constraints.
  2. Write the kinetic energy T and potential energy V in terms of the qi and q˙i.
  3. Form the Lagrangian L=T−V.
  4. For each coordinate, ddt∂L∂q˙i−∂L∂qi=0.

Constraint forces that do no work never enter. Dissipation and driving forces can be added on the right-hand side as generalized forces.

Conservation laws

  • If L doesn't depend on some qi (a cyclic coordinate), its momentum pi=∂L∂q˙i is conserved.
  • If L doesn't depend explicitly on time, the energy ∑q˙ipi−L is conserved.

Small oscillations

At an equilibrium q0 (where ∂V∂q=0), expand to second order: T≈12Mq˙2 and V≈12V′′(q0)(q−q0)2. The oscillation frequency is ω=V′′(q0)/M, stable if V′′>0.

Circuits

With charges as coordinates, inductors contribute 12Lq˙2 to T, capacitors q22C to V, and resistors a dissipative force −Rq˙. Coupled electromechanical systems, such as a capacitor plate on a spring, put both kinds of term in one Lagrangian.

Worked example

Derive the Atwood machine's acceleration with Lagrange's method.

Show the solution
  1. Choose a coordinate. One is enough: the distance x that m2 has descended.
  2. Kinetic and potential energy. T=12(m1+m2)x˙2V=−m2gx+m1gx
  3. The Lagrangian. L=12(m1+m2)x˙2+(m2−m1)gx
  4. Apply the rule. (m1+m2)x¨−(m2−m1)g=0 so x¨=(m2−m1)gm1+m2
  5. What it saved. The string tension never appeared; with Newton's method it would have needed two equations and an elimination.

Answer x¨=(m2−m1)gm1+m2, with m2 descending.

Worked example

A bead slides on a hoop of radius 0.1 m spinning at 15 rad/s about its vertical diameter. Where does it rest, and how fast does it oscillate about that point?

Show the solution
  1. Kinetic and potential energy. With θ measured from the bottom, T=12mR2(θ˙2+Ω2sin2⁡θ)V=−mgRcos⁡θ
  2. Effective potential. −12mR2Ω2sin2⁡θ−mgRcos⁡θ stationary where sin⁡θ(RΩ2cos⁡θ−g)=0
  3. Where it rests. Since RΩ2=22.5 m/s² exceeds g, the bottom is unstable and the bead sits at cos⁡θ=9.822.5,θ=64.2°
  4. Oscillation frequency. Expanding the effective potential there gives ω=Ωsin⁡θ=13.5rad/s
  5. Slower spins. Below Ω=g/R=9.9 rad/s, only the bottom is stable.

Answer the bead rests at 64.2° from the bottom and oscillates about it at 13.5 rad/s.

Worked example

A 1 kg mass on a 100 N/m spring hangs vertically. Use the Lagrangian to find the equilibrium and the oscillation frequency.

Show the solution
  1. The Lagrangian. With x measured downward from the spring's natural length, L=12x˙2−(12⋅100x2−9.8x)
  2. Apply the rule. x¨+100x−9.8=0
  3. Equilibrium and frequency. Equilibrium is at x=0.098 m, and about it u¨+100u=0 so ω = 10 rad/s, unchanged by gravity.
  4. What gravity does. Gravity only shifts the equilibrium; it adds no stiffness, which is why a vertical spring oscillates at the same frequency as a horizontal one.

Answer the equilibrium is 0.098 m below the natural length, and the mass oscillates at 10 rad/s.

Check

What acceleration does Lagrange's method give for an Atwood machine with 1 kg and 3 kg?

Write units the way you normally would: 1.5 m/s^2, 1500 mm/s^2 and 0.0015 km/s^2 are the same answer.

Check

A bead on a hoop of radius 0.1 m spinning at 12 rad/s.

(a)

At what angle from the bottom does it rest?

(b)

At what angular frequency does it oscillate about that point?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

Above what spin rate does the bottom of a hoop of radius 0.2 m stop being stable for the bead?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

An LC circuit has L = 1 mH and C = 1 µF. At what angular frequency does Lagrange's equation say it oscillates?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

A mass 0.5 kg hangs on a 50 N/m spring; L = 12mx˙2−12kx2+mgx.

(a)

Where is the equilibrium, below the natural length?

Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.

(b)

What is the oscillation frequency about it?

Check

A system's Lagrangian doesn't depend on the angle φ, though it depends on φ˙. What follows?

Check

A pendulum of mass m and length l, with angle θ (write t) and angular velocity θ˙ (write w). Use g = 9.8.

Step 1

What is L=T−V, taking V = 0 at the pivot's height?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Write hoop(R, W) for a bead on a hoop of radius R spinning at W rad/s (g = 9.8). Return (angle, omega): the stable equilibrium's angle from the bottom in degrees, and the small-oscillation angular frequency about it. Below the critical spin g/R the bead rests at the bottom with ω2=gR−Ω2; above it, cos⁡θ0=gRΩ2 and ω=Ωsin⁡θ0.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why don't constraint forces appear in Lagrange's equations?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.