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

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

Answer

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

Work

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

Step-by-step solution

  1. Identify the coefficient of $x$, which is $-2$.
  2. Divide this coefficient by $2$ to get $-1$, then square it to get $1$.
  3. Rewrite the function by adding and subtracting this value inside the expression: $y = (x^2 - 2x + 1) - 1 + 7$.
  4. Factor the perfect square trinomial and simplify the constants: $y = (x - 1)^2 + 6$.