The equation y=x^2+6x+12 is equivalent to the equation y=(x+3)^2+k, where k is a co...

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

Answer

3

Work

x^2 + 6x + 12 = (x + 3)^2 + k
x^2 + 6x + 12 = x^2 + 6x + 9 + k
12 = 9 + k
k = 3

Step-by-step solution

  1. Expand the target form: $(x+3)^2 + k = x^2 + 6x + 9 + k$.
  2. Set this equal to the original equation: $x^2 + 6x + 9 + k = x^2 + 6x + 12$.
  3. Subtract $x^2 + 6x$ from both sides: $9 + k = 12$.
  4. Solve for $k$: $k = 12 - 9 = 3$.