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

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

Answer

\(y = (x - 5)^2 - 23\)

Work

y = (x^2 - 10x + 25) + 2 - 25
y = (x - 5)^2 - 23

Step-by-step solution

  1. Identify the $x$ terms: $y = (x^2 - 10x) + 2$.
  2. Find the value to complete the square by taking half of the coefficient of $x$ and squaring it: $(\frac{-10}{2})^2 = (-5)^2 = 25$.
  3. Add and subtract this value inside the equation to keep it balanced: $y = (x^2 - 10x + 25) - 25 + 2$.
  4. Factor the perfect square trinomial and simplify the constant: $y = (x - 5)^2 - 23$.