Let f(x) = 1 /(x+3) and g(x) = -2 /x, how do you find each of the compositions?

1 Answer
Jul 12, 2018

Please see the explanation below.

Explanation:

The functions are

f(x)=1/(x+3)

And

g(x)=-2/x

There are 2 compositions

fog(x)=f(g(x))=f(-2/x)

=1/((-2/x)+3)

=x/(3x-2)

And

gof(x)=g(f(x))=g(1/(x+3))

=-2/(1/(x+3))

=-2(x+3)

Therefore,

fog(x)!=gof(x)