Sub topic 11
Propagating Uncertainty Through Calculations
What uncertainty means
Assume you know basic algebra, scientific notation, significant figures, and the difference between a measured value and an exact value.
A measured quantity is written as
\[ x = x_0 \pm \Delta x \]
Here, \(x_0\) is the best estimate and \(\Delta x\) is the uncertainty. The uncertainty describes a reasonable range around the estimate. For example,
\[ L = 2.50 \pm 0.05\ \text{m} \]
means that the length is estimated as 2.50 m, with an uncertainty of 0.05 m.
The absolute uncertainty is \(\Delta x\), in the same unit as \(x\). The relative uncertainty is
\[ \frac{\Delta x}{x_0} \]
The percentage uncertainty is the relative uncertainty multiplied by 100%.
Addition and subtraction
For addition or subtraction, combine independent absolute uncertainties in quadrature:
\[ \Delta q = \sqrt{(\Delta a)^2 + (\Delta b)^2} \]
If
\[ q = a + b \]
then \(q\) has the same unit as \(a\) and \(b\), and its uncertainty follows the formula above. The same rule applies to subtraction.
For example, let
\[ a = 5.20 \pm 0.10\ \text{cm} \] \[ b = 2.10 \pm 0.05\ \text{cm} \]
Then
\[ q = 7.30\ \text{cm} \]
and
\[ \Delta q = \sqrt{0.10^2 + 0.05^2} \approx 0.11\ \text{cm} \]
So the result is \(7.30 \pm 0.11\ \text{cm}\).
Products, quotients, and powers
For multiplication or division, combine independent relative uncertainties in quadrature. If \(q = ab\) or \(q = a/b\), then
\[ \frac{\Delta q}{q} = \sqrt{ \left(\frac{\Delta a}{a}\right)^2+ \left(\frac{\Delta b}{b}\right)^2 } \]
For a power \(q = a^n\),
\[ \frac{\Delta q}{q} = |n|\frac{\Delta a}{a} \]
For several factors, include every factor inside the square root. These rules assume the uncertainties are independent. If two measurements share an error source, this simple method may underestimate the total uncertainty.
from math import sqrt
L, dL = 2.50, 0.05
W, dW = 1.20, 0.02
A = L * W
dA = A * sqrt((dL / L) ** 2 + (dW / W) ** 2)
print(f"A = {A:.2f} +/- {dA:.2f} m^2")
# A = 3.00 +/- 0.08 m^2The area is reported as \(3.00 \pm 0.08\ \text{m}^2\). Round the uncertainty to one or two significant figures, then round the measured value to the same decimal place.
Common errors
- Adding relative uncertainties for a sum instead of absolute uncertainties.
- Adding absolute uncertainties for a product instead of relative uncertainties.
- Reporting more decimal places than the uncertainty supports.
- Treating a conversion factor as uncertain when it is defined exactly.
- Ignoring shared error sources between measurements.
Exercise
A rectangle has length 4.00 +/- 0.05 m and width 2.00 +/- 0.03 m. What area and uncertainty should be reported?
Show answer
The area is 8.00 m^2. Its relative uncertainty is sqrt((0.05/4.00)^2 + (0.03/2.00)^2) = 0.018, so the uncertainty is about 0.14 m^2. Report 8.00 +/- 0.14 m^2.