Real-world measurements rarely fall on a clean line, so we plot what happened as scattered dots and draw a straight line through the middle of them to make predictions.
Scatterplots and lines of best fit
Each dot on a scatterplot is one real pair of measurements. The line of best fit follows the trend of the dots so the vertical gaps between the dots and the line stay as small as possible overall. To predict with the line, start at the given number on either axis, walk straight to the line, and read off the other axis.
1
Comparing dots to the line
Once a line of best fit is on the graph, we often need to compare a day's actual dot with the line's prediction at that same temperature. We might need the vertical gap between them (the residual), that gap as a percent, or whether the line overestimated.
Comparing dots to the line
On the 65-degree day, actual sales were 180 and the line sits at 150. Here is how we find what percent greater actual sales were than the predicted sales:
Text solution
Find the residualSubtract the line's predicted height from the dot's actual height at 65 degrees.
actual (dot)180−predicted (line)150=residual+30
Divide by the number after "than"Compare that 30-coffee gap to the predicted sales of 150.
after "than"15030=51=20%
At any temperature on the coffee graph, a dot below the line has a negative residual because the line overestimates there, a dot above the line has a positive residual because the line underestimates there, and a dot right on the line has a residual of 0.
At any temperature, a dot above the line has a positive residual because the line guessed too low, a dot below it has a negative residual because the line guessed too high, and a dot right on the line has a residual of zero.
2
Reading the dots alone
Some questions ask only about the actual measurements, like the median or how many students improved from a first test to a second. A line of best fit may still be drawn right through the graph.
Reading the dots alone
Higher values sit higher up on the graph, so the dots are already in order from bottom to top. With 9 dots, count up to the 5th dot and read across to get the median of the vertical-axis values. (Counting left to right gives the median of the horizontal-axis values.) When both axes measure the same kind of score at two different times, the diagonal line where both scores are equal splits the graph in two: dots above it scored higher the second time, and dots below it scored lower.
3
Finding the equation of the line
Next, suppose the graph is already drawn and we want to write the equation y=mx+b for the line of best fit. To get the right equation, we read points on the line itself rather than the data dots, and we check where 0 actually is on the horizontal axis.
Finding the equation of the line
The coffee line passes exactly through the grid points (50,120) and (70,160), and the chart's horizontal axis starts at 50 degrees. We build the equation in three steps:
Text solution
Find the slope from two grid points on the lineWalking along the line from (50,120) to (70,160) goes right 20 degrees and up 40 coffees.
m=70−50160−120=2040=2
Step backward to 0 degreesStarting at (50,120) and moving back 50 degrees to 0 drops the line 2 coffees for each degree.
b=120−50(2)=120−100=20
Write the equation and check a pointPut the slope 2 and the starting height 20 into y=mx+b, then check that plugging in 50 gives 120.
y2(50)+20=2x+20⟶=120
While you are checking the axes, read the axis labels and the unmarked grid lines too: "in hundreds" turns a 2 into 200, and a tick mark halfway between 50 and 60 stands for 55, not 51.
If the graph starts at 50 degrees, the line meets the left edge at 120. Extend the horizontal axis back to 0 and the line keeps dropping 2 coffees per degree until it meets the vertical axis at (0,20). Remember, b in y=mx+b is always the height at x=0.
Where the line hits the chart's left edge changes with the cutoff, but the 20 in the equation is always the line's height back at 0 degrees.
4
What slope and intercept mean
Often the test gives you the equation of the line and asks what its slope or starting number means in the real world.
What slope and intercept mean
Whether the dots climb uphill or go downhill (a negative association, like the used-car graph), the slope is the line's predicted change for each 1 unit along the bottom axis, and the intercept is its predicted value at 0:
Price=predicted change per 1 year(−$3,000 per year)−3(Age)+predicted price at 0 years($30,000)30
Watch for two more things: an answer choice that swaps the two axes, and predictions far outside the measured temperatures or ages, where a straight line quickly gives impossible values.
5
Correlation and outliers
To describe how closely the dots stay near a straight line, the tests (especially the ACT) use the correlation coefficientr, a number from −1 to +1. They also ask what happens to the line when a lone outlier, a dot far from the rest, is removed.
Correlation and outliers
Notice that r=−0.92 is a much stronger linear trend than r=+0.40, and a gentle uphill line with every dot on it still has r=+1.
A single outlier in the bottom-right corner pulls the right end of an uphill line down, which flattens the slope and weakens r toward 0. Move that dot back into the cluster and the line tilts back up steeper, with r close to +1.
One dot far off the trend tugs the nearer end of the best-fit line toward it, which changes the slope and pushes r toward 0.
6
Curved scatterplots
When the dots clearly bend, a straight line won't fit, and we need to match the pattern to either a quadratic or an exponential equation.
Curved scatterplots
Say the dots curve upward through (0,10) and (3,80), so we want exponential growth. Two quick substitutions decide between y=10(2)x and y=10(3)x:
Text solution
Test the starting height at x=0Anything to the 0 power is 1, so both choices start at 10.
10(2)0and10(3)0=10=10
Test a point further right, at x=3Plug in x=3 to see which curve gives 80 and which one shoots off the top of the graph.
10(2)3while10(3)3=10(8)=80=10(27)=270
So y=10(2)x fits the scatterplot.
In the exponential family y=10(b)x with b from 0.2 to 3.0, every curve passes through (0,10). When b is between 0 and 1, the curve drops and flattens out near 0; at b=1 it's a flat line; and when b>1 it climbs more and more steeply, reaching 80 at x=3 when b=2 and 270 when b=3.
Changing the multiplier never moves the starting point (0, 10), even as the curve swings from decay when it's below 1 to steep growth when it's above 1.
Key concepts
Every scatterplot question starts with one decision: are we reading what actually happened (the dots) or what was predicted (the fitted line or curve)? When a question asks for a predicted value, walk straight to the line (at 85∘, the line gives 190 coffees). When it asks about the actual data, such as finding a median by counting up from the bottom or comparing two practice tests using the equal-score diagonal, ignore the line completely.
When comparing a dot directly with the line at the same horizontal value, the vertical gap is the residual, actual−predicted. A dot at 180 above the line at 150 has residual +30, and it is 15030=20% greater than the predicted 150, the number right after than. If the line overestimated, the line sits higher than the actual value, so count the dots below the line.
To build or interpret y=mx+b, find the slope m from two grid points on the line itself and find b at x=0, stepping backward if the graph doesn't start at 0 (from (50,120) with slope 2, drop 50×2=100 to get b=20). In word problems, m is always the predicted change in y for each 1-unit increase in x; watch for axis units like thousands. To describe how closely the dots follow a line, the sign of r gives the direction and how close r is to ±1 gives the strength (r=−0.92 is stronger than r=+0.40). An outlier near one end of the data pulls that end of the line toward itself. Finally, don't force a straight line onto curved dots: dots that turn around at a highest or lowest point call for x2, and dots that get steeper and steeper or level off call for an exponential (y=10(2)x grows; y=100(0.8)x decays). Plugging in x=0 plus one easy x-value further right picks out the equation.
7
Practice
1
The scatterplot shows the workout duration and calories burned for 10 workouts, along with a line of best fit. Based on the line of best fit, a workout that burns 300 calories is predicted to last how many minutes?
Does "predicted" tell you to read the line or a dot? And what value does the unmarked grid line between 20 and 30 stand for?
Start at 300 on the vertical "Calories burned" axis and move across to the line of best fit. (Stopping at the data dot (30,300) instead gives the wrong choice C, 30, and starting from 30 on the horizontal axis gives D, 350.) Dropping straight down from (25,300) lands on the unmarked grid line halfway between 20 and 30. Reading that grid line as 21 gives Choice A, but halfway between 20 and 30 is B) 25.
2
A printing company plotted the age x, in years, of 16 commercial printers along the horizontal axis and their resale value y, in thousands of dollars, along the vertical axis. The line of best fit for the data is given by y=32−4.5x. Which statement is the best interpretation of 4.5 in this context?
Check two details on the slope −4.5: what unit is the vertical axis measured in, and does the equation describe every actual printer or the line's estimate?
In y=32−4.5x, the −4.5 is the slope attached to x, not the starting value at age 0 (ruling out A). Each 1-year increase in age drops the line 4.5 units on the vertical axis, and y is measured in thousands of dollars. Overlooking the axis unit gives $4.50 (Choice C) instead of 4.5×$1,000=$4,500. Finally, the equation describes the fitted line, not the actual value of every printer (ruling out actual in Choice B), which leaves D).
3
The scatterplot shows the floor area and monthly heating cost for 9 apartments, along with the line of best fit. For how many of the 9 apartments did the line of best fit overestimate the monthly heating cost? SAT
For the line of best fit to overestimate an apartment's cost, the line's prediction must be higher than the actual cost, so the dot sits strictly below the line. Counting the dots above the line reverses the comparison and gives 5.For the line of best fit to overestimate an apartment's cost, the line's prediction must be higher than the actual cost, so the dot sits strictly below the line. Including (800,100), which is right on the line, gives 4.
If the line overestimated the heating cost, is the line sitting higher or lower than that apartment's dot?
For the line of best fit to overestimate an apartment's cost, the line's prediction must be higher than the actual cost, so the dot sits strictly below the line. (Counting the dots above the line reverses the comparison and gives 5, and including (800,100), which is right on the line, gives 4.) Comparing the dots to the line through (500,70),(800,100), and (1300,150), only (600,65),(900,95), and (1100,115) sit below the line, so the answer is 3.
4
The scatterplot shows the daily sunlight and total number of blossoms for 11 tomato plants, along with a line of best fit. What is the median number of blossoms for the 11 plants?
With 11 plants, which dot, counting up by height, holds the middle blossom count? And should the fitted line play any role?
The question asks about the actual tomato plants, so ignore the line of best fit (reading the line's height at the middle x-value 6 gives Choice C, 28). For 11 dots, the median is the 6th value in order, and for blossoms you count bottom to top. Counting to the 6th dot from left to right instead lands on x=6 hours (Choice A) and its dot (6,33) (Choice D). Counting up by height gives 14,17,20,22,24, and the 6th dot up is (5,25), which is B) 25.
5
A coach recorded the speaking rate, in words per minute, of 10 students during two practices. What percentage of the 10 students had a higher speaking rate on Practice 2 than on Practice 1?
Draw the diagonal through (100,100),(130,130), and (160,160) where both practice rates are equal. Which side of that line has a higher Practice 2 rate?
Sketch the equal-rate diagonal through (100,100),(130,130), and (160,160). A student spoke faster on Practice 2 wherever their dot lies strictly above that diagonal. Counting below the diagonal flips the two practices and gives 30% (Choice A), and counting (115,115), which is a tie right on the diagonal, gives 70% (Choice D). The 6 dots above the diagonal are (105,120),(110,125),(120,135),(130,145),(135,150), and (145,155), which is 106=C) 60%.
6
In Data Set 1, the points on a scatterplot cluster very tightly around a line of best fit with slope −0.4. In Data Set 2, the points form a wide, loose scatter trending upward around a line of best fit with slope 3.5. Which pair of correlation coefficients r1 and r2 could belong to Data Set 1 and Data Set 2, respectively? ACT
Separate direction from tightness: what controls the sign of r, and does a steeper slope make r closer to 1?
A correlation coefficient r always stays between −1 and +1 and is not the slope (ruling out C, where r2=3.50). Downhill Data Set 1 needs a negative r1 and uphill Data Set 2 needs a positive r2 (ruling out D). Tightness, not steepness, controls how close r gets to ±1. Mistaking Data Set 2's steeper slope of 3.5 for a tighter fit gives Choice B. Data Set 1's tight cluster puts r1 near −1(−0.94), and Data Set 2's loose scatter puts r2 much closer to 0(0.45), so the answer is A).
7
The scatterplot shows the soil temperature x, in °F, and seedling growth y, in millimeters, for 10 trays of seedlings, along with a line of best fit. Which equation represents the line of best fit?
Find the slope from two points on the line rather than the dots, then check the bottom-left corner to see whether the left edge is at x=0.
Read two points the line passes through exactly, (40,90) and (60,120). Using the data dots (50,110) and (70,130) instead gives slope 1 and Choice A. From (40,90) to (60,120) goes right 20 and up 30, so m=2030=1.5. The horizontal axis starts at 40, not 0, so reading the left edge (40,90) as the y-intercept gives Choice C (y=1.5x+90). Stepping 40 units back to x=0 drops the height by 40(1.5)=60 (adding 60 instead gives Choice B, 150), landing at 90−60=30.
Desmos check: Graph `y = 1.5x + 30` and confirm that it passes through (40,90) and (60,120), while `y = 1.5x + 90` is at 150 when x=40. Stepping backward in your head, or plugging x=40 into the choices, is faster on the test. The answer is D) y=1.5x+30.
8
A food truck owner recorded the number of lunch customers and lemonade sales, in dollars, on 6 Saturdays, along with the line of best fit. For the Saturday with the greatest positive residual, actual lemonade sales were p% greater than the sales predicted by the line of best fit. What is the value of p?SAT
Divide 36 by the number right after than, the predicted sales of 150, not the actual sales of 186 (which would give 18636≈19.4).
Which side of the line gives a positive residual? And in "greater than the sales predicted," which number goes in the denominator?
A positive residual needs a dot above the line. The big gap at (80,145) is below the line's (80,190), so its residual is −45, not positive. Checking the dots above y=2x+30 gives residuals of 140−130=+10 at x=50,186−150=+36 at x=60, and 220−210=+10 at x=90, so the greatest positive residual is +36. Divide 36 by the number right after than, the predicted sales of 150, not the actual sales of 186 (which would give 18636≈19.4):
15036=0.24=24%
So p=24.
9
A line of best fit is drawn for all 10 data points shown in the scatterplot. If the outlier at (1,85) is removed and a new line of best fit is drawn for the remaining 9 points, how do the slope and the y-intercept of the line of best fit change?
Picture (1,85) pulling the left end of the line upward like a rubber band. When you remove it and the left end drops toward (1,22), what happens to where the line crosses the vertical axis and how steeply it climbs?
Sitting high near the vertical axis, the outlier (1,85) pulls the left end of the line upward and flattens its tilt. Removing (1,85) lets the left end drop back down toward (1,22) while the right end stays near (9,68). Dropping the left end lowers where the line crosses the vertical axis, so the y-intercept decreases. Don't assume removing a high point lowers everything (Choice D): with the left end lower and the right end still high, the line tilts steeper, so the slope increases (C).
10
A chemist measured the mass y, in milligrams, of an active compound remaining in a solution x hours after mixing. Which equation best models the relationship between x and y?
First use the way the dots flatten out on the right to rule out equations with the wrong kind of curve, then plug x=1 into the remaining choices.
The dots drop fast and flatten out just above 0 without turning back up. That rules out exponential growth in Choice C (1.5>1) and the quadratic in Choice D: even though 10x2−80x+160 matches (0,160) and (2,40), it hits 0 at x=4 and turns back up to 40 at x=6. Both decay equations give 160 at x=0, so plug in x=1. Choice B drops all the way to 160(0.25)1=40, which matches the height at 2 hours (41), not at 1 hour. Choice A gives 160(0.5)1=80, right next to (1,78).
Desmos route: Graph `y = 160(0.5)^x`, `y = 160(0.25)^x`, `y = 160(1.5)^x`, and `y = 10x^2 - 80x + 160` for x from 0 to 6. The quadratic bounces back up past x=4, the 1.5 curve climbs off the top, `y = 160(0.25)^x` is already down to 40 at x=1, and `y = 160(0.5)^x` passes through (1,80),(2,40), and (3,20), right next to the dots. Ruling out by shape and testing x=1 in your head is faster on the test. The answer is A) y=160(0.5)x.