Foundations to Frontier
Tests
A. Mathematical Foundations › A13 Physics for Robotics and AI

Rigid-Body Motion in 3-D

In three dimensions, rotation gets strange: angular velocity and angular momentum point in different directions, spinning objects wobble, and a top defies gravity by precessing instead of falling. This topic develops the Newton–Euler equations for rigid bodies, Euler's equations in the body frame, torque-free precession of symmetric bodies, the space and body cones, and gyroscopic precession under torque. In the research exercise you simulate a heavy spinning top from first principles, confirm the gyroscopic precession formula and its 1/ω scaling, and find the 'sleeping top' spin threshold above which an upright top stays upright.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Why a spinning top doesn’t fall

A top standing still falls over immediately. Spin it, and instead of falling it slowly circles around: it precesses. Gravity is still pulling. But a spinning object resists changes to the direction of its spin, so gravity’s tipping effect turns into a sideways swing.

Spinning things show up everywhere: wheels, propellers, planets, satellites, footballs thrown with a spiral. Understanding how they move in 3-D is rigid-body dynamics.

Why a spinning top doesn't fall: gyroscopic precession
precession 3.31 rad/s (gyroscopic formula m g l/(C ω) = 3.27) · tilt nods between 30.0° and 31.4° · an upright top "sleeps" if spin exceeds 89 rad/s
View from above: the outer circle is the horizontal, the centre is straight up, the green dot is where the axis starts (dashed circle: starting tilt), and the 2.5 s path shows where the axis goes. Gravity's torque points sideways, so it doesn't tip the spin angular momentum down; it swings it around, so the axis precesses. Faster spin means slower precession and smaller nutation wiggles. The same physics explains gyrocompasses, control-moment gyroscopes on the ISS, and why spin-stabilized spacecraft and spinning rifle bullets hold their pointing.
Why engineers care

Spin-stabilized spacecraft, control-moment gyroscopes on the ISS, gyrocompasses, the wobble of a satellite with flexible panels, and the tumble of debris are all rigid-body motions in 3-D. Simulating a robot, drone or spacecraft means integrating exactly these equations.

📝 Quick check (Level 0)
0/3 answered
  1. 1. A spinning top tilted sideways…
  2. 2. Spinning the top faster makes its precession…
  3. 3. How many numbers describe a body's orientation in 3-D?

Level 1: Beginner

★★☆☆☆ Basic⏱ 25 minSecondary-school mathematics: arithmetic and elementary algebra.

Newton–Euler equations

A rigid body’s centre of mass obeys mr¨c=Fm\ddot{\mathbf r}_c = \mathbf F. Its rotation obeys L˙=τ\dot{\mathbf L} = \boldsymbol\tau about the centre of mass (or a fixed pivot). Here L=Iω\mathbf L = \mathbf I\boldsymbol\omega, with I the inertia tensor (a13-8).

L is not parallel to ω

Unless ω lies along a principal axis, Iω\mathbf I\boldsymbol\omega points somewhere else. With principal moments (1, 2, 3) and ω = (1, 1, 1), L = (1, 2, 3), which is 22° away from ω. The kinetic energy is 12ω⊤Iω=3\tfrac12\boldsymbol\omega^\top\mathbf I\boldsymbol\omega = 3 J.

Orientation

Store attitude as a rotation matrix or quaternion and update it with R˙=Rω^\dot R = R\hat{\boldsymbol\omega} (body rates). Use the exponential map step R←Rexp⁡(Δt ω^)R\leftarrow R\exp(\Delta t\,\hat{\boldsymbol\omega}) (a12-3).

📝 Quick check (Level 1)
0/3 answered
  1. 1. For principal moments (1, 2, 3) and ω = (1, 1, 1), L is…
  2. 2. L is parallel to ω when ω lies along…
  3. 3. The centre of mass of a tumbling body in free fall moves…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

Euler’s equations

In the body frame (principal axes, so I is diagonal and constant), L˙=τ\dot{\mathbf L} = \boldsymbol\tau becomes

I1ω˙1=(I2−I3)ω2ω3+τ1(and cyclic),i.e.  Iω˙=τ−ω×Iω.I_1\dot\omega_1 = (I_2 - I_3)\omega_2\omega_3 + \tau_1\quad\text{(and cyclic)},\qquad\text{i.e. }\ \mathbf I\dot{\boldsymbol\omega} = \boldsymbol\tau - \boldsymbol\omega\times\mathbf I\boldsymbol\omega.

Torque-free symmetric body

With I1=I2I_1 = I_2, ω3\omega_3 is constant, and the transverse rate (ω1,ω2)(\omega_1, \omega_2) circles the symmetry axis at the body-frame rate

Ω=I3−I1I1 ω3.\Omega = \frac{I_3 - I_1}{I_1}\,\omega_3.

In space, L is fixed, and both ω and the symmetry axis sweep cones around it (the body cone rolls on the space cone). Earth wobbles this way. Euler’s theory predicts a period of about 305 days; the observed Chandler wobble has a period of about 433 days, because Earth isn’t rigid.

Gyroscopic precession

