y = x^2 - 2x + 7

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

Answer

\(y = (x - 1)^2 + 6\)

Work

y = (x^2 - 2x + 1) - 1 + 7
y = (x - 1)^2 + 6

Step-by-step solution

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