Key idea: Composites are worked from the inside out: (gof)(3) is g(f(3)), (fog)(1) is f(g(1)), and (fof)(0) is f(f(0)). We find the inner value first, then apply the outer function to it.
Step 1 — Part (i), (gof)(3). With f(x)=3x−2 and g(x)=x2, we first find f(3) and then square it.
f(3)=3×3−2
f(3)=7
(gof)(3)=g(7)
(gof)(3)=49
Step 2 — Part (i), (fog)(1). We first square 1, then apply f.
g(1)=1
(fog)(1)=f(1)
f(1)=3−2
(fog)(1)=1
Step 3 — Part (i), (fof)(0). We apply f twice, starting from 0.
f(0)=−2
(fof)(0)=f(−2)
f(−2)=−6−2
(fof)(0)=−8
Step 4 — Part (ii), (gof)(3). Now f(x)=∣x+2∣ and g(x)=−x2; we find f(3) first.
f(3)=∣3+2∣
f(3)=5
(gof)(3)=g(5)
(gof)(3)=−25
Step 5 — Part (ii), (fog)(1). We first apply g to 1, then take the modulus in f.
g(1)=−1
(fog)(1)=f(−1)
f(−1)=∣−1+2∣
(fog)(1)=1
Step 6 — Part (ii), (fof)(0). We apply f twice, starting from 0.
f(0)=∣2∣
f(0)=2
(fof)(0)=f(2)
(fof)(0)=∣4∣
(fof)(0)=4
Step 7 — Part (iii), (gof)(3). Now f(x)=x2−1 and g(x)=x; we find f(3) first.
f(3)=9−1
f(3)=8
(gof)(3)=8
(gof)(3)=22
Step 8 — Part (iii), (fog)(1). We take the square root of 1, then apply f.
g(1)=1
g(1)=1
(fog)(1)=f(1)
(fog)(1)=0
Step 9 — Part (iii), (fof)(0). We apply f twice, starting from 0.