You are on page 1of 9

Unit I : Functions

Lesson 4 : Piece – Wise Function

First Quarter (1st Semester)

Mr. Danny G. Damian


Piece - Wise Function
 Piece - wise functions are functions defined by at least two
equations, each of which applies to a different part of the
domain

 A piecewise function looks like this:

Domain restriction

Equations

2
Evaluating Piece – Wise
Function
Steps to Evaluate Piecewise Functions

 Look at the domain to see which equation

to use.

 Substitute the value of x

 Simplify ! 

3
Examples
𝟑𝒙 − 𝟖 𝒘𝒉𝒆𝒏, 𝒙 ≥ 𝟐 𝒙𝟐 + 𝟑𝒙 − 𝟕 𝒘𝒉𝒆𝒏 𝒙 < −𝟏
1. f(x) 𝟒𝒙 + 𝟓 𝒘𝒉𝒆𝒏, 𝒙 < 𝟐 2. g(x) 𝒙𝟑 + 𝟒 𝒘𝒉𝒆𝒏 𝒙 > 𝟐
𝟓𝒙 + 𝟔 𝒘𝒉𝒆𝒏 − 𝟏 ≤ 𝒙 < 𝟐
Find :
Find :
a. f(-2)
a. g(-4)
b. f(2)
b. g(0)
c. f(5)
c. g(3)

4
Solution # 1a and 1b
𝟑𝒙 − 𝟖 𝒘𝒉𝒆𝒏, 𝒙 ≥ 𝟐 𝟑𝒙 − 𝟖 𝒘𝒉𝒆𝒏, 𝒙 ≥ 𝟐
1. f(x) 1. f(x)
𝟒𝒙 + 𝟓 𝒘𝒉𝒆𝒏, 𝒙 < 𝟐 𝟒𝒙 + 𝟓 𝒘𝒉𝒆𝒏, 𝒙 < 𝟐

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

f(-2) = 𝟒𝒙 + 𝟓 f(2) = 3𝒙 − 𝟓

f(-2) = 𝟒(−𝟐) + 𝟓 f(2) = 3 𝟐 − 𝟖

f(-2) = - 8+𝟓 f(2) = 6 – 8

f(-2) = - 3 f(2) = - 2

5
Solutions 1c
𝟑𝒙 − 𝟖 𝒘𝒉𝒆𝒏, 𝒙 ≥ 𝟐
1. f(x)
𝟒𝒙 + 𝟓 𝒘𝒉𝒆𝒏, 𝒙 < 𝟐

c. f(5)

f(5) = 3x – 8

f(5) = 3(5) – 8

f(5) = 15 – 8

f(5) = 7

6
Solution # 2a and 2b
𝒙𝟐 + 𝟑𝒙 − 𝟕 𝒘𝒉𝒆𝒏 𝒙 < −𝟏 𝒙𝟐 + 𝟑𝒙 − 𝟕 𝒘𝒉𝒆𝒏 𝒙 < −𝟏
2. g(x) 𝒙𝟑 + 𝟒 𝒘𝒉𝒆𝒏 𝒙 > 𝟐 2. g(x) 𝒙𝟑 + 𝟒 𝒘𝒉𝒆𝒏 𝒙 > 𝟐
𝟓𝒙 + 𝟔 𝒘𝒉𝒆𝒏 − 𝟏 ≤ 𝒙 < 𝟐 𝟓𝒙 + 𝟔 𝒘𝒉𝒆𝒏 − 𝟏 ≤ 𝒙 < 𝟐
a. g(-4) b. g(0)
g(-4) = 𝒙𝟐 + 𝟑𝒙 − 𝟕
g(0) = 5x + 6
g(-4) = (-4)𝟐 + 𝟑(−𝟒) − 𝟕
g(0) = 5(0)+ 6
g(-4) = 16 − 𝟏𝟐 − 𝟕
g(0) = 0 + 6
g(-4) = 16 −𝟏𝟗
g(0) = 6
g(-4) = -3

7
Solutions # 2c
𝒙𝟐 + 𝟑𝒙 − 𝟕 𝒘𝒉𝒆𝒏 𝒙 < −𝟏
2. g(x) 𝒙𝟑 + 𝟒 𝒘𝒉𝒆𝒏 𝒙 > 𝟐
𝟓𝒙 + 𝟔 𝒘𝒉𝒆𝒏 − 𝟏 ≤ 𝒙 < 𝟐

c. g(3)

g(3) = 𝒙𝟑 + 𝟒

g(3) = (3)𝟑 + 4

g(3) = 27 + 4

g(3) = 31

8
Always Remember

You might also like