0% found this document useful (0 votes)
5 views

Lesson-2_-Piecewise-Function_tm

A piecewise function consists of multiple functions defined over specified intervals. Examples illustrate how to evaluate piecewise functions and represent real-world scenarios, such as catering costs based on the number of attendees. The document provides specific examples and solutions for evaluating and constructing piecewise functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Lesson-2_-Piecewise-Function_tm

A piecewise function consists of multiple functions defined over specified intervals. Examples illustrate how to evaluate piecewise functions and represent real-world scenarios, such as catering costs based on the number of attendees. The document provides specific examples and solutions for evaluating and constructing piecewise functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Lesson 2: Piecewise Functions

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

Example 1: Evaluate the given


piecewise function
{
f ( x )= 4 x +5 ,∧x <2
3 x−8 ,∧x ≥ 2

a) f(-2) b). f(2)

a. since f(-2) is less than 2 use


the piecewise function
f ( x )=4 x +5

= 4(-2) + 5
= -8 + 5
f ( x )=−3

b. since f(2) is equal to 2 use the


piecewise function
f ( x )=3 x−8

= 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.

Solution: We can also represent a


problem using piecewise function
Let c = cost per head
f(c)= total cost per head
{
₱ 150 c , c ≤20∧¿ ₱ 130 c , 21≤ c ≤50
f ( c) = ₱ 110 c ,51 ≤ c< 100
₱ 1 00 c , c ≥100

You might also like