Find fog and gof, if

f(x) = x2 + 2,

f(x) = x2 + 1 and


Range of f = (2,∞) Domain of g = R gof exists


Range of g= R – [ – 1] Domain of f =R fog exists


Now,


and




Hence,


1