Lesson 21

The Slope of a Fitted Line

21.1: Estimating Slope (5 minutes)

Warm-up

The purpose of this warm-up is for students to estimate the slope of a line given points that are close to the line, but not on the line. This prepares students for thinking about the model's fit to data in the rest of the lesson.

Launch

Arrange students in groups of 2. Give 1 minute of quiet work time followed by 1 minute to discuss their solution with their partner. Follow with a whole-class discussion. 

Student Facing

Estimate the slope of the line.

Scatterplot, x, negative 10 to 10 by 5, y, negative 10 to 10 by 5. Points at negative 4 comma negative 6, 5 comma 2, 8 comma 3. Line passes just above first point, just below second point.


 

Student Response

For access, consult one of our IM Certified Partners.

Activity Synthesis

Poll the class and ask students if their estimated slope was close to their partner's estimate. Select 2–3 groups who had close estimates to share their solutions and explain their reasoning. Display the graph with the single line and record the students' responses next to the graph for all to see.

If students do not mention that it is better to use points that are far apart rather than close together for estimating the slope, consider displaying this graph for all to see:

Various lines on a coordinate plane.

To remind students of previous work, draw a slope triangle whose horizontal side has a length of 1, demonstrating that the length of the vertical side is equal to the slope of the line.

21.2: Describing Linear Associations (10 minutes)

Activity

Students practice using precise wording (MP6) to describe the positive or negative association between two variables given scatter plots of data.

Launch

Display the scatterplot for all to see. Remind students that we investigated the relationship between car weight and fuel efficiency earlier.

Scatterplot with line of best fit.

Ask students how they would describe the relationship between weight and fuel efficiency. After 30 seconds of quiet think time, select 1–2 students to share their responses. (The scatter plot shows that for these cars, as the weight of a car increases, its fuel efficiency decreases.)

Give students 3–5 minutes to construct similar sentences to describe scatter plots of three other data sets followed by a whole-class discussion.

Student Facing

For each scatter plot, decide if there is an association between the two variables, and describe the situation using one of these sentences:

  • For these data, as ________________ increases, ________________ tends to increase.
  • For these data, as ________________ increases, ________________ tends to decrease.
  • For these data, ________________ and ________________ do not appear to be related.
Scatterplot.
Scatterplot.
Scatterplot.

Student Response

For access, consult one of our IM Certified Partners.

Anticipated Misconceptions

Students may assume they need to use each sentence exactly one time. Let them know it is acceptable to use a sentence more than once and that it is acceptable to not use a sentence.

Activity Synthesis

The purpose of the discussion is to talk about trends in data based on the representations in scatter plots.

Consider asking some of the following questions:

  • “Is it surprising that the price decreases as mileage increases? Why doesn’t mileage predict price perfectly?” (There are other factors, like whether the car has any damage or has any extra features.)
  • “Is it surprising that heavier diamonds cost more? Why doesn’t weight predict price perfectly?” (There are other factors, like the cut, the clarity, etc.)
  • “Is it surprising that energy consumption goes up as the temperature increases?” (No, because of air conditioning.)

For the last scatter plot, highlight the outliers by asking:

  • “What might cause more energy consumption on a cool day?” (Laundry, using power tools, etc.)
  • “What might cause less energy consumption on a hot day?” (Being gone from home, etc.)

Students may notice that the association between high temperature and energy consumed is more variable than the other situations. There is still a positive association or positive trend, but we would describe the association as “weaker.”

Speaking: MLR8 Discussion Supports. Use this routine to amplify mathematical uses of language to communicate about the relationship between the two quantities represented in each scatter plot. As students describe the trends, press for details by requesting that students challenge an idea, elaborate on an idea, or give an example of their process. Revoice student ideas to model mathematical language use in order to clarify, apply appropriate language, and involve more students.
Design Principle(s): Support sense-making; Optimize output (for explanation)

21.3: Interpreting Slopes (10 minutes)

Activity

In the previous activity, students noticed trends in the data from the scatter plot. In this activity, the association is made more precise by looking at equations and graphs of linear models for the data to determine the slope. The numerical value of the slope is then interpreted in the context of the problem (MP2). 

