Analysis of Errors
Analysis of Errors
Analysis of Errors
ANALYSIS OF ERRORS
To understand a physical phenomenon experiments are performed. The result
of each experiment depends on various measurements and each measurement has
certain uncertainty or error. We distinguish between a mistake and an error; a mistake
arises due to carelessness of an observer and cab be avoided whereas error is inherent
in the measurement resulting from the process of measurement and limitations of the
instrument. An experimentalist must know how the uncertainty of each measurement
affects the final result. The uncertainty must be carried along in all calculations in a
suitable way as indicated in the following to give an estimate of the error in the final
result. The routine calculation of evaluation of error should be carried out together
with regular numerical calculations and should never be dealt with separately
afterwards.
Let us note some short rules for the combination of errors in independent
quantities. Remember that errors are generally rough estimates – round them off
sensibly.
A. Estimated errors
Convenient formulas can often be calculated for combining such error limits
by simply taking derivatives:
Z = X log Y
Z = X log Y + ( X / Y )Y .
Such formulae usually work only for “small errors” (what does this mean?).
B. Statistical errors
Statistical errors are used when the distribution of repeated readings of the
same variable can be expected to be random and requires the analysis of a “number”
of repeated readings. You should be acquainted with the definition and method of
calculation of quantities such as the mean, standard deviation of the mean, and
probable error. (You will come across these data in the G.M. Counter experiment.)
Recall that the variables are assumed to be completely independent in this
combination of errors.
2
(Here, for example, 9.03 is the mean of a set of readings, and 0.06
might be the standard deviation of the mean.)
2. In multiplication or division, take the srss of the percentage errors.
4. When taking powers or roots, multiply the absolute or percentage error
by the power to which the number is raised before squaring it.
These rules are examples of the following more general formula which applies to
statistical errors. Let F be a function of two variables: F = F ( x, y ) . Then if
F , x , y designate the probable standard deviations of individual measurements of
F , x and y, respectively, from their mean values, then
2
F F
2
F = x + y .
x y
III. GRAPHS
A. General comments
A graph cannot be analyzed convincingly without an estimate of the random
and systematic errors associated with each plotted point. Suppose one has the
following collection of points:
3
What does the experimental evidence tell us about the relationship between Y and Y ?
We might, in fact, on the basis of the above alone, be tempted to try various
possibilities like curves A, B and C. Any one or more of these possibilities may be
correct – to decide between these ones must indicate the uncertainty estimated for
each measurement. One standard way of doing this is as follows:
This means that the estimated error or standard deviation for that point has the
indicated magnitudes in both the abscissa and ordinate. Often the error is estimated on
the basis of a variation in one coordinate alone:
If the estimated errors used to describe the uncertainty (uncertainty: range of values
within which the true value is estimated to lie) are too small to be indicated
conveniently by drawing the limits, one should state what they are somewhere on the
graph.
The indicated uncertainties on a graph make it possible to
(a) decide which features of a curve are only spurious variations, and
which are “real”,
(b) estimate the errors in the constants of the equation of any curve drawn
through the experimental points.
B. Calculation of errors
Suppose that there is an expected relationship between two variables such that
one variable is linear, parabolic or some other function of the second variable. It is
always possible by means of a “least squares” treatment to find the constants of the
“best” appropriate curve fitting the data by a purely mathematical computation. This
is a very precise method, but is often very tedious. An alternate approach is to plot the
data if possible, in such a way that a linear plot is expected. Then estimated error can
be computed for the slope and the intercept.
4
EXPERIMENT NO.1: GRAPHICAL ANALYSIS OF DATA
Material needed:
Qty. Graph Paper
3 mm X mm
1 Semi-log 3 scale = log X mm
1 log-log 3 scale = log X 2 scale
5
(It is assumed that you are familiar with the basic ideas about graphs. If you
have any difficulty in the following account, take the help of your instructor.)
II. Experimental observations are always uncertain to some extent. When they are
plotted on a squared sheet of paper they seem to be falling on a curve more or less
depending upon the inaccuracies and uncertainties of the experiment. There is some,
as it is called ‘scatter’. The object or drawing a graph is to circumvent the scatter of
data points. In other words, drawing a graph is in fact an average process just as
taking a mean of a number of readings.
Drawing good graphs is essential if one hopes to get the best out of one’s
results. The following hints will help you draw good and accurate graphs.
Choose your scales well. The most pitiable use of a graph paper is to make use
of only a small part of it by (ignorantly) choosing a compressed scale. Let your scales
be fairly spread out. If a quantity varies between, say, 120 gm and 150 gm choosing a
scale such as 1 cm = 10 gm is absurd and inaccurate. Make full use of the sheet.
The scales chosen should be simple so that it does not take too long to plot or
locate points. A scale such as 1 cm = 1/3 gm is not a very sensible one (unless the
steps in the variation of the quantity are always 1/3 gm, 2/3 gm, etc. – which is
unlikely).
After you have plotted a data point, draw a small circle around it: . This
prevents the point from being lost should your curve go right through it, and also
makes it easier to locate it. Further, you can distinguish various groups or sets of
points by using different symbols around them: , , , etc.
The writing on a graph sheet (for example, the numbers specifying divisions
on the axes, the data points and their symbols, labeling of different curves) should be
in ink. The trials for the actual curve may be in pencil but if the final choice is in ink,
it is easier to study it. Needless to say that a sharp pencil or a fine pen should be used
to draw the curves. Otherwise the accuracy suffers.
No curve drawn on the basis of data points which show scatter (and scatter is
always present) is unique. If the number of points is too small, any kind of curve may
be made to represent them. On the other hand, it is usually not possible to take a very
large number of readings because of constraints on the available time. Use your
judgment in the matter. If you know that the graph is going to be a straight line, six or
seven points are usually sufficient. (This does not mean that every time you should
take only six or seven readings!) For graphs other than a straight line you need more.
Also if the curve shows maxima or minima more points are needed around the
possible maxima or minima. It is a good practice roughly to draw a graph as you are
6
doing the experiment to enable you to detect such features while you are still in a
position to take more readings. Another example of such features is curves where you
need to find the slope at a particular point.
As the following examples will show, most equations can be re-cast to obtain
a straight-line graph. It is useful therefore to see how the best ‘fit’ can be obtained for
a straight line. One simple method of surprising accuracy is the following. Having
plotted all points ( x1 , y1 ), ( x 2 , y 2 ),..., ( x r , y r ),..., x n , y n ) , plot the ‘centroid’, the co-
ordinates of which are given by
x=
x r
, r
. y=
y
n n
Then place a transparent ruler on the graph paper so that the edge passes through this
centroid. Rotate the edge to find the best line, always letting the edge to pass through
the centroid. A line through the centroid drawn with the paragraph above in mind is
the best fit. This method has firm theoretical justification but we shall not go into it at
this stage. Having drawn the best line, rotate the ruler about the centroid so that it
passes through the cluster of points at ‘top right’ and that at ‘bottom left’. This new
line gives one limit (m)1 of the accuracy of the slope m of the best fit. A similar line
drawn on the other side (again, through the centroid) gives the other limit (m)2. You
will always find that the range defined by these two limiting lines is absurdly large. A
more realistic figure for the uncertainty in the slope of the best fit is obtained by
dividing m by n, where n is the total number of points plotted. Express the slope as
m
(m1 ) + (m2 ) .
2 n
As the angles of the limiting lines with the best fit are likely to be small, you can
approximate by taking ()1 and ()2, in radians, for (m)1 and (m)2, respectively.
It is well to remember that this method is justified only if the scatter of points
is due to random errors alone.
It is equally useful to remember that if the scatter is quite small the error in
reading the divisions of the graph and plotting and locating points is what will
determine the uncertainty in m (or in other quantities read from the graph).
7
III. You are supposed to work out the following problems.
1. The following table gives the values of two related quantities, x and y, as
measured in an actual experiment.
Plot y against x. You will see that there is some scatter as shown in Fig.1a. (All
figures are collected together at the end on a separate sheet.) One way of drawing a
mean line through the data points is to mark the centers (x in Fig.1b) of the short lines
joining neighboring points. You will find it easier to draw a mean line through these
rather than the data points ( in Fig.1a). Again, it is not at all necessary that your
curve passes through each center x. Marking the centers is only an aid to drawing the
mean line.
Question: (1) Why is it easier to draw a curve through the centers than it is to draw a
curve through the original points?
2. You will find that the curve shows a maximum of y. So the next problem is to
locate the maximum. This is done as follows. Draw lines parallel to the x-axis at
suitable intervals of y, starting at the foot of the hump. Mark the centers of the chords
cut by the curve. Then draw a smooth curve through the centers. The intersection of
the line of centers with the main curve defines the maximum. Record the location and
the value of the maximum (see Fig.2). You can use this intersection to improve the
main curve.
Question: (2) What is the slope of the line of centers at the point where it intersects
the main curve?
(3) Will this procedure be better for a broad or a sharp maximum? (See
Fig.3a and 3b)
3. The specific heat C of a metal at temperatures near the absolute zero is given
by
C = aT + bT 3 .
The first term gives the contribution of the electrons while the second gives that of the
crystal. a and b are constants which involve the properties of the metal concerned.
The experiment consists of measuring C at different temperatures (T in K). The table
below gives the experimental values obtained for potassium.
8
T (K) 0.131 0.186 0.227 0.262 0.293
C (mJ/mole-K) 0.279 0.408 0.502 0.596 0.684
T 0.525 0.541
C 1.480 1.528
where n and K are not known. The following table gives the experimental values.
5(A). The next class of functions to study is the ‘exponential function’. Exponential
functions occur so often in the study of natural (and, sometimes, even economic and
social) phenomena that it is essential to know the methods by means of which a
variation can be established to be exponential and the constants involved in the
functional relation determined with some reliability.
In any exponential relation there are two constants involved. One, the
amplitude coefficient (‘a’ below) that gives, so to say, the initial value of a quantity
(‘Y’ below); and two, the rate factor (‘b’ below) that gives the rate of the variation of
Y. Thus
There could be a positive sign in the exponent, depending on the situation, but we
take here the negative sign for the sake of definiteness and also because it occurs
more often.
9
dT dT
= −bT , or = −bdt , or T = T0 exp (−bt ). (2)
dt T
dn dn
= − Kn, or = − Kdt , or n = n0 exp (− Kt ). (3)
dt n
In (C) below are given the experimentally determined values of two variable
quantities which are suspected to be related by Eq.(1). Determine a and b by the
following methods.
(i) Plot the points on the usual squared paper, choosing good scales. You
will need a sheet of size 25 cm x 20 cm. Draw a smooth curve representing the points
(not necessarily through them!) using the smoothing procedure given in III earlier.
Remember to mark the smoothing points differently from the data points.
Draw a horizontal line at y=a/2 (using a=OP) to cut the smooth curve at Q.
Then draw a similar line at Y=a/4 to cut the curve at R, and so on, as far as you can.
Let the coordinates of P, Q, R, S, … be (0, a), (x1, a/2), etc. We then have the
relations:
Y0 = a,
Y1 = Y0 / 2 a exp (−b x1 ),
Y2 = Y1 / 2 a exp (−b x2 ),
Y3 = Y2 / 2 a exp (−b x3 ), etc. (4)
Therefore
Y0 / Y1 = exp b ( x1 ),
Y1 / Y2 = exp b ( x2 − x1 ),
Y2 / Y3 = exp b ( x3 − x2 ), etc. (5)
The ratios at the left are all equal, each being equal to 2. Hence the right-hand sides of
these equations must all be equal if the relation between x and Y is exponential. That
is, if x1=(x2-x1)=(x3-x2), etc., we have established the relationship (1). Do this,
commenting on the differences in the values as measured. The property expressed by
Eq.(5) can be stated thus: equal increments of x produces equal fractional changes in
Y. The fraction chosen for the graphical analysis does not need to be 2. You could
choose 3/2 or something else if you wanted.
10
The next step is to determine b. For doing this write Eq.(5) as
ln 2 = bx1 ,ln 2 = b( x2 − x1 ),ln 2 = b( x3 − x2 ), etc. (6)
ln 2
b= . (7)
Notice that we have used all of our data to get this value of b. This value, however, is
subject to the accuracy with which the point P of Fig.4 can be located. In general, y0 is
very sensitive to the way the curve is drawn but this method suffices for many
purposes.
A plot of log Y against x should give a straight line with a slope of –(log e) b, and a y-
intercept of log a, if the quantities x and Y are connected exponentially. Determine a
and b in this way.
Plotting this straight line is very easy if a ‘semi-log graph paper’ is used. In
this, one of the two axes is marked linearly as usual but the other is marked by
divisions proportional to the logarithms (to base 10) of numbers, much as in a slide
rule. Then there is no need to refer to log tables. Plot Eq.(8) on a semi-log paper so as
to get familiar with it. For the purpose of the present study, a 3-cycle semi-log graph
paper is adequate.
(C) At sufficiently high temperatures the electric current through ionic crystals
like sodium chloride is carried by positive or negative ions (or their vacancies).
Unlike the (electronic) current in metals, this current increases with the temperature
and does so rapidly. The ionic conductivity (C) of an ionic crystal is given as a
function of the temperature (T) by the following equation:
−E
C = C 0 exp , (9)
kT
Question: (6) Analyze these data by the methods described above, and determine C0
and E. Look up the value of k from the table of constants.
11
(D) Questions and problems
(a) Which of the two methods is more accurate? Why? Estimate the errors
numerically.
(b) Prove that the tangent to Y=a exp (-bx) at x=0 cuts the x-axis at a
distance 1/b. This indicates yet another method of determining b. What
objections, if any, would you advance to this method?
(c) When radioactive nuclei of one kind (n, say) disintegrate, they produce
nuclei of another kind (N, say). As n decreases from an initial value n0,
N increases from zero. Draw a schematic graph of n and N on the same
axes.
12
13