Stellar Grove · Concrete Mathematical Modelling
Dimensional analysis
Before measuring anything, what form must the law for a pendulum's period take?
Chapter 9 · Building a model: adapting, extending, and combining. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text. The pendulum timings are simulated (with 1% timing noise) so the fitted law can be checked against the exact one.
Headline: Units alone force the period of a pendulum to be : mass cannot matter, and doubling the length multiplies the period by √2. The experiment then only has to find one number, (theory: 2π = 6.28).
- 1dimensionless group for the pendulum: T²g/l
- 0.499fitted exponent of length (dimensional analysis says ½)
- 2groups for drag on a sphere: F/(ρv²d²) and the Reynolds number
The problem
A pendulum's period might depend on its length , the bob's mass and gravity . Rather than measure every combination, ask what the units allow.
Buckingham's Π theorem
Write each variable's dimensions in terms of mass M, length L and time T. A physical law can only relate dimensionless combinations . Requiring every exponent of M, L and T to vanish gives a linear system, the null space of the dimension matrix:
Four variables, rank three: one group, . The law must be constant, so
Mass dropped out because nothing else carries M to cancel it. For drag on a sphere (force , fluid density , speed , diameter , viscosity ) the same computation gives 2 groups; the computed basis is F / rho v^2 d^2 and F rho / mu^2. Any products of powers of groups are also groups, and the ratio of these two is the square of the Reynolds number . So the drag coefficient must be a function of the Reynolds number alone, which collapses a five-variable experiment onto a single curve.
The experiment
Timing 21 swings at seven lengths with bobs of 0.1, 0.5 and 2 kg and fitting gives (95% interval 0.493–0.504) and , so , against the small-swing theory value . The correlation between bob mass and is -0.28.
Try it
Pendulums on other worlds
Drag the sliders; hover the chart to read values.
Key findings
- Units constrain laws. Without any physics of forces, dimensional analysis gives the scaling and rules out mass; only the constant needs an experiment (or the differential equation).
- The data agree: the fitted exponent 0.499 is within sampling error of ½, and bob mass has no significant relationship with the scaled period (r = -0.28, p = 0.22).
- Fewer variables, cheaper experiments: drag depends on five quantities, but only on one combination of them, so wind-tunnel tests on small models predict full-size behaviour at the same Reynolds number.
Truth checks
| Check | Result |
|---|---|
| Fitted exponent within 0.02 of ½ | pass |
| 95% interval for the exponent covers ½ | pass |
| C√g within 2% of 2π | pass |
from books.concrete_mathematics import building as bu
print(bu.buckingham_pi({"T": {"T": 1}, "l": {"L": 1}, "g": {"L": 1, "T": -2}, "m": {"M": 1}}))
groups = bu.buckingham_pi({"F": {"M": 1, "L": 1, "T": -2}, "rho": {"M": 1, "L": -3}, "v": {"L": 1, "T": -1},
"d": {"L": 1}, "mu": {"M": 1, "L": -1, "T": -1}})
print([bu.pi_string(g) for g in groups])
# → [{'T': 2, 'l': -1, 'g': 1}]
# → ['F / rho v^2 d^2', 'F rho / mu^2']
Assumptions and extensions
- The list of variables must be complete. Forget one (the swing amplitude, for large swings) and the analysis silently gives a wrong law; amplitude is itself dimensionless, so it enters as a second Π.
- Groups are not unique: any product of powers of valid groups is valid; choose the ones with physical meaning.
- Scaling a model by its natural units (as in
building.nondimensional_harvest) is the same idea applied to differential equations.