Section 2.3 - Composite Functions
Section 2.3 - Composite Functions
(𝒇 ◦ 𝒈)(𝒙) → 𝒇(𝒈(𝒙))
𝒔𝒐 … 𝒇(𝒈(𝟑)) = 𝒇(𝟓)
This is 𝑓(𝑥) This is 𝑓(𝑥) with
the 𝑔(𝑥) function 𝟓𝟐
subbed in for the 𝑥
in the 𝑓(𝑥) function 𝟐𝟓
Composite of Functions (𝒇 ◦ 𝒈)
1
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
a) (𝑓 ◦ 𝑔)(𝑥) b) (𝑔 ◦ 𝑓)(𝑥)
Solution 1:
a) (𝑓 ◦ 𝑔)(𝑥) = 𝑓(𝑔(𝑥))
= 1 − (2𝑥 + 3)2 Substitute the 𝑔(𝑥) function into the 𝑥 in the 𝑓(𝑥) function
= 1 − (2𝑥 + 3)(2𝑥 + 3)
Do not forget to FOIL
= 1 − (4𝑥 2 + 12𝑥 + 9)
= 𝑔(1 − 𝑥 2 ) Substitute the 𝑓(𝑥) function into the 𝑥 in the 𝑔(𝑥) function
= 2(1 − 𝑥 2 ) + 3
Do not forget to WATERBOMB
= 2 − 2𝑥 2 + 3
= −𝟐𝒙𝟐 + 𝟓 Simplify
Solution 2:
2
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
Example 3: If 𝑓(𝑥) = 𝑥 2 − 1 𝑎𝑛𝑑 𝑔(𝑥) = √𝑥, find (𝑓 ◦ 𝑔)(𝑥), the Domain of (𝑓 ◦ 𝑔)(𝑥), and
sketch the graph
Domain of 𝒇(𝒙): 𝒙 = 𝑨𝒍𝒍 𝑹𝒆𝒂𝒍 𝑵𝒖𝒎𝒃𝒆𝒓𝒔 The Domain of (𝑓 ◦ 𝑔)(𝑥) appears to be:
Domain of 𝒈(𝒙): 𝒙 ≥ 𝟎
𝑥 = 𝐴𝑙𝑙 𝑅𝑒𝑎𝑙 𝑁𝑢𝑚𝑏𝑒𝑟𝑠,
(𝑓 ◦ 𝑔)(𝑥) = 𝑓(𝑔(𝑥)) but it is restricted by the Domain of 𝑔(𝑥).
= 𝑓(√𝑥)
2
= √𝑥 − 1
=𝒙−𝟏
𝑥 1
Example 4: If 𝑓(𝑥) = and 𝑔(𝑥) = , find
𝑥−1 𝑥+1
Solution 4:
a) (𝑓 ◦ 𝑔)(𝑥) = 𝑓(𝑔(𝑥))
1 • Common denominator
= 𝑓( ) • Fractions of Fractions can get tricky
𝑥+1
• Helps to Flip and Multiply
1 1 • Keeps things clean
= 𝑥 + 1 = 𝑥 + 1
1 1−𝑥−1 1
𝑥+1−1 𝑥+1 The Domain of 𝑔(𝑥) = is, 𝑥 ≠ −1
𝑥+1
1 𝑥+1
= ∙ The Domain of (𝑓 ◦ 𝑔)(𝑥) is, 𝑥 ≠ 0
𝑥+1 1−𝑥−1
3
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
b) (𝑔 ◦ 𝑓)(𝑥) = 𝑔(𝑓(𝑥))
𝑥 • Common Denominator
= 𝑔( )
𝑥−1 • Fractions of Fractions can get tricky
• Helps to Flip and Multiply
1 1 • Keeps things clean
= 𝑥 =
𝑥+𝑥−1
𝑥−1+1 𝑥−1 𝑥
The Domain of 𝑓(𝑥) = is, 𝑥 ≠ 1
𝑥−1
1 𝑥−1
= ∙
1 2𝑥 − 1 1
The Domain of (𝑔 ◦ 𝑓)(𝑥) is, 𝑥 ≠
2
𝑥−1
=
2𝑥 − 1 𝟏
So, the Domain of (𝒈 ◦ 𝒇)(𝒙) is 𝒙 ≠ 𝟏,
𝟐
Example 5: If 𝑓 = {(1, 𝑑), (3, 𝑒)} and 𝑔 = {(𝑎, 1), (𝑏, 3), (𝑐, 5)}, find (𝒇 ◦ 𝒈)(𝒙)
Solution 5: Need to run the inputs from function 𝑔 and match their outputs to the inputs from
function 𝑓 to get the output from 𝑓 as a solution.
Solution 6: 𝑓(𝑥)
a) (𝒇 ◦ 𝒈)(𝟏) = 𝑓(𝑔(1))
= 𝑓(−3)
=𝟏
𝑔(𝑥)
b) (𝒈 ◦ 𝒈)(𝟓) = 𝑔(𝑔(5))
= 𝑔(1)
= −𝟑
4
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
Example 7: Compute: ℎ ≠ 0 𝑓𝑜𝑟 𝑓(𝑥) = 2𝑥 2 + 3
ℎ
Solution 7: This is a technique, and particular equation that is used as the generic form for calculating
limits in Calculus, you will see this in Calculus 12!!
𝑓(𝑥) = 2𝑥 2 + 3
So…
• When you get comfortable building them up, decomposing them will be quite intuitive
• Consider the input value (what’s on the inside) and the output value (what’s on the outside)
Example 8: Given ℎ(𝑥) = √𝑥 − 2, find the two functions 𝑓 𝑎𝑛𝑑 𝑔 so that (𝒇 ◦ 𝒈)(𝒙) = 𝒉(𝒙)
Solution 8:
Check:
√𝒙 − 𝟐 = 𝒉(𝒙)
5
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
3
Example 9: Given ℎ(𝑥) = √𝑥 + 5, find the two functions 𝑓 𝑎𝑛𝑑 𝑔 so that (𝒇 ◦ 𝒈)(𝒙) = 𝒉(𝒙)
Solution 9:
Check:
3
Example 10: Given ℎ(𝑥) = (√𝑥 + 1) − 2, find the two functions 𝑓 𝑎𝑛𝑑 𝑔 so that (𝒇 ◦ 𝒈)(𝒙) = 𝒉(𝒙)
Solution 10:
Check:
𝟑
(√𝒙 + 𝟏) − 𝟐 = 𝒉(𝒙)
6
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
1 𝑥−3
a) 𝑓(𝑥) = b) 𝑓(𝑥) =
𝑥−2 𝑥2 − 9
c) 𝑓(𝑥) = √𝑥 + 2 d) 𝑓(𝑥) = √3 − 𝑥
1 f) 𝑓(𝑥) = √𝑥 2 − 1
e) 𝑓(𝑥) =
√𝑥
𝑥−1
2. Let 𝑓(𝑥) = 2𝑥 2 − 3𝑥 + 1, 𝑔(𝑥) = 𝑥 + 1, ℎ(𝑥) = 5, 𝑗(𝑥) =
𝑥+1
Evaluate the following
a) (𝑓 ◦ 𝑔)(2) b) (ℎ ◦ 𝑗)(−3)
7
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
c) (𝑗 ◦ ℎ)(2) d) (𝑗 ◦ 𝑔)(0)
e) (ℎ ◦ 𝑗)(−1) f) (𝑓 ◦ 𝑗)(3)
g) (ℎ ◦ 𝑔 ◦ 𝑔)(2) h) (𝑓 ◦ 𝑓 ◦ 𝑓)(−1)
i) (𝑗 ◦ ℎ ◦ 𝑔)(−3) j) (𝑔 ◦ 𝑗 ◦ 𝑓)(4)
k) (𝑓 ◦ ℎ ◦ 𝑗)(2) l) (𝑗 ◦ 𝑗 ◦ 𝑔 ◦ 𝑓)(−2)
8
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
𝑥 −2 0 3 7 𝑥 −1 1 4 6
𝑓(𝑥) 0 1 4 6 𝑔(𝑥) 3 2 −2 −4
a) 𝑓(0) b) 𝑔(1)
c) (𝑓 ◦ 𝑔)(−1) d) (𝑓 ◦ 𝑔)(4)
e) (𝑔 ◦ 𝑓)(0) f) (𝑔 ◦ 𝑓)(7)
g) (𝑓 ◦ 𝑔)(1) h) (𝑔 ◦ 𝑓)(−2)
4. For each pair of functions, find (𝑓 ◦ 𝑔)(𝑥) and (𝑔 ◦ 𝑓)(𝑥). State the Domain of the result
9
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
10
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
3 1 1
g) 𝑓(𝑥) = and 𝑔(𝑥) = h) 𝑓(𝑥) = |𝑥 − 2| − 3 and 𝑔(𝑥) =
𝑥 𝑥−4 𝑥
5. Find two functions 𝑓(𝑥) and 𝑔(𝑥) such that ℎ(𝑥) = (𝑓 ◦ 𝑔)(𝑥). Answers may vary.
11
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
1 2
c) ℎ(𝑥) = d) ℎ(𝑥) =
3𝑥 − 4 𝑥2 +4
3
e) ℎ(𝑥) = √𝑥 2 + 1 + 3 f) ℎ(𝑥) = √3𝑥 + 4 − 1
g) ℎ(𝑥) = 3(2𝑥 − 3)4 − (2𝑥 − 3)7 h) ℎ(𝑥) = 3(2𝑥 + 4)3 + 2(2𝑥 + 4)6
12
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
6. Sketch the graph of the (𝑓 ◦ 𝑔)(𝑥) for the following. State the Domain.
𝐷𝑜𝑚𝑎𝑖𝑛:
𝐷𝑜𝑚𝑎𝑖𝑛:
13
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
Sketch the graph of the (𝑓 ◦ 𝑔)(𝑥) for the following. State the Domain.
𝐷𝑜𝑚𝑎𝑖𝑛:
𝐷𝑜𝑚𝑎𝑖𝑛:
14
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
7. The first of the two graphs shows two functions 𝑓 𝑎𝑛𝑑 𝑔. The second shows two functions ℎ 𝑎𝑛𝑑 𝑘.
Use the graphs to compute the following:
a) (𝑔 ◦ 𝑓)(−4) =
𝑓(𝑥)
b) (𝑓 ◦ 𝑔)(3) =
c) (𝑓 ◦ 𝑓)(−2) =
d) (𝑔 ◦ 𝑔)(3) =
e) (𝑔 ◦ 𝑓)(−5) = 𝑔(𝑥)
f) (𝑔 ◦ 𝑓)(−3) =
g) (ℎ ◦ 𝑘)(0) =
h) (ℎ ◦ 𝑘)(−1) =
ℎ(𝑥)
i) (ℎ ◦ 𝑘)(2) =
j) (ℎ ◦ 𝑘)(−3) =
k) (𝑘 ◦ ℎ)(0) =
l) (𝑘 ◦ ℎ)(2) =
m) (𝑘 ◦ ℎ)(−4) =
n) (𝑘 ◦ ℎ)(−2) =
𝑘(𝑥)
15
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
8. If 𝑓 = {(3, 4), (4, 5), (5, 6), (6, 7)} and 𝑔 = {(5, 3), (6, 4), (7, −2), (8, 0)}, determine:
a) (𝑓 ◦ 𝑔)(𝑥) b) (𝑔 ◦ 𝑓)(𝑥)
9. If 𝑓(𝑥) = 3𝑥 − 2 𝑎𝑛𝑑 𝑔(𝑥) = 3𝑥 + 𝑏, find 𝑏 such that (𝑓 ◦ 𝑔)(𝑥) = (𝑔 ◦ 𝑓)(𝑥) for all real
numbers 𝑥.
16
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
𝑓(𝑥 + ℎ) − 𝑓(𝑥)
10. Find the difference quotient ℎ ≠ 0 for the given function 𝑓
ℎ
a) 𝑓(𝑥) = 2𝑥 + 3 b) 𝑓(𝑥) = 𝑥 2 + 𝑥
c) 𝑓(𝑥) = −3𝑥 2 + 2𝑥 1
d) 𝑓(𝑥) =
𝑥
17
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
4 1
e) 𝑓(𝑥) = f) 𝑓(𝑥) =
2𝑥 − 1 √𝑥
18
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
a) Write the radius of the circle as a function of the length 𝑥 of the sides of the square.
c) Find (𝐴 ◦ 𝑟)(𝑥).
19
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com
Pre-Calculus 12
12. A baseball diamond is a square 90𝑓𝑡 on each side. A batter is running to first base at a rate of
27 𝑓𝑡/𝑠𝑒𝑐 2nd
𝑔(𝑡) 1st
3rd
𝑓(𝑡)
𝐻𝑜𝑚𝑒
a) Find the function 𝑓(𝑡) for the distance 𝑥 of the batter from first base in terms of time 𝑡
b) Find a function 𝑔(𝑓) for the distance the batter is from second base in terms of the distance 𝑓
21
Adrian Herlaar, School District 61 www.mrherlaar.weebly.com