Let $f(x)=x^{2}+x+1$ and $g(x)=\sin x$. Show that fog $\neq$ gof.

Question.
Let $f(x)=x^{2}+x+1$ and $g(x)=\sin x$. Show that fog $\neq$ gof.

Solution:
$(f o g)(x)=f(g(x))=f(\sin x)=\sin ^{2} x+\sin x+1$
and $(g o f)(x)=g(f(x))=g\left(x^{2}+x+1\right)=\sin \left(x^{2}+x+1\right)$
So, $f o g \neq g o f$.

Leave a comment

Close

Click here to get exam-ready with eSaral

For making your preparation journey smoother of JEE, NEET and Class 8 to 10, grab our app now.

Download Now