Total Differential & Error Propagation

The total differential estimates how small changes in inputs change the output. Learn df = f_x dx + f_y dy, linear approximation of surfaces, absolute and relative error propagation, worst-case vs statistical (root-sum-square) combinations, and sensitivity coefficients.

Every measurement has uncertainty. If a resistor and a current are each known to ±1 %, how accurate is the computed power? The total differential answers this and shows which input dominates the error.

An analogy

The total differential is like a recipe tolerance: small errors in each ingredient add up in the final dish, weighted by how sensitive the dish is to each one.

Linear approximation

Near a point, a smooth surface looks like its tangent plane: f(x + dx, y + dy) ≈ f + f_x dx + f_y dy.

Worst-case vs statistical

Worst-case adds absolute contributions (conservative, for safety-critical tolerances). If errors are independent and random, RSS gives a more realistic estimate.

Relative errors for products and powers

For products and quotients, relative errors add (weighted by exponents): V = πr²h → ΔV/V ≈ 2Δr/r + Δh/h. Squared quantities double their relative error.

Sensitivity analysis

Normalised sensitivities (∂f/∂x)(x/f) rank which parameters matter; design effort goes to tightening the dominant ones. Monte Carlo simulation handles non-linear or large errors.

Formulas

Worked example: Power uncertainty

Given: I = 2 ± 0.02 A, R = 10 ± 0.1 Ω

Find: ΔP.

Answer: 40 ± 1.2 W worst case (± 0.9 W RSS)

Worked example: Cylinder volume

Given: r = 5 ± 0.05 cm, h = 10 ± 0.1 cm

Find: ΔV/V.

Answer: ± 3 % (V = 785 ± 24 cm³)

Common mistakes

Applications

Key takeaways

Going further