### Introduction to Uncertainty

Uncertainty is the inevitable error in our measurements. It is the difference between our measurement and the true value.*Uncertainty is inherent in physical measurements.*

When calculating with measurements, we need to propagate the uncertainty. That propagated uncertainty tells us how confident to be in our final value.

Let's begin by walking through * why* uncertainty exists and

*to propagate it through calculations. Then we'll follow up with understanding*

**how***, and how to*

**fractional uncertainty***when using uncertainty.*

**round**### Measurements

Let's start off with * why* uncertainty exists in measurements with an example.

Imagine you are laying tiles for a kitchen floor. First, you buy some 10 cm long tiles. Second, you measure your room floor to be 800 cm long. Finally, you lay out 80 tiles. Strangely, it doesn't cover the length of the room. How come?

This is where the uncertainty comes in. Although the tiles were sold as 10 cm long, some are actually longer than 10 cm, and others are shorter. Similarly, the tape measure used to find the length of the room has uncertainty.

So given these uncertainties, how can we know how many tiles we actually need? Unfortunately, we cannot say for sure. We can, however, make an estimate within a degree of probability. For that, we need to propagate the uncertainty and think of our measurements as random variables.

### Normal Random Variables

Suppose we measured all of our tiles. We might see some tiles at 10, 10.05, 9.8, or even 10.27 cm. After aggregating all this data, we might find that ~68% of the tiles fall within 0.2 cm of 10 cm. If we were to graph this data, it'd look like a normal distribution.

In this case, we say that the mean of the tile's length is 10.0 cm, and the standard deviation of the tile's length is 0.2 cm. We can write our tile's length as 10.0 ± 0.2 cm,### Law of Propagation of Uncertainty

Now returning to the question of how many tiles are needed to cross the room. We can calculate this by dividing our random variables for the room's length by the tile's length, $Room / Tile$. Recall from a statistics course that this will give us a new random variable! With a bit of math, we find that

The new mean, $\mu_{NumberOfTiles}$, is derived as

The new standard deviation, $\sigma_{NumberOfTiles}$, is derived by applying the Law of Propagation of Uncertainty, also known as the generalized form of Adding in Quadrature:

For any differentiable function $F(X,Y,...)$ where $X,Y,...$ are independent and random, the uncertainty is

^{[1]}.

In our case, $F_{best}(X,Y,...)=F_{best}(Room,Tile)=\mu_{Room} / \mu_{Tile}$. The derivation is as follows:

In case you are curious what $\frac{800 \pm 1}{10.0 \pm 0.2}$ is, try plugging it into the Uncertainty Calculator :). Want to derive the uncertainty equation for other operators and functions? Check out Proofs.

### Fractional Uncertainty

We use fractional uncertainties because they represent the percent of uncertainty in our estimate. Fractional uncertainty is defined as the uncertainty of an estimate divided by the absolute value of the best estimate,

When first learning to propagate uncertainty for multiplication, many students are taught to simply add fractional uncertainties, $\frac{\delta (X*Y)}{(|X_{best}*Y_{best}|)} \approx \frac{\delta X}{|X_{best}|} + \frac{\delta Y}{|Y_{best}|}$. This is an approximation that is quick to compute, but is actually an upper bound and is less mathematically rigorous than the true formula, $\frac{\delta (X*Y)}{(|X_{best}*Y_{best}|)}=\sqrt{\left(\frac{\delta X}{|X_{best}|}\right)^2 + \left(\frac{\delta Y}{|Y_{best}|}\right)^2}$^{[1]}.

The true formula can be derived from the Law introduced earlier. Check out the multiplication section of Proofs to see that.

### Rounding

Now we can propagate uncertainty through any differentiable function, and we understand fractional uncertainty. 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^{[2]}.

For example, we round the uncertainty

### References

[1] Taylor, John. An Introduction to Error Analysis - The Study of Uncertainties in Physical Measurements, Second Edition. University Science Books.

[2] Evaluation of Measurement Data — Guide to the Expression of Uncertainty In Measurement (GUM). September, 2008.