Functions
Functions
Learning Objectives:
Mapping
Diagram
Example 1. If ℎ ∶ 𝑥 ↦ 3𝑥 − 2 , 𝑓𝑖𝑛𝑑 ∶
a. ℎ 2 Solution: 𝑎. ℎ 2 = 3 2 − 2 𝑏. ℎ 𝑦 = 3 𝑦 − 2
𝑏. ℎ 𝑦 =4 = 3y - 2
𝑏. 𝑓 𝑥 − 1 Solution: 𝑎. 𝑓 𝑥 − 1 = 3 𝑥 − 1 + 1
= 3𝑥 − 3 + 1
= 3𝑥 − 2
Example 5.
Solution: Step 1. First, find g(3x) . Step 2. Set up the equation for f(x) = g(3x)
to find x .
𝑔 3𝑥 = 8 − ( 3𝑥)
4 + 3𝑥 = 8 − 3𝑥
𝑔 3𝑥 = 8 − 3𝑥 3𝑥 + 3𝑥 = 8 − 4
6𝑥 = 4
2
𝑥=
3
EXERCISES
EXERCISES
EXERCISES
7.
DOMAIN AND RANGE
Remember the mapping diagram?
To get the output, we use values 1, 2, 4, and 7.
𝑓: 𝑥 ↦ 2𝑥 + 1
-1 -1 If x = -1 , 2 −1 + 1 = −1
0 1 If x = 0 , 2 0 + 1 = 1
1 3 If x = 1 , 2 1 + 1 = 3
2 5 If x = 2 , 2 2 + 1 = 5
-2 0 If x = -2 , −2 + 2 = 0
-1 1
If x = -1 , −1 + 2 = 1
0 2 If x = 0 , 0 +2=2
1 3
. . If x = 1 , 1 +2=3
. .
. .
The range is {𝑦: 𝑦 ≥ 0, 𝑦 𝑖𝑠 𝑎𝑛 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 }
Example 3. Find the range of ℎ: 𝑥 ↦ 𝑥 2 + 2
if the domain is all real numbers.
Domain = {𝑥: 𝑥 ∈ ℝ}
x -2 -1 0 1 2
h(x) 6 3 2 3 6
Range = {2, 3, 6}
EXERCISES For each function, find the range for the given domain.
𝑎. 𝑥 𝑏. 1 + 𝑥 − 2
𝑥−2<0
𝑥<2
𝑎. 𝑥 𝑏. 1 + 𝑥 − 2
𝑥−2<0
𝑥<2
1.
2.
3.
COMPOSITE FUNCTIONS
If 𝑓: 𝑥 ↦ 2𝑥 𝑎𝑛𝑑 𝑔: 𝑥 ↦ 𝑥 + 3, 𝑡ℎ𝑒𝑛
2 f 4 g 7
2 g 5 f 10
x f f(x) g g[f(x)]
COMPOSITE FUNCTIONS
𝑓 𝑥 = 2𝑥 𝑔 𝑥 =𝑥+3 𝑔𝑓 𝑥
-2 -4 -1 𝑔𝑓 −2
-1 -2 1 𝑔𝑓 −1
0 0 3 𝑔𝑓 0
1 2 5 𝑔𝑓 1
Domain Range Domain Range
Example 1: 2
If 𝑓 𝑥 = 𝑥 𝑎𝑛𝑑 𝑔 𝑥 = 𝑥 + 2 , 𝑓𝑖𝑛𝑑
a. 𝑓𝑔 3 ⟶ 𝑔 3 = 3+2 = 5, so 𝑓 5 = 52 = 25
2
b. 𝑔𝑓 3 ⟶ 𝑓 3 = 3 = 9, so 𝑔 9 = 9 + 2 = 11
c. 𝑓𝑔 𝑥 ⟶ 𝑔 𝑥 = 𝑥 + 2, so 𝑓 𝑥 + 2 = (𝑥 + 2)2
d. 2
𝑔𝑓 𝑥 ⟶ 𝑓 𝑥 = 𝑥 , so 𝑔 𝑥2 = 𝑥2 + 2
e. 𝑔𝑔 𝑥 ⟶ 𝑔 𝑥 = 𝑥 + 2, so 𝑔 𝑥+2 =𝑥+2+2
𝑔 𝑥+2 =𝑥+4
Example 2: If , 𝑓𝑖𝑛𝑑
1
a. 𝑔𝑓 𝑥 ⟶ 𝑓 𝑥 = 4𝑥 , 𝑠𝑜 𝑔 4𝑥 = 4𝑥 + 4
4
𝑔 4𝑥 = 𝑥 + 4
b. 𝑓𝑓 𝑥 ⟶ 𝑓 𝑥 = 4𝑥 , 𝑠𝑜 𝑓 4𝑥 = 4 4𝑥 = 16𝑥
INVERSE FUNCTION
❖ The inverse function does whatever has been done by the function.
➢ If the function is “add one” then the inverse function is “subtract one”.
2 f 3 g 2
x f x+1 g x
Step 2:
𝑥= 𝑦+1 (Change any x to y and y to x.
Step 3:
𝑦+1=𝑥 (Make y a subject )
𝑦 = 𝑥2 − 1
Answer:
𝑓 −1 𝑥 = 𝑥 2 − 1
EXERCISES
1.
For number 2, find:
a. 𝑓𝑔(𝑥) b. 𝑔𝑓(𝑥) c. 𝑓𝑓(𝑥)
2.
3.
Challenge!
4.
EXERCISES