Composition of Functions
Composition of Functions
We can derive complex functions from simple functions such as money, location,
and time using the process of composition. In this process, the output of one
function becomes the input of another.
COMPOSITION OF FUNCTIONS
The domain of 𝑓 ∘ 𝑔 is the set of all 𝑥 in the domain of 𝑔 such that 𝑔(𝑥) is in
the domain of 𝑓. In other words, (𝑓 ∘ 𝑔)(𝑥) is defined whenever both 𝑔(𝑥) and
𝑓(𝑔(𝑥)) are defined.
Solution:
b.
Example 4: Let 𝑓(𝑥) = 3𝑥 − 2 and 𝑔(𝑥) = 𝑥2 + 2𝑥. Evaluate each of the following
So 𝑔(𝑓(3)) = 63.
b. Because 𝑔(−4) = (−4)2 + 2(−4) = 8, we have 𝑓(𝑔(−4)) = 𝑓(8) = 3(8) −
So, 𝑓(𝑔(−4)) = 22.
c. Because (𝑔 ∘ 𝑓)(2) = 𝑔(𝑓(2)), we first find 𝑓(2): 𝑓(2) = 3(2) − 2 = 4
2 = 22.
¤ Decomposition of a Function
Decomposing a function is the reverse process of composition of
𝑔(𝑥) = 𝑥 − 4
Example 6: Given 𝑓(𝑔(𝑥)) = 3𝑥2 + 12𝑥 + 16 and 𝑔(𝑥) = 𝑥 + 2, find 𝑓(𝑥).
Solution: Notice that the function asked for is the outer function. To solve for 𝑓(𝑥),
first derive 𝑥 in 𝑔(𝑥).
Then, 𝑥 = 𝑔(𝑥) − 2.
Substitute the expression 𝑔(𝑥) − 2 for every 𝑥 in 𝑓(𝑔(𝑥)).
𝑓(𝑔(𝑥)) = 3𝑥2 + 12𝑥 + 16
1. (𝑔 ∘ 𝑓)(4)
2. (h ∘ g)
2
3. (𝑓 ∘ 𝑔)(−3)
5