Let f(x)=ax+b, where a and b are constants. If f(f(f(x)))=8x+21, find a+b.
Solution — click to reveal
We have that f(f(f(x)))=f(f(ax+b))=f(a(ax+b)+b)=f(a2x+ab+b)=a(a2x+ab+b)+b=a3x+a2b+ab+b=8x+21.Matching coefficients, we get a3=8 and a2b+ab+b=21. Then a=2, so 4a+2b+b=21, or 7b=21, so b=3.