Functions
Objectives
Represents real-life
situations using functions,
including piece-wise
functions.
Function or not?
Function or not?
Function or not?
Which is a function?
Which is a function?
Which is a function?
Which is a function?
Definitions
Relation - Any set of ordered pairs
Function -A type of relation
where there is exactly one
output for every input. For
every x there is exactly one y.
x y x y
1 6 1 6
2 7 2 7
Not a Function Function
y = 2x
x-y chart mapping
xy input output
-2 -4 -2 -4
-1 -2
-1 -2 0 0
00 1 2
12 2 4
24 Function
Determine whether the equation is a function.
y x x y
x y input output x y input output
-2 2 -2 0 2 -2 0 -2
-1 1 -1 1 -1 -1
0 0 0 1 0 0 1 0
1 1 1 1 1 1
2 2
2 2 2 2 2 2
Function Not a Function
Vertical Line Test - Functions
y y y y
x x x x
Function
y y y y
x x x x
Vertical Line Test - Functions
y y y y
x x x x
Function Function
y y y y
x x x x
Vertical Line Test - Functions
y y y y
x x x x
Function Function Not a
Function
y y y y
x x x x
Vertical Line Test - Functions
y y y y
x x x x
Function Function Not a Function
Function
y y y y
x x x x
Vertical Line Test - Functions
y y y y
x x x x
Function Function Not a Function
Function
y y y y
x x x x
Not a Function Not a Not a
Function Function Function
Tell whether the relation below is a function.
1) input output 3) y
0
1 x
Not a
5 Function
2 Function
3
2) x y 4) input output
-2 3
-3 -1
-3 0 4
Not a -1 Not a
-3 1 Function 5
0 Function
-3 2 6
Piece-wise Function
Piece-wise Function
A user is charged ₱250.00 monthly for a
particular mobile plan, which includes 200
free text messages. Messages in excess of
200 are charged ₱1.00 each. Represent the
monthly cost for text messaging using the
function t(m), where m is the number of
messages sent in a month.
Piece-wise Function
Piece-wise Function
A certain chocolate bar costs ₱50.00 per
piece. However, if you buy more than 5
pieces they will mark down the price to
₱48.00 per piece. Use a piecewise function to
represent the cost in terms of the number of
chocolate bars bought.
Piece-wise Function
Piece-wise Function
The cost of hiring a catering service to serve
food for a party is ₱250.00 per head for 50
persons or less, ₱200.00 per head for 51 to
100 persons, and ₱150.00 per head for more
than 100. Represent the total cost as a
piecewise function of the number of
attendees to the party.
Piece-wise Function
Piece-wise Function
The Magic Box
Consider a box 1
34
that receives
numbers in the top
And alters them
somehow and
sends a (usually) -3
13
different number Today we look at the
out the spout
mathematical
For way of
each of the number
combinations, can you figure
talking about the
out the "rule" which alters the
28
"rule"
number?
The Magic Box
Consider a box
that receives
numbers in the top
And alters them
somehow and
sends a (usually)
different number
out the spout
29
Output Values Input
Output Value Value
Evaluating the Function
f(x)
Substitute the input value for
every instance of the independent
variable in the function Output
value
x5
h( x ) 2
30 x 1
Evaluating a Function
x5
Given h( x ) 2
x 1
Determine the value of the function h when
x =2 h(2) = ? 2 5 3
h(2) 1
2 1
2
3
Determine h(-4)
4 5 9
h(4)
31
(4) 1 15
2
Function Notation
y 2x 3 f (x) 2x 3
when x 1, y 5 f (1) 5
when x 2, y 7 f (2) 7
when x 3, y 9 f (3) 9
when x 4, y 11f (4) 11
f ( 4) 5
g(x) x 2
h(x) 3x 2
Evaluate the following.
1) g(4) 16 5) h(4) g(1)
10 1 11
2) h( 2) 8 6) h( 5) g( 2)
17 4 68
3) g( 3) 9 7) g h(3)
g(7) 49
4) h(5) 13 8) h g(2)
h(4) 10
Evaluate the function over the domain,
x = -1, x = 0, x = 2.
1) f (x) 4x
{4, 0, 8 }
2) g(x) 3x 9
{12, 9, 3 }
3) h(x) x 1
2
{ 0, 1, 3 }