If the function f:R→R be given by f(x)=x2+2 and g:R→R be given by g(x)=xx−1,x≠1,
find fog and gof and hence fing fog(2) and gof(-3).
We have fog(x)=f[g(x)]=f(xx−1)=(xx−1)2+2
And, fog(2)=(22−1)2+2=6
Also, gof(x)=g[f(x)]=g(x2+2)=x2+2x2+2−1=x2+2x2+1
And, gof(−3)=(−3)2+2(−3)2+1=1110