Use composition to show that f and g are inverses of each other.
Question 513 marksMedium
Use composition to show that f and g are inverses of each other.
(i)f(x)=2x−6, g(x)=2x+3
(ii)f(x)=x+11, g(x)=x1−x
(iii)f(x)=2x+5−3, g(x)=2x−3−5x
(iv)f(x)=x5, g(x)=5x
Solution:
Key idea: Two functions f and g are inverses of each other when composing them in either order gives back the input, that is, (f∘g)(x)=x and (g∘f)(x)=x for every x in the right domain. So for each pair we work out both compositions and simplify them.
Step 1 — Part (i): find (f∘g)(x) for f(x)=2x−6 and g(x)=2x+3.
We put the whole expression g(x) in place of x in f, because (f∘g)(x)=f(g(x)).
(f∘g)(x)=2(2x+3)−6
(f∘g)(x)=x+6−6
(f∘g)(x)=x
Step 2 — Part (i): find (g∘f)(x).
Now we put f(x)=2x−6 in place of x in g.
(g∘f)(x)=22x−6+3
(g∘f)(x)=x−3+3
(g∘f)(x)=x
Both compositions give x, so f and g in part (i) are inverses of each other.
Step 3 — Part (ii): find (f∘g)(x) for f(x)=x+11 and g(x)=x1−x.
We substitute g(x) into f and first combine the denominator into a single fraction (x=0, so that g is defined).
(f∘g)(x)=x1−x+11
(f∘g)(x)=x1−x+x1
(f∘g)(x)=x11
(f∘g)(x)=x
Step 4 — Part (ii): find (g∘f)(x).
We substitute f(x)=x+11 into g and simplify the numerator first (x=−1, so that f is defined).
(g∘f)(x)=x+111−x+11
(g∘f)(x)=x+11x+1x
(g∘f)(x)=x
Both compositions give x, so f and g in part (ii) are inverses of each other.
Step 5 — Part (iii): find (f∘g)(x) for f(x)=2x+5−3 and g(x)=2x−3−5x.
We substitute g(x) into f and simplify the denominator 2g(x)+5 first.
2g(x)+5=x−3−5x+5
2g(x)+5=x−3−5x+5x
2g(x)+5=x−3
So the composition is
(f∘g)(x)=x−3−3
(f∘g)(x)=x
Step 6 — Part (iii): find (g∘f)(x).
We substitute f(x)=2x+5−3 into g, working out the numerator and the denominator separately.
The numerator is
−3−5f(x)=−3+2x+515
−3−5f(x)=2x+5−6x−15+15
−3−5f(x)=2x+5−6x
The denominator is
2f(x)=2x+5−6
Dividing the two gives
(g∘f)(x)=−6−6x
(g∘f)(x)=x
Both compositions give x, so f and g in part (iii) are inverses of each other.
Step 7 — Part (iv): compose f(x)=x5 and g(x)=5x in both orders.
A fifth root undoes a fifth power. Because 5 is odd, every real number (positive or negative) has exactly one real fifth root, so this works for every real x.
(f∘g)(x)=(5x)5
(f∘g)(x)=x
(g∘f)(x)=5x5
(g∘f)(x)=x
Both compositions give x, so f and g in part (iv) are inverses of each other.
Watch out: Checking only one order is not enough; both f∘g and g∘f must equal the identity.
Therefore, in all four parts both f∘g and g∘f equal the identity function I, so f and g are inverses of each other.