# IB Physics/Measurements and Uncertainties (2016)/Uncertainties and Errors (2016)

### Errors Edit

Physics is an experimental science, and not all measurements are made in an infinitely precise way. As such, physicists have developed mathematical methods to deal with the errors that crop up from doing experiments in the real world - a field of study called Error Analysis. In IB Physics, this is lightly tested but critical for your IA, where you do an experiment. In the most formal sense, think of an error as a deviation, or difference, of a *measured* value from an *accepted* (or *real*) value.

#### Random ErrorsEdit

A random error is an error affecting a measured value that an experimenter has found which is unknown and unpredictable. It is usually caused by:

- Variations in the experimental situation, like random fluctuations in temperature. In these cases, the maximum random error, (
*or uncertainty*), is of unpredictable and usually unknown size. - Estimating when reading a measured value off of a measuring instrument, like taking the mass of a body from a digital scale. In these cases, you can usually know the size of the maximum random error, (or
*uncertainty*), from the precision of the measuring instrument.

In doing practical experiments in Physics, it is important to reduce the random error of your measurements in order to get the most accurate possible result.

The easiest way to reduce random error in experiment is using equipment that is more precise. (*Precision* here refers to how closely measured values agree with each other. A measurement being precise might not imply it's close to the true value- just that it's very reliably consistent.) For instance, one could use an electronic balance that is precise to 0.01 g over a kitchen balance that is precise to 1 g.

#### Systematic ErrorsEdit

Systematic errors are errors that cause the measured value of a quantity to be different from the real value by a reasonably consistent amount. They are usually associated with a particular measuring instrument or experimental technique.

For example, a 30 cm plastic ruler with margins of 0.3 cm on either side of the 0 cm and 30 cm markings would have a systematic error if you used it incorrectly, by assuming the end of the ruler was the real 0 marking, and lining that up against, say, the height of a block to measure it. This kind of systematic error is called a *zero error*, so named because measuring a 0 cm actual value would leave you with a systematic error of 0.3 cm.

You can reduce systematic errors in an experiment by identifying them from your equipment and method, followed by accounting for them in your calculations, usually by subtraction. You can also reduce systematic errors by using equipment that has been tuned to have none, and by using existing equipment in a way that will not lead to the creation of systematic errors, like measuring from the actual 0 cm mark of a ruler.

### Uncertainties Edit

Uncertainties are extra information added to the accepted value of a quantity that signify how precise our knowledge of a quantity is.

For example, one might measure a length of a copper cable as , with a yardstick accurate to the nearest . Measuring a length on an analogue ruler is taken to be the act of finding where two points are on the ruler, and finding the difference. Each point on the ruler is a millimetre apart, so the real start and end of the wire can be recorded by a point on the ruler that is at most half a millimetre away. Subtracting these two points creates a total uncertainty of two half-millimetres, or one millimetre.

We would therefore write the quantity signifying our knowledge of the length of copper wire as . The symbol in the centre is pronounced "plus or minus", and it shows that the value could be up to , or as low as . That is, from the accepted value minus the uncertainty up to the accepted value plus the uncertainty.

Note: this use of the plus-or-minus symbol means that uncertainties are always positive numbers and should be treated as such. This is why there are on all of the formulas about uncertainties. These signs mean that you must change whatever is within them, positive or negative, into a positive number of equal magnitude. The signs have other meanings in maths, but this is beyond the scope of this Wikibook.

#### Absolute UncertaintiesEdit

An absolute uncertainty is an uncertainty attached to a quantity, which is of a certain known value. It answers the question - how wrong exactly are we? It is not a proportion of the accepted value. The absolute uncertainty of a given quantity is written as . For instance, if we knew that , we could say that .

You should write them to a maximum of 1 or 2 (based on your judgement) significant figures. The reasoning behind this is that the extra significant figures add no real meaning to our understanding of the main value.

#### Fractional UncertaintiesEdit

