Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

3.2.2 Determining the Best Line That Fits the Data

Algebra 13.2.2 Determining the Best Line That Fits the Data

Search for key terms or text.

Activity

Your teacher will give you a set of cards that show scatter plots.

Arrange all the cards in three different ways. Ensure that you and your partner agree on each arrangement before moving on to the next one. Sort all the cards in order from:

  • best to worst for representing with a linear model
  • least to greatest slope of a linear model that fits the data well
  • least to greatest vertical intercept of a linear model that fits the data well

Know that the line of best fit is the line that provides the best fit to the data. It should follow the trend of the data and go through the middle of the data with a similar number of points on each side of the line.

1.

What is the order of the cards that displays the best to worst representations of a linear model?

2.

What is the order of the cards that displays the least to greatest slope representations of a linear model that fits the data well?

3.

What is the order of the cards that displays the least to greatest vertical intercept of a linear model that fits the data well?

4.

For each card, write a sentence that describes how yy changes as xx increases and whether the linear model is a good fit for the data or not.

Building Character: Purpose

A person in an orange jacket climbs a ladder toward a glowing star in the sky, surrounded by clouds and birds, symbolizing reaching for goals or aspirations.

Having purpose is showing a commitment to making a meaningful contribution to the world. Purpose drives you to make positive contributions in line with your own interests and strengths.

Think about your current sense of purpose. Are the following statements true for you??

  • I often reflect on my life goals and the kind of person I want to be.
  • I often think about what matters most to me and why it matters.

Don’t worry if none of these statements are true for you. Developing this trait takes time. Your first step starts today!

Self Check

Tell which line is the best fit for the data and give an explanation why it is the best fit.

TWO SCATTER PLOTS WITH X-AXIS LABEL OF INDEPENDENT VARIABLE AND Y-AXIS LABEL OF RESPONSE VARIABLE. SCATTER PLOT ON THE LEFT SHOWS FIVE PLOTTED POINTS AND THE LINE Y EQUALS NEGATIVE NINE-TENTHS X PLUS FORTY-FIVE. SCATTER PLOT ON THE RIGHT SHOWS THE SAME PLOTTED POINTS AND THE LINE Y EQUALS NEGATIVE SEVEN-TENTHS X PLUS FORTY.

  1. Line 1 is the best fit because it has a steeper slope.
  2. Line 2 is the best fit because it goes through the middle of the data with about the same number of data points above and below the line.
  3. Line 2 is the best fit because it touches the last point on the right of the scatter plot.
  4. Line 1 is the best fit because it touches the first point on the left of the scatter plot.

Additional Resources

Draw a Best-Fit Line for the Plotted Data

When looking to draw a line of best fit, first make sure a linear model works for the data.

Next, place the line between the data points so that about the same number of points are above and below the line. The aim is to also have points within a close distance to the line of best fit.

Below are two examples of lines of best fit drawn through scatter plots.

1.

Scatter plot with a line of best fit drawn going through the points so that six points lie above the line and four points lie below the line.

2.

Scatter plot with a line of best fit drawn going through the points so that two points lie above the line, six points lie below the line, and two points lie on the line.

Try it

Try It: Draw a Best-fit Line for the Plotted Data

The scatter plots below are the same scatter plot, but each student drew their best fit line differently. Which line do you believe to be the best fit, and why?

Four scatter plots with body mass in pounds on the x-axis and bite force in pounds on the y-axis. Each scatter plot shows the same plotted data, but different lines of fit are drawn on the four plots. All lines increase from left to right.
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.