Teacher Guide: Line of Best Fit
Learn to draw a line of best fit by eye on a scatter plot, find its equation from two points and explain what its slope and intercept mean.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Regression. Students join with a name, you see everyone's score.
For Teachers
- Draw a line of best fit by eye with about half of the points above and half below it
- Judge whether a given line fits the data and say how to improve it
- Write the equation of a line of best fit from two points on the line
- Interpret the slope and intercept of a line of best fit in context, with units
- Use the mean point to check and adjust a line of best fit
- • Scatter Plots: reading points and describing a trend
- • Slope and slope-intercept form
- • Calculating the mean of a list of numbers
- • Introduction to Regression and Linear Regression (helpful, not required)
- 1. Two classmates drew different lines of best fit for the same data. Can both be right?
- 2. Why is a line through the first and last points often a bad choice?
- 3. What does a negative slope tell you about the situation?
- 4. Can you think of a line of best fit whose intercept makes no sense in real life?
- 5. Why would it help to mark the mean point before drawing the line?
The line must pass through as many data points as possible
Remediation: Show a line that hits 3 points but leaves 5 points on one side. Then show a line that hits none but balances the points. Ask which describes the trend better.
There is exactly one correct line of best fit by eye
Remediation: Let groups draw lines for the same data and compare equations. Slopes like 1.9 and 2.1 are both fine; discuss what makes a line clearly wrong.
The intercept always has a real meaning
Remediation: Use height and arm span, or temperature and lemonade sales. Show that can be far outside the data, so the intercept is only part of the equation.
For Struggling Students:
- • Start with data that has a very clear trend and few points
- • Give two candidate lines and ask only which one fits better
- • Provide lines that cross the y-axis at a grid point so b can be read directly
For On-Level Students:
- • Draw lines by eye and write their equations from two grid points
- • Interpret slope and intercept with units in several contexts
- • Compare class lines with the mean point of the data
For Advanced Students:
- • Compare a line by eye with the least-squares line from technology
- • Find data sets where the intercept has no meaning and explain why
- • Investigate how one outlier moves the line of best fit
- 8.SP.A.2 (CCSS.MATH.CONTENT.8.SP.A.2)
Know that straight lines are widely used to model relationships between two quantitative variables; informally fit a straight line and assess the model fit by judging the closeness of the data points to the line
- 8.SP.A.3 (CCSS.MATH.CONTENT.8.SP.A.3)
Use the equation of a linear model to solve problems in the context of bivariate measurement data, interpreting the slope and intercept
- HSS.ID.B.6.C (CCSS.MATH.CONTENT.HSS.ID.B.6.C)
Fit a linear function for a scatter plot that suggests a linear association
- HSS.ID.C.7 (CCSS.MATH.CONTENT.HSS.ID.C.7)
Interpret the slope (rate of change) and the intercept (constant term) of a linear model in the context of the data
- visualPlace Your Own Line
Students tap two grid points on the scatter plot and see the equation of their line instantly
- activitySpaghetti Line
Students lay a piece of dry spaghetti on a printed scatter plot to find the best position, then compare equations
- worksheetLines of Best Fit Practice
Judge given lines, draw your own and write their equations
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- has about half of the points above it and half below it
- follows the direction of the points (up, down, how steep)
- has the points spread along its whole length, not all above at one end and all below at the other
Worked Examples
Check line B
Check line C
Check line A
Decide
Answer: Line A, , is the best line of best fit. Line B is too high and line C is too flat.
Common Mistakes
Drawing the line from the first data point to the last one
Why it's wrong: The first and last points can be unusual. A line through them often has most points on one side.
Correct: Ignore single points and look at the whole cloud: about half the points above, half below. The line may pass through no point at all.
Balancing the number of points but not following the trend
Why it's wrong: A line that is too flat can have 4 points above and 4 below, but all the low ones sit at the left end and the high ones at the right end.
Correct: Check both ends: near each end of the line there should be points above and below it.
Finding the slope from two data points instead of two points on the line
Why it's wrong: Data points are usually not on the line, so their slope is not the slope of your line.
Correct: Read two points that lie on your drawn line, far apart and on grid crossings, then use .
Reading the slope as a value of y instead of a change
Why it's wrong: In for weeks and push-ups, is not "2 push-ups". It is the change per week.
Correct: Say the slope with both units: about 2 more push-ups per week of training.
Why It Matters
- Sport: a coach sees how fast an athlete improves per week of training
- Shops: a café sees how many fewer hot drinks it sells on every warmer day
- Science: a student finds how fast a plant grows per day from scattered measurements
- Money: a buyer sees how much a used bike loses in value per year
Real World Applications
Training for a Race
Coaches draw a trend line through an athlete's times to see how much faster they get each week.
Example:
A runner's 5 km times drop from about 30 minutes to about 22 minutes over a few weeks. The trend line shows the steady improvement even on bad days.
The line of best fit for a runner's 5 km time (minutes) after weeks passes through and .
What is the slope of the line, in minutes per week?
Step 1: Write the mathematical expression
Slope = change in y divided by change in x:
Lemonade Stand
Small sellers plot temperature against sales to plan how much to prepare.
Example:
On hot days a stand sells many more cups. A trend line through a summer of data shows about how many extra cups each degree brings.
A lemonade stand's line of best fit for temperature (°C) and cups sold passes through and .
What is the y-intercept of this line?
Step 1: Write the mathematical expression
Find the slope, then use :
Plant Growth Experiment
In science class, students measure a plant every few days and use a trend line to describe its growth rate.
Example:
Measurements are never perfect, so the heights scatter a little. The line of best fit gives one growth rate in centimeters per day.
A plant is measured on days with heights cm. The line of best fit has slope and passes through the mean point.
What is the intercept of the line?
Step 1: Write the mathematical expression
Use the mean point in :
Key Takeaways
- 1A line of best fit is a straight line that shows the overall trend of the points on a scatter plot
- 2Draw it by eye so that about half the points are above it and half below, along its whole length
- 3The line follows the direction of the data and may pass through no data point at all
- 4Find its equation from two points on the line: , then
- 5The slope is the change in per unit of ; the intercept is the predicted at , which may have no real meaning
- 6The least-squares line always passes through the mean point , so a good line by eye passes close to it
Frequently Asked Questions
Is there only one correct line of best fit?
Does the line have to go through the origin?
Should I count points that lie exactly on the line?
When should I not draw a line of best fit?
Glossary
- Line of best fit
- A straight line through a scatter plot that shows the overall trend of the data (also called a trend line)
- Slope
- The change in for each increase of 1 in ; along the line,
- Intercept
- The value of where the line crosses the y-axis, at
- Mean point
- The point made of the mean of all x-values and the mean of all y-values (also called the point of means)
- Regression line
- The exact line of best fit found by the least-squares method; it always passes through the mean point
Formula Card
Slope from two points
Use two points on the drawn line, not data points
Intercept
Put one point of the line and the slope into $y = mx + b$
Line of best fit
The equation of the trend line
Mean point
The least-squares line passes through $(\bar{x}, \bar{y})$