instagram

Students investigate quadratic relationships in data about Fuel Efficiency, using an inquiry-based model, involving hypothesizing, experimental and computational modeling, and sense-making.

Lesson Goals

Students will be able to…​

  • Read and interpret real-world data, presented in a scatter plot

  • Model quadratic relationships using functions

Student-facing Lesson Goals

  • Let’s use Pyret to model quadratic relationships in data.

Materials

Supplemental Materials

Preparation

  • Much of the exploration in this lesson hinges on a custom-built interactive Desmos activity.
    You will want to:

    • Open Exploring Quadratic Functions (Desmos).

    • Make a link or code to share with your students.

    • Decide how you will share the link or code with students and, if you are using our Google Slides, add the appropriate link to the slide deck.

  • If you’re a first-time Desmos user, fear not! Here’s what you need to do.

Key Points For The Facilitator

  • Unlike linear functions, which are governed by slope and y-intercept, quadratic functions are governed by the behavior of three factors.

  • Students should gain an intuition for these factors by playing with them first in Desmos, then use them to fit a model in Pyret.

🔗Looking for Patterns 45 minutes

Overview

Students explore the Fuel Efficiency Starter File, and create scatter plots to search for relationships between columns. They share and discuss their findings with the class, discovering the limitations of linear models.

Launch

These questions are intended to spark student interest in fuel efficiency, which students will explore in this lesson.

Since 1992, there have been laws about what information must be printed onto the labels of cars for sale. What do you think consumers should know about cars they are considering buying?

  • Have you heard the term "fuel efficiency" before? What do you know about fuel efficiency?

    • Fuel efficiency is the number of miles that a car can travel per gallon. Since 2013, labels on cars for sale must include: fuel efficiency, energy use, fuel cost, and environmental impact.

  • What factors influence fuel efficiency?

    • Possible responses:

    • Efficient driving (e.g., gradual acceleration and braking, using cruise control)

    • car maintenance

    • planning / combining trips

    • choosing a more fuel efficient vehicle

    • avoiding carrying excess weight in a vehicle

  • Do you think the speed at which you drive influences fuel efficiency? Why or why not?

  • At what speeds do you predict that fuel efficiency is the best? The worst?

    • Invite students to share and explain their responses.

In this lesson, we’ll learn more about the relationship between fuel efficiency and the speed a car is traveling.

First, we’ll explore a dataset and see if this relationship is linear.

NOTE: While this dataset is based on real data obtained from the Transportation Energy Book, it has been augmented with fictional data in order to provide a sufficiently-rich dataset for student modeling. You can find out more about this augmentation in the README tab of the dataset.

Investigate

There’s definitely a relationship here…​ a tight cluster of points around a parabola, with a quadratic curve fit to the points

But linear models don’t seem to fit very well!

We could build linear models that fit the increasing half of the data…​

We could build linear models that fit the decreasing half of the data…​

We could build linear models that try to split the difference…​

a tight cluster of points around a parabola, with a straight line cutting across

a tight cluster of points around a parabola, with a straight line cutting across

a tight cluster of points around a parabola, with a straight line cutting across

All of them are far away from so many points, and will make poor predictions for a large subset of x-values.

  • Complete the rest of Exploring the Fuel Efficiency Dataset. Be ready to share back and describe the curve you drew.

  • When you’re driving, what speed will save you the most money on gas?

Even though some cars are more efficient than others, fuel efficiency generally increases from 15mph to around 40-55mph. After that, fuel efficiency generally decreases!

Review student answers to confirm that students see a nonlinear relationship in the dataset that is fairly strong. Students should generally agree that the relationship is better fit by a curve, with efficiency peaking roughly at 45mpg. Make sure students have agreed on this vertex, as its location is important for the next activity!

Have students share their curves, encouraging them to identify where they "peak" and where they cross the x-axis. These locations will be important anchor concepts on which to build in the next section. (One option for facilitating sharing is to project the scatter plot on a whiteboard and have students come up and draw all of their curves on it).