Launch

Remind students that earlier we looked at the price and mileage of some used cars. We saw that for these used cars, the price tends to decrease as the mileage increases. Display the scatter plot and linear model for the data.

Scatterplot with line of best fit.

Tell students that an equation for the line is \(y=\text-0.073x+17,\!404.485\). From the equation we can identify the slope of the line as -0.073. Ask students to think about what that slope tells us and give quiet think time. Select 1–2 students to share their thinking. (It means that for every increase of one mile, the model predicts that the price of the car will decrease by $0.073.) Tell students that in this activity they will determine what the slope of the model means for three different sets of data.

Action and Expression: Internalize Executive Functions. Chunk this task into more manageable parts to support students who benefit from support with organization and problem solving. For example, present only one scatter plot at a time.
Supports accessibility for: Organization; Attention
Speaking, Writing: MLR8 Discussion Supports. Provide a sentence frame to scaffold students’ language when describing the meaning of slope in each representation. For example, “If the _________ increases by 1 _________ , the model predicts that ___________ (increases/decreases) by ___________ .”
Design Principle: Maximize meta-awareness; Optimize output (for explanation)

Student Facing

For each of the situations, a linear model for some data is shown.

  1. What is the slope of the line in the scatter plot for each situation?
  2. What is the meaning of the slope in that situation?

\(y=5,\!520.619x-1,\!091.393\)

A scatterplot.

\(y=\text-0.011x+40.604\)

A scatterplot.

 

\(y=0.59x-21.912\)

A scatterplot.

Student Response

For access, consult one of our IM Certified Partners.

Student Facing

Are you ready for more?

The scatter plot shows the weight and fuel efficiency data used in an earlier lesson along with a linear model represented by the equation \(y = \text-0.0114 x +41.3021\).

A scatterplot, x, mileage, 0 to 150, 000 by 30,000, y, price, 6000 to 21,000 by 3000. Points lie above and below the line y = negative 0 point 0 7 3 + 17 thousand, 4 hundred 4 point 4 8 5.
  1. What is the value of the slope and what does it mean in this context?
  2. What does the other number in the equation represent on the graph? What does it mean in context?
  3. Use the equation to predict the fuel efficiency of a car that weighs 100 kilograms.
  4. Use the equation to predict the weight of a car that has a fuel efficiency of 22 mpg.
  5. Which of these two predictions probably fits reality better? Explain.
     

Student Response

For access, consult one of our IM Certified Partners.

Activity Synthesis

The purpose of this discussion is to develop a quantitative sense of trends based on linear models of the data.

Consider asking some of the following questions:

  • “What was the easiest way to find the slope for each situation?” (The coefficient of the \(x\)-coordinate in the equation.)
  • “Do the answers for the meaning of the slopes make sense in the contexts of the problem?” (Yes. Diamonds are usually expensive, so a 1 carat increase is likely to cost a lot more. A 1 kilogram difference in the weight of a car is not very much, so it may lower the gas mileage, but not by much. A 1 degree temperature increase is not significant, so it should not need a lot more energy to cool off a building, but some would be needed.)
  • “What is the difference between a positive slope and negative slope in your interpretations?” (A positive slope means both variables increase together. A negative slope means that when one variable increases, the other decreases.)
  • “The model for energy consumption and temperature predicted a 0.59 kilowatt hour increase in energy consumption for every 1 degree increase in temperature. Estimate how much the temperature would need to increase to raise energy consumption by 6 kilowatt hours.” (A little more than 10 degrees.)

21.4: Positive or Negative? (10 minutes)

Activity

This activity returns to scatter plots without linear models given. Students determine whether the data seems to have a linear association or not. If it does, students are asked to decide whether the variables have a positive or negative association (MP4). 

Launch

Tell students that while some data sets have a linear association, others do not. A linear association is present when the points in a scatter plot suggest that a linear model would fit the data well. Some data sets have a non-linear association when the scatter plot suggests that a non-linear curve would fit the data better. Still other data sets have no association when the data appears random and no curve would represent the data well.

In this activity, students first need to identify if data has a linear association or not and, if it does, what type of slope a linear model of the data would have.

