Propagation of Error
Anything you calculate from measurements inherits their errors. Zoom in until the formula looks like a straight line, and each input's error just gets scaled by its partial derivative; then the scaled errors combine like a tolerance stack, .
What the symbols mean
- Sensitivity
How much f changes per unit change in input i, evaluated at the means.
- Input mean
The best value of input i, where the derivative is evaluated.
What the symbols mean
- Output SD
How much the computed result varies.
- Input SD
The standard deviation of measurement i; the inputs are assumed independent.
What the symbols mean
- Relative error
The SD as a fraction of the value; times 100 for percent.
- Exponent
Powers become weights: a squared diameter doubles its relative error, a square root halves it.
Explanation
Propagation of error is simply figuring out how uncertain a calculated answer is, given how uncertain the measurements going into it were. The main formula, , has two small pieces per input: (how sensitive the answer is to that input) times (how shaky the input is), squared and added up. The product-and-quotient version is the same thing in percentages, with each exponent as a weight. If you followed the last lesson's tolerance stacks, you already know this; the derivatives just replace the coefficients.
One number, three measurements. A lab checks a copper rod by weighing it and measuring its diameter and length, then computing its density . Each measurement has its own small random error. How uncertain is the density? And if the lab can afford one upgrade, should it buy a better scale or a better micrometer?
Zoom in until it's linear. Near the true values, any smooth formula is nearly its tangent plane, exactly as in Differentials:
The right side is a constant plus a linear combination of the input errors, which is what Tolerance Stack-Up handled: coefficients get squared and independent variances add. So
Propagation of error is a tolerance stack whose coefficients are partial derivatives.
Calculus's worst case vs statistics' typical case. The differential bound assumes every error pushes the same way at full size: that's a worst-case stack. Treating the errors as independent random variables adds them in quadrature instead, an RSS stack. The quadrature answer is smaller, and it's what you'd actually see if you repeated the measurement many times.
Products and quotients: take logs. For , , so . The relative errors form a linear combination with the exponents as coefficients, so
Division () still adds. Squaring () doubles a relative error, and a square root () halves it.
The error budget. Each term is one input's share of the output variance. In the copper rod the diameter, squared in the formula, supplies about 75% of the variance, so a better micrometer helps far more than a better scale. Always attack the biggest term: shrinking a small one barely moves the square root.
Averaging is a special case. The mean of independent readings, , has every , so and : the standard error from the central limit theorem, derived in one line.
A common mistake. It's tempting to treat the formula as always safe, since it came from calculus. It's only as good as the straight-line approximation behind it. When the linear approximation fails:
- Big errors on curved formulas. The second-order term shifts the mean: , not . Harmless when is a few percent, misleading at 20%.
- Subtracting nearly equal numbers. A difference of 5 °C between two readings near 80 °C keeps both readings' absolute errors but has a tiny value, so its relative error explodes.
- Correlated inputs, like two readings from the same instrument: add .
- Flat spots, where a derivative is near zero: the first-order term vanishes and the formula underestimates.
When any of these bite, simulate instead: Monte Carlo Tolerance Analysis. And remember that propagation handles random error only. A bias in an input, from Measurement Error, passes through as a bias, untouched by averaging.
See it
Worked examples
A copper rod has mass g (SD g), diameter mm (SD mm) and length mm (SD mm), all measured independently. Find its density and the density's standard deviation.
- 1
g/mm³ g/cm³.
Two resistors in parallel give . With Ω (SD Ω) and Ω (SD Ω), independent, find .
- 1
Ω. This isn't a product of powers, so use partial derivatives.
Practice
Type your answer and check it. Solve them all to complete the lesson.
A resistance is found from a voltmeter and an ammeter as , with V (SD V) and A (SD A), independent. Find the SD of in milliohms, to 3 significant figures.
A surveyor finds a tower's height as , from a horizontal distance m (SD m) and an elevation angle (SD ). Find the SD of , in centimeters, to 3 significant figures.
In Differentials, a heater with , V and Ω had a worst-case error of W when could be off by V and by Ω. Now treat V and Ω as independent standard deviations. Find in watts, to 3 significant figures.
Heat flux through a wall is , with and known exactly. The two surface thermocouples read °C and °C, each with SD °C, independent. What is the relative SD of , in percent, to 3 significant figures?
An orifice flow meter computes . The discharge coefficient has a relative SD of and the pressure-drop reading has ; and are known exactly. What is the relative SD of , in percent, to 3 significant figures?
For the copper rod in the first example (), which single upgrade shrinks the most?
A student measures with a pendulum of length m (SD mm). Instead of timing one swing, she times 20 swings in a row: s, with a stopwatch SD of s from her reaction time at start and stop. Find the SD of her value of , in cm/s², to 3 significant figures.
The hardest one here. Get it, and you've got this lesson.
The lab from the copper-rod example wants the density's relative SD to be at most . The mass ( g on g) and length ( mm on mm) measurements stay as they are, but the diameter will be measured times at different spots (SD mm per reading on mm) and averaged. What is the smallest that works?
Where it's used
Every lab report's error bars, every sensor datasheet's accuracy figure and every calibration certificate come from propagation of error. Calibration labs follow an international measurement-uncertainty guide that is this lesson's formula plus careful bookkeeping. Flow meters, strain gauges and satellite navigation receivers publish uncertainty budgets built term by term, and engineers read those budgets to decide which sensor to upgrade, which is far cheaper than upgrading all of them.