Loading [MathJax]/jax/element/mml/optable/MathOperators.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Chemistry LibreTexts

Propagation of Error

( \newcommand{\kernel}{\mathrm{null}\,}\)

Propagation of Error (or Propagation of Uncertainty) is defined as the effects on a function by a variable's uncertainty. It is a calculus derived statistical calculation designed to combine uncertainties from multiple variables to provide an accurate measurement of uncertainty.

Introduction

Every measurement has an air of uncertainty about it, and not all uncertainties are equal. Therefore, the ability to properly combine uncertainties from different measurements is crucial. Uncertainty in measurement comes about in a variety of ways: instrument variability, different observers, sample differences, time of day, etc. Typically, error is given by the standard deviation (σx) of a measurement.

Anytime a calculation requires more than one variable to solve, propagation of error is necessary to properly determine the uncertainty. For example, lets say we are using a UV-Vis Spectrophotometer to determine the molar absorptivity of a molecule via Beer's Law: A = ε l c. Since at least two of the variables have an uncertainty based on the equipment used, a propagation of error formula must be applied to measure a more exact uncertainty of the molar absorptivity. This example will be continued below, after the derivation.

Derivation of Exact Formula

Suppose a certain experiment requires multiple instruments to carry out. These instruments each have different variability in their measurements. The results of each instrument are given as: a, b, c, d... (For simplification purposes, only the variables a, b, and c will be used throughout this derivation). The end result desired is x, so that x is dependent on a, b, and c. It can be written that x is a function of these variables:

x=f(a,b,c)

Because each measurement has an uncertainty about its mean, it can be written that the uncertainty of dxi of the ith measurement of x depends on the uncertainty of the ith measurements of a, b, and c:

dxi=f(dai,dbi,dci)

The total deviation of x is then derived from the partial derivative of x with respect to each of the variables:

dx=(δxδa)b,cda,(δxδb)a,cdb,(δxδc)a,bdc

A relationship between the standard deviations of x and a, b, c, etc... is formed in two steps:

  1. by squaring Equation ???, and
  2. taking the total sum from i=1 to i=N, where N is the total number of measurements.

In the first step, two unique terms appear on the right hand side of the equation: square terms and cross terms.

Square Terms

(δxδa)2(da)2,(δxδb)2(db)2,(δxδc)2(dc)2

Cross Terms

(δxda)(δxdb)dadb,(δxda)(δxdc)dadc,(δxdb)(δxdc)dbdc

Square terms, due to the nature of squaring, are always positive, and therefore never cancel each other out. By contrast, cross terms may cancel each other out, due to the possibility that each term may be positive or negative. If da, db, and dc represent random and independent uncertainties, about half of the cross terms will be negative and half positive (this is primarily due to the fact that the variables represent uncertainty about a mean). In effect, the sum of the cross terms should approach zero, especially as N increases. However, if the variables are correlated rather than independent, the cross term may not cancel out.

Assuming the cross terms do cancel out, then the second step - summing from i=1 to i=N - would be:

(dxi)2=(δxδa)2(dai)2+(δxδb)2(dbi)2

Dividing both sides by N1:

(dxi)2N1=(δxδa)2(dai)2N1+(δxδb)2(dbi)2N1

The previous step created a situation where Equation ??? could mimic the standard deviation equation. This is desired, because it creates a statistical relationship between the variable x, and the other variables a, b, c, etc... as follows:

The standard deviation equation can be rewritten as the variance (σ2x) of x:

(dxi)2N1=(xiˉx)2N1=σ2x

Rewriting Equation ??? using the statistical relationship created yields the Exact Formula for Propagation of Error:

σ2x=(δxδa)2σ2a+(δxδb)2σ2b+(δxδc)2σ2c

Thus, the end result is achieved. Equation ??? shows a direct statistical relationship between multiple variables and their standard deviations. In the next section, derivations for common calculations are given, with an example of how the derivation was obtained.

Arithmetic Calculations of Error Propagation

In the following calculations a, b, and c are measured variables from an experiment and σa, σb, and σc are the standard deviations of those variables.

Addition or Subtraction

If x=a+bc then

σx=σa2+σb2+σc2

Multiplication or Division

If x=a×bc then

σxx=(σaa)2+(σbb)2+(σcc)2

Exponential

If x=ay then

σxx=y(σaa)

Logarithmic

If x=log(a) then

σx=0.434(σaa)

Anti-logarithmic

If x=antilog(a) then

σxx=2.303(σa)

Note

Addition, subtraction, and logarithmic equations leads to an absolute standard deviation, while multiplication, division, exponential, and anti-logarithmic equations lead to relative standard deviations.

Derivation of Arithmetic Example

The Exact Formula for Propagation of Error in Equation ??? can be used to derive the arithmetic examples noted above. Starting with a simple equation:

x=a×bc

where x is the desired results with a given standard deviation, and a, b, and c are experimental variables, each with a difference standard deviation. Taking the partial derivative of each experimental variable, a, b, and c:

(δxδa)=bc

(δxδb)=ac

and

(δxδc)=abc2

Plugging these partial derivatives into Equation ??? gives:

σ2x=(bc)2σ2a+(ac)2σ2b+(abc2)2σ2c

Dividing Equation ??? by Equation ??? squared yields:

σ2xx2=(bc)2σ2a(abc)2+(ac)2σ2b(abc)2+(abc2)2σ2c(abc)2

Canceling out terms and square-rooting both sides yields Equation ???:

