Functions Edited
Functions Edited
FUNCTIONS?
RELATIONS, FUNCTIONS, VERTICAL
LINE TEST, PIECEWISE FUNCTION
LESSON OUTLINE
What are relations?
Piecewise Function
LET'S RECALL
AND ANALYZE!
y
12
10
4
Complete the table of values below.
2
x
x
2 4 6 8 10 12
y
LET'S RECALL ANSWER
KEY
AND ANALYZE!
y
12
10
4
Complete the table of values below.
2
x
x 2 4 6 8 8
2 4 6 8 10 12
y 2 4 6 8 10
LEARNING OUTCOMES
By the end of the lesson, you'll be able to:
• Recall the concepts of relations and
functions
• Defines and explain functional
relationship as a mathematical model of
situation; and
• Represent real-life situations using
functions, including piece-wise
function.
A relation is a set of ordered pairs that
Example:
Names and their age are a
set of ordered pairs that
we could put into a table. Name Alex Jude Arlo Casey
Age 9 12 11 11
WHAT IS A FUNCTION?
• A function is a special type of
relation where each input only has
one output.
• Functions are a way of connecting
input values to their corresponding
output values.
• The relation is a function if, for every
x-value, there is exactly one y-
value.
WHAT IS A FUNCTION?
Functions are a way of connecting input values to
their corresponding output values.
Example:
Ordering a coffee for $5
x -6 -3 2 7 9 9 10
x -6 -3 2 7 9 9 10
x 1 2 3 4 5 6 7
y 2 4 6 8 10 12 14
TRY THIS!
Is this relation a function?
x 1 2 3 4 5 6 7
y 2 4 6 8 10 12 14
x 0 -1 4 2 -1
y 3 4 0 -1 1
TRY THIS!
Is this relation a function?
x 0 -1 4 2 -1
y 3 4 0 -1 1
Step 1:
Construct the table of values.
Do this by substituting values of x to y=2x.
x -1 0 1 2
y
GRAPHING A FUNCTION USING
THE TABLE OF VALUES
Given the equation y = 2x.
Step 1:
Construct the table of values.
Do this by substituting values of x to y=2x.
x -1 0 1 2
y -2 0 2 4
GRAPHING A FUNCTION USING
THE TABLE OF VALUES
Step 2:
Plot the points.
y
Given the equation y = 2x.
Step 1:
4
Construct the table of values.
Do this by substituting values of x to y=2x. x
3
x -1 0 1 2 1
-1 0 1 2
y -2 0 2 4 -1
-2
Notice that for every value of x, there is only one value of y.
GRAPHING A FUNCTION USING
THE TABLE OF VALUES
Step 2:
Plot the points.
y
Given the equation y = 2x.
Step 1:
4
Construct the table of values.
Do this by substituting values of x to y=2x. x
3
x -1 0 1 2 1
-1 0 1 2
y -2 0 2 4 -1
-2
Notice that for every value of x, there is only one value of y.
VERTICAL
LINE TEST 5
function. -5 -4 -3 -2 -1 1 2 3 4 5
-1
If a vertical line, drawn anywhere -2
on the graph, can touch the graph -3
only once, then it is a function. -4
-5
VERTICAL
LINE TEST 5
-2
-3
-4
-5
USING THE VERTICAL LINE TEST, CAN YOU IDENTIFY THE
GRAPH/S OF FUNCTION?
In Mathematics, we can
represent functions in
different ways. It can be
represented through words,
tables, mappings,
equations, and graphs.
FUNCTIONS AS REPRESENTATIONS
OF REAL-LIFE SITUATIONS
• Monogamous marriage
• Nationality
Remember: Under RA 9225 only
those naturally born Filipinos who
have become naturalized citizens of
another country can have dual
citizenship.
• Religion
Functions as representations of
real-life situations
1. Give a function C that can represent
the cost of buying x meals, if one meal
costs P40.
Solution:
Since each meal costs P40, then the
cost function is C(x) = 40x.
2. If distance (D) is a function of time
(t), give a function D that can represent
the distance a car travels in t time, if
every hour the car travels 60
kilometers.
Solution:
Since every hour, the car travels 60
kilometers, therefore the distance
function is given by 𝑫(𝒕) = 𝟔𝟎𝒕
PIECEWISE FUNCTION
There are functions that requires
more than one formula in order to
obtain the given output. There are
instances when we need to describe
situations in which a rule or
relationship changes as the input
value crosses certain boundaries. In
this case, we need to apply the
piecewise function.
PIECEWISE FUNCTION
a function in which more than one
formula is used to define the output. Each
formula has its own domain, and the
domain of the function is the union of all
these smaller domains. We notate this
idea like this:
LOOK AT THESE EXAMPLES!
1. A user is charged ₱300.00 monthly
for a particular mobile plan, which
includes 100 free text messages.
Messages in excess of 100 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.
LOOK AT THESE EXAMPLES!
2. A jeepney ride costs P8.00 for the
first 4 kilometers, and each additional
integer kilometer adds P1.50 to the
fare. Use a piecewise function to
represent the jeepney fare in terms of
the distance (d) in kilometers.
LOOK AT THESE EXAMPLES!
3. A certain chocolate bar costs
₱35.00 per piece. However, if
you buy more than 10 pieces
they will mark down the price to
₱32.00 per piece. Use a
piecewise function to represent
the cost in terms of the number
of chocolate bars bought.
LOOK AT THESE EXAMPLES!
4. A school’s fair committee wants
to sell t-shirts for their school fair.
They found a supplier that sells t-
shirts at a price of P175.00 per
piece but can charge P15,000 for a
bulk order of 100 shirts and P125.00
for each excess t-shirt after that.
Use a piecewise function to
represent the cost in terms of the
LOOK AT THESE EXAMPLES!
5. The fee to park in the parking lot
of a shopping mall costs P40.00 for
the first two hours and an extra
P10.00 for each hour (or a fraction
of it) after that. If you park for more
than twelve hours, you instead pay
a flat rate of P200.00. Represent
your parking fee using the function
p(t) where t is the number of hours
READ EACH SITUATION CAREFULLY TO SOLVE EACH PROBLEM.
WRITE YOUR ANSWER ON A SEPARATE SHEET OF YOUR PAPER.
Independent Practice 1
1. A person is earning ₱750.00 per day to do a certain job. Express the total
salary S as a function of the number n of days that the person works.
2. Xandria rides through a jeepney which charges ₱ 8.00 for the first 4
kilometers
and additional ₱0.50 for each additional kilometer. Express the jeepney fare
(F) as function of the number of kilometers (d) that Xandria pays for the ride.
Answer:
1. S(n) = _________ (Hint: Think of the operation needed in order to obtain the
total salary?)
2. F(d) = __________ (Hint: Aside from the usual fare charge, don’t forget to
include in the equation the additional fare charge for the exceeding
distance)
READ EACH SITUATION CAREFULLY TO SOLVE EACH PROBLEM.
WRITE YOUR ANSWER ON A SEPARATE SHEET OF YOUR PAPER.
1. A computer shop charges ₱15.00 in every hour of
computer rental. Represent your computer rental fee
(R) using the function R(t) where t is the number of
hours you spent on the computer.
2. A tricycle ride costs ₱10.00 for the first 2 kilometers,
and each additional kilometer adds ₱8.00 to the fare.
Use a piecewise function to represent the tricycle fare
in terms of the distance d in kilometers.
3. A parking fee at SM Lucena costs ₱25.00 for the first
two hours and an extra ₱5.00 for each hour of
extension. If you park for more than twelve hours, you
instead pay a flat rate of ₱100.00. Represent your
parking fee using the function p(t) where t is the
number of hours you parked in the mall.
4. A van rental charges ₱5,500.00 flat rate for a whole-
day tour in CALABARZON of 5 passengers and each
additional passenger added ₱500.00 to the tour fare.
Express a piecewise function to show to represent the
van rental in terms number of passenger n.
5. An internet company charges ₱500.00 for the first
30 GB used in a month. Every exceeding GB will then
cost ₱30.00 But if the customer reach a total of 50 GB
and above, a flat rate of ₱1,000.00 will be charged
instead. Write a piecewise function C(g) that
represents the charge according to GB used?
THANK YOU FOR
LISTENING!
HOPE YOU LEARN
SOMETHING :)
CLOSET COLORS!
Select 10 clothing items from your closet.
Create a mapping diagram to record the
colors to each of the clothing you have.
Share your findings with
Then, find out if the information you
the class next session.
collected represents a function or not.