Propagation of errors

Database › Mathematics › Applied mathematics › Statistics

STAT-0005FormulaUndergraduate

The uncertainty of a function of independent measured quantities is the square root of the sum of squared partial derivatives times the individual variances; for products and powers relative errors add in quadrature.

$$\sigma_f^2=\sum_i\Big(\frac{\partial f}{\partial x_i}\Big)^2\sigma_i^2+2\sum_{i<j}\frac{\partial f}{\partial x_i}\frac{\partial f}{\partial x_j}{\rm Cov}_{ij};\qquad f=x^ay^b:\ \frac{\sigma_f^2}{f^2}=a^2\frac{\sigma_x^2}{x^2}+b^2\frac{\sigma_y^2}{y^2}$$

Explanation

The formula linearizes $f$ about the measured values and uses $V[\sum c_ix_i]=\sum c_i^2V[x_i]$ (plus covariance terms if the inputs are correlated). It is reliable when the errors are small compared with the scale on which the derivatives change.

Independent errors add in quadrature, so the largest contribution dominates; raising a quantity to the power $a$ multiplies its relative error by $|a|$. Averaging $N$ independent measurements reduces the error by $\sqrt N$, which is why systematic errors, which do not average away, often set the final limit.

Example 1

A pendulum has length $L=1.000\pm0.002$ m and period $T=2.007\pm0.005$ s. Find $g=4\pi^2L/T^2$ and its uncertainty.

Solution

$g=9.801\ {\rm m/s^2}$. $\frac{\sigma_g}{g}=\sqrt{0.002^2+(2\times0.005/2.007)^2}=0.0054$, so $g=9.801\pm0.053\ {\rm m/s^2}$; the period dominates.

Example 2

Find the error of $z=x-y$ when $x$ and $y$ are nearly equal, each with error $\sigma$, and comment.

Solution

$\sigma_z=\sqrt2\,\sigma$ regardless of $z$, so the relative error $\sqrt2\sigma/|x-y|$ becomes large: avoid subtracting nearly equal measured quantities.

Related entries