If g[f(x)]=|sinx| and f[g(x)]=(sinx)2,then
f(x)=sin2x,g(x)=x
f(x)=sinx,g(x)=|x|
f(x)=x2,g(x)=sinx
f and g cannot be determined.
When f(x)=sin2x and g(x)=x, (fog)(x)=f[g(x)]=f(x)=(sinx)2 and (gof)(x)=g[f(x)]=gsin2x=|sinx| When f(x)=sinx and g(x)=|x| (fog)(x)=f(g(x))=f(|x|)=sin|x|≠(sinx)2 When f(x)=x2 and g(x)=sinx (fog)(x)=f[g(x)]=f(sinx)=(sinx)2 and (gof)(x)=g[f(x)]=gx2=sinx2 =sin|x|≠|sinx|