A fractional uncertainty is an uncertainty attached to a quantity which represents the magnitude of the absolute uncertainty involved, as a proportion of the accepted value for the quantity. Basically speaking, it answers the question - how much does our wrongness matter? For instance, in our example of the wire, we could calculate the uncertainty like this:

There is usually no need to round a fractional uncertainty because, very often, it is an intermediate step in calculating something more complex. The symbol represents a fractional uncertainty.

#### Percentage UncertaintiesEdit

Percentage Uncertainties of quantities are much like fractional uncertainties, except for the fact that they are expressed as a percentage rather than a fraction or decimal. The mathematical skill of converting a fraction or decimal into a percentage is below the scope of the IB Physics Syllabus, and so will not be detailed here.

For our example of the yardstick, the percentage uncertainty is easily found by converting the fractional uncertainty to a percentage. The symbol which represents a percentage uncertainty, , is the same. See here:

Percentage Uncertainties are the usual way to express uncertainties by the proportion of a value. Exactly the same as absolute uncertainties, you should write them to a maximum of 1 or 2 (based on your judgement) significant figures.

#### Uncertainties from AveragesEdit

When you have taken multiple readings of a value to find an average and increase your accuracy, there are two ways to determine the uncertainty of your final average value.

- If the range of the data is more than the range of possible values of the mean when the same absolute uncertainty is kept, then you must account for this in expressing your final value. For instance, if your experimental data for a value are , then you have underestimated the random error, because the ranges of possible values do not overlap on one single value. You need to correct this. The rule of thumb for doing so is for the absolute uncertainty of the mean to be half of the range of the data; the reasoning behind this is to include all of the data points as possible values. In our example, the range of the data is , so we would express our mean as .
- If the uncertainty of each value means that the possible range of real values from each reading is smaller than the range of the data, then you simply retain the same absolute uncertainty when expressing the data's mean. For instance, if your data were , then, because every value is within the uncertainty of the mean ( ), there is no need to increase the uncertainty to account for the spread of the data.

A note on the reasoning behind keeping the same absolute uncertainty for the mean even though taking an average is used to make a measurement more accurate is made a few sections below.

### Graphical Analysis Edit

The skills involved with graphing a relationship between two quantities based on experimental data are generally prerequisite to the IB Physics course. However, here's a quick refresher on how you should do your graphs.

- Linearise the axes to test for a straight-line graph if necessary for analysis: if , then plot and on the axes rather than leaving the two quantities as they are.
- Include a descriptive title on the graph, and turn on all major and minor grid lines.
- Label the axes in the format "description symbol /unit"; for instance, a label like "distance " is appropriate.
- Ensure that the numbers on the axes are labelled and spaced out in a logical manner - without the unit, as you have already divided the quantity by the unit in your labelling scheme.
- Generally, a physicist would analyse an experiment by plotting the thing they are changing (the independent variable) on the horizontal x-axis, and plot the thing they are measuring (the dependent variable) on the vertical y-axis.
- Make sure you use "X" markers or "+" markers rather than circular blobs to indicate a plotted point, so that it is visually more precise.

That's pretty much the sum of physics graphing skills that you would be expected to have up to the point of the IB course. For the rest of this section of the article, assume I am talking about Microsoft Excel (2020) (and *not* Google Sheets - Sheets is incapable of proper error bars and uncertainty analysis).

#### Error BarsEdit

Error bars are a physicist's most useful visual interpretation of uncertainty. They are extensions of the plotted marker that show how far up, down, left, or right, the real value indicated by the marker could possibly be plotted on the graph; that knowledge is based on the uncertainties of the value you are plotting. Search: "error bars physics" on Google Images for a visual idea of them.

Error bars for an experiment might all be of equal size, or different points may have different uncertainties - in this case, you should record, or generate, a column of uncertainty values (e.g. a column for and alongside the typical columns for and ) for the spreadsheet software to use as values for error bars.

Generally speaking, the error bars up and down in the y-axis and the error bars left and right in the x-axis will be the same size, unless you know for sure that the uncertainty in one direction is far less or far greater than the uncertainty in another direction.

