Piecewise Function
Piecewise Function
Math
Functions
OBJECTIVES
Represents real-life
situations using
functions, including
piece-wise functions Evaluate functions and
solve problems
involving functions.
Operations on
Functions
Function Defined
by Equation
Function
Recall: A function is a relation where
each element in the domain is
related to only one value in the
range
f = {(1, 1),by
(2,SOME RULE.
4), (3, 9), (4, 16)…}
x f(x) or y
1 1 2
𝑦 =𝑥
2 4 or
2
3 9 𝑓 ( 𝑥)=𝑥
4 16
Note: Output (y) is dependent on input (x), we can say that y is a function of
Function
Functions as Representations of Real-life Situations
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.
Since every hour, the car travels 60 kilometers,
therefore the distance function is given by:
𝑫(𝒕) = 𝟔𝟎𝒕
Function
Functions as Representations of Real-life Situations
Function
A user is charged ₱250.00 monthly for a particular
mobile plan, which includes 200 free text
messages. Messages over 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.
Piecewise
Function
A jeepney ride costs P13.00 for the first 4
kilometers, and each additional kilometer adds
P1.80 to the fare. Use a piecewise function to
represent the jeepney fare in terms of the distance
d in kilometers.
f(d)=
Piecewise
Function
A museum charges P250.00 per person for a
guided tour with a group of 1 to 9 people or a fixed
P2, 500.00 fee for a group of 10 or more people.
Write a function relating the number of people, n,
to the cost, C.
𝐶 ( 𝑛 )= {if 𝑛 ≥ if 0<𝑛 ≤
Thank
you! :>