Ordinary Differential Equations (17): Physics and Engineering Applications
See ODEs in action across physics and engineering. Walk through the nonlinear pendulum, RLC circuit and resonance, Kepler orbits and conservation laws, multi-DOF structural vibration with tuned mass dampers, and fluid flow from Poiseuille to vortex shedding -- all with full Python simulations.
Differential equations are not a pure mathematical game – they are the language for understanding the physical world. From celestial motion to circuit response, from a swinging pendulum to vortex shedding behind a bridge cable, every dynamical system “speaks” ODE.
This chapter is a deliberate tour through five canonical applications. Each one will pay back the entire ODE toolkit we built in chapters 1-16: phase planes, eigenvalues, Laplace transforms, modal analysis, conservation laws, numerical integration, control. None of the examples is a “toy” – they are all genuine working physics, written tightly so that the structure remains visible.
What You Will Learn
- The nonlinear pendulum: small-angle linearisation vs the full equation, period vs amplitude, the separatrix
- RLC circuits: the three damping regimes, resonance, the Q-factor, and tuning
- Kepler orbits: gravity, eccentricity, conservation of energy and angular momentum, Bertrand’s theorem
- Multi-DOF structural vibration: modal analysis, resonance, tuned mass dampers (the Tacoma lesson)
- Fluid mechanics: Poiseuille flow, Reynolds number, vortex shedding, Stokes settling
Prerequisites
- Chapters 1-3 – first- and second-order linear theory
- Chapter 6-7 – linear systems and phase portraits
- Chapter 8 – nonlinear stability and energy methods
- Chapter 11 – numerical methods (used throughout)
1. The Nonlinear Pendulum – the Hello World of nonlinear ODEs
A point mass on a rigid rod of length $L$ in gravity $g$ obeys
$$ \ddot\theta + \frac{g}{L}\sin\theta = 0. $$For small $\theta$ we replace $\sin\theta \approx \theta$ and recover simple harmonic motion with period $T_0 = 2\pi\sqrt{L/g}$ – independent of amplitude. That isochronism is the small-angle miracle Galileo exploited.
The full equation is not isochronous: the period depends on amplitude. The exact answer involves the complete elliptic integral of the first kind:
$$ T(\theta_0) = \frac{4}{\omega_0}\,K\!\bigl(\sin(\theta_0/2)\bigr), \qquad \omega_0 = \sqrt{g/L}. $$
| |
Why this matters. The pendulum is the simplest non-trivial nonlinear conservative system, and its phase portrait already contains every concept of Chapters 7-8: stable/unstable equilibria, separatrices, period-energy relations, integrability. Every other oscillator – molecular vibrations, Josephson junctions, plasma waves – borrows this skeleton.
2. RLC Circuits – the same equation, in copper
A series resistor-inductor-capacitor loop driven by voltage $V(t)$ obeys, for charge $q$ on the capacitor:
$$ L\ddot q + R\dot q + \frac{1}{C}\,q = V(t). $$Compare with the mass-spring-damper $m\ddot x + c\dot x + kx = F(t)$. They are the same equation – so all our intuition about damping ratio and natural frequency carries over directly.
Define $\omega_n = 1/\sqrt{LC}$ (natural frequency) and $\zeta = (R/2)\sqrt{C/L}$ (damping ratio). The transfer function from $V$ to $q$ is
$$ H(s) = \frac{1/L}{s^2 + (R/L)\,s + 1/(LC)}, $$with the same three step-response regimes from Chapter 16: underdamped, critical, overdamped.

The peak amplitude of an undamped oscillator driven at resonance grows linearly in time – a phenomenon the Tacoma Narrows Bridge made historic in 1940 (more on that in section 4).
3. Planetary Orbits – where Newton meets Kepler
Newton’s gravitational law gives, in two dimensions,
$$ \ddot{\mathbf r} \;=\; -\frac{GM\,\mathbf r}{|\mathbf r|^3}. $$The conserved quantities are total energy $E = \tfrac12|\mathbf v|^2 - GM/|\mathbf r|$ and angular momentum $\mathbf L = \mathbf r \times \mathbf v$. Together they prove Kepler’s three laws – without solving the ODE in closed form.
| |

Bertrand’s theorem is one of those quietly amazing facts: out of all spherically symmetric potentials, exactly two ($\propto 1/r$ and $\propto r^2$) produce closed orbits for every bound trajectory. That is why a stable Solar System with closed planetary loops exists. Mathematics first, astronomy second.
4. Structural Vibration – buildings, bridges, tuned mass dampers
A multi-storey building is, to first approximation, a chain of masses connected by stiff springs (the columns). For two storeys with masses $m_1, m_2$ and stiffnesses $k_1, k_2$:
$$ M\ddot{\mathbf x} + C\dot{\mathbf x} + K\mathbf x = \mathbf F(t), \qquad M = \begin{pmatrix} m_1 & 0 \\ 0 & m_2 \end{pmatrix}, \; K = \begin{pmatrix} k_1+k_2 & -k_2 \\ -k_2 & k_2 \end{pmatrix}. $$Modal analysis. The eigenproblem $K\,\boldsymbol\phi = \omega^2 M\,\boldsymbol\phi$ yields natural frequencies $\omega_i$ and mode shapes $\boldsymbol\phi_i$. Decomposing $\mathbf x = \sum_i q_i(t)\,\boldsymbol\phi_i$ decouples the equations into $n$ independent SDOF oscillators – the multi-degree-of-freedom problem becomes $n$ scalar problems.