A fast top (spin ω about its axis, moment C about that axis) with its centre of mass at distance l from the pivot feels a gravity torque of size mgl sin θ, horizontal and perpendicular to the axis. That torque rotates L horizontally, so the axis precesses at

Ωp≈mglCω,\Omega_p\approx\frac{mgl}{C\omega},

independent of the tilt angle.

🐍 Exercise 1: torque-free rigid-body motion
Implement Euler's equations and integrate a torque-free symmetric body, updating attitude with the exponential map. Verify the body-frame precession rate, that L stays fixed in space, energy conservation, and the constant ω–L angle.
📝 Quick check (Level 2)
0/3 answered
  1. 1. Euler's equations hold in…
  2. 2. Gyroscopic precession rate:
  3. 3. For a torque-free symmetric body, ω₃ is…

Level 3: Advanced

★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.

Deriving Euler’s equations

In the inertial frame, L˙=τ\dot{\mathbf L} = \boldsymbol\tau. Write L=RLb\mathbf L = R\mathbf L_b; then L˙=R(L˙b+ω×Lb)\dot{\mathbf L} = R(\dot{\mathbf L}_b + \boldsymbol\omega\times\mathbf L_b) (the transport theorem). With Lb=Iω\mathbf L_b = \mathbf I\boldsymbol\omega and I constant in the body, this gives Iω˙+ω×Iω=τb\mathbf I\dot{\boldsymbol\omega} + \boldsymbol\omega\times\mathbf I\boldsymbol\omega = \boldsymbol\tau_b. ∎

Symmetric body

With I1=I2I_1 = I_2, the third equation gives I3ω˙3=0I_3\dot\omega_3 = 0. The first two give ω˙1=−Ωω2\dot\omega_1 = -\Omega\omega_2 and ω˙2=Ωω1\dot\omega_2 = \Omega\omega_1, rotation at rate Ω. ∎

Gyroscopic precession

For a fast top, L≈Cω z^b\mathbf L\approx C\omega\,\hat{\mathbf z}_b. The torque ∣τ∣=mglsin⁡θ|\boldsymbol\tau| = mgl\sin\theta is horizontal, so the horizontal projection Cωsin⁡θC\omega\sin\theta rotates at Ωp=mglsin⁡θ/(Cωsin⁡θ)=mgl/(Cω)\Omega_p = mgl\sin\theta/(C\omega\sin\theta) = mgl/(C\omega). ∎

The sleeping top

An upright top is stable when C2ω2>4AmglC^2\omega^2 > 4Amgl (A = transverse moment about the pivot). Below this, small tilts grow and the top falls (Goldstein, Poole and Safko, 2002). As friction slows a real top, it eventually crosses this threshold and starts to wobble.

📝 Quick check (Level 3)
0/3 answered
  1. 1. The transport theorem: d/dt (vector) in the inertial frame equals…
  2. 2. An upright top stays up when…
  3. 3. Euler predicted Earth's free wobble period at about…

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

Simulating a heavy top

The top has m = 0.5 kg, l = 4 cm and inertias A = 4 × 10⁻⁴ and C = 2 × 10⁻⁴ kg·m² about the pivot. We integrate Euler’s equations with the gravity torque, using RK4 with exponential-map attitude updates.

  • Precession: spinning at 400 rad/s, tilted 30°, it precesses at 2.452 rad/s, against the gyroscopic formula’s 2.453. Its tilt nods by only 0.75° (nutation).
  • Scaling: at 800 rad/s it precesses at 1.195 rad/s, close to half (the 1/ω law; the gap is the fast-top approximation).
  • Sleeping top: the threshold is 2√(Amgl)/C = 88.6 rad/s. Starting 3° from vertical, at 1.5× the threshold the tilt stays below 4°. At 0.6× the threshold it topples past 100°.

The same equations govern spin-stabilized satellites and control-moment gyroscopes. A CMG gimbals a fast-spinning wheel so that gyroscopic torque turns the spacecraft, with far more torque than a reaction wheel of similar size (Wie, 2008).

🐍 Exercise 2 (research): the heavy symmetric top
Simulate a heavy top with Euler's equations and the gravity torque about a fixed pivot. Measure the precession rate against m g l/(C ω) at two spins, check the small nutation, and test the sleeping-top stability threshold.

Rigid bodies in AI, robotics and aerospace

  • Spacecraft dynamics: spin stabilization, nutation dampers, CMGs, tumbling-debris capture.
  • Robotics: the Newton–Euler recursion for multi-link robots (Featherstone’s algorithms); floating-base dynamics of humanoids and quadrupeds.
  • Drones: gyroscopic coupling of spinning propellers during fast turns.
  • Learning: physics engines and differentiable rigid-body simulators for robot learning; equivariant networks for 3-D poses.

References

  1. H. Goldstein, C. Poole, J. Safko (2002). Classical Mechanics, 3rd ed. Addison-Wesley.
  2. B. Wie (2008). Space Vehicle Dynamics and Control, 2nd ed. AIAA.
  3. R. Featherstone (2008). Rigid Body Dynamics Algorithms. Springer.
  4. J. Marsden, T. Ratiu (1999). Introduction to Mechanics and Symmetry, 2nd ed. Springer.