Complete the square to re-write the quadratic function in vertex form: y = x^2 + 9x...

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

Answer

\(y = (x + \frac{9}{2})^2 - \frac{105}{4}\)

Work

y = x^2 + 9x - 6
y = (x^2 + 9x + \frac{81}{4}) - \frac{81}{4} - 6
y = (x + \frac{9}{2})^2 - \frac{105}{4}

Step-by-step solution

  1. Identify the coefficient of $x$, which is $9$.
  2. Calculate the value needed to complete the square: $(\frac{9}{2})^2 = \frac{81}{4}$.
  3. Add and subtract this value inside the function: $y = (x^2 + 9x + \frac{81}{4}) - \frac{81}{4} - 6$.
  4. Factor the perfect square trinomial and simplify the constants: $y = (x + \frac{9}{2})^2 - \frac{81}{4} - \frac{24}{4} = (x + \frac{9}{2})^2 - \frac{105}{4}$.