If f(x)=2x+8f(x)=2x+8 and g(x)=3x-2g(x)=3x2, how do you find g(f(-4))g(f(4))?

1 Answer
Apr 7, 2018

color(blue)(-2)2

Explanation:

First we find the function g(f(x))g(f(x))

To do this we substitute the variable xx in g(x)g(x) for f(x)f(x):

:.

g(x)=3x-2

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

f(x)=2x+8

So:

g(f(x))=3(2x+8)-2=6x+24-2=6x+22

We now plug in the value x=-4

g(f(-4))=6(-4)+22=color(blue)(-2)