Exp 1 - Error Anaylysis and Graph Drawing - Theory
Exp 1 - Error Anaylysis and Graph Drawing - Theory
I. Introduction:
The complete science of error analysis involves the theory of statistics (see Ref. 1,2)
and is too involved to present here. This short presentation is intended to introduce the
student to some basic aspects of error analysis and graph drawing, which it is
expected that the student will then put into practice when presenting his/her results of
the coming experiments.
I.2 When a measurement of a physical quantity is repeated, the results of the various
measurements will, in general, spread over a range of values. This spread in the
measured results are due to the errors in the experiment. Errors are generally
classified into two types: systematic (or determinate) errors and random (or
indeterminate) errors. A systematic error is an error, which is constant throughout a
set of readings. Systematic errors lead to a clustering of the measured values around a
value displaced from the “true” value of the quantity. Random errors on the other
hand, can be either positive or negative and lead to a dispersion of the measurements
around a mean value. For example, in a time period measurement, errors in starting
and stopping the clock will lead to random errors, while a defect in the working of the
6
clock will lead to systematic error. A striking example of systematic error is the
measurement of the value of the electric charge of the electron ‘e’ by Millikan by his
Oil Drop method. Millikan underestimated the viscosity of air, leading to a lower
value for his result
Compare this with a more modern and accurate value (Cohen and Taylor 1973, Ref 3)
Systematic errors need to be carefully uncovered for the particular experimental set-
up and eliminated by correcting the results of the measurements.
I.3 Random errors are handled using statistical analysis. Assume that a large number (N)
of measurements are taken of a quantity Q giving values Q1,Q2, Q3,…QN. Let Q be
the mean value of these measurements
1
Q=
N
Qi ,i = 1,2,.....N (3)
1
d=
N
2
Qi Q ,i = 1,2,.....N .
(4)
The result of the measurement is quoted (assuming systematic errors have been
eliminated) as
Q= Q d. (5)
The error Q in the quantity Q is then taken to be the deviation d. (This is called the
standard error in Q).
In a single measurement of a physical quantity, the error can be estimated as the least
count (or its fraction) of the instrument being used.
7
As an example, the result of a measurement of the radius of curvature R, of a plaino-
convex could be quoted as
This means that we expect that the value of R to be in the range 139.8 to 140.2 cm.
Note however, that this does not mean that the true value of R necessarily lies in this
range, only that there is a probability that it will do so.
ΔQ d
100 = 100 . (7)
Q Q
Often the value of a quantity of interest may depend on other measured quantities. For
example we could have a quantity Q which is a function F of a number of
independent (actively controlled by us) variables say x,y and z i.e.,
Q = Q(x,y,z) (8)
where
Q Q Q
ΔQx = Δx ; ΔQy = Δy ; ΔQz = Δz etc.
x y z
8
The following table summarizes the results for combining errors for some standard
functions. Try to derive some of these results.
2 2 2 2 2
ΔQ Δx Δy ΔQ Δx Δy
3 Q=xy = + = +
Q x y Q x y
2 2 2 2 2
ΔQ Δx Δy ΔQ Δx Δy
4 Q = x/y = + = +
Q x y Q x y
ΔQ Δx
5 Q = xn =n
Q x
Δx
6 Q = ln x ΔQ =
x
x ΔQ
7 Q= e = Δx
Q
9
II Drawing of best fit straight line graph:
Below we describe how to fit a straight line to a set of data. Relations that are not
linear can be transformed to a linear one by an appropriate transformation of the
variables (as you will learn from these assignments).
To draw the best fit straight line graph through a set of scattered experimental data
points we will follow a standard statistical method, known as least squares fit method.
y = mx + c. (10)
We ask the question: how are the slope m and the y-intercept c to be determined such
that a straight line best approximates the curve passing through the data points? Let
Si = yi - mxi – c be the deviation of any experimental point P(xi, yi), from the best fit
line. Then, the gradient ‘m’ and the intercept ‘c’ of the best fit straight line has to be
found such that the quantity
S = yi mxi c
2
S S
= 2 xi yi mxi c = 0 and = 2 yi mxi c = 0,
m i c i
which give,
m x 2 + c xi = xi yi and m xi + Nc = yi .
i
1 1
y=
N
y i and x=
N
x
i showing that the best fit straight line passes
through the centroid ( x , y ) of the points (xi,yi). The required values of m and c can be
calculated from the above two equations to be
10
m=
x x y
i i
and c = y mx . (11)
x x
2
i
The best fit straight line can be drawn by calculating m and c from above. A graphical
method of obtaining the best fit line is to rotate a transparent ruler about the centroid
so that it passes through the clusters of points at the top right and at the bottom left.
This line will give the maximum error in m, (Δm)1 on one side. Do the same to find
out the maximum error in m, (Δm)2 on the other side. Now bisect the angle between
these two lines and that will be the best fit line through the experimental data.
What are the errors in the gradient and intercept due to errors in the experimental data
points? The estimates of the standard errors in the slope and intercept are
1 Si 2 x 2 Si 2
Δm 2 and Δc 2 1 + ,
D N 2 N D N 2
11
Figure 1 is an example of experimental
data of resonance absorption of -ray
After doing these assignments you also have to verify the best fit parameters, you
have obtained, by using your calculator. Calculators do the kind of curve fitting we
want. Find out the procedure, specific to your calculator, to fit curves to a set of data.
You will find it in the calculator’s manual under heading like “statistical” and sub
heading “Regression”. If the formula of interest is one of the standard relations in the
calculator then you simply enter the data and read of the best fit parameters that the
calculator responds with. For other formulae you can use the trick of transforming to
a new set of variables. In all your future work you can do the regression analysis
using a calculator.
12
IV. Exercises and Viva Questions
1. What is the general classification of errors? Give an example of each. How are
Radius of curvature
they taken care of? (cm)
130.121
130.136
2. What is the meaning of standard 130.139
error? Calculate the standard error 130.148
130.155
for the hypothetical data given in the 130.162
130.169
adjacent table. Express the quantity
as in eq. (5), i.e. R = R d .
3. What is the percent error in Millikan’s measurement of the charge of the electron:
e = (1.591 0.002) x 1019 C?
4. What is the error in the volume of a cube V= L3 if the error in L is 0.01m? If L is
measured as L = 2 0.01, express the value of V in a similar manner.
5. A small steel ball-bearing rests on top of a horizontal table. The radius (R) of the
ball is measured using a micrometer screw gauge (with vernier least count 0.05
mm) to be 2.15 mm. The height of the table is found using an ordinary meter scale
to be 90 cm. What is the height of the center of the steel ball from the floor
(include the error)?
6. Let Q = x y, where x = 100 2 and y = 96 2. Calculate Q (express the result
with the error included).
7. Consider the quantity Q = x/y. If x = 50 1 and y = 3 0.2. Calculate Q (express
the result with the error included).
8. In an experiment involving diffraction of sodium light using a diffraction grating,
the doublet lines are unresolved at first order and a single spectral line is seen at
an angle of 13o. If the least count of the vernier of the telescope is 1, what will be
the error in the calculated value of the grating constant d? (Principal maxima of a
grating occur at angles such that dsin = m. The wavelength separation
between the sodium doublet lines is 6 Ao ).
9. Consider an experiment to measure the gravitational acceleration g by measuring
the time period of a simple pendulum. What are the possible sources of systematic
error in this experiment?
13
10. “If there are always errors in any measurement then there is nothing like the ‘true’
value of any measured quantity”. Comment on this statement. In what sense then
do you understand the values of ‘physical constants’ to be constants?
References:
14