Synthesize

  • Why don’t linear models work to model the relationship between fuel efficiency and speed?

  • What kinds of curves did you draw that fit better?

  • Are there any mathematical functions that look like those curves?

🔗Quadratic Functions 45 minutes

Overview

Students are introduced to quadratic functions. They become familiar with scenarios involving quadratics and terminology to describe parabolas. They also learn how to identify quadratic sequences, and then explore each of the coefficients in Vertex Form.

Launch

Linear models work well for fitting simple relationships, but many relationships in the real world are more complex! Linear models are often too primitive.

The relationship we observe between speed and fuel efficiency appears to best be described by a curve, where fuel-efficiency increases up to a certain speed, and then decreases again.

Today, we will learn about one kind of curved model called a quadratic relationship. Graphs of quadratic relationships are often described as "u-shaped" or "looking like an arch". More formally, mathematicians and data scientists call these kinds of curves parabolas.

There are lots of relationships that change direction like this! For example, when an athlete is young, they improve as they get stronger and more skilled. But as they age, they begin to lose their speed and strength.

In some quadratic relationships, the curve goes the other way - decreasing, bottoming out, and then rising again. For example, a bird might swoop down to the water to catch a fish and then fly back up to carry it away, with the height of the bird tracing out a downward-facing parabola over time.

  • Can you think of any other real-world relationships that quadratic functions might do a good job of modeling?

    • A ball dropped from a tall building will get faster and faster as it falls.

    • Many nutrients are good for you, and the more you take the healthier you are…​up to a point. After that, too much of a mineral or vitamin can cause problems.

    • A ball thrown in the air will rise quickly, slow down, peak, and then begin to fall.

    • The temperature of a puddle will warm and then cool over the course of the day.

    • The length of a shadow is long in the morning and shortens til the sun is overhead, after which it slowly lengthens til the sun sets.

Turn to What Kind of Model? (Descriptions) and practice identifying whether the scenarios are best modeled by linear or quadratic relationships.

Investigate

Although the examples we just discussed include the characteristic rising and falling or falling and rising of the parabola, we might encounter datasets that include only the rising part of the parabola or only the falling part.

But what if we only have a list of x-y pairs showing only one part of the parabola?
How can we identify quadratic relationships from a sequence of numbers?

A table with columns for x (1,2,3,4) and y (5,7,9,11), and arrows showing what is added between the y-values (2,2,2,2).Remember that linear functions grow by fixed intervals, so the rate of change is constant. In the table shown here, each time the x-value increased by 1, we saw that the y-value increased by 2. This is true for any set of equal-sized intervals: a line needs to slope up or down at a constant rate in order to be a straight line!

If the rate of growth is constant, the relationship is linear.

A table with columns for x (1,2,3,4) and y (5,8,13,20), arrows showing what is added between the y-values (3,5,7), and a second set of arrows showing what is added between the first arrows (2,2). Quadratic functions grow by intervals that increase by fixed amounts! In the table to the right, the blue arrows show a differently-sized jump between identical intervals time, meaning the function is definitely not linear! However, if we take a look at the difference between those differences(shown in red), we’re back to constant growth!

If the "growth of the growth" is constant, the relationship is quadratic.

Turn to What Kind of Model? (Tables), and look at the first two tables on the page (shown below). One of them shows a linear progression, while the other shows a quadratic progression.

1

x

0

1

2

3

4

5

6

y

5

6

9

14

21

30

41

2

x

0

1

2

3

4

5

6

y

0

3

6

9

12

15

18

  • What do you Notice? What do you Wonder?

  • Which one is linear, and how do you know?

    • The second table is linear, because the y values growth is constant relative to x.

  • Which one is quadratic, and how do you know?

    • The first table is quadratic, because the y values "growth of the growth" is constant relative to x.

  • Identify whether each of the remaining tables on What Kind of Model? (Tables) is quadratic, linear or neither.

  • Use the space to the right of the table to show any computations or work that you deem useful.

