Lesson-2_-Piecewise-Function_tm
Lesson-2_-Piecewise-Function_tm
A piecewise function is a
function which consists of two
or more function in a specified
domain.
A piecewise function is a
function built from pieces of
different functions over
different intervals.
Example, we can make a
piecewise from f(x) where f(x)
= -9 when -9 < x ≤ -5, f(x) = 6
when -5 < x ≤ -1, and f(x) = -7
when -1 < x ≤ 9. If you will
write it as a piecewise function.
{
−9 ,∧−9< x ≤−5
f ( x )= 6 ,−5< x ≤−1
−7 , 1< x ≤ 9
= 4(-2) + 5
= -8 + 5
f ( x )=−3
= 3(2) – 8
=6–8
f ( x )=−2
Example 2:
The cost of hiring a catering
service to serve food for a party is
₱150 per head for 20 persons or
less, ₱130 per head for 21 to 50
persons, and ₱110 per head for 51
to 100 persons. For more than 100
persons, the cost is at ₱100 per
head. Represent the total cost as a
piecewise function of the number
of attendees of the party.