Error Analysis and Propagation of Uncertainty
Every number a physicist writes down is really two numbers: the value and the uncertainty that shadows it. A voltmeter reads 1.503 V, but the true voltage lies in a band around it; a stopwatch clicks at 2.01 s, but your thumb was late. This would be a mere nuisance if measured quantities were the end of the story — but they never are. We measure a length and a period to get , a mass and a volume to get a density, counts and a luminosity to get a cross-section. The quantity we care about is computed from several measured inputs, and its uncertainty must be assembled from the uncertainties of all of them. Error propagation is the disciplined bookkeeping for doing exactly that. Underneath, the framework is pure probability: each input is a random variable with a mean, a variance, and — crucially — covariances with the other inputs. But the whole subject is dominated by one approximation. If the function is smooth and the input spreads are small next to the scale over which it curves, then over the width of the data the function looks like a flat ramp. Linearize it, and because variance is quadratic in fluctuations, the output variance becomes a tidy quadratic form built from the gradient of the function and the covariance matrix of the inputs. From that single law flow every rule you memorized in a first lab course: absolute errors in quadrature for sums, fractional for products, the exponent for powers, when you average. And from its failure — strong nonlinearity, large errors, correlated systematics — flow the reasons a serious experiment reaches for a full covariance matrix or a Monte Carlo instead.
- Error propagation answers one question: given measured inputs with known uncertainties, what is the uncertainty in a quantity computed from them?
- The engine is a first-order Taylor expansion about the input means, turning a curved relation into a straight one whose variance is trivial to compute.
- The master result is a quadratic form: , gradient contracted twice against the input covariance matrix.
- For independent inputs it collapses to sum-in-quadrature; sums add absolute errors, products add fractional errors, powers multiply the fractional error by the exponent.
- Correlation is the subtle part: a shared systematic makes inputs covary, and in a difference or ratio can cancel almost exactly — the basis of every differential measurement.
- Linearization fails for strongly curved functions, large relative errors, or near a stationary point; then the mean is biased and you must sample the full distribution.
- Key idea: linearize the function about the means, then propagate — the output variance is the quadratic form in the gradient of and the input covariance matrix .
Linearize the function about the input means and propagate: the output variance is a quadratic form in the gradient of and the input covariance matrix , reducing to sum-in-quadrature when the inputs are independent.
Where this lives today
Every quantitative result in modern physics carries a propagated uncertainty, and the frontier is where the simple quadrature rule stops being enough. The Particle Data Group's world averages combine measurements from dozens of experiments that share systematic errors — common luminosity scales, shared theoretical inputs, correlated calibrations — so the combinations use full covariance matrices, with correlation-aware budgets running to hundreds of entries. CODATA's periodic adjustment of the fundamental constants is one enormous correlated least-squares fit, propagating the covariances among the electron mass, the fine-structure constant, and the Planck constant so the redefined SI kilogram inherits a consistent uncertainty. Gravitational-wave astronomy lives or dies on it: LIGO's strain-calibration uncertainty propagates directly into the inferred masses and distance of every merger, reported as full posterior covariances. And because so many of these functions are strongly nonlinear, the field increasingly bypasses linearization entirely — the GUM's Supplement 1 (2008) blesses Monte Carlo propagation, sampling the inputs and histogramming the output to capture the skew the tangent-plane approximation misses. The linear law is the everyday workhorse; the covariance matrix and the Monte Carlo are what you reach for when precision is the product.
The physical picture
Picture each measurement not as a point but as a probability cloud — a bell curve centered on the best estimate , with width equal to the standard uncertainty . Push that cloud through the function that computes your result. Because curves, it stretches and skews the cloud on the way through. But if the cloud is narrow compared with how fast bends, then over its width is indistinguishable from its tangent line: a straight ramp of slope . A ramp maps a bell curve to a bell curve and scales the width, so the output width is the input width times the slope magnitude, . That one sentence — cloud times slope — is the whole of single-variable error propagation, and the first figure makes it literal.
Two things complicate the single-variable picture, and both live in the multivariable law. First, when several clouds feed one result, independent fluctuations partly cancel — positive and negative excursions are equally likely and uncorrelated — so the errors add in quadrature, as the legs of a right triangle add to a hypotenuse, rather than linearly (the same economy that makes averaging readings cut the error by , not ). Second, absolute and fractional errors behave differently: addition preserves absolute scatter, multiplication preserves fractional scatter. The second figure turns the pendulum error budget — length to 0.5%, period to 0.2% and entering doubled as 0.4% — into this Pythagorean picture, reading off 0.64%.
The core equations
Everything starts with a functional relationship: the result you report is a known, smooth function of the quantities you measured, and nothing is possible until you write this line down explicitly.
where: — the derived result whose uncertainty we want; — the measured inputs, random variables with means ; — the known relation, assumed smooth near the means. Reading: the physics lives in ; propagation is what you do to once you know it. The one approximation the whole subject rests on replaces by its tangent plane at the mean point — expand to first order in the deviations and keep the linear term.
where: — the vector of input means; — the sensitivity of to input , evaluated at the means and therefore constant. Reading: over the width of the data is an affine function of the inputs — a constant plus a weighted sum of fluctuations, exactly the object whose variance we can compute in closed form. Taking the variance of that linear combination gives the master result: because variance is bilinear in fluctuations, every pair of inputs contributes a term weighted by both sensitivities and their covariance.
where: — variance of the derived quantity; — covariance of inputs and , equal to on the diagonal. Reading: the diagonal terms are the squared-sensitivity contributions; the off-diagonal correlations can add to or subtract from the total. The double sum is a vector-matrix-vector product — the form used in any serious analysis with many correlated channels.
where: — the gradient of sensitivities; — the input covariance matrix, . Reading: this compact form is what metrology software evaluates, and it generalizes to a vector of outputs via the Jacobian, . When the inputs are independent the covariance matrix is diagonal and the cross terms vanish, leaving the sum-in-quadrature every lab teaches.
where: — the standard uncertainty of input . Reading: the largest squared term dominates — quadrature is forgiving of small contributions, unforgiving of the big one. Two special cases cover most hand calculations. For a sum or difference the sensitivities are , so absolute uncertainties add in quadrature, the sign irrelevant.
where: — absolute uncertainties of the two terms. Reading: subtraction does not shrink the absolute error even as it shrinks the result — the origin of precision loss when subtracting nearly equal numbers. For a product or ratio, differentiate the logarithm to turn multiplication into addition; the fractional uncertainties then add in quadrature.
where: — the relative uncertainty. Reading: for products and quotients, work in percentages; the magnitudes drop out. A power is the same rule with a repeated factor: the exponent multiplies the fractional error directly, a negative exponent counting as much as a positive one.
where: — the exponent, possibly non-integer or negative. Reading: cubing a quantity triples its fractional error; a dependence makes the period twice as damaging as a linear term. Finally, averaging independent repeats is itself an application of the law, yielding the single most important formula in experimental practice.
where: — the spread of a single measurement; — the number of independent repeats. Reading: the mean is times more precise than one shot, not times — the diminishing return that sets how long you take data.
The goal is to derive the master formula, equation (3), from nothing but the linearized expansion and the definition of variance as a mean square deviation, making explicit why the result is a quadratic form in the gradient and why the input covariances — not just the variances — are the objects that appear. We compute the mean of the linearized output, subtract it to isolate the fluctuation, square, and take the expectation term by term, watching the constant sensitivities factor out until only the covariance of the inputs remains inside.
Step 1. Start from the linearized output and take its expectation. Each by the definition of the mean, so every fluctuation term averages away and . Why: the approximation is unbiased — the derived quantity sits at of the input means, so the spread we compute next is about the right center.
Step 2. Subtract the mean to isolate the fluctuation. Only the linear term survives, giving with . Why: variance cares only about deviations from the mean, so discarding the constant leaves a clean linear combination of the input fluctuations.
Step 3. Square and expand the product of the two sums, . Why: squaring produces every cross-pair, and those pairs carry the correlation information naive quadrature throws away.
Step 4. Take the expectation. The sensitivities are constants evaluated at , so they pull outside the average: . Why: linearity of expectation is the only probabilistic fact used, and it isolates the mean product of two input fluctuations.
Step 5. Identify that as the covariance, , the diagonal giving the variances . Substituting yields equation (3), or in matrix form . Why: the whole law is just the definition of variance applied to a linear function — the physics entered only through the gradient. *As a check: setting collapses the double sum to , recovering equation (5) for independent inputs.*
Go deeper · Derivation B · 1 minPropagating into g from a pendulum's length and period
The aim is to turn the propagation law into the single most-taught experimental result — the uncertainty in the acceleration due to gravity from a simple pendulum — and to show why the period must be measured about twice as carefully as the length to matter equally. We invert the pendulum relation for , use logarithmic differentiation to read the sensitivities off the exponents, then combine the two independent fractional errors in quadrature with real numbers.
Step 1. The small-amplitude period is ; square and rearrange to isolate the target, . Why: propagation always begins by writing the derived quantity as an explicit function of exactly what you measured — here and — with constants in the prefactor.
Step 2. Take the logarithm, . Why: for a product-and-power relation the logarithm linearizes the sensitivities for free, and the uncertainty-free constant drops out on differentiation.
Step 3. Differentiate: . The sensitivities are for and for . Why: these coefficients are the of the general law, now in the fractional variables that products and powers make natural.
Step 4. Treat and as independent and combine in quadrature, the entering squared: . Why: the factor is the moral — because , a given fractional error in the period does four times the damage in variance that the same error in length would, so the period deserves twice the care.
Step 5. Put in numbers: with and , the period term enters as , and . Why: the two contributions are comparable, so neither dominates — a well-balanced experiment. *As a check: the power-law rule with reproduces the factor of 2 on the period, and confirms the numerical result.*
Go deeper · Derivation C · 1 minHow correlation cancels a shared systematic error
Limiting cases
The propagation law is an approximation; its four regimes are worth holding in the head at once — each the law with a different piece switched on or off.
| Case | Result | Meaning |
|---|---|---|
| Small, independent errors | Textbook sum-in-quadrature; exact for linear and excellent whenever the spreads are small next to the curvature scale. | |
| Correlated errors | The full quadratic form; off-diagonal terms can dominate the answer and can push below the independent estimate. | |
| Strong nonlinearity / large errors | Curvature biases the mean and the output distribution turns skew; the linear variance is only approximate — use Monte Carlo or an exact change of variables. | |
| Repeated measurements (CLT regime) | Standard error of the mean; follows from propagating through , and the CLT makes Gaussian regardless of the parent shape. |
Worked examples
1 · Density of a machined cylinder — building an error budget (fully worked)
A small cylinder is measured as mass g, diameter mm, and height mm. Find its density and uncertainty, and identify which measurement to improve first.
Step 1. Write the derived quantity explicitly. A cylinder's volume is , so — a product of powers, so we work fractionally. The central value: , giving .
Step 2. Read the sensitivities off the exponents. From , logarithmic differentiation gives — the diameter enters doubled because .
Step 3. Evaluate each fractional term: ; ; .
Step 4. Combine in quadrature: , so , and .
Step 5. Build the error budget — each source's share of the variance: diameter , height , mass . The diameter dominates overwhelmingly — both because it enters squared and because it was measured coarsely — so a better micrometer for , not a better balance, shrinks the answer. Halving nearly halves the total; halving barely moves it.
2 · A ratio that beats its own inputs — correlated systematics
Two resistors are read on the same ohmmeter, which carries a 2% gain-calibration uncertainty common to every reading, plus 0.5% independent random scatter per reading. What is the fractional uncertainty in each resistance, and in their ratio ?
Step 1. Model the shared error. Each reading is , where is the common calibration factor (2% uncertain, perfectly correlated across the readings) and is the true value seen through 0.5% independent noise. A single resistance is known to — dominated by the calibration.
Step 2. Naive (wrong) ratio. Treating the two resistances as independent, you would combine their fractional errors in quadrature: .
Step 3. Correct ratio. In the common gain cancels exactly. Only the independent 0.5% pieces survive: .
Step 4. Read the moral. The ratio is known to 0.71% even though each resistance is known only to 2.06%, and the naive independent estimate (2.92%) is four times too pessimistic. This is why a Wheatstone bridge reports resistance ratios, and why so many precision experiments measure a ratio or difference: the expensive systematic cancels, and the measurement rides on the small random part alone.
3 · The cost of subtracting nearly equal numbers
Two path lengths are m and m. Compare the fractional uncertainty of their sum and their difference.
Step 1. Both combine absolute errors in quadrature, m alike — subtraction does not reduce the absolute error.
Step 2. The sum m carries ; the difference m carries . The same absolute error is negligible in the sum and catastrophic in the difference — the notorious loss of significance when subtracting nearly equal numbers, a standing warning for experimental design and numerical algorithms alike.
Physics of the portrait
Error analysis has many parents, but one figure sits at its center: the man who tied the business of combining measurements to the structure of probability, and whose name is stamped on the bell curve every uncertainty is quietly assumed to follow.
Origins · 1 minCarl Friedrich Gauss and how this was discovered
Gauss did not invent the idea that measurements err, but he was the first to make the errors themselves an object of exact mathematics. Computing the orbit of the newly lost asteroid Ceres in 1801, he needed a best trajectory from scattered, uncertain observations — and so systematized the method of least squares, publishing it in the Theoria Motus of 1809 (Legendre had printed the recipe in 1805, and the two quarrelled over priority for years). Gauss's deeper move was to ask which error distribution makes the arithmetic mean the most probable estimate, and to show the answer is the bell-shaped curve now called Gaussian. In the Theoria Combinationis of 1823 he founded the theory on variance rather than any assumed distribution: least-squares estimates have minimum variance among linear unbiased estimators (now shared with Markov), and the variance of a computed quantity follows from the variances and covariances of its inputs — the propagation of error in all but name. The quadratic form this article is built around is Gauss's insight in modern dress; Laplace supplied the central limit theorem that explains why so many errors are Gaussian, and Gauss the machinery for living with them.
Going further
Texts. Taylor, An Introduction to Error Analysis, 2nd ed., Ch. 3 and 9 (the standard undergraduate treatment) · Bevington & Robinson, Data Reduction and Error Analysis for the Physical Sciences, Ch. 3–4 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, Ch. 30–31 · Arfken & Weber, Mathematical Methods for Physicists, probability chapter · Stone & Goldbart, Mathematics for Physics · BIPM, Guide to the Expression of Uncertainty in Measurement (GUM) and its Supplement 1 on Monte Carlo methods. The key numerical results worked out in this article are: the pendulum from and ; the density budget (total , diameter share ) from g, mm, mm; the correlated ratio, correct versus naive; the power-law result from and ; and the sum-versus-difference loss, against .
Prerequisites. Expectation, Variance and Moments · Random Variables and Probability Distributions · Joint, Marginal and Conditional Distributions · Cumulative Distribution Functions and Change of Variables. Leads to. The Multivariate Gaussian · The Central Limit Theorem · The Gaussian (Normal) Distribution.
Ask the tutor: Bring me any formula you measure a quantity with, and I will walk you through propagating its uncertainty, spotting hidden correlations, and building the error budget that tells you what to measure better.
Why do errors add in quadrature instead of just adding?
Because independent fluctuations partly cancel. If two inputs each wobble randomly, sometimes both are high, sometimes both low, but often one is high while the other is low — those opposite excursions partially offset in the result. Linear addition would assume they always conspire in the same direction (a worst case), massively over-estimating the typical spread. The variance is the quantity that adds cleanly for independent variables, and its square root gives the rule. The one exception is fully correlated inputs, which really do move together; then, and only then, the errors add linearly.
When is the linear propagation formula not good enough?
Three situations. First, when the function is strongly curved over the width of the input distribution — an exponential, a resonance denominator, a ratio with a small denominator — so the tangent plane misjudges both the width and the center. Second, when the relative errors are large (tens of percent), so the "small deviation" premise fails. Third, near a stationary point where a first derivative vanishes and the leading behavior is quadratic. In all three, sample the inputs from their distributions and push them through the exact function — Monte Carlo propagation — which recovers the true, often skewed, output distribution and asymmetric error bars.
What is the difference between a random and a systematic error here?
A random error scatters independently from measurement to measurement, so averaging beats it down as . A systematic error shifts many measurements the same way — a mis-calibrated ruler, a slow clock — and no averaging removes it, because it is perfectly correlated across your repeats. In the propagation framework the distinction is exactly correlation: random errors populate the diagonal of the covariance matrix and combine in quadrature, while shared systematics fill the off-diagonal terms. That is why differential and ratio measurements are so powerful — they are engineered so the correlated systematic cancels, leaving only the random part.
Do I need the full covariance matrix, or is sum-in-quadrature enough?
For a quick lab calculation with genuinely independent inputs, sum-in-quadrature is exactly the diagonal of the full law and all you need. You need the off-diagonal terms whenever inputs share a source of error: the same calibration constant feeding several channels, a fitted parameter used in more than one place, correlated theoretical inputs. The practical test: could a single mistake shift more than one of my inputs at once? If yes, they are correlated and the cross terms matter. Serious combinations — particle-physics averages, constant adjustments, gravitational-wave parameter estimates — always carry the full matrix, because ignoring correlations can be wrong by an order of magnitude.
Where does the standard error of the mean, σ/√N, come from?
It is error propagation applied to averaging itself. The mean is , so its sensitivity to each of the independent readings is . Sum in quadrature: , hence . Variances of independent terms add, of them each scaled by . This is why the improvement is only : to halve your error you must take four times as much data — the diminishing return that governs every long measurement campaign.
Is uncertainty the same thing as the standard deviation?
Closely related, but not identical in usage. The standard uncertainty is a standard deviation — of the distribution describing your knowledge of the quantity. Two subtleties matter. First, uncertainties come in types: Type A are evaluated statistically from repeated data, Type B from other information such as a tolerance or prior calibration (converted to an equivalent standard deviation). Second, results are often quoted with a coverage factor — "" for roughly 95% confidence — so check whether a stated is one standard uncertainty or an expanded one. Propagation combines standard uncertainties; apply the coverage factor only at the very end.