Sub topic 12
Deriving relationships by dimensional analysis
This chapter assumes you can find the dimensions of a quantity in terms of mass (M), length (L), and time (T). It also assumes you can check an equation for dimensional homogeneity and solve small systems of linear equations. Here you use those skills in reverse. Instead of checking a formula you already have, you build the form of a formula from the dimensions of the variables involved.
The idea
Every valid physical equation is dimensionally homogeneous, so every term has the same dimensions. If you know which quantities a result can depend on, that requirement often limits how they can combine. Sometimes it fixes the combination completely, except for a pure number.
The result has the form
quantity = C × (product of variables raised to powers)
where C is a dimensionless constant that dimensional analysis cannot determine. You find it by experiment, simulation, or a full theory.
The method
- List the variables the result physically depends on. This is the physics step, and everything else depends on it.
- Write the dimensions of each variable and of the target quantity.
- Assume a power-law product:
target = C × x1^a × x2^b × x3^c. - Match the exponent of each base dimension on both sides. This gives one linear equation per dimension.
- Solve for the exponents.
- Check the result against a limiting case you know.
Worked example: the pendulum period
Suppose a simple pendulum swings through a small angle. A plausible list of variables is the string length l, the bob mass m, and the gravitational acceleration g. The target is the period T.
| Quantity | Symbol | Dimensions |
|---|---|---|
| Period | T | `T` |
| Length | l | `L` |
| Mass | m | `M` |
| Gravitational acceleration | g | `L T^-2` |
Assume T = C × l^a × m^b × g^c. Equate the exponents of each base dimension on both sides:
- Mass:
0 = b - Length:
0 = a + c - Time:
1 = -2c
The time equation gives c = -1/2. The length equation then gives a = 1/2. The mass equation gives b = 0. So
T = C × sqrt(l / g)
Two things came out without any mechanics. The period does not depend on the mass, because mass is the only variable containing M and nothing else could cancel it. The period grows as the square root of the length. A full treatment of the small-angle pendulum gives C = 2π.
The code below repeats the check from earlier chapters and then searches for the exponents instead of solving by hand. It tries every exponent that is a multiple of 1/2 from -3 to 3.
from fractions import Fraction as F
from itertools import product
# Dimension exponents are (mass, length, time).
def dim_mul(a, b):
return tuple(x + y for x, y in zip(a, b))
def dim_pow(a, p):
return tuple(x * p for x in a)
length = (0, 1, 0)
mass = (1, 0, 0)
acceleration = (0, 1, -2)
time = (0, 0, 1)
# Check the derived form: sqrt(length / g) has the dimension of time.
candidate = dim_mul(dim_pow(length, F(1, 2)), dim_pow(acceleration, F(-1, 2)))
print(candidate == time) # True
# Search for all exponents (a, b, c) with length^a * mass^b * g^c == time.
grid = [F(k, 2) for k in range(-6, 7)]
solutions = []
for a, b, c in product(grid, repeat=3):
d = dim_mul(dim_mul(dim_pow(length, a), dim_pow(mass, b)),
dim_pow(acceleration, c))
if d == time:
solutions.append((a, b, c))
print([tuple(str(e) for e in s) for s in solutions]) # [('1/2', '0', '-1/2')]The search finds exactly one solution, (1/2, 0, -1/2). That uniqueness is a property of this problem. The three variables have independent dimensions, so the linear system has one solution.
A harder example: the blast wave
In 1947 G. I. Taylor estimated the energy of the first atomic bomb test from photographs of the fireball. The photographs showed the fireball radius R at time t after detonation. His reasoning was that the radius depends on the released energy E, the time t, and the density ρ of the surrounding air.
| Quantity | Dimensions |
|---|---|
| R | `L` |
| E | `M L^2 T^-2` |
| ρ | `M L^-3` |
| t | `T` |
Assume R = C × E^a × ρ^b × t^c. Matching exponents gives:
- Mass:
0 = a + b - Length:
1 = 2a - 3b - Time:
0 = -2a + c
From the mass equation, b = -a. Substituting into the length equation gives 1 = 5a, so a = 1/5, b = -1/5, and c = 2/5. Therefore
R = C × (E t^2 / ρ)^(1/5)
Solving for the energy gives E = R^5 ρ / (C^5 t^2). Measuring R at a known t therefore gives E once C is known. Because C enters as C^5, a moderate error in C changes E by a much larger factor. This is one of the practical costs of fractional powers.
What the method cannot do
It cannot give the constant
The dimensionless constant C is invisible to dimensional analysis. 2π, 1, and 0.37 all have the same dimensions. Order-of-magnitude work usually takes C ≈ 1, which is often good to within a factor of a few.
It cannot see dimensionless functions
Angles and ratios are dimensionless, so any function of them can multiply your result. The pendulum amplitude θ0 is dimensionless, so the honest result is
T = sqrt(l / g) × f(θ0)
where f is some function of the starting angle. For small angles f is close to 2π. For large angles it is bigger. Dimensional analysis cannot tell you this. It only tells you that f depends on dimensionless quantities.
It depends on your variable list
The method is only as good as the list from step 1. Two failures are common:
- A missing variable. If you leave out a variable that matters, you get a wrong answer or no solution. Air resistance on a pendulum needs air density and viscosity. A list of only
l,m, andgcannot represent it. - An extra variable. If you add a variable that does not matter, the system may have more unknowns than equations. A set of solutions then appears instead of a single answer, and the physics must decide which is right.
It cannot handle sums
The power-law assumption works when the answer is a single product. Many results are sums, such as x = x0 + v t. Each term in a sum has the same dimensions, but the sum is not a single power law. Dimensional analysis can check each term and can suggest which groups appear. It cannot tell you that a sum is there.
When the equations are underdetermined
Suppose you have n variables built from k independent base dimensions, with n > k + 1. The linear system then has fewer equations than unknowns, and some exponents stay free. Each free choice corresponds to a dimensionless group. These groups are the basis of the Buckingham Pi theorem, covered in a later chapter. The result is then a relationship among the groups, Π1 = f(Π2, ...), instead of a single formula.
A quick plausibility check
Once you have a formula, test it against what you know:
- Doubling
linT = C sqrt(l / g)should lengthen the period bysqrt(2). Check this against a known pendulum. - Put the answer through the same dimension check you would use on a formula from a textbook.
- Compare with a rough number. A 1 m pendulum has
sqrt(l / g) ≈ 0.32 s, and2πtimes that is about 2 s. This matches a real pendulum.
Exercise
A body falls from rest through a height h under gravitational acceleration g. Use dimensional analysis to find how the fall time t depends on h and g, up to a constant. Then say what happens to t if h is quadrupled.
Show answer
Assume t = C × h^a × g^b. Dimensions: h is L, g is L T^-2, t is T. Length: 0 = a + b. Time: 1 = -2b. So b = -1/2 and a = 1/2, giving t = C sqrt(h / g). Quadrupling h multiplies sqrt(h) by 2, so t doubles. The full result is t = sqrt(2h / g), so C = sqrt(2).
Exercise
In the blast-wave example, the radius scales as R = C (E t^2 / ρ)^(1/5). If the energy of an explosion is multiplied by 32 and everything else is unchanged, by what factor does the radius at a given time change? Why is estimating E from a measured R sensitive to errors in R?
Show answer
R is proportional to E^(1/5), so the factor is 32^(1/5) = 2. The radius doubles. In the other direction, E is proportional to R^5, so a 10 percent error in R produces about a 61 percent error in E (1.1^5 ≈ 1.61). Fifth powers amplify relative errors by a factor of five in the exponent, and the constant C is also raised to the fifth power.