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

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.

Glossary
axis of symmetry

a line on either side of which a line, curve, or shape is the reflection of the other

maximum

the largest value in a dataset

minimum

the smallest value in a dataset

parabola

A symmetric, U-shaped curve drawn by a quadratic relationship, or by intersecting a plane with a circular cone.

quadratic relationship

A mathematical relation between two variables, x and y, in which the dominant term is squared. When graphed, a quadratic relationship appears as a parabola

vertex

a point where two or more lines or curves meet (in a parabola, the vertex is the maximum or minimum)

x-intercept

the point where a line or curve crosses the x-axis of a graph (also called the 'root' or 'zero' because this is the x-value for which y=0)

🔗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 travelling. First, we’ll explore a dataset and see if this relationship is linear.

NOTE: While 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. But we know that the best-possible linear model isn’t very good!

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

…​but all of them are so far away from so many points, all three models will make very 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 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 are great for fitting simple relationships. But the real world isn’t so simple, and linear models are often just too primitive to handle that complexity.

Relationships like the one in the fuel efficiency scatter plot are best described by a curve. Today, we will learn about one kind of curved model called a quadratic model. 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.

We observed what appeared to be a quadratic relationship between speed and fuel efficiency, where fuel-efficiency increased up to a certain speed, then decreased again.

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 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.

  • 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 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). One of the first two tables (below) 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

  • Which table is quadratic? Which one is linear? What do you Notice? What do you Wonder?

    • The first table is quadratic, and the second table is linear. Invite students to share their Noticings and Wonderings.

  • 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.

Invite students to share what they know or can infer about a parabola’s parts. If needed, provide the definitions on the table below, which refer to specific points on a parabola.

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 maximum is the vertex of a parabola that "opens up."

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

For parabolas representing y as a quadratic function x 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 labelling 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?

    • The location of the minima or maximum in relationship to the x-axis determines the number of roots.

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

    • A minima is the vertex of a parabola that opens up, while a maximum 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.

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 + 𝑘

What do each of these coefficients mean for our model?

  • How do you translate a parabola left and right?

    • Change the value of

  • How do you translate a parabola up and down?

    • Change the value of 𝑘

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

    • Change the value of 𝑎

We know that in the speed-v-fuel efficiency model is the x-coordinate of our vertex, and that the vertex of our efficiency curve is predicted at roughly 45𝑚𝑝ℎ. All we need to do is figure out 𝑎 and 𝑘!

Before we focus on that, we need to learn about a new Pyret function num-sqr.

Why is this Relationship Quadratic?

You may be wondering 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.

Synthesize

  • What was the highest 𝑅2 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 exist as a straight line (𝑎 = 0) Negative 𝑎 made the parabola open down. 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.