Sometimes, error bars are not appropriate for a graph simply because they are so small. For instance, if you are working in lengths of a couple of metres, but your uncertainties in the length are just a millimetre - that being the precision of the ruler - then your error bars with respect to length are likely to be so small on the plotted graph that they can be ignored.

A useful exercise, after this section, would be to see if you can use drawing and intuition based on error bars to demonstrate the rules for adding uncertain quantities together, multiplying an uncertain quantity by a constant, and, as a challenge, multiplying or dividing two uncertain quantities together.

#### Uncertainty of Gradient and InterceptsEdit

Finding the uncertainty of a gradient or an intercept in physics is very useful because it allows uncertainty values to be "calculated" for quantities that we are unable to directly measure.

For instance, most experiments involving the acceleration of free-fall, , do not measure it directly - they derive it from another dependent and independent variable, perhaps as the gradient of the graph that links the two variables together. Another example is how experiments determine the value of absolute zero - physicists back in the 19th century absolutely would not have had access to any equipment that might let them bring the temperature of something down even close to absolute zero, and they determined it using the x-intercept of a graph linking two quantities about the behaviour of a gas together.

The technique to use here is called the use of "max-min lines". Essentially, you try to plot a "max line", which is as steep as possible but still passes through all the error bars, and then a "min line", which is as shallow as possible, but, again, passes through all the error bars. The logic behind this is that you are pushing the error bars to their limits, using your knowledge of how the real point may be anywhere inside the rectangle created by the error bars.

After you have created these max-min lines, you can take the steeper gradient to be the maximum possible gradient, and then you can take the shallower gradient to be the minimum possible gradient. As a rule of thumb, you can generally take the arithmetic mean (add then divide by 2) of the two gradients to get your "measured value" of the gradient. Naturally, it then follows that the gap between your measured gradient and each of the maximum and minimum possible gradients is the uncertainty in the gradient.

You can analyse the intercepts of the graph (intercepts with another line, with the axes, etc) with a similar technique. Note the extreme possible values of the intercept, taking them to be the maximum and minimum values as appropriate, and, again, take the arithmetic mean of the values to be your "measured value". The uncertainty in the intercept is calculated from the difference between the measured and the extreme values.

#### Uncertainties Expressed as RangesEdit

There are, of course, some exceptions. For instance, you might realise that the difference between a max line and a min line in some pattern that is close to vertical might end up massive - think a minimum of 10 and a maximum of 5,000. Here, taking the arithmetic mean is not appropriate, and so *by necessity* you would have to express the gradient as a range (i.e. ).

Expressing uncertainties in any form as a range is an easy skill. Although it is not always necessary, it can be helpful. Generally, given an uncertain quantity , knowing that the extremes are such that , for instance, , we would express our knowledge of the quantity with the range statement " is between 294 and 306"; or, simply with the interval/inequality .

### Calculation: Propagating Uncertainties Edit

When determining the uncertainty of a value which has been itself calculated from other uncertain values, the following rules apply.

#### Adding and Subtracting ValuesEdit

When adding and subtracting values from each other, you will need to add the absolute uncertainties together.

For instance, .

The reasoning behind this is that, when adding two uncertain values, and , the lowest possible value is , and the highest possible value is . The total range of possible values is equal to the sum of the ranges of possible values for the two quantities you added together. In other words,

- If ,
- then
- because .

#### Multiplying or Dividing an Uncertain Value by an Exact ValueEdit

The rules regarding propagating an uncertainty through multiplication and division are perhaps some of the most important.

If you have some uncertain value , then it can take a lowest value of and a highest value of . If you multiply the lowest value and the highest value each by some exact factor , then you'll get a lowest value of and a highest value of .

The main value has been scaled up by a factor of , becoming . At the same time, we can see that the minimum and maximum possible values have scaled up by the same factor - the amount by which they are lower or higher than , that amount being the uncertainty in , has correspondingly been increased by that factor of .

Mathematically speaking, we can write this in a really simple form - . In the IB formula booklet, this isn't actually included - you may have noticed that this is in fact just an application of the rule regarding adding uncertain quantities together.

