Given f(x) and g(x), please find (fog)(X) and (gof)(x)

f(x) = 2x g(x) = x+3

### 3 Answers | Add Yours

f(x) = 2x

g(x) = x + 3

First let us find (fog)(x)

(fog)(x) = f(g(x)

= f(x+3)

= 2(x+3)

= 2x + 6

==> **(fog)(x) = 2x + 6**

Now let us find (gof)(x):

(gof)(x) = g(f(x)

= g(2x)

= 2x + 3

==> **(gof)(x) = 2x + 3**

f(x) = 2x. g(x) = x+3.

To find (fog)(x) and (gof)(x).

Solution:

f(x) = 2x. g(x) = x+3.

Substitute g(x) for x in f(x) to get (fOg)(x):

f((g(x)) = 2 (g(x) = 2(x+3) = 2x+6.

To get (gof)(x), substitute f(x) for x in g(x):

(gof)(x) = (2x) + 3 = 2x+3.

To calculate the compositions of the functions, we'll apply the rule:

(fog)(x) = f(g(x)) (f of g of x)

It is obvious that we'll substitute x by the expression of g(x) and we'll get:

f(g(x)) = f(x+3) = 2*(x+3)

We'll remove the brackets and we'll have:

**(fog)(x) = 2x + 6**

Now, we'll calculate (gof)(x).

(gof)(x) = g(f(x)) (g of f of x)

It is obvious that we'll substitute x by the expression of f(x) and we'll get:

g(f(x)) = g(2x) = 2x + 3

**(gof)(x) = 2x + 3**

### Join to answer this question

Join a community of thousands of dedicated teachers and students.

Join eNotes