f(x) = -x^2 - 4x + 12. If the maximum of the graph of f is (a, 16), what is a?

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

Answer

A

Work

f(x) = -(x^2 + 4x) + 12 = -(x^2 + 4x + 4) + 12 + 4 = -(x+2)^2 + 16; vertex = (-2, 16); a = -2

Step-by-step solution

  1. Identify the vertex form of the quadratic function $f(x) = a(x-h)^2 + k$, where $(h, k)$ is the vertex (maximum point).
  2. Complete the square for $f(x) = -x^2 - 4x + 12$ to find the vertex.
  3. Factor out $-1$ from the $x$ terms: $f(x) = -(x^2 + 4x) + 12$.
  4. Add and subtract $(\frac{4}{2})^2 = 4$ inside the parentheses: $f(x) = -(x^2 + 4x + 4 - 4) + 12$.
  5. Simplify: $f(x) = -(x+2)^2 + 4 + 12 = -(x+2)^2 + 16$.
  6. The vertex is $(-2, 16)$. Since the point is given as $(a, 16)$, we have $a = -2$.