Given f(x) =
and g(x) = sin x
Now we have to prove fog ≠ gof
(fog) (x) = f (g (x))
= f (sin x)
=
And (gof) (x) = g (f (x))
So,
.