Measurement and Uncertainty
There is always uncertainty in physical measurements.
Let's consider measuring a cup of flour to bake cookies. Simply enough, you scoop a cup of flour using your measuring cup. Now, how much flour do you have? Well, perhaps you didn't level off the flour and so you actually have a little more than one cup. We can reduce the uncertainty on our measurement by leveling the flour off. But even if you could perfectly pack the measuring cup, you still won't have exactly one cup of flour since your measuring cup is not exactly one cup. In practice, you are probably within a spoonful of one cup, which is close enough for most cookies. We consider that spoonful to be the uncertainty of our measurement.
We often think of measurements as random variables. Each time we measure, we sample from a normal distribution with a mean equal to the true value of the measurement and a standard deviation equal to the uncertainty of the measurement.
In our baking example, we have a random variable representing our measurement of flour where is from a normal distribution with mean and standard deviation . We can think of the true amount of flour scooped out as an estimate sampled from this normal distribution.
Adding in Quadrature
Let's make the cookie dough. We can do this by adding the flour and other ingredients together. For simplicity, let's have one random variable representing our measurement of all the other ingredients combined. Now, what is the uncertainty on this sum? You might be tempted to just add the uncertainties of the flour and other ingredients .
This isn't quite correct. Let's think about why. Intuitively, we understand that the uncertainty should be less than two spoonfuls since it is unlikely for both measurements to be on the high end.
We can calculate the uncertainty using a bit of probability. If we form a new random variable for our cookie dough, , then . Thus, the standard deviation of is actually . This is called "Adding in Quadrature" and is quite different from our original guess .
Let's return to our baking example once more. Suppose we have the cookie dough and now need to scoop out 1 spoonful at a time for the cookies. How many cookies will we have? And what is the uncertainty on the number of cookies?
Let's start by creating another random variable representing a spoonful of cookie dough. Thus, the number of cookies is . Now, we just need to see how much the uncertainty in affects , how much the uncertainty in affects , and then add those quantities in quadrature.
We can calculate how the uncertainty in affects by calculating , the partial derivative of with respect to multiplied by the uncertainty in . This formula makes sense because is precisely how much a change in affects . Since we expect to vary by and we want to know how much will vary, we multiply them as . Similarly, we can calculate . Thus, the uncertainty .
Law of Propagation of Uncertainty
Our formulas work for addition and division, but what if the output were a function of multiple variables? What if we needed to use exponents, logarithms, or other functions? Fortunately, the Law of Propagation of Uncertainty accounts for all of this.
For any differentiable function where are independent and random, the uncertainty is .
Let's break this formula apart. First, we typically write instead of because our uncertainty is not always equal to the standard deviation. Secondly, each represents how much the input 's uncertainty affects the output. Lastly, we sum them in quadrature based upon the idea of summing normal distributions together.
Want to derive the uncertainty equation for other operators and functions? Check out Proofs.
Fractional uncertainty is the uncertainty of an estimate divided by the absolute value of the estimate itself, . We use fractional uncertainties because they help represent the percent of uncertainty in our estimate. For example, the fractional uncertainty of is and thus the percentage uncertainty is 2.5%.
When first learning to propagate uncertainty, many students are taught to simply add fractional uncertainties in the case of multiplication, . This is an approximation that is quick to compute and works in many situations, but is less mathematically rigorous than the true formula, . Fortunately, fractional uncertainty can be derived from the general formula introduced earlier. Check out the multiplication section of Proofs to see that.
Great, now we can propagate uncertainty through any differentiable function. One last question remains: how do we round our measurements? The convention is to round the uncertainty to one significant figure. Then, we round the estimated value to the same place value as the uncertainty.
For example, we would round to because the uncertainty should have one significant figure. And we would write as because the estimate should be written to the same place value as the uncertainty.
 Evaluation of Measurement Data — Guide to the Expression of Uncertainty In Measurement (GUM). September, 2008.
 Taylor, John. An Introduction to Error Analysis - The Study of Uncertainties in Physical Measurements, Second Edition. University Science Books.