School/□ Systems Engineer/Week 29
Propagating uncertainty through a calculation
Voltage ± 2%, current ± 3%. Is the power ± 5%, ± 1%, or something else?
About 45 min · 3 goals · Checked by automated tests
1.Why should I care?
Engineers rarely measure the quantity they care about directly. Power comes from V and I; efficiency from two powers; speed-up from two times. Propagation tells you how the uncertainty of each input flows into the answer, and which input to improve first.
- ◇ Combine independent uncertainties for sums and differences by adding absolute uncertainties in quadrature.
- ◇ Combine independent uncertainties for products and quotients by adding relative uncertainties in quadrature.
- ◇ Derive the general first-order propagation rule and recognise when it fails.
2.Predict
P = V·I with V uncertain by 2% and I by 3% (independent). What is the uncertainty in P?
Guess first. Being wrong here is how the surprise works.
3.Discover
Start with A × B. Compare the formula's uncertainty with the Monte Carlo spread. Then switch to A ÷ B, set B = 2 and push δB up past 0.3: when does the formula stop agreeing with the simulation, and which way is the histogram skewed?
Loading the interactive…
Can't use the interactive? Read a description instead
The calculator takes A ± δA and B ± δB and an operation. It shows the formula result, the propagated uncertainty, and a histogram of 4,000 simulated results with dashed lines at ±1 formula uncertainty. For A × B with small uncertainties the histogram's spread matches the formula. For A ÷ B with B = 2 ± 0.4, the histogram becomes skewed to the right and its spread exceeds the formula by more than 10%, showing where the linear approximation fails.
4.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1 · a fresh version every time
Two independent masses are measured: A = 346 ± 6 g and B = 40 ± 9 g (standard uncertainties). What is the standard uncertainty of A − B, in grams? (2 decimal places.)
5.Understand
Sums and differences: absolute, in quadrature
For q = a ± b with independent uncertainties: δq = √(δa² + δb²). The bigger uncertainty dominates: √(5² + 1²) = 5.1, so shrinking the small one achieves almost nothing. Subtracting two nearly equal measurements is dangerous: the result is small but its absolute uncertainty is not, so its relative uncertainty explodes.
Products and quotients: relative, in quadrature
For q = a·b or a/b: δq/q = √((δa/a)² + (δb/b)²). Work in percentages, combine, then convert back. Energy E = V·I·t with V ± 2%, I ± 3% and t exact: δE/E = √(4 + 9)% ≈ 3.6%. A squared quantity doubles its relative uncertainty: kinetic energy ½mv² with v ± 1% is uncertain by at least 2%.
Independence is an assumption
Quadrature assumes the errors are independent. If V and I are read through the same miscalibrated ADC reference, their errors are correlated and partly add linearly. Systematic errors from one shared source should be propagated together, not as separate independent terms.
The error budget
List each input's contribution to the final variance: for a product, (δa/a)², (δb/b)², ... Rank them. Improve the largest first. Engineers call this an uncertainty budget, and it is the same idea as a power or mass budget: account for everything, then spend effort where it buys the most.
Explain it another way
Two dice: each can be off by a bit. Their errors sometimes cancel and sometimes add, so on average the total is off by more than either but less than both together. Quadrature is the averaging rule for that.
General law (GUM, first order, uncorrelated inputs): u_c²(q) = Σ (∂f/∂xᵢ)²·u²(xᵢ). Correlated inputs add 2·(∂f/∂xᵢ)(∂f/∂xⱼ)·u(xᵢ, xⱼ) terms.
For q = x/y: ∂q/∂x = 1/y, ∂q/∂y = −x/y². σ_q² = σ_x²/y² + x²σ_y²/y⁴. Dividing by q² = x²/y² gives (σ_q/q)² = (σ_x/x)² + (σ_y/y)².
Calibration laboratories publish an uncertainty budget for every certificate: each source (reference standard, temperature, resolution, repeatability) with its contribution, combined in quadrature, then expanded by a coverage factor of about 2.
Derivation: First-order propagation from the tangent line
Let q = f(x, y) with small independent errors δx, δy around the measured values.
Linearise with partial derivatives (the tangent plane): Δq ≈ (∂f/∂x)·Δx + (∂f/∂y)·Δy.
For independent errors the variances add: σ_q² ≈ (∂f/∂x)²·σ_x² + (∂f/∂y)²·σ_y². Cross terms vanish because E[ΔxΔy] = 0.
Sum q = x + y: both partials are 1, so σ_q = √(σ_x² + σ_y²). The same for x − y: (−1)² = 1, so uncertainties never cancel.
Product q = x·y: ∂q/∂x = y and ∂q/∂y = x. Divide σ_q² = y²σ_x² + x²σ_y² by q² = x²y²: (σ_q/q)² = (σ_x/x)² + (σ_y/y)².
Quotient q = x/y gives the same relative rule. Power q = xⁿ gives σ_q/q = |n|·σ_x/x.
The rule is first order: it fails when the function curves noticeably across ±σ (for example dividing by a quantity uncertain by more than about 10%). Then use Monte Carlo.
Worked example 1
Efficiency η = P_out/P_in with P_out = 42.0 ± 0.6 W and P_in = 50.0 ± 0.5 W. Find η and its uncertainty.
η = 0.840. Relative: √((0.6/42)² + (0.5/50)²) = √(0.000204 + 0.000100) = 1.74%. δη = 0.840 × 0.0174 = 0.015. η = 0.840 ± 0.015.
Worked example 2
A mass difference: 152.3 ± 0.4 g − 151.8 ± 0.4 g. What is the result and its relative uncertainty?
0.5 ± √(0.16 + 0.16) = 0.5 ± 0.57 g. The relative uncertainty is over 100%: the difference is not even distinguishable from zero. Measure the difference directly instead.
Common mix-ups
- For a difference, the uncertainties subtract.
✓ Independent uncertainties always combine in quadrature, whether you add or subtract the values. - Adding percentages directly is the safe, correct rule.
✓ Direct addition is a worst-case bound. For independent errors, quadrature gives the standard uncertainty.
6.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2 · a fresh version every time
A test rig logs voltage V = 3.3 V (± 3%) and current I = 0.5 A (± 2%) for exactly t = 3600 s, so energy E = V·I·t. Treating the two uncertainties as independent and t as exact, what is the absolute standard uncertainty of E, in joules? (3 significant figures.)
Practice 3
A power estimate P = V·I has V ± 0.5% and I ± 4%. To halve the uncertainty in P, what should you improve?
Practice 4
Kinetic energy ½mv² with m exact and v uncertain by 1.5%. What is the relative uncertainty in the energy, in %?
Practice 5
Why is subtracting two nearly equal measured values risky?
7.Apply it
Pick a formula from an earlier term (Ohm's law power, a gear ratio speed, a heat-balance estimate). Assign realistic uncertainties to each input, build the uncertainty budget table, and say which measurement you would improve first.
8.Reflect
Concepts: Propagation of uncertainty · Measurement error and uncertainty