Skip to content

Uncertainty

With every experiment, there will be a source of error, whether you like it or not. Since we aren’t perfect, we need to account for the error, which we call uncertainty. A measurement reported without its uncertainty is almost meaningless: “the period is 2.00 s” is a very different claim from “the period is 2.00±0.052.00\pm0.05 s.”

A quantity xx is written x±δxx\pm\delta x, where δx\delta x is the absolute uncertainty (same units as xx). The relative (or fractional) uncertainty is δx/x\delta x/x, often quoted as a percentage. The central question of error propagation is: if ff depends on measured quantities x,y,…x,y,\dots, how big is δf\delta f?


When you add or subtract quantities, the absolute uncertainties combine. For f=x±yf=x\pm y:

δf=δx+δy(worst case),δf=(δx)2+(δy)2(quadrature).\delta f=\delta x+\delta y\quad(\text{worst case}),\qquad \delta f=\sqrt{(\delta x)^2+(\delta y)^2}\quad(\text{quadrature}).

Note that this holds for subtraction too since uncertainties never subtract. This is why subtracting two nearly-equal large numbers is dangerous: the absolute uncertainty stays the same size while the result shrinks, so the relative uncertainty can blow up. (For example, measuring a thin film’s thickness as the difference of two large lengths.)

Example. Independent measurements give an empty container’s mass as 48.20±0.05 g48.20\pm0.05\ \text{g} and its filled mass as 48.90±0.05 g48.90\pm0.05\ \text{g}. Find the sample mass and uncertainty using both conventions.

Subtract the central values, but combine the uncertainties:

m=48.90−48.20=0.70 g,m=48.90-48.20=0.70\ \text{g}, δmquad=0.052+0.052=0.071 g,δmworst=0.05+0.05=0.10 g.\delta m_{\mathrm{quad}}=\sqrt{0.05^2+0.05^2}=0.071\ \text{g},\qquad \delta m_{\mathrm{worst}}=0.05+0.05=0.10\ \text{g}.

Thus the quadrature result is 0.70±0.07 g0.70\pm0.07\ \text{g}; the worst-case result is 0.70±0.10 g0.70\pm0.10\ \text{g}. Although each mass was measured to about 0.1%0.1\%, the sample mass has about 10%10\% statistical uncertainty. This calculation assumes independent errors; a shared balance offset could cancel in the subtraction.


When you multiply or divide, the relative uncertainties combine. For f=xyf=xy or f=x/yf=x/y:

δff=δxx+δyy(worst case),δff=(δxx)2+(δyy)2(quadrature).\frac{\delta f}{f}=\frac{\delta x}{x}+\frac{\delta y}{y}\quad(\text{worst case}),\qquad \frac{\delta f}{f}=\sqrt{\left(\frac{\delta x}{x}\right)^2+\left(\frac{\delta y}{y}\right)^2}\quad(\text{quadrature}).

The rule is the same whether you multiply or divide. The practical takeaway: the least precise factor dominates the result’s precision, so there’s no point measuring one quantity to 0.1% if another enters at 5%.

Example. A cart travels 1.200±0.006 m1.200\pm0.006\ \text{m} in 0.800±0.008 s0.800\pm0.008\ \text{s}. Treat the uncertainties as independent. Find its average speed and identify which measurement limits the precision.

The speed is v=d/t=1.500 m/sv=d/t=1.500\ \text{m/s}. The relative distance and time uncertainties are 0.0050.005 and 0.0100.010, so

δvv=0.0052+0.0102=0.01118,δv=1.500(0.01118)=0.0168 m/s.\frac{\delta v}{v}=\sqrt{0.005^2+0.010^2}=0.01118,\qquad \delta v=1.500(0.01118)=0.0168\ \text{m/s}.

Report v=1.500±0.017 m/sv=1.500\pm0.017\ \text{m/s}. The timing contribution is twice the distance contribution and accounts for 80%80\% of the variance; improving the timer helps most. A worst-case linear estimate would give δv=1.500(0.015)=0.0225 m/s\delta v=1.500(0.015)=0.0225\ \text{m/s}.


A power multiplies the relative uncertainty by the exponent. For f=xnf=x^n (where nn can be negative or fractional):

δff=∣n∣ δxx.\frac{\delta f}{f}=\lvert n\rvert\,\frac{\delta x}{x}.

So squaring a quantity doubles its relative uncertainty, while a square root halves it. For a combination like f=xaybzcf=\dfrac{x^a y^b}{z^c}, the relative uncertainties add with their exponents as weights:

δff=(aδxx)2+(bδyy)2+(cδzz)2.\frac{\delta f}{f}=\sqrt{\left(a\frac{\delta x}{x}\right)^2+\left(b\frac{\delta y}{y}\right)^2+\left(c\frac{\delta z}{z}\right)^2}.

Example. Suppose for a simple pendulum L=1.000±0.005 mL=1.000\pm0.005\ \text{m} (0.5%) and T=2.00±0.02 sT=2.00\pm0.02\ \text{s} (1%). Find gg with uncertainty.

