Solve x² - 4x + 4 = 0
The solution of x² - 4x + 4 = 0 is x = 2 (a repeated root).
Change a, b or c (whole numbers, a not 0) and the exact solutions follow.
How to work it out
- 1
Write it in standard form a x² + b x + c = 0 and read off the coefficients: a = 1, b = -4, c = 4.
- 2
Work out the discriminant D = b² − 4ac. Its sign tells you how many real solutions there are.
- 3
D is zero, so there is exactly one solution (a repeated root).
- 4
Method 1, factoring. The roots are rational, so the left side factors:
- 5
A product is zero when one of its factors is zero, so set each factor equal to 0 and solve:
- 6
Method 2, The quadratic formula works for every quadratic:
- 7
Simplify to get the solution:
- 8
Check by putting x = 2 back in: a·x² + b·x + c = 1·(4) + (-4)·(2) + 4 = 0 ✓
LaTeX source of the formulas on this page
\[ x^2 - 4x + 4 = 0\ \Rightarrow\ x = 2 \]
\[ x^2 - 4x + 4 = 0 \]
\[ D = (-4)^2 - 4\cdot1\cdot4 = 16 - 16 = 0 \]
\[ \left(x - 2\right)\left(x - 2\right) = 0 \]
\[ x - 2 = 0 \Rightarrow x = 2 \]
\[ x = \frac{-b \pm \sqrt{D}}{2a} = \frac{4 \pm \sqrt{0}}{2} \]
\[ x = 2 \]The parabola y = x² - 4x + 4
| x | y |
|---|---|
| -1 | 9 |
| 0 | 4 |
| 1 | 1 |
| 2 | 0 |
| 3 | 1 |
| 4 | 4 |
| 5 | 9 |
Questions
What are the solutions of x² - 4x + 4 = 0?
The solution of x² - 4x + 4 = 0 is x = 2 (a repeated root).
Does x² - 4x + 4 = 0 factor?
Yes: (x-2)(x-2) = 0.
What is the vertex of y = x² - 4x + 4?
(2, 0). The parabola opens upwards, so this is the minimum.
What are the sum and product of the roots?
Sum = −b/a = 4, product = c/a = 4.