C11 · Lesson 2 · Propagating uncertainty
How the errors in measured quantities combine
You rarely measure the quantity you want directly. Resistance comes from a voltage divided by a current, power from a voltage squared over a resistance, a filter's corner from a resistor and a capacitor. Each input carries its own uncertainty, and the question is how big the result's is. Adding the uncertainties is the pessimist's answer, since it assumes every error is at its worst in the same direction at once. For independent errors there's a better rule, add them in quadrature, and knowing which applies is the difference between a design that's over-specified and one that's honestly characterized.
- Each draw divides a noisy voltage reading (mean 10 V, standard deviation ) by a noisy current reading (mean 2 A, standard deviation ). The histogram shows the resulting resistance, centered on 5 Ω.
- The readouts compare the measured relative spread of the result with the quadrature prediction, . With many draws they agree.
- Make one input's error much larger than the other's: the result's error is almost entirely that one. Small contributors hardly matter in quadrature.
Predict
Power is found as , with V known to 1% and R to 2% (independent). What is the uncertainty in P?
2.8%. Squaring V doubles its relative error to 2%; R contributes 2%; in quadrature, . The worst case, if both errors happened to line up, would be 4%.
Name it
Independent errors add in quadrature
For a result f computed from independent measured quantities with standard uncertainties ,
which gives the working rules:
| Result | Uncertainty |
|---|---|
| or | |
| or | |
Absolute uncertainties combine for sums; relative ones for products. The largest contribution dominates: one term three times another contributes nine times as much to the sum of squares.
Worst case
Adding the uncertainties directly, , gives a worst-case bound, right when errors can line up (tolerances on parts in a production design must all work at once) and pessimistic for random measurement errors.
Correlated errors
If two readings share an error (the same meter's scale factor in a ratio), the rules above don't apply: in a ratio the shared scale error cancels exactly. Measuring both quantities with the same instrument is a classic way to remove a bias.
Worked example
A resistance is found from V = 5.00 ± 0.02 V and I = 2.00 ± 0.01 mA. What is R and its uncertainty?
Show the solution
- Resistance.
- Relative errors.
- Combine in quadrature.
- Absolute uncertainty.
Answer R = 2.500 ± 0.016 kΩ.
Worked example
An RC filter's corner uses a 1% resistor and a 5% capacitor. What is the corner's uncertainty?
Show the solution
- Combine in quadrature.
- Which part matters. The capacitor sets it almost entirely. A better resistor would change nothing; a better capacitor would.
Answer the corner is uncertain by 5.1%, almost all of it from the capacitor.
Worked example
Power is found as with V known to 2% and R to 1%. What is P's relative uncertainty?
Show the solution
- The rule. For a product of powers, relative uncertainties scale by the exponents and add in quadrature.
- Each contribution. V appears squared, so it contributes , and R contributes 1%.
- Combine in quadrature.
- What dominates. The voltage measurement dominates because it's squared: halving its uncertainty would nearly halve P's.
Answer P's relative uncertainty is 4.1%, mostly from the squared voltage.
Check
Two independent voltages with uncertainties 0.02 V and 0.05 V are subtracted. What is the uncertainty of the difference?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A result is the ratio of two independent quantities known to 1% and 1%. What is its relative uncertainty?
Check
A quantity known to 0.5% is raised to the power 3. What is the result's relative uncertainty?
Check
Power is computed as with V known to 1% and R to 0.1%. What is the relative uncertainty in P?
Check
A filter's corner uses an R known to 0.1% and a C known to 2%. What is the corner's relative uncertainty?
Check
A product's gain is the product of three parts with tolerances of 1%, 1% and 10%. Every unit must work. What worst-case tolerance must the design allow?
Check
A voltage ratio is measured by reading both voltages with the same meter, whose scale factor is 1% off. How much does that 1% affect the ratio?
Check
, with x known to 0.5% and y to 3%.
(a)
What is f's relative uncertainty?
(b)
What share of the variance comes from x?
Check
, with relative standard uncertainties u for x and w for y, independent.
Step 1
What relative uncertainty does x contribute?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is f's relative uncertainty?
Explain why
Why do independent uncertainties add in quadrature instead of directly?
Independent errors are as likely to push in opposite directions as in the same one, so in a combination they partly cancel on average. Treating each error as a random variable, the variance of a sum of independent variables is the sum of their variances: the squares add, so the standard deviations add like the sides of a right triangle. Adding them directly assumes every error is at its extreme in the same direction at once, which is possible but rare, so it overstates the typical uncertainty; it's the right rule only when a design must work for every combination.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.