From T=2πL/gT=2\pi\sqrt{L/g} we solve g=4π2L/T2g=4\pi^2 L/T^2. Since g∝L T−2g\propto L\,T^{-2}, the exponents are 11 for LL and 22 for TT:

δgg=(1⋅0.005)2+(2⋅0.01)2=0.0052+0.022≈0.0206,\frac{\delta g}{g}=\sqrt{\left(1\cdot 0.005\right)^2+\left(2\cdot 0.01\right)^2}=\sqrt{0.005^2+0.02^2}\approx 0.0206,

about 2%. With g=4π2(1.000)/(2.00)2=9.87 m/s2g=4\pi^2(1.000)/(2.00)^2=9.87\ \text{m/s}^2, the result is g=9.87±0.20 m/s2g=9.87\pm0.20\ \text{m/s}^2. Notice the timing error dominates because TT enters squared — so to improve the measurement, time many periods at once rather than measuring LL more carefully.

Example. A uniform cylindrical rod has mass m=100.0±0.2 gm=100.0\pm0.2\ \text{g}, radius r=0.500±0.005 cmr=0.500\pm0.005\ \text{cm}, and length L=10.00±0.02 cmL=10.00\pm0.02\ \text{cm}. Assuming independent uncertainties, find its density and uncertainty.

Since ρ=m/(πr2L)\rho=m/(\pi r^2L), the powers are 1,−2,−11,-2,-1:

ρ=100.0π(0.500)2(10.00)=12.732 g/cm3,\rho=\frac{100.0}{\pi(0.500)^2(10.00)} =12.732\ \text{g/cm}^3, δρρ=(0.2100.0)2+(20.0050.500)2+(0.0210.00)2=0.02020.\frac{\delta\rho}{\rho} =\sqrt{\left(\frac{0.2}{100.0}\right)^2 +\left(2\frac{0.005}{0.500}\right)^2 +\left(\frac{0.02}{10.00}\right)^2} =0.02020.

Therefore δρ=0.257 g/cm3\delta\rho=0.257\ \text{g/cm}^3, and the result is ρ=12.73±0.26 g/cm3\rho=12.73\pm0.26\ \text{g/cm}^3. Squaring the radius doubles its relative-uncertainty contribution; treating the two copies of rr as independent measurements would give the wrong answer.


All the rules above are special cases of one master formula. If ff is any function of independent measured quantities x1,x2,…x_1,x_2,\dots, then a small error in each propagates through the partial derivatives:

 δf=∑i(∂f∂xi δxi)2\ \delta f=\sqrt{\sum_i\left(\frac{\partial f}{\partial x_i}\,\delta x_i\right)^2}

(or, in the worst-case version, δf=∑i∣∂f∂xi∣δxi\delta f=\sum_i\left\lvert\dfrac{\partial f}{\partial x_i}\right\rvert\delta x_i). The intuition is exactly the linear approximation: ∂f/∂xi\partial f/\partial x_i measures how sensitively ff responds to xix_i, so it acts as the “amplification factor” for that input’s error.

This recovers everything above. For a single variable f(x)f(x) it reduces to δf=∣f′(x)∣δx\delta f=\left\lvert f'(x) \right\rvert\delta x. Applying it to f=xnf=x^n gives δf=∣nxn−1∣ δx\delta f=\lvert n x^{n-1}\rvert\,\delta x, i.e. δf/f=∣n∣ δx/x\delta f/f=\lvert n \rvert\,\delta x/x — the exponent rule. A slick shortcut for products and powers is to take the logarithm first: since ln⁡f=aln⁡x+bln⁡y−cln⁡z\ln f=a\ln x+b\ln y-c\ln z, differentiating gives δff=aδxx+bδyy+cδzz\dfrac{\delta f}{f}=a\dfrac{\delta x}{x}+b\dfrac{\delta y}{y}+c\dfrac{\delta z}{z} directly.

Example. Suppose a refraction experiment gives f=sin⁡θf=\sin\theta with θ=30.0∘±0.5∘\theta=30.0^\circ\pm0.5^\circ. Find the value (with uncertainty) of ff.

There’s no add/multiply rule for sin⁡\sin, so use the master formula. First convert the angular uncertainty to radians: δθ=0.5∘=0.0087 rad\delta\theta=0.5^\circ=0.0087\ \text{rad}. Then

δf=∣ddθsin⁡θ∣δθ=∣cos⁡θ∣ δθ=cos⁡(30∘)(0.0087)≈0.0076.\delta f=\left\lvert \frac{d}{d\theta}\sin\theta \right\rvert\delta\theta=\lvert \cos\theta \rvert\,\delta\theta=\cos(30^\circ)(0.0087)\approx 0.0076.

So f=sin⁡30∘=0.500±0.008f=\sin30^\circ=0.500\pm0.008. The derivative-based method handles any function — trig, logs, exponentials — where the elementary rules don’t apply.


A quick decision tree for picking the right propagation rule (default to quadrature unless told otherwise):