Debrief with students and allow them to share the different strategies that they used. Note: When looking at real-world datasets that can be modeled by linear or quadratic functions, these patterns will not be evident in the tables, because the points won’t fit the function perfectly!

When we graph these points on a plane, they draw our parabola. As we work with parabolas - and eventually fit them to our Fuel Efficiency dataset - we need to know how to talk about and describe them.
Let’s define the parts of a parabola together.

  • Linear relationships can be described with terms like "slope" and "y-intercept". But what about quadratic relationships? Do parabolas have slope?

    • No. They curve because they do not have a constant rate of change.

  • Do all parabolas have x-intercepts?

    • No. Some do and some don’t!

  • Can you point out or describe other important parts of a parabola?

    • Even without knowing the names for these things, students might point to the vertex, the axis of symmetry, etc.

vertex y-intercept x-intercept

a parabola that opens down, and another that opens up. The minima and maxima are labeled.

a parabola whose right segment passes through the y-axis

three parabolas crossing the x-axis once, twice, and not at all

The point at which a parabola "changes direction" and goes from climbing to sinking (or vice versa).

Like linear models, parabolas always cross the y-axis once when 𝑥 = 0.

Also known as roots or zeros. A quadratic function can cross the x-axis once, twice, or not at all.

There are two more specific terms that we can use to describe a parabola’s vertex:

  • The maxima is the vertex of a parabola that "opens up."

  • The minima is the vertex of a parabola that "opens down."

For parabolas representing 𝑦 as a quadratic function of 𝑥 the axis of symmetry is an imaginary, vertical line through the vertex that splits the curve into two congruent parts that mirror each other.

Turn to Parabolas to apply our new terminology by sketching and labeling some graphs.

Synthesize

  • What key characteristics of a scatter plot would provide the clue that we should look for a quadratic model rather than a linear model?

  • Why do some parabolas have roots and others don’t?

    • If the minima is negative, it will fall below the x-axis and the parabola will cross the x-axis twice as it opens up so there will be two roots. Similarly, there will be two roots if the maxima is positive.

    • If the minima or maxima is zero it will fall directly on the x-axis and there will be one root

    • If the minima is greater than zero or the maxima is less than zero, the parabola won’t cross the x-axis and there won’t be any roots.

  • What is the difference between a minima and a maxima?

    • A minima is the vertex of a parabola that opens up, while a maxima is the vertex of a parabola that opens down.

🔗Fitting Quadratic Models 45 minutes

Overview

Students work with the vertex form to fit a quadratic model for the Fuel Efficiency dataset. They extend the model-fitting techniques from the Exploring Linear Models lesson into quadratic relationships and explore the 𝑓(𝑥) = 𝑎(𝑥 − 𝒽)2 + 𝑘 form of quadratic models using a custom Desmos slider activity.

Launch

We just examined a series of quadratic and linear functions that looked a lot like the ones you might find in an Algebra 2 textbook: clean and predictable. Real-world data, however, is messy! Let’s return to our Fuel Efficiency Starter File to dig into that messiness.

  • A scatter plot of the fuel efficiency data has the familiar "rise and fall" pattern of a parabola…​ but there appears to be a "dip" around 40mph.

  • Does that mean we shouldn’t use a quadratic model for the relationship between speed and fuel efficiency? Why or why not?

    • Have students discuss and share back with the class.

    • If necessary, remind students that models are - by definition - approximations of the real world.

The existence of a "dip" like this is normal in real data, but it doesn’t mean that the overall shape of this relationship isn’t quadratic. There’s no such thing as a perfect model!

Investigate

Let’s try to build the best possible quadratic model we can for our Fuel Efficiency dataset.

One form of a quadratic model looks like this: 𝑓(𝑥) = 𝑎(𝑥 − 𝒽)2 + 𝑘

