Solve x² − 2x + 1 = 0

Quadratic equation, worked out line by line the way a teacher would write it.

Answer

Solutionx = 1

Step-by-step solution

8 steps
  1. 1 Given
    x^{2} - 2 x + 1 = 0

    Solve for x.

  2. 2 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = -2,\quad c = 1
  3. 3 Factor the trinomial: find two numbers whose product is c = 1 and whose sum is b = -2
    (-1) \cdot (-1) = 1,\qquad (-1) + (-1) = -2
  4. 4 Write the factored form
    \left(x - 1\right)^{2} = 0
  5. 5 Zero product property: a product is 0 only when one of its factors is 0
    x - 1 = 0
  6. 6 Add 1 to both sides
    x = 1

    Move the constant terms to the right.

  7. 7 This factor appears 2 times, so the root has multiplicity 2
  8. 8 Check
    \begin{aligned}x = 1:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
100✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.