Lesson 11: The Graph of a Function

advertisement
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
Lesson 11: The Graph of a Function
Classwork
In Module 1, you graphed equations such as 𝑦 = 10 − 4𝑥 by plotting the points in the Cartesian plane by picking
𝑥-values and then using the equation to find the 𝑦-value for each 𝑥-value. The number of ordered pairs you plotted to
get the general shape of the graph depended on the type of equation (linear, quadratic, etc.). The graph of the equation
was then a representation of the solution set, which could be described using set notation.
In this lesson, we extend set notation slightly to describe the graph of a function. In doing so, we explain a way to think
about set notation for the graph of a function that mimics the instructions a tablet or laptop might perform to draw a
graph on its screen.
Exploratory Challenge 1
Computer programs are essentially instructions to computers on what to do when the user (you!) makes a request. For
example, when you type a letter on your smart phone, the smart phone follows a specified set of instructions to draw
that letter on the screen and record it in memory (as part of an email, for example). One of the simplest types of
instructions a computer can perform is a for-next loop. Below is code for a program that prints the first 5 powers of 2:
Declare 𝒙 integer
For all 𝒙 from 1 to 5
Print 𝟐𝒙
Next 𝒙
The output of this program code is
2
4
8
16
32
Here is a description of the instructions: First, 𝑥 is quantified as an integer, which means the variable can only take on
integer values and cannot take on values like
1
3
or √2. The For statement begins the loop, starting with 𝑥 = 1. The
instructions between For and Next are performed for the value 𝑥 = 1, which in this case is just to Print 2. (Print means
“print to the computer screen.”) Then the computer performs the instructions again for the next 𝑥 (𝑥 = 2), that is,
Print 4, and so on until the computer performs the instructions for 𝑥 = 5, that is, Print 32.
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.61
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
Exercise 1
Perform the instructions in the following programming code as if you were a computer and your paper was the
computer screen.
Declare 𝒙 integer
For all 𝒙 from 2 to 8
Print 𝟐𝒙 + 𝟑
Next 𝒙
Exploratory Challenge 2
We can use almost the same code to build a set: First, we start with a set with zero elements in it (called the empty set),
and then we increase the size of the set by appending one new element to it in each for-next step.
Declare 𝒙 integer
Initialize 𝑮 as {}
For all 𝒙 from 𝟐 to 𝟖
Append 𝟐𝒙 + 𝟑 to 𝑮
Print 𝑮
Next 𝒙
Note that 𝐺 is printed to the screen after each new number is appended. Thus, the output shows how the set builds:
{7}
{7, 9}
{7, 9, 11}
{7, 9, 11, 13}
{7, 9, 11, 13, 15}
{7, 9, 11, 13, 15, 17}
{7, 9, 11, 13, 15, 17, 19}.
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.62
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
Exercise 2
We can also build a set by appending ordered pairs. Perform the instructions in the following programming code as if
you were a computer and your paper were the computer screen (the first few are done for you).
Declare 𝒙 integer
Initialize 𝑮 as {}
For all 𝒙 from 𝟐 to 𝟖
Append (𝒙, 𝟐𝒙 + 𝟑) to 𝑮
Next 𝒙
Print 𝑮
Output:
{(2,7), (3,9), ________________________________________}
Exploratory Challenge 3
Instead of Printing the set 𝐺 to the screen, we can use another command, Plot, to plot the points on a Cartesian plane.
Declare 𝒙 integer
Initialize 𝑮 as {}
For all 𝒙 from 𝟐 to 𝟖
Append (𝒙, 𝟐𝒙 + 𝟑) to 𝑮
Next 𝒙
Plot 𝑮
Output:
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.63
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Lesson 11
NYS COMMON CORE MATHEMATICS CURRICULUM
M3
ALGEBRA I
In mathematics, the programming code above can be compactly written using set notation, as follows:
{(𝑥, 2𝑥 + 3) | 𝑥 integer and 2 ≤ 𝑥 ≤ 8}.
This set notation is an abbreviation for “The set of all points (𝑥, 2𝑥 + 3) such that 𝑥 is an integer and 2 ≤ 𝑥 ≤ 8.” Notice
how the set of ordered pairs generated by the for-next code above,
{(2,7), (3,9), (4,11), (5,13), (6,15), (7,17), (8,19)},
also satisfies the requirements described by {(𝑥, 2𝑥 + 3) | 𝑥 integer, 2 ≤ 𝑥 ≤ 8}. It is for this reason that the set
notation of the form
{type of element | condition on each element}
is sometimes called set-builder notation—because it can be thought of as building the set just like the for-next code.
Discussion
We can now upgrade our notion of a for-next loop by doing a thought experiment: Imagine a for-next loop that steps
through all real numbers in an interval (not just the integers). No computer can actually do this—computers can only do
a finite number of calculations. But our human brains are far superior to that of any computer, and we can easily
imagine what that might look like. Here is some sample code:
Declare 𝒙 real
Let 𝒇(𝒙) = 𝟐𝒙 + 𝟑
Initialize 𝑮 as {}
For all 𝒙 such that 𝟐 ≤ 𝒙 ≤ 𝟖
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
The output of this thought code is the graph of 𝑓 for all real numbers 𝑥 in the interval 2 ≤ 𝑥 ≤ 8:
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.64
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Lesson 11
NYS COMMON CORE MATHEMATICS CURRICULUM
M3
ALGEBRA I
Exercise 3
a.
Plot the function 𝑓 on the Cartesian plane using the following for-next thought code.
Declare 𝒙 real
Let 𝒇(𝒙) = 𝒙𝟐 + 𝟏
Initialize 𝑮 as {}
For all 𝒙 such that −𝟐 ≤ 𝒙 ≤ 𝟑
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
b.
For each step of the for-next loop, what is the
input value?
c.
For each step of the for-next loop, what is the
output value?
d.
What is the domain of the function 𝑓?
e.
What is the range of the function 𝑓?
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.65
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Lesson 11
NYS COMMON CORE MATHEMATICS CURRICULUM
M3
ALGEBRA I
Closing
The set 𝐺 built from the for-next thought code in Exercise 4 can also be compactly written in mathematics using set
notation:
{(𝑥, 𝑥 2 + 1) | 𝑥 real, −2 ≤ 𝑥 ≤ 3}.
When this set is thought of as plotted in the Cartesian plane, it is the same graph. When you see this set notation in the
Problem Set and/or future studies, it is helpful to imagine this set-builder notation as describing a for-next loop.
In general, if 𝑓: 𝐷 → 𝑌 is a function with domain 𝐷, then its graph is the set of all ordered pairs,
{(𝑥, 𝑓(𝑥)) | 𝑥 ∈ 𝐷},
thought of as a geometric figure in the Cartesian coordinate plane. (The symbol ∈ simply means “in.” The statement
𝑥 ∈ 𝐷 is read, “𝑥 in 𝐷.”)
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.66
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
Lesson Summary
GRAPH OF 𝒇: Given a function 𝑓 whose domain 𝐷 and range are subsets of the real numbers, the graph of 𝑓 is the
set of ordered pairs in the Cartesian plane given by
{(𝑥, 𝑓(𝑥)) | 𝑥 ∈ 𝐷}.
Problem Set
1.
Perform the instructions for each of the following programming codes as if you were a computer and your paper
was the computer screen.
a.
Declare 𝒙 integer
For all 𝒙 from 𝟎 to 𝟒
Print 𝟐𝒙
Next 𝒙
b.
Declare 𝒙 integer
For all 𝒙 from 𝟎 to 𝟏𝟎
Print 𝟐𝒙 + 𝟏
Next 𝒙
c.
Declare 𝒙 integer
For all 𝒙 from 𝟐 to 𝟖
Print 𝒙𝟐
Next 𝒙
d.
Declare 𝒙 integer
For all 𝒙 from 𝟎 to 𝟒
Print 𝟏𝟎 ∙ 𝟑𝒙
Next 𝒙
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.67
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
2.
Perform the instructions for each of the following programming codes as if you were a computer and your paper
were the computer screen.
a.
Declare 𝒙 integer
Let 𝒇(𝒙) = (𝒙 + 𝟏)(𝒙 − 𝟏) − 𝒙𝟐
Initialize 𝑮 as {}
For all 𝒙 from −𝟑 to 𝟑
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
b.
Declare 𝒙 integer
Let 𝒇(𝒙) = 𝟑−𝒙
Initialize 𝑮 as {}
For all 𝒙 from −𝟑 to 𝟑
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
c.
Declare 𝒙 real
Let 𝒇(𝒙) = 𝒙𝟑
Initialize 𝑮 as {}
For all 𝒙 such that −𝟐 ≤ 𝒙 ≤ 𝟐
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.68
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Lesson 11
NYS COMMON CORE MATHEMATICS CURRICULUM
M3
ALGEBRA I
3.
Answer the following questions about the thought code:
Declare 𝒙 real
Let 𝒇(𝒙) = (𝒙 − 𝟐)(𝒙 − 𝟒)
Initialize 𝑮 as {}
For all 𝒙 such that 𝟎 ≤ 𝒙 ≤ 𝟓
Append (𝒙, 𝒇(𝒙)) to 𝑮
Next 𝒙
Plot 𝑮
4.
5.
a.
What is the domain of the function 𝑓?
b.
Plot the graph of 𝑓 according to the instructions in the thought code.
c.
Look at your graph of 𝑓. What is the range of 𝑓?
d.
Write three or four sentences describing in words how the thought code works.
Sketch the graph of the functions defined by the following formulas, and write the graph of 𝑓 as a set using setbuilder notation. (Hint: Assume the domain is all real numbers unless specified in the problem.)
a.
𝑓(𝑥) = 𝑥 + 2
b.
𝑓(𝑥) = 3𝑥 + 2
c.
𝑓(𝑥) = 3𝑥 − 2
d.
𝑓(𝑥) = −3𝑥 − 2
e.
𝑓(𝑥) = −3𝑥 + 2
f.
𝑓(𝑥) = − 𝑥 + 2, −3 ≤ 𝑥 ≤ 3
g.
𝑓(𝑥) = (𝑥 + 1)2 − 𝑥 2 , −2 ≤ 𝑥 ≤ 5
h.
𝑓(𝑥) = (𝑥 + 1)2 − (𝑥 − 1)2 , −2 ≤ 𝑥 ≤ 4
1
3
The figure shows the graph of 𝑓(𝑥) = −5𝑥 + 𝑐.
a.
Find the value of 𝑐.
b.
If the graph of 𝑓 intersects the 𝑥-axis at 𝐵, find the coordinates of 𝐵.
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.69
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
NYS COMMON CORE MATHEMATICS CURRICULUM
Lesson 11
M3
ALGEBRA I
6.
1
2
The figure shows the graph of 𝑓(𝑥) = 𝑥 + 𝑐.
a.
Find the value of 𝑐.
b.
If the graph of 𝑓 intersects the 𝑦-axis at 𝐵, find the coordinates of 𝐵.
c.
Find the area of triangle 𝐴𝑂𝐵.
Lesson 11:
The Graph of a Function
This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org
This file derived from ALG I-M3-TE-1.3.0-08.2015
S.70
This work is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Download