213k views
17 votes
If f(x)=x^2+9x and g(x)=3x+1 find f(g(x)) and g(f(x))

1 Answer

11 votes

Answer:

see explanation

Explanation:

to find f(g(x)) , substitute x = g(x) into f(x)

f(g(x))

= f(3x + 1)

= (3x + 1)² + 9(3x + 1) ← expand parenthesis

= 9x² + 6x + 1 + 27x + 9 ← collect like terms

= 9x² + 33x + 10

----------------------------------------------

to find g(f(x)), substitute x = f(x) into g(x)

g(f(x))

= g(x² + 9x)

= 3(x² + 9x) + 1 ← distribute parenthesis

= 3x² + 27x + 1

User RNDThoughts
by
3.6k points