Sub topic 6
Using Dimensions: Checking Equations, Converting Units, Deriving Relations
This chapter assumes you can write the dimensional formula of a quantity in terms of M, L and T (for example force is M L T⁻²). It also assumes you know the principle of homogeneity, which says every term in a valid physical equation has the same dimensions. Here you will use both ideas for three jobs: testing an equation, converting a value between unit systems, and deriving a formula when you know which quantities it depends on.
Checking an equation
To test an equation, write the dimensions of every term and compare them. Two rules apply.
- Terms joined by + or − must have identical dimensions.
- The argument of sin, cos, log or an exponential must be dimensionless.
Take v² = u² + 2as. The left side has dimensions L² T⁻². The terms on the right are u², which is L² T⁻², and as, which is (L T⁻²)(L) = L² T⁻². The equation passes.
Now compare T = 2π√(l/g) with T = 2π√(g/l). The first gives √(L ÷ L T⁻²) = √(T²) = T, which is correct. The second gives √(T⁻²) = T⁻¹, which is not a time, so it is wrong.
Finding the dimensions of a constant
You can also use homogeneity to find the dimensions of an unknown constant. Consider the van der Waals equation (P + a/V²)(V − b) = RT.
- The term a/V² is added to P, so a/V² has the dimensions of pressure: M L⁻¹ T⁻².
- V² has dimensions L⁶. So a has dimensions M L⁻¹ T⁻² × L⁶ = M L⁵ T⁻².
- b is subtracted from V, so b has the dimensions of volume: L³.
Dimensionless arguments
In x = A sin(ωt), the product ωt must be dimensionless. Since t has dimension T, ω must have dimension T⁻¹. The same reasoning applies to x = x₀e^(−bt), where b has dimension T⁻¹.
The next table lists dimensional formulae that come up often in these checks.
| Quantity | Dimensional formula |
|---|---|
| Force | M L T⁻² |
| Pressure | M L⁻¹ T⁻² |
| Energy, work | M L² T⁻² |
| Power | M L² T⁻³ |
| Surface tension | M T⁻² |
| Coefficient of viscosity | M L⁻¹ T⁻¹ |
| Gravitational constant G | M⁻¹ L³ T⁻² |
As a final check, Stokes' law is F = 6πηrv. The dimensions of η r v are (M L⁻¹ T⁻¹)(L)(L T⁻¹) = M L T⁻², which are the dimensions of force. The numbers 6 and π carry no dimensions, so the law is consistent.
The code below shows the same idea with exponent tuples. Multiplying quantities adds their exponents, so work (force times distance) has the same dimensional formula as energy.
# Dimensions as exponent tuples (M, L, T)
force = (1, 1, -2) # M L T^-2
distance = (0, 1, 0) # L
energy = (1, 2, -2) # M L^2 T^-2
def multiply(a, b):
return tuple(x + y for x, y in zip(a, b))
work = multiply(force, distance)
print(work == energy) # True: work and energy have the same dimensionsConverting units
A physical quantity is a number times a unit, and its value does not change when the unit does. If a quantity has dimensional formula M^a L^b T^c, then
n₁u₁ = n₂u₂, so n₂ = n₁ (M₁/M₂)^a (L₁/L₂)^b (T₁/T₂)^c
Here M₁, L₁, T₁ are the sizes of the fundamental units in the first system, and M₂, L₂, T₂ are those in the second.
Example: newton to dyne
Force has a = 1, b = 1, c = −2. Going from SI to CGS, M₁/M₂ = 1 kg/1 g = 1000, L₁/L₂ = 1 m/1 cm = 100, and T₁/T₂ = 1.
n₂ = 1 × 1000 × 100 × 1 = 10⁵
So 1 N = 10⁵ dyne.
Example: G in CGS
G has dimensions M⁻¹ L³ T⁻², and its SI value is 6.67 × 10⁻¹¹ N m² kg⁻². In CGS:
n₂ = 6.67 × 10⁻¹¹ × (1000)⁻¹ × (100)³ = 6.67 × 10⁻¹¹ × 10⁻³ × 10⁶ = 6.67 × 10⁻⁸
So G = 6.67 × 10⁻⁸ in CGS units (dyne cm² g⁻²).
You can automate the arithmetic with a small function.
def convert(n1, dims, ratios):
"""dims = (a, b, c) exponents of M, L, T.
ratios = (M1/M2, L1/L2, T1/T2), old unit size over new unit size."""
n2 = n1
for d, r in zip(dims, ratios):
n2 *= r ** d
return n2
si_to_cgs = (1000, 100, 1) # kg->g, m->cm, s->s
newton_in_dyne = convert(1, (1, 1, -2), si_to_cgs)
G_cgs = convert(6.67e-11, (-1, 3, -2), si_to_cgs)
print(f"{newton_in_dyne:.0f}") # 100000
print(f"{G_cgs:.3g}") # 6.67e-08A common slip
The ratio is old unit over new unit. If you invert it, your answer is off by a power of ten raised to the dimension exponent. Check the direction by sense: a larger unit needs a smaller number. A newton is a bigger unit than a dyne, so the number of dynes is larger than the number of newtons.
Deriving a relation
Suppose you know which quantities a result depends on, and you believe the dependence is a product of powers. You can then find the exponents by matching dimensions.
Example: speed of a wave on a string
Assume the speed v depends on the tension F and the mass per unit length μ. Write v = k F^a μ^b.
- v has dimensions L T⁻¹.
- F has dimensions M L T⁻².
- μ has dimensions M L⁻¹.
Matching the exponents on both sides:
- M: a + b = 0
- L: a − b = 1
- T: −2a = −1
The T equation gives a = 1/2. Then b = −1/2, and the L equation checks: 1/2 + 1/2 = 1. So v = k√(F/μ). Experiment and theory both give k = 1.
Example: the pendulum
Assume T = k mᵃ lᵇ gᶜ. Matching exponents gives:
- M: a = 0
- L: b + c = 0
- T: −2c = 1
So c = −1/2 and b = 1/2. The mass drops out, and T = k√(l/g). Dimensions cannot give k. It turns out to be 2π.
The same steps in code, using exact fractions:
from fractions import Fraction
# v = k * F^a * mu^b, with F = M L T^-2 and mu = M L^-1
a = Fraction(-1, -2) * 1 # T: -2a = -1 -> a = 1/2
b = -a # M: a + b = 0
print(a, b) # 1/2 -1/2
print(a - b == 1) # L: a - b = 1 holds -> TrueHow many unknowns can you handle?
Mechanics has three base dimensions, so you get at most three equations. You can therefore solve for at most three unknown exponents. If the result depends on more than three quantities, the equations do not fix the powers uniquely, and you need extra information.
Where this method stops working
Dimensional analysis cannot find dimensionless constants such as 2π or ½. It also cannot handle sums of terms. For s = ut + ½at², it can confirm that each term has dimension L, but it cannot tell you the ½. A formula with a trigonometric or exponential function cannot be derived by the product-of-powers method.
Common errors
- Treating pure numbers, angles and ratios such as strain as having dimensions. They are dimensionless.
- Forgetting that quantities of different kinds can share a dimensional formula. Work and torque are both M L² T⁻², so a dimensional check cannot tell them apart.
- Mixing up the direction of the conversion ratio, as described above.
- Using a derivation with four or more dependent quantities and forcing a unique answer.
Exercise
Check whether the relation P = ρgh + ½ρv² is dimensionally consistent, where P is pressure, ρ is density, g is the acceleration due to gravity, h is height and v is speed.
Show answer
Pressure has dimensions M L⁻¹ T⁻². ρgh gives (M L⁻³)(L T⁻²)(L) = M L⁻¹ T⁻². ½ρv² gives (M L⁻³)(L² T⁻²) = M L⁻¹ T⁻². Both terms match the left side, so the relation is dimensionally consistent. The ½ is a pure number and does not affect the check.
Exercise
The frequency f of a vibrating drop of liquid depends on its density ρ, its radius r and its surface tension S. Assume f = k ρ^a r^b S^c and use dimensions to find a, b and c.
Show answer
Dimensions: f is T⁻¹, ρ is M L⁻³, r is L, and S is M T⁻². Matching M: a + c = 0. Matching L: −3a + b = 0. Matching T: −2c = −1, so c = 1/2. Then a = −1/2 and b = −3/2. So f = k √(S/(ρ r³)).