Students explore the concept of slope and y-intercept in linear relationships, using function definitions as a third representation (alongside tables and graphs).
Prerequisites |
|||||||||||||||||||
Relevant Standards |
Select one or more standards from the menu on the left (⌘-click on Mac, Ctrl-click elsewhere). Oklahoma Standards
|
||||||||||||||||||
Lesson Goals |
Students will be able to…
|
||||||||||||||||||
Student-facing Lesson Goals |
|
||||||||||||||||||
Materials |
|
||||||||||||||||||
Preparation |
|
||||||||||||||||||
Key Points for the Facilitator |
|
||||||||||||||||||
Language Table |
|
- domain
-
the type or set of inputs that a function expects
- range
-
the type or set of outputs that a function produces
- slope
-
the steepness of a straight line on a graph
- y-intercept
-
The point where a line or curve crosses the y-axis of a graph
🔗Slope and y-Intercept 20 minutes
Overview
Students refine their understanding of linearity, identifying properties like slope and y-intercept in both tables and graphs.
Launch
All linear relationships are defined by slope and y-intercept
Every linear relationship has two properties:
1) The sequence of y-values always changes at a constant rate - called slope - increasing or decreasing by the same amount for each value. On a graph, this value refers to the "steepness" and "direction" of the line.
-
If it goes up as we go from left to right, the slope is positive.
-
If it goes down as we from from left to right, the slope is negative.
-
If it stays perfectly horizontal, the slope is zero.
2) The y-value when x = 0 is called the y-intercept, On a graph, this value is where the line "intercepts" the y-axis.
Take a look at the following Table (shown sideways, with rows going from left-to-right):
x |
1 |
2 |
3 |
4 |
y |
3 |
5 |
7 |
9 |
-
Compute how much y increases by for each increase in x to identify the slope.
-
Identify the y-intercept by finding the y-value when x = 0.
Leave some time for group discussion:
What strategies did you use to compute the slope and y-intercept?
We can see that the y-values increase by 2 each time x increases by 1, giving us a slope of 2. Meanwhile, the row for x = 0 tells us that the y-intercept is 1.
But life isn’t always so simple!
-
What if the table didn’t include x = 0?
-
What if the x-values didn’t increase by 1?
-
What if the other rows were out of order?
-
What if we only had a few random rows, for x = 3 and x = 1?
The slope and y-intercept in this table are much harder to find, because the x-values are out of order and we can’t see a value for x = 0:
x |
3 |
2 |
4 |
6 |
1 |
y |
6 |
4 |
8 |
12 |
2 |
How do we find the slope and y-intercept for our function, without having to sort or extend the table?
If we had the line for this function, we could generate as many points as we need to fill in the table, or to compute the slope and y-intercept. Can we reconstruct that line?
How many points do we need to draw the line?
We can exploit the fact that all linear function form straight lines, and a straight line can be defined with only two points!. That means it is always possible to compute slope and y-intercept, as long as we have just two rows in our table or two points on our graph!
Now that we know it’s possible, how do we do it?
Leave some time for group discussion:
How might we compute the slope and y-intercept, using only two rows in the table?
1) SLOPE: find any two pairs of values in the table, and divide the difference in y’s by the difference in x’s.
This is an easy way to see the change in y as a proportion of the change in x, which gives you the slope of the function. This is often called "change in y over change in x", or "rise over run".
Taking the first two pairs of values in the table, this gives us ( 36 - 24 )/( 17 - 11 ), which simplifies to 12/6, for a slope of 2.
Pick two other pairs of values from the table and compute the slope. Did you get the same answer?
Pedagogy Note Some texts refer to "four ways to draw straight lines on a graph": sloping up and to the right, down and to the left, horizontal, or vertical. When thinking only in terms of straight lines on a graph, this is technically correct! However, just because we can draw those lines doesn’t make them functions, and it doesn’t mean they all have a defined slope! Once students are comfortable computing slope, try having them compute the slope of a vertical line. They will quickly realize that this results in a zero in the denominator! This can be a good review of divide-by-zero, and forms the foundation of what will eventually generalize to the vertical line test. |
2) Y-INTERCEPT: multiply any x in the table by the slope, and subtract the result from the corresponding y.
You can find the y-intercept by expanding the table and following the pattern to figure out the value of y when x = 0, but sometimes that’s a lot of work!
Let’s use the last pair of values in the table to demonstrate this shortcut: Starting with the x value of 9, multiplying 9 × 2 gives us 18. The corresponding y is 20, so the y-intercept is 20 - 18 = 2.
Pick another row in the table and compute the y-intercept. Did you get the same answer?
But what about graphs? We can compute the slope and y-intercept from a graph the same way, by picking two points and using those as our two sample rows.
Investigate
Can you identify the slope and y-intercept of a linear function in a table? In a graph?
Synthesize
Slope and y-intercept form the essence of linear function. If we can find them in a sample of data, we can make predictions that go outside that sample. For example: If we know a car is moving at a consistent speed, all we need to know is where it is located at two points in time in order to figure out the speed, and to predict where it will be at any other point in time!
🔗Defining Linear Functions 40 minutes
Overview
Students explore function definitions as a way of expressing linear relationships, and construct tables and graphs from those definitions.
Launch
Writing out an entire table or graph - even if it’s just two rows or two points! - can be time-consuming. It also forces other people to compute the slope and y-intercept by hand!
Fortunately, a function definition can be used to summarize an entire table or graph by putting the slope and y-intercept front-and-center! Let’s see a function definition, written both as regular function notation and as Pyret code. NOTE: the slope and y-intercept can be written in any order!
Function Notation | Pyret Code |
---|---|
fx = 6x - 10 |
|
fx = -10 + 6x |
|
As with tables and graphs, a function definition can reveal whether or not it is linear.
If the line is perfectly horizontal the slope will be zero, making the term "invisible"! In the example below, a linear function with a slope of zero is shown with and without this term:
"Visible" Slope | "Invisible" Slope |
---|---|
fx = 0x + 22 |
fx = 22 |
If the line crosses the y-axis at zero, the y-intercept will be 0. This can make that term "invisible"! In the example below, a linear function with a y-intercept of zero is shown with and without this term:
"Visible" y-intercept | "Invisible" y-intercept |
---|---|
fx = 3.2x + 0 |
fx = 3.2x |
To check our work, we can apply the function to the x-value in each Row in the table, it produces the y-value! Instead of writing endless rows repeating the rule or drawing an entire graph, we can just declare the rule itself by defining the function.
Investigate
Let’s get some practice working with Function Definitions
-
Can you tell if a function definition is linear? Complete Linear, Non-linear, or Bust?
Let’s get some practice connecting Definitions to Graphs
-
Complete Matching Graphs and Definitions of Linear Functions (Desmos)
-
Complete Matching Graphs and Definitions of Linear Functions 2 (Desmos)
-
For paper-and-pencil practice, complete Matching Graphs to Function Definitions
-
For paper-and-pencil practice, complete Summarizing Graphs with Function Definitions
Discuss as a class: What strategies did you use?
Let’s get some practice connecting Definitions to Tables
-
For more paper-and-pencil practice, complete Matching Tables to Function Notation
-
For more paper-and-pencil practice, complete Summarizing Tables with Function Definitions
Discuss as a class: What strategies did you use?
Let’s get some practice connecting Tables, Graphs, and Definitions
Can you see a linear relationship in all three representations: a table, a graph and a definition?
-
Complete Matching Function Definitions, Tables and Graphs (Desmos)
-
(Optional) Complete Matching Linear Functions, Tables and Graphs 2 (Desmos)
Common Misconceptions
It is incredibly common to think of the graph as the "output" of the function, rather than the function itself. Most math textbooks will use language like "matching the graph to the function", suggesting that the graph is somehow not the function! Since this language is pervasive, it’s important to actively push against it.
Synthesize
Function definitions are a way of talking about relationships between quantities: milk costs $0.59/gallon, a stone falls at 9.8m/s^2, or there are 30 students for every teacher at a school. If we can figure out the relationship between a small sample of data, we can make predictions about what happens next. We can see these relationships as tables, graphs, or symbols in a definition. We can even think about them as a mapping between Domain and Range!
When we talk about functions, sometimes it’s easiest to look at the graph, the table, or the definition. What’s important is being able to switch between representations, and see the connections between them.
🔗Additional Exercises:
-
Matching Graphs & Definitions of Functions (not just linear!) (Desmos)
-
Identifying y-intercepts in Tables, Graphs & Definitions of Linear Functions (Desmos)
-
Identifying y-intercepts in Tables, Graphs & Definitions of Linear Functions (challenge) (Desmos)
-
Identifying slope in Tables, Graphs & Definitions of Linear Functions (Desmos)
-
Identifying Linearity in Tables, Graphs & Definitions of Linear Functions (Desmos)
-
Matching Tables, Graphs, and Definitions of Functions (challenge!) (Desmos)
-
Matching Tables, Graphs, and Definitions of Functions (challenge!) (Desmos)
-
Identifying y-intercepts in Tables, Graphs & Definitions of Linear Functions (challenge!) (Desmos)
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Integrated Oklahoma 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.