



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Graphical analysis for a straight-line graph (Straight Line Analysis) (This discussion was partially drawn from C. G. Deacon’s “Error Analysis in the Introductory Physics Lab”, in The Physics Teacher Vol. 30, Sept. 1992.) One very important data analysis technique that is used extensively when analyzing data collected in the laboratory is Straight Line Analysis. Most laboratory data can be plotted on a straight-line (linear) graph. This is very significant for two reasons. First, it allows an entire data set to be characterized by one equation, the equation of a line: y = mx + b. Second, many fundamental physics and math equations (we'll call these the "model" or "theoretical" equations) are in the form of a straight line equation (or can be manipulated mathematically into this form). Thus the model equation can be directly correlated to a straight line equation of an appropriate data set. This means that the best-fit slope and/or the y-intercept of the straight line generated by the data collected from observing a system can yield physically meaningful information about the system. Before we give an example of Straight Line Analysis, the following is a review of how to plot data and its uncertainty and how to determine the slope and y-intercept of the plot. Plotting data and its uncertainty on a graph When plotting points on a graph, the uncertainties associated with the data are also transferred to the graph with error bars that are drawn to the scale of the graph. Measurements that have uncertainties in both variables are shown as crosses made up of one error bar for each variable. You may judge the “best-fit” line to be the straight line that passes through or as close to all of your data points as possible. When the best-fit line does not go through the data point itself, it should be as close to the region defined by the error bars as possible. If it is not possible to find a straight line that passes close by all your error bars (compared with the length of the error bars), then your two variables are not linearly related. To determine slope, draw by eye the best-fit straight line. Determine two points on this line (not data points unless they are exactly on the line) which are far apart, but easy to read, e.g. best at a grid mark crossing. Calculate the slope from these two points as 2 1 2 1 x x y y run rise m
Note that the further apart your two points are, the more accurate you will be since any error in reading point values will be less significant over a larger length. Always clearly mark the points that are used to calculate the slope with dots surrounded by circles. Determine b by carefully reading the y-intercept directly from the graph. This is easy and is more accurate than a calculation (which would depend on the accuracy of your calculated slope value and the x,y-values of a point you choose on the line). The y-intercept is defined to be where the line crosses the y-axis.
Example: Calculate π by measuring the circumference and diameter of various round objects. Below is the data table produced from measuring various round objects. ITEM D (DIAMETER) C (CIRCUMFERENCE) Light Tube 0.042 +/- .002 m 0.136 +/- .004 m Scotch Tape Roll 0.056 +/- .002 m 0.176 +/- .004 m Light Tube Cap 0.083 +/- .002 m 0.234 +/- .004 m Masking Tape Roll 0.102 +/- .002 m 0.323 +/- .004 m We then plot circumference vs. diameter with error bars and produce the following plot. We can see that the data looks linear. We can now draw a “best-fit” line. You may judge the “best-fit” to be the straight line that passes through or is as close to all your data points as possible. For this particular set of data, the best fit line should go through 0,0 because if diameter = 0, then circumference must = 0. We know that the equation of a straight line is y = mx + b. Now let’s substitute our y and x variable names into the equation (We will also substitute the word SLOPE for m so as not to confuse m with the abbreviations for meters, mass, etc). Thus the equation for our plotted line is: y = mx + b or C = SLOPE D + 0
The uncertainty in the slope δm is estimated by considering extremes of maximum and minimum slope determined from the worst-fit lines. The worst-fit lines are lines that might conceivably fit the data assuming the “true” value for each point may fall anywhere within the range of the error bars (see examples of graph below). Worst-fit lines will pass through or be close by most of the error bars. They are drawn considering all the data points and not just the extremes of the error bars on the first and last points. To determine the slopes of the worst fit lines: As with the best fit slope, choose two points on each line which are spaced far apart, but easy to read, e.g. best at a grid mark crossing. Calculate the slope of each line from these respective points. As with the best fit slope, always clearly mark the points that are used to calculate the slopes of the upper worst fit line and the lower worst fit line with dots and circles. Denoting the slopes of these lines by mmax and mmin respectively, δm may be calculated from 2 mmax m min m
Similarly, the uncertainty in the y-intercept value is:
Example: Returning to our example, we can now draw the worst fit lines on our plot. We now can calculate the slope of each worst fit line. mmax = (0.320 m – 0.020 m) / (0.100 m – 0.012 m) = 3. mmin = (0.300 m – 0.050 m) / (0.112 m – 0.004 m) = 2. 2 mmax m min m
Then: δm = (3.41 –2.31) / 2 = +/- 0.55 = +/- 0. Thus π = 3.1 +/- 0.6 which is equal within uncertainty to the actual value of 3.14159…