The pattern is universal: whether the system is a violin string, a wing, a turbine blade or the Millennium Bridge, the steps are form $M, C, K$ -> solve eigenproblem -> decouple via modes -> add damping where needed.
5. Fluid Mechanics – from steady pipes to vortex shedding
Steady pipe flow (Poiseuille)
For incompressible viscous flow in a long circular pipe, the steady Navier-Stokes equations reduce to an ODE in the radial coordinate:
$$ \frac{1}{r}\frac{d}{dr}\!\Bigl(r\,\frac{du}{dr}\Bigr) = -\frac{1}{\mu}\frac{dp}{dz}, $$with boundary conditions $u(R) = 0$ (no-slip) and $u(0)$ finite. The solution is the parabolic profile $u(r) = u_{\max}(1 - r^2/R^2)$, and total volume flow $Q = \pi R^4 \Delta p / (8\mu L)$ – the Hagen-Poiseuille law. The fourth-power dependence on radius explains why arteries dilate to drop blood pressure: doubling radius eightfold-improves flow at the same pressure gradient.
Reynolds number and the laminar-turbulent transition
The dimensionless number $\mathrm{Re} = \rho U L / \mu$ measures the ratio of inertial to viscous effects. Below $\mathrm{Re}\sim 2300$ flow is laminar and the linear $Q \propto \Delta p$ holds; above it the same pressure drop produces less flow because turbulent eddies dissipate energy.
Vortex shedding (the Strouhal number)
Behind a bluff body in steady flow, alternating vortices shed at frequency $f$ such that the Strouhal number $\mathrm{St} = f D / U$ is roughly constant ($\approx 0.21$) over a wide range of Re. When that frequency matches a structural mode, you get the Tacoma resonance again.
Settling sphere (Stokes drag)
A small dense sphere falling in viscous fluid satisfies
$$ m\dot v = (\rho_p - \rho_f) V g - 6\pi\mu R\,v, $$a first-order linear ODE with terminal velocity $v_t = (\rho_p - \rho_f) V g / (6\pi\mu R)$ and time constant $\tau = m/(6\pi\mu R)$.

6. The Common Thread
Every domain in this chapter speaks the same five-step grammar:
- Write Newton’s / Kirchhoff’s / Navier-Stokes law for an infinitesimal element.
- Reduce to ODEs by symmetry, dimensional analysis, or projection onto modes.
- Identify the equilibrium and linearise; find natural frequencies and damping ratios.
- Add forcing, look for resonance, and decide whether to add damping or de-tune the source.
- Integrate numerically when the nonlinearity bites (large amplitude, turbulence, multi-body).
Master this loop and a vast portion of physics and engineering is unified.
| Domain | Governing ODE | Key dimensionless number |
|---|---|---|
| Mechanics | $\ddot\theta + (g/L)\sin\theta = 0$ | – |
| Electrical | $L\ddot q + R\dot q + q/C = V(t)$ | $Q = (1/R)\sqrt{L/C}$ |
| Orbital | $\ddot{\mathbf r} = -GM\mathbf r/ | \mathbf r |
| Structural | $M\ddot x + C\dot x + Kx = F$ | modal damping $\zeta_i$ |
| Fluid (pipe) | $\nabla \cdot \boldsymbol\sigma = 0$ -> radial ODE | Re |
| Fluid (wake) | – (empirical) | St $\approx 0.21$ |
Summary
Differential equations are the lingua franca of physics. You spent 16 chapters building the language; this chapter showed how a handful of canonical models – pendulum, RLC, Kepler, MDOF building, pipe flow – carry you from undergraduate physics to professional engineering practice. None of them required new mathematics. They required us to recognise the structure and reach for the right tool.
The next chapter, the finale, looks beyond this classical menu: Neural ODEs, stochastic and fractional equations, and the questions that connect ODE theory to modern machine learning.
References
- Kreyszig, Advanced Engineering Mathematics, Wiley (2011).
- Taylor, Classical Mechanics, University Science Books (2005).
- Goldstein, Poole & Safko, Classical Mechanics, Pearson (2002).
- Den Hartog, Mechanical Vibrations, Dover (1985).
- Acheson, Elementary Fluid Dynamics, Oxford (1990).
Previous Chapter: Chapter 16: Control Theory
Next Chapter: Chapter 18: Frontiers and Series Summary
This is Part 17 of the 18-part series on Ordinary Differential Equations.