Let’s find out what each of these coefficients mean for our model.

Make sure you have created a link or code for your class to Exploring Quadratic Functions (Desmos).

Quadratic Coefficient (𝑎)

  • How do you make a parabola "narrower" or "wider"?

    • Change the value of 𝑎

  • How do you know whether to parabola opens up or down?

    • If 𝑎 is negative, it will open down. If 𝑎 is positive, it will open up.

  • What value of 𝑎 will result in a linear model?

    • Zero

The quadratic coefficient 𝑎 tells us whether the parabola opens up or down, and how tightly it hugs the axis of symmetry.

Horizontal Shift (𝒽)

  • How do you translate a parabola to the left?

    • Increase the value of 𝒽.

  • How do you translate a parabola to the right?

    • Decrease the value of 𝒽.

  • What does an 𝒽 of zero tell us about the axis of symmetry?

    • It’s the y-axis.

The horizontal shift 𝒽 tells us where the axis of symmetry hits the x-axis, which means it also tells us the x-coordinate of the vertex.

Vertical Shift (𝑘)

  • How do you translate a parabola up and down?

    • Change the value of 𝑘

  • How can you find the coordinates of the parabola’s vertex, just by looking at the equation?

    • 𝒽 tells us the x-coordinate, and 𝑘 tells us the y-coordinate.

Like the y-intercept of a linear model, the vertical shift translates the parabola up and down.

Now that we know how 𝑎, 𝒽and 𝑘 shape a parabola, let’s work on modelling our data!

Students may wonder why fuel efficiency is a function of the square of the speed, rather than the speed itself!

Physicists have determined that the drag of a moving object (that is, the effect of air slowing it down) is calculated based on squared velocity. Additionally, a cars' transmission uses more efficient gears for higher speeds (the engine can turn more slowly at higher gears), but rarely does a car have a gear optimized for speeds above 65mph. As a result efficiency falls sharply once the "highest" gear is reached, as higher speeds require the engine to run faster.

Optional Activity: Guess the Model!

  1. Divide students into teams of 2-4, and have each team come up with a quadratic, real-world scenario, then have them write down a quadratic function that fits this scenario on a sticky note. Make sure no one else can see the function!

  2. On the board or some flip-chart paper, have each team draw a scatter plot for which their quadratic function is best fit. They should only draw the point cloud - not the function itself! Finally, students title display to describe their real-world scenario (e.g. - "percentage of people wearing diapers vs. age").

  3. Have teams switch places or rotate, so that each team is in front of another team’s scatter plot. Have them figure out the original function, write their best guess on a sticky note, and stick it next to the plot.

  4. Have teams return to their original scatter plot, and look at the model their colleagues guessed. How close were they? What strategies did the class use to figure out the model?

    • The coefficients can be constrained to make the activity easier or harder. For example, limiting these coefficients to whole numbers, positive numbers, etc.

    • To extend the activity, have the teams continue rotating so that each group adds their sticky note for the best-guess model. Then do a gallery walk so that students can reflect: were the models all pretty close? All over the place? Were the guesses for one coefficient grouped more tightly than the guesses for another?

Synthesize

  • What was the lowest 𝑆-value you were able to get?

  • What did you figure out about how adjusting 𝑎 changed the shape of the parabola?

    • The sign of 𝑎 determines whether the parabola:

      • opens up (𝑎 > 0)

      • opens down (𝑎 < 0)

      • or exists as a straight line (𝑎 = 0)

    • The magnitude of 𝑎 determines how "tight" or "steep" the parabola is, with larger magnitudes creating tighter parabolas and values closer to zero creating wider ones.

🔗Additional Exercises

Coming Soon!

We are working on collecting more datasets that can be modeled with quadratic functions so that we can offer students more practice with building quadratic models and engage them in thinking about which form is most efficient to start with depending on the available data.

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.