Line of Best Fit
A free Algebra I lesson from the “Statistics and Data Analysis” unit, with a worked example and practice problems including step-by-step solutions.
A line of best fit (also called a trend line or linear regression line) is the line that best summarizes a scatter plot. Its slope tells the rate of change between variables; its y-intercept is the predicted value when x = 0. Use it to predict new outcomes. Interpolation is prediction inside the data range; extrapolation is outside (riskier).
What you'll learn
- Estimate a line of best fit from a scatter plot
- Interpret the slope and y-intercept of a trend line in context
- Use a best-fit line to predict outcomes (and recognize interpolation vs. extrapolation)
Worked example
Problem. A best-fit line is y = 5x + 20 for (hours studied, test score). Predict the score after 4 hours.
- Substitute x = 4: y = 5(4) + 20.
- = 20 + 20 = 40.
Answer: 40
Practice problems
1. For y = 2x + 50, predict y when x = 10.
Show solution
- Warm-up: First identify exactly what the question is asking: For y = 2x + 50, predict y when x = 10.
- Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
- y = 20 + 50 = 70.
- Check the result by substituting or estimating: the response should match 70 and make sense in the original problem.
Answer: 70
2. For y = -3x + 100, predict y when x = 5.
Show solution
- Warm-up: First identify exactly what the question is asking: For y = -3x + 100, predict y when x = 5.
- For signed numbers, track both distance from zero and direction so the sign of the answer makes sense.
- y = -15 + 100 = 85.
- Check the result by substituting or estimating: the response should match 85 and make sense in the original problem.
Answer: 85
3. For y = 0.5x + 10, predict y when x = 20.
Show solution
- Warm-up: First identify exactly what the question is asking: For y = 0.5x + 10, predict y when x = 20.
- Use inverse operations to isolate the unknown, and keep both sides balanced at every step.
- y = 10 + 10 = 20.
- Check the result by substituting or estimating: the response should match 20 and make sense in the original problem.
Answer: 20
4. The slope of a best-fit line tells us:
Choices: Rate of change between variables · Range only
Show solution
- Core Practice: First identify exactly what the question is asking: The slope of a best-fit line tells us:
- For slope or rate of change, compare vertical change to horizontal change and keep the sign attached to the direction of the change.
- Slope = change in y per unit change in x.
- Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.
Answer: Rate of change between variables
5. The y-intercept of a best-fit line is:
Choices: Value when x = 0 · Maximum value
Show solution
- Core Practice: First identify exactly what the question is asking: The y-intercept of a best-fit line is:
- For intercepts, remember that an x-intercept has y = 0 and a y-intercept has x = 0.
- That is the definition of y-intercept.
- Verify the selected choice by checking that it satisfies the original prompt and that the other choices fail the same test.
Answer: Value when x = 0
Practice this interactively with instant feedback and an AI tutor.
Practice Line of Best Fit Take the free placement check