Representation: Develop Language and Symbols.  Create a display of important terms and vocabulary. Invite students to suggest language or diagrams to include that will support their understanding of linear association, no association, positive association, and negative association.
Supports accessibility for: Memory; Language

Student Facing

  1. For each of the scatter plots, decide whether it makes sense to fit a linear model to the data. If it does, would the graph of the model have a positive slope, a negative slope, or a slope of zero?

    Five scatterplots.
  2. Which of these scatter plots show evidence of a positive association between the variables? Of a negative association? Which do not appear to show an association?

Student Response

For access, consult one of our IM Certified Partners.

Activity Synthesis

The purpose of this discussion is to solidify understanding of trends in scatter plots and look for associations in the data.

Some questions for discussion:

  • “What strategy did you use to determine if the data had a linear association?” (If a single line was fairly close to all of the points, I said it has a linear association.)
  • “Would you be able to notice a linear association from the data in a table?” (It might be possible by finding the slope between each pair of points and seeing if they are close, but would be very difficult. Using a scatter plot is much easier.)
  • “What does it mean to have a positive association?” (When one of the variables increases, the other does, too.)
  • “How did you determine if the data had a positive association?” (When the points generally go from the bottom left to the top right, there should be a positive association.)
  • “What are other pairs of things that you conjecture would have a negative, linear association?”
Writing: MLR1 Stronger and Clearer Each Time. Use this routine to give students a structured opportunity to revise their response to the last question. Ask each student to meet with 2–3 other partners in a row for feedback. Provide students with prompts for feedback that will help students strengthen their ideas and clarify their language (e.g., “Why do you think it’s a positive association?”, “How did you determine the association between the two quantities?”, and “How could you incorporate an example from the data set to support your ideas?”, etc.). Students can borrow ideas and language from each partner to strengthen their final explanation.
Design Principle(s): Optimize output (for explanation)

Lesson Synthesis

Lesson Synthesis

Display the scatter plot for all to see.

Scatterplot. 

To highlight the main ideas from the lesson about the meaning of the slope of a fitted line, ask:

  • “How would you describe the trend in the scatter plot?” (As a the height of a dog increases, its weight tends to increase.)
  • “When there is an association between two variables, how can we tell if it is a positive association or a negative one?” (If the dependent variable tends to increase as the independent variable increases, it is a positive association, and if the dependent variable tends to decrease, it is a negative association. Also, a line that is a good fit for the data will have a positive slope (negative slope, respectively).)
  • “The slope of a line that models the data is 4.25. What does that tell us about the dogs?” (For every 1 inch increase in dog height, the predicted weight increase is 4.25 pounds.)

21.5: Cool-down - Trends in the Price of Used Cars (5 minutes)

Cool-Down

For access, consult one of our IM Certified Partners.

Student Lesson Summary

Student Facing

Here is a scatter plot that we have seen before. As noted earlier, we can see from the scatter plot that taller dogs tend to weigh more than shorter dogs. Another way to say it is that weight tends to increase as height increases. When we have a positive association between two variables, an increase in one means there tends to be an increase in the other.

Scatterplot. 

We can quantify this tendency by fitting a line to the data and finding its slope. For example, the equation of the fitted line is \(\displaystyle w = 4.27h -37\) where \(h\) is the height of the dog and \(w\) is the predicted weight of the dog.

A scatterplot, horizontal, dog height in inches, 6 to 30 by 3, vertical, 0 to 112 by 16. Same scatterplot as previous, this time with a line through 9 comma 0 and 27 comma 80.

The slope is 4.27, which tells us that for every 1-inch increase in dog height, the weight is predicted to increase by 4.27 pounds.

In our example of the fuel efficiency and weight of a car, the slope of the fitted line shown is -0.01.

Scatterplot, weight, kilograms, 1000 to 2500 by 250, fuel efficiency, miles per gallon, 14 to 32 by 2. Points are arranged close to the line through 1100 comma 28 down and right through 2300 comma 14.

This tells us that for every 1-kilogram increase in the weight of the car, the fuel efficiency is predicted to decrease by 0.01 miles per gallon. When we have a negative association between two variables, an increase in one means there tends to be a decrease in the other.