#$&*
course phy 121
11:59 2/3/2013
The figure below depicts a series of six data points and a straight line segment.
The line segment is part of the 'best-fit line' for the data.
You may think of this as the line that comes as close as possible, on the average, to the data points. This definition can be improved upon--it doesn't specify exactly how 'closeness' is defined or how 'closeness' is averaged--but it gives you the general idea, and it is sufficient for 'eyeball' estimates of the best-fit line.
The specific definition, which you don't really need right now and might not need in this course is as follows:
Each data point lies either above or below the line, at some specific vertical distance from the line. This vertical distance is the deviation of that point from the line. The best-fit line is the straight line that minimizes the sum of the squared deviations--there is no other line with a smaller sum of squared deviations.
The exercise here will be to obtain eyeball estimates of the best-fit line.
Any graphing calculator or computer spreadsheet will calculate the best-fit line for a given set of data, but neither calculator nor spreadsheet should be used in this exercise.
Take a piece of string and stretch it over the line (you may do this on the screen or you may use a printout). Then raise and lower the string, and see how the distances to the various points change. Vary the slope of the string.
-
Can you see that if the line in the figure below is raise or lowered a significant amount, and/or if its slope is changed significantly, the average distance of the points from the line will change?
Answer this question below and indicate also by how much the slope of the string needs to change before the increased average distance between the string and the points is apparent.
#$&*Yes, the point at 0.25 and 18.4 is so close to the line, moving it any would make it obvious when compared.
Give in the first line below the horizontal and vertical coordinates, in comma-delimited form and in that order, of the rightmost point on the line, as best you can estimate them.
In the second line give the same information for the leftmost point on the line.
Starting in the next line give a brief statement telling in your own words what the numbers you have entered mean.
#$&* 0.52,17.65
.13,18.79
These numbers give the range of the line.
At you move from the leftmost point to the rightmost, by how much does your horizontal coordinate change, and by how much does the vertical coordinate change? Indicate in the first line using comma-delimited format. Use + or - with each result to indicate whether the change in the coordinate is positive or negative.
Starting in the next line give a brief statement telling in your own words what these numbers mean and how they were obtained.
#$&* 1.14, -.39units
These numbers were obtained by subtracting the left most from the rightmost. They give the slope of the line.
The change in horizontal coordinate is called the 'run', and the change in vertical coordinate is called the 'rise', between the two points.
The slope between the two points is the rise divided by the run: slope = rise / run.
In the first line give the run and the rise, delimited by commas.
In the second line give the slope.
Starting in the next line give a brief statement telling in your own words what these numbers mean and how they were obtained.
#$&* -.39,1.14,
1.14/-.39
They are obtained from the collecting points and then calculating the distance through how much it goes right to left (run) and up to down(rise). They show how the line changes.
The vertical axis of a graph occurs at horizontal coordinate 0. If a graph doesn't show an axis through horizontal coordinate zero then it doesn't show the vertical axis. Not all graphs will show the vertical axis. For example of the data are clustered closely together at a great distance from the vertical axis, a graph would have to be extended through a lot of 'blank space' to get to that axis, and the detailed behavior of the data would be obscured.
Does the vertical axis show on the above graph?
If the straight line is extended until it intercepts the vertical axis then the point where this occurs is called the vertical intercept of the graph.
If this straight line is extended, does it intercept the vertical axis?
If so, at about what vertical coordinate does this occur?
Answer these questions in the below. Answer each in a concise yet complete sentence that includes the reasons for your answer.
#$&*Yes, this graph has a vertical axis showing and the line could intercept the vertical axis at about 0.6.
The equation of a straight line in the x-y plane can be expressed in the common form y = m x + b, where m is the slope of the line and b the y-intercept.
Substituting your estimates of the slope and vertical intercept for m and b in the form y = m x + b, you obtain an estimate of the equation of the best-fit line.
Give your estimated equation for this line below. Add a brief statement about the meaning of your answer and how it is related to previous answers.
#$&* y=1.14/-.39x + 18.7
In may cases it is not appropriate to include x = 0 in the scale of the graph, in which case it is not possible to extend the line to the actual y axis in order to estimate the y intercept. If this is the case we can still estimate the equation, based on the coordinates of our two points.
You have already estimated the slope of the line. Leaving x, y and b in symbolic form, substitute m into the form y = m x + b. What equation do you get?
#$&*y=1.14/-.39x+b y intercept
Now substitute the x and y coordinates of either of your two points. It doesn't matter which point you choose. Choose a point, substitute its x coordinate for x and its y coordinate for y. What is your equation? What symbol(s) remain in the equation?
#$&* point chosen (0.23, 18.4)
18.4=1.14/-.39(0.23) +b
B
You can solve this equation for the one remaining symbol b. Do so, and indicate your solution in the first line below. Starting in the second line show and explain the steps in your solution, in detail.
#$&*18.4=1.14/-.39(0.23) +b
18.4=-437/650 +b
B=17.7
How does the value of b compare with the y-intercept you estimated earlier? How far in actual distance on the y axis is the b from the vertical intercept you estimated earlier? Why can we not expect the two values you obtained to match exactly?
Answer these questions in complete statements that indicate your answers as well as the meaning and basic of your answers.
#$&* It was about a point less than the one predicted earlier. We cannot expect it to be the same because from one we are pulling the actual points and the other from the average
The actual best-fit equation for the above data set is y = -2.2032x + 18.982.
By what percent of the actual value -2.2032 of m in the above equation did your estimate differ from that value?
By what percent of the actual value 18.982 of b in the above equation did your estimate differ from that value?
Give your two results, delimited by commas, in the first line below.
Starting in the next line give a brief statement telling in your own words what these numbers mean and how they were obtained.
#$&* 18.7,17.7
These numbers are the y intercept.
It was off by about seven-tenths of a point.
In the prediciton it was off about two tenths of a point and with the equation it was off 1.2 points.
Now stretch your string out to form the line you think best fits the data in the figure below.
Note that the line that best fit the data in the first graph did not pass through any of the data points.
A best-fit line is very unlikely to actually pass through and data points. When fitting a best-fit line you should do your best to avoid allowing it to pass through any data point, and should allow this only if it is very clear that this is the only way to get the best fit to the entire set of data.
Your goal is to come as close as possible, on the average, to the data points. Unless you have a very good idea what that means, don't worry about the squared-deviation terminology. Just try to get as close a possible, on the average.
Estimate and record the coordinates of two widely-separated points on your line, but do not include the y-intercept among these two points.
This means two points on your line, not two data points.
Estimate and record the y-intercept of your line, if the graph does indeed pass through the true y axis. If this is not the case, indicate it.
Give the x and y coordinates of the first point on your line, separated by a comma, in the first line below.
Give the x and y coordinates of the second point on your line, separated by a comma, in the second line below.
Give the y coordinate of the y intercept in the third line.
Starting in the next line give a brief statement telling in your own words what these numbers mean and how they were obtained.
#$&*(0.1,2)
(0.3,4)
b=1.8
These points make up the slope of the line and the y-intercept form to equate a line.
Give the rise, run and slope between the two points on your line. Give these results in three lines, one number in each line. Starting in the fourth line explain how you obtained the rise, run and slope.
#$&*4-2=2 rise
0.3-0.1=0.2 run
m=2/0.2
The equation for slope is the change in y over the change in x, the results will be the slope. The change in y is also known as rise and the change is x is known x.
Give in the first line the equation of your line, based on the slope and the y intercept. Starting in the second line give a complete explanation of how you obtained your equation.
#$&*y=2/0.2x+1.8
Iobtained the slope from using the change in y over the change in x equation to find slope. I obtain the 1.8 by determining how far the line started up the y axis;
Give the equation of your line, based on your two points (as before, substitute the slope into the y = m x + b form, substitute the x and y coordinates of one of the two points, and solve for b). Give the equation in the first line, then starting in the second line explain how you obtained your result for b.
#$&*4=2/0.2(0.3)+b
B=4-3
B=1
Repeat this exercise for the graph below:
Give the x and y coordinates of the first point on your line, separated by a comma, in the first line below.
Give the x and y coordinates of the second point on your line, separated by a comma, in the second line below.
Give the y coordinates of the y intercept in the third line.
#$&*2.3,2
3.8,2.5
b=1.25
Give the rise, run and slope between the two points on your line. Give these results in three lines, one number in each line.
#$&*rise= 2.5-2=.5
run=3.8-2.3=1.5
m=.5/1.5
Give the equation of your line, based on the slope and the y intercept.
#$&* y=.5/1.5x+1.25
Give the equation of your line, based on your two points (as before, substitute the slope into the y = m x + b form, substitute the x and y coordinates of one of the two points, and solve for b). Give the equation in the first line. A subsequent explanation is optional, provided you feel you understand the process.
#$&*2.5=.5/1.5(3.8)+b
b=2.5-(19/15)
b=37/30
The figure below shows the best-fit line for the second of the three graphs shown so far.
How did your estimates compare with this result? Summarize briefly below:
#$&* My points were less than one number off and think my equation is precise to the correct ont.
The figure below shows the best-fit line for the third of the graphs shown so previously.
How did your estimates compare with this result? Summarize briefly below:
#$&* My numbers were considerably close, not being more than half a point off.
Stretch your string over your estimated best-fit line for the graph below. You don't need to write down any data.
How close do you think you can come to the actual best-fit line?
Are you reasonably confident that you could come within 1 unit of the y intercept?
Are you reasonably confident that your line would lie no more than 1 vertical unit away from the actual best-fit line?
Are you reasonably confident that you could come within .1 unit of the y intercept?
Are you reasonably confident that your line would lie no more than .1 vertical unit away from the actual best-fit line?
In the space below, indicate how close you think you could come to the correct vertical intercept, and how close you could stay (in the vertical direction) to the actual best-fit line.
#$&*
I am confident that I can come within a point of the y-intercept and from the best fit line. I am not confident enough to to predict any closer.
The two figures below show the actual best-fit line. The second figure also includes the equation of that line.
Look at these figures and in the box below either give revised estimates to your previous answers, or state why you think that no revision is necessary:
#$&* no revision
Repeat the above exercise for the graph below.
How closely do you think you can come to the actual best-fit line?
Are you reasonably confident that you could come within .2 unit of the y intercept?
Are you reasonably confident that your line would lie no more than .02 vertical unit away from the actual best-fit line?
Are you reasonably confident that you could come within .02 unit (which on this graph would be one-tenth of a verticial division) of the y intercept?
Are you reasonably confident that your line would lie no more than .02 vertical unit away from the actual best-fit line?
In the space below, indicate how close you think you could come to the correct vertical intercept, and how close you could stay (in the vertical direction) to the actual best-fit line.
#$&* I think with enough time I could get bothe the y intercept and best line fit within 0.2 of the correct answer.
The points of this graph are clearly more scattered from any straight line than in any of the preceding graphs. It is clearly harder to tell exactly where the best fit line should be. That is, there is more uncertainty than before when attempting eyeball a best fit to this data.
Using your string, estimate how much uncertainty there might be in the y intercept of your straight line:
Among all straight lines that seem to fit the data about equally well (i.e., the lines which on the average appear to be about as close to the points as any other), what is the maximum y intercept, and what is the minimum?
Give these two numbers in the first line, separated by a comma.
#$&*
The lines x = 6, at the right of the graph region, and y = 1.8, at the top of the graph region, for the top and the right-hand sides of what we will call the graph rectangle.
It is likely that some of your estimated best-fit straight lines will pass through the top of this rectangle, and some through the right-hand side.
What is the x coordinate of the point furthest to the left at which a reasonable best-fit line could pass through the top of the graph rectangle (i.e., the smallest x coordinate at which a reasonable best-fit line could pass through the line y = 1.8)? Give this number in the first line of the space below. If you don't think any reasonable attempt at a best-fit line will pass through the top of the graph rectangle, enter 'none'.
What is the y coordinate of the lowest point at which reasonable best-fit line could pass through the right-hand side of the graph rectangle (i.e., the smallest y coordinate at which a reasonable best-fit line could pass through the line x = 6)? Give this number in the second line of the space below. If you don't think any reasonable attempt at a best-fit line will pass through the right-hand side of the graph rectangle, enter 'none'.
If your first answer was 'none', then what is the y coordinate of the highest point at which reasonable best-fit line could pass through the right-hand side of the graph rectangle? If your answer before was 'none' then enter your numerical answer in the third line; otherwise enter 'none' in the third line.
If your second answer was 'none', then what is the x coordinate of the point furthest to the right at which reasonable best-fit line could pass through the top of the graph rectangle? If your answer before was 'none' then enter your numerical answer in the fourth line; otherwise enter 'none' in the fourth line.
Two of your answers should be numbers, and two should be 'none'.
#$&*
The actual best-fit line is depicted in the figure below. My best guess had the line a little steeper and a little lower on the y axis. How did yours compare?
#$&*
The figure below includes the best-fit line and its equation.
See where you think the best-fit line for each of the two graphs below intercepts the y axis, and the y coordinate of the point at which here it passes through the right-hand side of the graph rectangle. Jot down your answers. Don't look at the pictures below these. Just see what you think and see how you do. There are no 'wrong' answers and when I myself do this my own estimates aren't that great, so there's certainly margin for error, but try to be as accurate as you can.
Give your results in the space below, with the y-intercept and the y coordinate of the right-hand point in the first line separated by commas, and the same information for the second graph in the second line of the space below:
#$&*
Here are the actual best-fit lines, for reference and comparison.
If you have Excel the best-fit line can be created from a scatter graph by right-clicking on a data point and choosing 'Add Trendline'. To get a straight line, choose 'Linear'. So see the equation on the graph, set Options to Display Equation etc..
Your instructor is trying to gauge the typical time spent by students on these experiments. Please answer the following question as accurately as you can, understanding that your answer will be used only for the stated purpose and has no bearing on your grades:
Approximately how long did it take you to complete this experiment?
1.5 hours
"
Your work on this lab exercise looks good. Let me know if you have any questions.