Let f(x) = x^2 - x - 4 and g(x) = -3x + 7. Find g(7) and f(g(7)).
Check the final answer first, then review the worked steps.
Answer
\(g(7) = -14, f(g(7)) = 206\)
Work
g(7) = -3(7) + 7 = -14
f(-14) = (-14)^2 - (-14) - 4 = 196 + 14 - 4 = 206
Step-by-step solution
- Find $g(7)$ by plugging $7$ into the expression for $g(x)$: $$g(7) = -3(7) + 7 = -21 + 7 = -14$$ 2. Find $f(g(7))$ by plugging the result from step 1, which is $-14$, into the expression for $f(x)$: $$f(-14) = (-14)^2 - (-14) - 4$$ 3. Simplify the expression: $$f(-14) = 196 + 14 - 4 = 206$$