Let f(x)=x+1ax.Find the constant a so that f(f(x))=x for all x=−1.
Solution — click to reveal
We have that f(f(x))=f(x+1ax)=x+1ax+1a⋅x+1ax=ax+x+1a2x.We want ax+x+1a2x=xfor x=−1. This gives us a2x=ax2+x2+x.Matching the coefficients, we get a2=1 and a+1=0. Thus, a=−1.