Evaluate f(x) = x^2 + 6x + 5 for a. f(1), b. f(x+3), c. f(-x)

Check the final answer first, then review the worked steps.

Answer

a. 12, b. x^2 + 12x + 32, c. x^2 - 6x + 5

Work

a. f(1) = 1^2 + 6(1) + 5 = 12
b. f(x+3) = (x+3)^2 + 6(x+3) + 5 = x^2 + 6x + 9 + 6x + 18 + 5 = x^2 + 12x + 32
c. f(-x) = (-x)^2 + 6(-x) + 5 = x^2 - 6x + 5

Step-by-step solution

  1. For $f(1)$, substitute $1$ for $x$: $f(1) = (1)^2 + 6(1) + 5 = 1 + 6 + 5 = 12$.
  2. For $f(x+3)$, replace $x$ with $(x+3)$: $f(x+3) = (x+3)^2 + 6(x+3) + 5$. Expand to get $(x^2 + 6x + 9) + 6x + 18 + 5 = x^2 + 12x + 32$.
  3. For $f(-x)$, replace $x$ with $(-x)$: $f(-x) = (-x)^2 + 6(-x) + 5 = x^2 - 6x + 5$.