Stellar Grove · Research

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 T=Cl/g: mass cannot matter, and doubling the length multiplies the period by √2. The experiment then only has to find one number, Cg=6.26 (theory: 2π = 6.28).

The problem

A pendulum's period T might depend on its length l, the bob's mass m and gravity g. 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 Π=Talbgcmd. Requiring every exponent of M, L and T to vanish gives a linear system, the null space of the dimension matrix:

TlgmM0001L0110T10−20⇒a=2c,b=−c,d=0

Four variables, rank three: one group, Π=T2g/l. The law must be Π= constant, so

T=Clg

Mass dropped out because nothing else carries M to cancel it. For drag on a sphere (force F, fluid density ρ, speed v, diameter d, 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 ρvd/μ. So the drag coefficient F/(ρv2d2) 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 T=Clp gives p=0.499 (95% interval 0.493–0.504) and C=1.998, so Cg=6.258, against the small-swing theory value 2π=6.283. The correlation between bob mass and T/l is -0.28.

Simulated timings against the law dimensional analysis predicts (only C was fitted)
Simulated timings against the law dimensional analysis predicts (only C was fitted)

Try it

Pendulums on other worlds

Drag the sliders; hover the chart to read values.

Key findings

Truth checks

CheckResult
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