Dividing a quantity by a constant, which we'll call , can be thought of as multiplying by . So, likewise to the previous paragraph, .

As an example - say you have the uncertain quantity . If you divided this quantity by 4, you'd get ; the absolute uncertainty is divided by 4, and *the percentage uncertainty remains the same* - a very important fact to bear in mind. If you multiplied this uncertainty by 4, you'd get . Notice that I've kept the second significant figure; that's because rounding it to an absolute uncertainty of 20 would make it significantly more uncertain than it really was (the uncertainty increases in size by a whole 25%! That *is* a meaningful difference, and so I have concluded with my own judgement that 2 significant figures is appropriate here).

#### Multiplying or Dividing two Uncertain ValuesEdit

The rules get a little more complicated when we move into the realm of multiplying and dividing uncertain values by one another. Let's try and find minimum and maximum values when we multiply two uncertain quantities together.

Suppose you have two quantities, and , that multiply to the quantity . Suppose that each of the data are uncertain by an amount and respectively. In other words, .

At a minimum, , taking the smallest values of the initial data possible. At a maximum, .

Try to do this with your own pencil and paper - if you subtract the minimum from the maximum, you find a range of values wide; the uncertainty is . You will also find that the measured value of the quantity is , because that's the centre-point between the minimum and maximum values. Consider that, usually, will be too small to affect the measured value. You can basically cancel it to 0. As such, our final value for is .

Generally, the rule for multiplying two uncertain values is that the percentage uncertainty of the result will be the sum of the percentage uncertainties that you are multiplying together. This is a property that can be seen in the calculation above. If we try to calculate the overall percentage uncertainty in , we get the below.

This explains the rule for multiplying two uncertain quantities together. Now we ought to consider what happens if we divide one uncertain quantity by another. Say we have a quantity . and are both uncertain by an amount and as before.

At a maximum, . At a minimum, . The difference between these two quantities is . As before, is a quantity that would generally be insignificant to the final result, so we cancel it to 0. Keep in mind that the algebra here is quite hard, and I wouldn't expect every reader of this textbook to follow it. The general rule for division is stated later.

We find that, dividing by two, the absolute uncertainty is . You may realise that this absolute uncertainty is the new value multiplied by the sum of the percentage uncertainties - the percentage uncertainty in the new value is the initial percentage uncertainties added up. You may want to come back to this section later and attempt the algebra yourself. Until then, the rule to be remembered is quite simple, below.

To summarise - when multiplying or dividing two uncertain quantities by one another, the percentage uncertainty of the answer can be found by adding up the percentage uncertainties of the two inputs. When :

#### Raising Uncertain Values to a PowerEdit

When raising an uncertain value, which we'll call , to a certain power, which we'll call , the rule is actually quite simple. You take your original percentage uncertainty in and multiply it by the absolute value of the power. This is a pretty much direct logical conclusion that can be drawn from our knowledge of the rules for multiplying and dividing uncertain quantities.

For instance, if we want to calculate the percentage uncertainty in , we just need to note that . If we want to calculate the percentage uncertainty in , we just need to note that . In the first case, we are multiplying four 'es together, and so the percentage uncertainty must be . In the second case, we are dividing an exact quantity by 3 times, and so the percentage uncertainty must be .

This uncertainty principle needs a little more mathematical proving if we are to use it for fractional and decimal powers. However, I'm just going to leave it - the math is beyond the scope of this course. To summarise what is learned in this section:

#### Special FunctionsEdit

For IB SL and HL Physics, calculating the uncertainty of a value after it's been passed through a special function, like or , is not necessary. In pursuing analytical work that needs this, the fractional uncertainty of the function's input is taken to be that of its output. For instance, if I am uncertain in a quantity , then I would also say that I am uncertain in or .

This paragraph is only relevant for some very difficult IA topics that may need it. For some functions where a shift in of causes changes of wildly different size to , it is more appropriate to manually calculate the highest and lowest possible values of across the domain of possible real values of the quantity from to , which are often (but not necessarily) equal to and .