σxx=(σaa)2+(σbb)2+(σcc)2

Example 1

Continuing the example from the introduction (where we are calculating the molar absorptivity of a molecule), suppose we have a concentration of 13.7 (±0.3) moles/L, a path length of 1.0 (±0.1) cm, and an absorption of 0.172807 (±0.000008). The equation for molar absorptivity is dictated by Beer's law:

ε=Alc.

Solution

Since Beer's Law deals with multiplication/division, we'll use Equation ???:

σϵϵ=(0.0000080.172807)2+(0.11.0)2+(0.313.7)2=0.10237

As stated in the note above, Equation ??? yields a relative standard deviation, or a percentage of the ε variable. Using Beer's Law, ε = 0.012614 L moles-1 cm-1 Therefore, the σϵ for this example would be 10.237% of ε, which is 0.001291.

Accounting for significant figures, the final answer would be:

ε = 0.013 ± 0.001 L moles-1 cm-1

If you are given an equation that relates two different variables and given the relative uncertainties of one of the variables, it is possible to determine the relative uncertainty of the other variable by using calculus. In problems, the uncertainty is usually given as a percent. Let's say we measure the radius of a very small object. The problem might state that there is a 5% uncertainty when measuring this radius.

To actually use this percentage to calculate unknown uncertainties of other variables, we must first define what uncertainty is. Uncertainty, in calculus, is defined as:

\left(\dfrac{dx}{x}\right) = \left(\dfrac{∆x}{x}\right) = \text{uncertainty} \nonumber

Example \PageIndex{2}

Let's look at the example of the radius of an object again. If we know the uncertainty of the radius to be 5%, the uncertainty is defined as

\left(\dfrac{dx}{x}\right)=\left(\dfrac{∆x}{x}\right)= 5\% = 0.05.\nonumber

Now we are ready to use calculus to obtain an unknown uncertainty of another variable. Let's say we measure the radius of an artery and find that the uncertainty is 5%. What is the uncertainty of the measurement of the volume of blood pass through the artery? Let's say the equation relating radius and volume is:

V(r) = c(r^2) \nonumber

where c is a constant, r is the radius and V(r) is the volume.

Solution

The first step to finding the uncertainty of the volume is to understand our given information. Since we are given the radius has a 5% uncertainty, we know that (∆r/r) = 0.05. We are looking for (∆V/V).

Now that we have done this, the next step is to take the derivative of this equation to obtain:

\dfrac{dV}{dr} = \dfrac{∆V}{∆r}= 2cr \nonumber

We can now multiply both sides of the equation to obtain:

∆V = 2cr(∆r) \nonumber

Since we are looking for (∆V/V), we divide both sides by V to get:

\dfrac{∆V}{V} = \dfrac{2cr(∆r)}{V} \nonumber

We are given the equation of the volume to be V = c(r)^2, so we can plug this back into our previous equation for V to get:

\dfrac{∆V}{V} = \dfrac{2cr(∆r)}{c(r)^2} \nonumber

Now we can cancel variables that are in both the numerator and denominator to get:

\dfrac{∆V}{V} = \dfrac{2∆r}{r} = 2 \left(\dfrac{∆r}{r}\right) \nonumber

We have now narrowed down the equation so that ∆r/r is left. We know the value of uncertainty for ∆r/r to be 5%, or 0.05. Plugging this value in for ∆r/r we get:

\dfrac{∆V}{V} = 2 (0.05) = 0.1 = 10\% \nonumber

The uncertainty of the volume is 10%. This method can be used in chemistry as well, not just the biological example shown above.

Caution
  • Error propagation assumes that the relative uncertainty in each quantity is small.3
  • Error propagation is not advised if the uncertainty can be measured directly (as variation among repeated experiments).
  • Uncertainty never decreases with calculations, only with better measurements.

Disadvantages of Propagation of Error Approach

In an ideal case, the propagation of error estimate above will not differ from the estimate made directly from the measurements. However, in complicated scenarios, they may differ because of:

  • unsuspected covariances
  • errors in which reported value of a measurement is altered, rather than the measurements themselves (usually a result of mis-specification of the model)
  • mistakes in propagating the error through the defining formulas (calculation error)

Treatment of Covariance Terms

Covariance terms can be difficult to estimate if measurements are not made in pairs. Sometimes, these terms are omitted from the formula. Guidance on when this is acceptable practice is given below:

  1. If the measurements of a and b are independent, the associated covariance term is zero.
  2. Generally, reported values of test items from calibration designs have non-zero covariances that must be taken into account if b is a summation such as the mass of two weights, or the length of two gage blocks end-to-end, etc.
  3. Practically speaking, covariance terms should be included in the computation only if they have been estimated from sufficient data. See Ku (1966) for guidance on what constitutes sufficient data2.

References

  1. Skoog, D., Holler, J., Crouch, S. Principles of Instrumental Analysis; 6th Ed., Thomson Brooks/Cole: Belmont, 2007.
  2. Harry Ku (1966). Notes on the Use of Propagation of Error Formulas, J Research of National Bureau of Standards-C. Engineering and Instrumentation, Vol. 70C, No.4, pp. 263-273.
  3. Claudia Neuhauser. Calculus for Biology and Medicine; 3rd Ed. Pearson: Boston, 2011,2004,2000.

Propagation of Error is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Jarred Caldwell & Alex Vahidsafa.

  • Was this article helpful?

Support Center

How can we help?