Piecewise Function
Functions that behave differently depending on
the input value.
Evaluating Function
Evaluating a function means to substitute a variable with its given number or
expression.
𝑓 𝑥 = 2𝑥 + 4; 𝑓𝑖𝑛𝑑 𝑓 5
𝑓 5 =2 5 +4
𝑓 5 = 10 + 4
𝑓 5 = 14
When x is less than 0, it
gives 5, when x is 0 or
more, it gives 𝑥 2 .
𝑥 2 𝑖𝑓 𝑥 < 2
𝑓 𝑥 ൞ 6 𝑖𝑓 𝑥 = 2
10 − 𝑥 𝑖𝑓 𝑥 > 2 𝑎𝑛𝑑 𝑥 ≤ 6
2, 𝑖𝑓 𝑥 ≤ 1
ℎ 𝑥 =ቊ
𝑥 𝑖𝑓 𝑥 > 1
Absolute Value Function
- Famous piecewise function
- 2 pieces, below 0, −𝑥 ; from 0 onwards, 𝑥
𝑥, 𝑖𝑓 𝑥 ≥ 0
𝑓 𝑥 = 𝑥 =ቊ
−𝑥 𝑖𝑓 𝑥 < 0
Odd, Even or Neither Functions
- Even Function – whose graph exhibits symmetry about the y-axis. (exactly
the same)
- Odd Function – whose graph exhibits symmetry about the origin. (all the
signs are switched)
- Neither Function – neither exactly the same nor opposite.
𝒇 𝒙 = −𝟑𝒙𝟐 + 𝟒 𝒇 𝒙 = 𝟐𝒙𝟑 − 𝟒𝒙 𝒇 𝒙 = 𝟐𝒙𝟑 − 𝟑𝒙𝟐 − 𝟒𝒙 + 𝟒
Operations with Functions
We can add, subtract, multiply, and divide
functions. The result? A new function!
𝑓 𝑥 = 2𝑥 + 3 ;
𝑔 𝑥 = 𝑥2
Addition Subtraction Multiplication Division
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find 𝑎. 𝑔 + ℎ 𝑥
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find 𝑏. 𝑔 ∙ ℎ 𝑥
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find c. 𝑓 − 𝑔 𝑥
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find d. 𝑓 ÷ 𝑔 𝑥
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find e. 𝑓 ∙ 𝑔 𝑥
LET 𝑓 𝑥 = 3𝑥 2 − 11𝑥 − 4
𝑔 𝑥 = 3𝑥 + 1
ℎ 𝑥 = 2𝑥 − 3
Find f. 𝑓 + 𝑔 + ℎ 𝑥
LET 𝑓 𝑥 = 𝑥 2 + 3𝑥 + 2
𝑔 𝑥 =𝑥+2
Find a. 𝑓 + 𝑔 2
LET 𝑓 𝑥 = 𝑥 2 + 3𝑥 + 2
𝑔 𝑥 =𝑥+2
Find b. 𝑓 − 𝑔 1
LET 𝑓 𝑥 = 𝑥 2 + 3𝑥 + 2
𝑔 𝑥 =𝑥+2
Find c. 𝑓 ∙ 𝑔 −1
LET 𝑓 𝑥 = 𝑥 2 + 3𝑥 + 2
𝑔 𝑥 =𝑥+2
Find d. 𝑓 ÷ 𝑔 3
Composition of Functions
Another way to combine two functions to
create a new function.
𝑓 𝑥 𝑎𝑛𝑑 𝑔 𝑥
𝑓 ∘ 𝑔 𝑥 = 𝑓(𝑔 𝑥 )
𝑓 𝑥 = 2𝑥 − 1
𝑔 𝑥 =𝑥+2
𝑓 𝑥 = 3𝑥 + 1
𝑔 𝑥 = 2𝑥 − 3
𝑓 𝑥 = 3𝑥 + 4
𝑔 𝑥 = 2𝑥 − 1
Find 𝑎. (𝑓 ∘ 𝑔)(𝑥)
𝑓 𝑥 = 3𝑥 + 4
𝑔 𝑥 = 2𝑥 − 1
Find 𝑏. (𝑔 ∘ 𝑓)(𝑥)
𝑓 𝑥 = 3𝑥 + 4
𝑔 𝑥 = 2𝑥 − 1
Find 𝑐. (𝑓 ∘ 𝑓)(𝑥)
𝑓 𝑥 = 3𝑥 + 4
𝑔 𝑥 = 2𝑥 − 1
Find 𝑑. (𝑔 ∘ 𝑔)(𝑥)
𝑓 𝑥 = 2𝑥 − 3
𝑔 𝑥 = −5𝑥 + 2
Find 𝑎. (𝑓 ∘ 𝑔)(1)
𝑓 𝑥 = 2𝑥 − 3
𝑔 𝑥 = −5𝑥 + 2
Find 𝑏. (𝑔 ∘ 𝑓)(−2)
𝑓 𝑥 = 2𝑥 − 3
𝑔 𝑥 = −5𝑥 + 2
Find 𝑐. (𝑓 ∘ 𝑓)(2)
𝑓 𝑥 = 2𝑥 − 3
𝑔 𝑥 = −5𝑥 + 2
Find 𝑑. (𝑔 ∘ 𝑔)(−1)