Functions
In mathematics, a function is a
relation between a set of inputs
JB
and a set of permissible outputs
with the property that each input is
related to exactly one output. An
example is the function that relates
each real number x to its square x2.
Take a Look at This Relation
JB
Review
• A relation between two variables x and y is a set
of ordered pairs
• An ordered pair consist of a x and y-coordinate
• A relation may be viewed as ordered pairs, mapping
design, table, equation, or written in sentences
• x-values are inputs, domain, independent
variable
JB
• y-values are outputs, range, dependent variable
Example 1
{(0, 5), (1, 4), (2, 3), (3, 2), (4, 1), (5, 0)}
JB
•What is the domain?
{0, 1, 2, 3, 4, 5}
What is the range?
{-5, -4, -3, -2, -1, 0}
Example 2
Input 4 –5 0 9 –1
JB
Output –2 7
What is a function?
A function is…a relation in
which every input is paired with
JB
exactly one output”
JB
it is NOT a function
JB
YES
Example 4
{(–1, 7), (1, 0), (2, 3), (0, 8), (0, 5), (–2, 1)}
JB
NO
Example 5
Which mapping represents a function?
3 –1 2 2
2 –1 3
JB
1
0 3 3 –2
0
Choice 1
Example 6
Which mapping represents a function?
A. B.
JB
B
Example 7
Which situation represents a function?
JB
There is only one price for each A fruit, such as an apple, from the
different item on a certain date. The domain would be associated with
relation from items to price makes it a more than one color, such as red and
function. green. The relation from types of fruits
to their colors is not a function.
Vertical Line Test
•Vertical Line Test: a relation is a function
if a vertical line drawn through its graph,
passes through only one point.
JB
AKA: “The Pencil Test”
Take a pencil and move it from left to right
(–x to x); if it crosses more than one point,
it is not a function
Vertical Line Test
Would this
graph be a
JB
function?
YES
Vertical Line Test
Would this
graph be a
JB
function?
NO
Is the following function discrete or
continuous? What is the Domain?
What is the Range?
Discrete
-7, 1, 5, 7, 8, 10
JB
1, 0, -7, 5, 2, 8
Is the following function discrete or
continuous? What is the Domain?
What is the Range?
continuous
JB
8,8
6,6
Is the following function discrete or
continuous? What is the Domain?
What is the Range?
continuous
JB
0,45
10,70
Is the following function discrete or
continuous? What is the Domain?
What is the Range?
discrete
-7, -5, -3, -1, 1, 3, 5, 7
JB
2, 3, 4, 5, 7
Domain and Range in Real Life
The number of shoes in x pairs of shoes can be
expressed by the equation y = 2x.
JB
Whole numbers
JB
What is the dependent variable?
JB
0 x 4
Write an inequality that represents the range in real life.
0 y 220
Domain and Range in Real Life
Mr. Landry is driving to his hometown. It takes four hours to
get there. The distance he travels at any time, t, is
represented by the function d = 55t (his average speed is
55mph.
JB
The time that he drives.
What is the dependent variable?
JB
50 62.50 75 87.50 100 112.50 125
Jorge went to pick up his order. They said his total bill
was $9.50. Could this be correct? Why or why not?
JB
Yes One pizza with 3 toppings cost $9.50
JB
The number of toppings
JB
the function value.
f(1) = 2x + 1
f(1) = 2(1) + 1
f(1) = 3
Function Notation
Given g(x) = x2 – 3, find g(-2) .
g(-2) = x2 – 3
g(-2) = (-2)2 – 3
JB
g(-2) = 1
Function Notation
Given f(x) = 2 x2 3 x , the following.
JB
f(3) = 2(3)2 – 3(3) 3f(x) = 6x2 – 9x
f(3) = 2(9) - 9 f(3x) = 2(9x2) – 3(3x)
f(3) = 9 f(3x) = 18x2 – 9x
For each function, evaluate f(0), f(1.5), f(-4),
f(0) = 3
f(1.5) = 4
JB
f(-4) = 4
For each function, evaluate f(0), f(1.5), f(-4),
f(0) = 1
f(1.5) = 3
JB
f(-4) =1
For each function, evaluate f(0), f(1.5), f(-4),
f(0) = -5
f(1.5) = 1
JB
f(-4) =1