Piecewise Functionn

Download as pdf or txt
Download as pdf or txt
You are on page 1of 36

Prepared by:

Mr. George G. Lescano


A. Identify graph of basic function.
B. Read inequalities.
C. Know on how to graph a
functions.
Constant Function
F(x) = 0
Linear Function
F(x) = x
Quadratic Function
F(x) = x2
Cubic Function
F(x) = x3
Quartic Function
F(x) = x4
Quintic Function
F(x) = x5
Definition:
Piecewise Function –a function
defined by two or more functions over
a specified domain.

The rule for a piecewise function is different


for different parts, or pieces, of the domain.
For instance, movie ticket prices are often
different for different age groups. So the
function for movie ticket prices would assign a
different value (ticket price) for each domain
interval (age group).
Remember!
When using interval notation, square brackets [ ]
indicate an included endpoint, and parentheses
( ) indicate an excluded endpoint.
What do they look like?

x2 + 1 , x  0
f(x) = x–1, x0

You can EVALUATE piecewise


functions.
You can GRAPH piecewise functions.
Evaluating Piecewise Functions:

Evaluating piecewise functions is just


like evaluating functions that you are
already familiar with.
Let’s calculate f(2).
x2 + 1 , x  0
f(x) = x–1, x0
You are being asked to find y when
x = 2. Since 2 is  0, you will only
substitute into the second part of the
function.
f(2) = 2 – 1 = 1
Let’s calculate f(-2).
x2 + 1 , x  0
f(x) = x–1, x0
You are being asked to find y when
x = -2. Since -2 is  0, you will only
substitute into the first part of the
function.
f(-2) = (-2)2 + 1 = 5
Example:

f(x) =

Evaluate the following:


f(-2) = -3
?
You need to substitute -2 by
the equation 2x+1 since -2
satisfy the condition x < - 1
Example:

f(x) =

Evaluate the following:


f(0) = -3
?
You need to substitute 0 by
the equation 2x+2 since 0
satisfy the condition x ≥ 0
Example:

f(x) =

Evaluate the following:


f(5) = -3
?
You need to substitute 5 by
the equation 2x+2 since 5
satisfy the condition x ≥ 0
Example:

f(x) =

Evaluate the following:


-3
?
You cannot use any of the
following equations since
negative one is considered as
“excluded point.”
Your turn:

3x - 2, x  -2
f(x) = -x , -2  x  1
x2 – 7x, x  1
Evaluate the following:
f(-2) = ? f(3) = ?

f(-4) = ? f(1) = ?
Answer Key:

3x - 2, x  -2
f(x) = -x , -2  x  1
x2 – 7x, x  1
Evaluate the following:
f(-2) = 2 f(3) = -12

f(-4) = -14 f(1) = -6


Graphing Piecewise Functions:
x2 + 1 , x  0
f(x) = x–1 , x0

Determine the shapes of the graphs.


Parabola and Line
Determine the boundaries of each graph.
 
Graph the line
where x iswhere x
parabola 
  
greater
is than
less than or
zero.
equal to zero.

 




Graphing Piecewise Functions:
x2 + 1 , x  0
f(x) = x–1 , x0
Graphing Piecewise Functions:
2x + 1, x < 2
f(x) = 3, x≥4

Determine the shapes of the graphs.


Line, Constant
Determine the boundaries of each graph.
Graphing Piecewise Functions:
2x + 1, x < 2
f(x) = 3, x≥4

Determine the shapes of the graphs.


Line, Constant
Determine the boundaries of each graph.
Graphing Piecewise Functions:
3x + 2, x  -2
f(x) = -x , -2  x  1
x2 – 2, x  1
Determine the shapes of the graphs.
Line, Line, Parabola
Determine the boundaries of each graph.



  


 




[– 4, 4 ]
Range:
Range:
Domain:

Range:

Range:
Use piecewise functions to describe
real-world situations.

Remember!
When using interval notation, square brackets [ ]
indicate an included endpoint, and parentheses
( ) indicate an excluded endpoint.
Example: A user is charged ₱300 monthly for a
particular mobile plan, which includes 100 free text
messages. Messages in excess of 100 are charged
₱ 1 each. Represent the amount a consumer pays
each month as a function of the number of
messages m sent in a month.

Solution: Let t (m) represent the amount paid by the


consumer each month. It can be expressed by the
piecewise function

t(m) = 300 if 0 < m ≤ 100


300 + m if m > 100
Example:
A jeepney ride costs ₱8.00 for the
first 4 kilometers, and each
additional kilometer adds ₱1.50 to
the fare. Use a piecewise function to
represent the jeepney fare in terms
of the distance d in kilometers.
Example:A jeepney ride costs ₱8.00 for the first 4
kilometers, and each additional kilometer adds ₱1.50 to
the fare. Use a piecewise function to represent the
jeepney fare in terms of the distance d in kilometers.

Solution: The input value is the distance and the


output is the cost of the jeepney fare. If F(d)
represents the fare as a function of distance, the
function can be represented as follows:

F(d) = 8 if 0 < d ≤ 4
8 + 1.5d if d > 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy