Uncertainties and Error Propagation
Uncertainties and Error Propagation
Uncertainties and Error Propagation
Contents
1. Systematic versus Random Errors
2. Determining Random Errors (a) Instrument Limit of Error, least count
(b) Estimation (c) Average Deviation
(d) Conflicts (e) Standard Error in the Mean
3. What does uncertainty tell me? Range of possible values
4. Relative and Absolute error
5. Propagation of errors (a) add/subtract (b) multiply/divide (c) powers
(d) mixtures of +-*/ (e) other functions
6. Rounding answers properly
7. Significant figures
8. Problems to try
9. Glossary of terms (all terms that are bold face and underlined)
The examples included in this section also show the proper rounding of answers,
which is covered in more detail in Section 6. The examples use the propagation of
errors using average deviations.
Derivation: We will assume that the uncertainties are arranged so as to make z as far from
its true value as possible.
With more than two numbers added or subtracted we continue to add the uncertainties.
Example: w = (4.52 ± 0.02) cm, x = ( 2.0 ± 0.2) cm, y = (3.0 ± 0.6) cm. Find
z = x + y - w and its uncertainty.
For multiplication by an exact number, multiply the uncertainty by the same exact
number.
C = 2 x = 18.850 cm
C = (18.8 ± 1.3) cm
We round the uncertainty to two figures since it starts with a 1, and round the
answer to match.
Example: x = (2.0 ± 0.2) cm, y = (3.0 ± 0.6) cm. Find z = x - 2y and its
uncertainty.
z = x + 2 y = 0.2 + 1.2 =
Using Eq 1b, z = (-4.0 ± 0.9)
1.4 cm
cm.
So z = (-4.0 ± 1.4) cm.
The 0 after the decimal point in 4.0 is significant and must be written in the
answer. The uncertainty in this case starts with a 1 and is kept to two
significant figures. (More on rounding in Section 7.)
(b) Multiplication and Division: z = x y or z = x/y
Derivation: We can derive the relation for multiplication easily. Take the largest values for
x and y, that is
z + z = (x + x)(y + y) = xy + x y + y x + x y
Usually x << x and y << y so that the last term is much smaller than the other terms and
can be neglected. Since z = xy,
z = y x + x y
which we write more compactly by forming the relative error, that is the ratio of z/z,
namely
Eq. 2a Eq.2b
Example: w = (4.52 ± 0.02) cm, x = (2.0 ± 0.2) cm. Find z = w x and its
uncertainty.
Using Eq.
2b we get
z =
So z = 0.1044 (9.04 ) = 0.944 which 0.905
we round to 0.9 , and
z = (9.0 ±
z = (9.0 ± 0.9) .
0.9) .
The uncertainty is rounded to one significant figure and the result is rounded
to match. We write 9.0 rather than 9 since the 0 is significant.
Note that in this case we round off our answer to have no more decimal
places than our uncertainty.
Eq. 3a Eq.3b
Example: w = (4.52 ± 0.02) cm, A = (2.0 ± 0.2) , y = (3.0 ± 0.6) cm. Find
.
Using
Eq. 3b,
z=(29 ±
12)
The second relative error, (y/y), is multiplied by 2 because
the power of y is 2.
The third relative error, (A/A), is multiplied by 0.5 since a
square root is a power of one half.
z = (29 ± 14)
Because the uncertainty begins with a 1, we keep two significant figures and
round the answer to match.
If z is a function which involves several terms added or subtracted we must apply the
above rules carefully. This is best explained by means of an example.
Example: w = (4.52 ± 0.02) cm, x = (2.0 ± 0.2) cm, y = (3.0 ± 0.6) cm. Find
z = w x +y^2
z = wx +y^2 = 18.0
For other functions of our variables such as sin(x) we will not give formulae.
However you can estimate the error in z = sin(x) as being the difference between the
largest possible value and the average value. and use similar techniques for other
functions.
Thus
To get the largest possible value of S we would make x larger, (x + x) = 2.2
cm, and smaller, ( - ) = 51°. The largest value of S, namely (S + S), is
(S + S) = (2.2 cm) cos 51° = 1.385 cm.
The general method of getting formulas for propagating errors involves the total
differential of a function. Suppose that z = f(w, x, y, ...) where the variables w, x, y,
etc. must beindependent variables!
We treat the dw = w as the error in w, and likewise for the other differentials, dz, dx,
dy, etc. The numerical values of the partial derivatives are evaluated by using the
average values of w, x, y, etc. The general results are
Using simpler average errors
Eq. 4a.
Eq. 4b
z = 0.15 cm. Hence, round z to have the same number of decimal places:
When the answer is given in scientific notation, the uncertainty should be given in
scientific notation with the same power of ten. Thus, if
z = 1.43 x s and z = 2 x s,
z = (1.43± 0.02) x s.
This notation makes the range of values most easily understood. The following is
technically correct, but is hard to understand at a glance.
7. Significant Figures
The rules for propagation of errors hold true for cases when we are in the lab, but
doing propagation of errors is time consuming. The rules for significant figures allow
a much quicker method to get results that are approximately correct even when we
have no uncertainty values.
A significant figure is any digit 1 to 9 and any zero which is not a place holder. Thus,
in 1.350 there are 4 significant figures since the zero is not needed to make sense of
the number. In a number like 0.00320 there are 3 significant figures --the first three
zeros are just place holders. However the number 1350 is ambiguous. You cannot tell
if there are 3 significant figures --the 0 is only used to hold the units place --or if there
are 4 significant figures and the zero in the units place was actually measured to be
zero.
How do we resolve ambiguities that arise with zeros when we need to use zero as a
place holder as well as a significant figure? Suppose we measure a length to three
significant figures as 8000 cm. Written this way we cannot tell if there are 1, 2, 3, or 4
significant figures. To make the number of significant figures apparent we use
scientific notation, 8 x cm (which has one significant figure), or 8.00 x cm
(which has three significant figures), or whatever is correct under the circumstances.
We start then with numbers each with their own number of significant figures and
compute a new quantity. How many significant figures should be in the final answer?
In doing running computations we maintain numbers to many figures, but we must
report the answer only to the proper number of significant figures.
In the case of addition and subtraction we can best explain with an example. Suppose
one object is measured to have a mass of 9.9 gm and a second object is measured on a
different balance to have a mass of 0.3163 gm. What is the total mass? We write the
numbers with question marks at places where we lack information. Thus 9.9???? gm
and 0.3163? gm. Adding them with the decimal points lined up we see
09.9????
00.3163?
10.2???? = 10.2 gm.
In the case of multiplication or division we can use the same idea of unknown digits.
Thus the product of 3.413? and 2.3? can be written in long hand as
3.413?
2.3?
?????
10239?
6826?
7.8????? = 7.8
The short rule for multiplication and division is that the answer will contain a number
of significant figures equal to the number of significant figures in the entering number
having the least number of significant figures. In the above example 2.3 had 2
significant figures while 3.413 had 4, so the answer is given to 2 significant figures.
It is important to keep these concepts in mind as you use calculators with 8 or 10 digit
displays if you are to avoid mistakes in your answers and to avoid the wrath of
physics instructors everywhere. A good procedure to use is to use use all digits
(significant or not) throughout calculations, and only round off the answers to
appropriate "sig fig."
(a) Find the average and the average deviation of the following measurements of a
mass.
(c) Are the following numbers equal within the expected range of values?
(e) How many significant figures are there in each of the following?
(f) I measure a length with a meter stick which has a least count of 1 mm I measure
the length 5 times with results in mm of 123, 123, 124, 123, 123 mm. What is the
average length and the uncertainty in length?
(b) i) (14.34 ± 0.04) grams ii) (0.0235 ± 0.0016) sec or (2.35 ± 0.16) x sec
iii) (7.35 ± 0.03) x kg iv) (9.11 ± 0.02) x kg
(d) i) (9.4 ± 0.8) m ii) (0.080 ± 0.007) m/s iii) (45 ± 6) iv) 18.8 ± 0.6) v)
(1.120 ± 0.008 m/s
(f) (123 ± 1) mm (I used the ILE = least count since it is larger than the average
deviation.)