Tutorials › Calculus I › Propagating Measurement Uncertainty Through One Function

Linearization and Differentials · Tutorial 619 of 1495

Propagating Measurement Uncertainty Through One Function

Estimate the output uncertainty caused by an uncertain input using the derivative at its measured value, and report the result in the output’s units.

Intermediate 10 min read

What You'll Learn

  • Identify the nominal input value and its absolute uncertainty.
  • Use the derivative at the nominal input to estimate output uncertainty.
  • Explain why the derivative gives a first-order estimate.
  • Track input and output units through the calculation.
  • Recognize when a zero or rapidly changing derivative needs extra care.

From Input Uncertainty to Output Uncertainty

A measurement is rarely exact. If an input \(x\) is reported as a nominal value \(x_0\) with an uncertainty of \(\delta x\), then the actual input may differ from \(x_0\). When the quantity of interest is an output \(y=f(x)\), the question is how much that input uncertainty may affect the output.

For a small input change, the derivative describes the local change in the function: an input change \(\Delta x\) produces an output change that is approximately \(f'(x_0)\Delta x\). The derivative therefore converts an input change into a predicted output change. Since uncertainty is reported as a nonnegative magnitude, the corresponding first-order estimate uses the absolute value of the derivative.

Key estimate: If \(x_0\) is the nominal input, \(\delta x\ge 0\) is its absolute uncertainty, and \(f\) is differentiable at \(x_0\), the first-order estimate of the output uncertainty is
$$ \delta y \approx |f'(x_0)|\,\delta x. $$
The estimate is in the units of the output. It is an approximation, not automatically a guaranteed bound on every possible output error.

What the Estimate Means

The symbol \(\delta x\) denotes an uncertainty magnitude, not a signed change. For example, if a measured input is \(x_0=4.0\) seconds with uncertainty \(0.04\) seconds, the actual input is understood to be near \(4.0\) seconds, and the size of the input uncertainty is \(0.04\) seconds. The estimate does not say whether the input is above or below its nominal value.

The value \(f'(x_0)\) is the local rate of change of the output with respect to the input. If it is large in magnitude, a small input uncertainty can produce a larger output uncertainty. If it is small, the output is locally less sensitive to that input. The absolute value ensures that the estimated uncertainty is nonnegative whether the function is increasing or decreasing.

For the estimate to be meaningful, the function must be differentiable at the nominal input, and the uncertainty must be small enough for a local linear approximation to be useful. If the derivative changes rapidly across the range of possible inputs, or the uncertainty is not small, the first-order estimate may be inaccurate.

Why the Derivative Gives This Estimate

By differentiability at \(x_0\), a small change \(\Delta x\) gives an output change of the form

$$ f(x_0+\Delta x)-f(x_0) = f'(x_0)\Delta x+r(\Delta x), $$

where the remainder \(r(\Delta x)\) becomes small relative to \(|\Delta x|\) as \(\Delta x\) approaches zero. In other words, the linear term \(f'(x_0)\Delta x\) captures the leading change near \(x_0\).

Taking the magnitude of that leading term gives

$$ |f'(x_0)\Delta x| = |f'(x_0)|\,|\Delta x|. $$

If the input uncertainty has magnitude \(\delta x\), replace \(|\Delta x|\) by \(\delta x\) in this first-order expression. This gives \(\delta y\approx |f'(x_0)|\delta x\). The approximation sign matters: the omitted remainder means the actual output change need not equal this estimate exactly.

1
Locate the nominal input.
Write down the measured value \(x_0\) at which the output is to be estimated.
2
Find the input uncertainty.
Use \(\delta x\) as a nonnegative magnitude, in the input’s units.
3
Evaluate the local rate.
Compute \(f'(x_0)\), not the derivative at some other input.
4
Multiply and report units.
Calculate \(|f'(x_0)|\delta x\); the result has the output’s units.

Worked Examples

Worked Example: A Linear Calibration

A calibration model gives an output distance \(d\), in metres, from an input time \(t\), in seconds: \(d=f(t)=2.5t+1.0\). The measured time is \(t_0=4.00\text{ s}\), with uncertainty \(\delta t=0.04\text{ s}\). Estimate the output uncertainty.

Differentiate the model:

$$ f'(t)=2.5. $$

The rate has units of metres per second, since it is output distance divided by input time. At the nominal input, \(f'(4.00)=2.5\text{ m/s}\). Therefore,

$$ \delta d\approx |2.5\text{ m/s}|(0.04\text{ s}) =0.10\text{ m}. $$

The estimated output uncertainty is \(0.10\) metres. As a check, the model is linear, so this change is exact: changing the time by \(0.04\text{ s}\) changes the distance by \(2.5(0.04)=0.10\text{ m}\). The units also check: \((\text{m/s})(\text{s})=\text{m}\).

Worked Example: A Nonlinear Calibration Near the Nominal Input

Suppose a pressure model, measured in kilopascals, depends on a temperature input \(u\), measured in degrees Celsius: \(p=f(u)=10+0.6(u-20)-0.01(u-20)^2\). The input is \(u_0=24.0^\circ\text{C}\), with uncertainty \(\delta u=0.2^\circ\text{C}\). Estimate the output uncertainty.

Differentiate with respect to \(u\):

$$ f'(u)=0.6-0.02(u-20). $$

Evaluate this derivative at the nominal input:

$$ f'(24.0)=0.6-0.02(24.0-20) =0.6-0.08 =0.52\text{ kPa}/^\circ\text{C}. $$

Thus,

$$ \delta p\approx |0.52\text{ kPa}/^\circ\text{C}|(0.2^\circ\text{C}) =0.104\text{ kPa}. $$

The estimated output uncertainty is \(0.104\text{ kPa}\). To check the first-order estimate, first calculate the nominal output:

$$ f(24.0)=10+0.6(4)-0.01(4)^2 =10+2.4-0.16 =12.24\text{ kPa}. $$

At the two inputs \(24.2^\circ\text{C}\) and \(23.8^\circ\text{C}\), the model gives

$$ f(24.2)=10+0.6(4.2)-0.01(4.2)^2 =10+2.52-0.1764 =12.3436\text{ kPa}, $$
$$ f(23.8)=10+0.6(3.8)-0.01(3.8)^2 =10+2.28-0.1444 =12.1356\text{ kPa}. $$

These differ from \(12.24\text{ kPa}\) by \(0.1036\text{ kPa}\) and \(0.1044\text{ kPa}\), respectively. Both are close to the first-order estimate \(0.104\text{ kPa}\), but neither has to equal it exactly. The units check: \((\text{kPa}/^\circ\text{C})(^\circ\text{C})=\text{kPa}\).

Worked Example: Using a Known Local Rate

A differentiable sensor model reports an output \(S\) in millivolts as a function of an input \(q\) in grams. At the nominal input \(q_0=12.0\text{ g}\), its local rate is \(f'(12.0)=-3.2\text{ mV/g}\). If the input uncertainty is \(\delta q=0.15\text{ g}\), estimate the output uncertainty.

The derivative is already evaluated at the nominal input. Take its magnitude and multiply by the input uncertainty:

$$ \delta S\approx |-3.2\text{ mV/g}|(0.15\text{ g}) =3.2(0.15)\text{ mV} =0.48\text{ mV}. $$

The estimated output uncertainty is \(0.48\text{ mV}\). The negative rate indicates that the model locally decreases as the input increases; it does not make the uncertainty negative. As a check, \(3.2\times0.15=0.48\), and \((\text{mV/g})(\text{g})=\text{mV}\), the output unit.

Units and Interpretation

Units provide a useful check on the calculation. If the input is measured in units \(U_x\) and the output in units \(U_y\), then the derivative has units \(U_y/U_x\). Multiplying by an input uncertainty in \(U_x\) leaves units \(U_y\):

$$ \left(\frac{U_y}{U_x}\right)U_x=U_y. $$

For example, a derivative measured in kilopascals per degree Celsius must be multiplied by an uncertainty in degrees Celsius to produce an estimated uncertainty in kilopascals. A result with the wrong units usually signals that the input and output have been confused, or that the derivative has been evaluated or interpreted incorrectly.

The formula estimates an absolute output uncertainty: it gives a change in the output’s own units. It does not, by itself, give a relative or percentage uncertainty. Those quantities require comparing the absolute uncertainty with an appropriate output value.

Common Pitfall: Keeping the Sign of the Derivative

A common error is to multiply by \(f'(x_0)\) without taking its absolute value and then report a negative uncertainty. For instance, if \(f'(x_0)=-3.2\text{ mV/g}\) and \(\delta x=0.15\text{ g}\), the signed product is

$$ (-3.2)(0.15)=-0.48\text{ mV}. $$

This is not a valid uncertainty magnitude. It is the signed first-order output change for a positive input change of \(0.15\text{ g}\). For an uncertainty magnitude, the correction is

$$ |f'(x_0)|\delta x = |-3.2|(0.15) = 0.48\text{ mV}. $$

The sign of the derivative describes direction of change; the absolute value gives the size of the predicted change.

When to Use Care

The estimate is local. It is most useful when the uncertainty in the input is small relative to the scale on which the function changes. If the derivative varies substantially across the range around \(x_0\), a single derivative value may not represent changes throughout that range well.

If \(f'(x_0)=0\), the first-order estimate is zero. This means the linear term predicts no output change at that point; it does not prove that the actual output is unchanged when the input varies. The function may still change through higher-order effects. Likewise, a very small estimated uncertainty should not be interpreted as a guarantee of exactness.

In practice, record the nominal input, the input uncertainty, the derivative at that nominal input, the calculated output uncertainty, and the units. This makes clear both what was estimated and which local rate was used.

Check Your Understanding

For each question, use the derivative at the stated nominal input and keep track of units.

  1. A function has \(f'(x_0)=4.5\text{ cm/s}\), and the input uncertainty is \(0.03\text{ s}\). What is the first-order output uncertainty, including units?
  2. Why does the estimate use \(|f'(x_0)|\) rather than \(f'(x_0)\) alone?
  3. A model has a negative derivative at its nominal input. What does the negative sign describe, and what is the sign of the estimated uncertainty magnitude?
  4. State the differentiability and local-size conditions that make the estimate useful.
  5. If \(f'(x_0)=0\), what does the first-order estimate say, and what does it not establish?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon