Three Ways to Solve a Quadratic Equation
On this page
A quadratic equation has the form with . There are three standard ways to solve one: factoring, the quadratic formula and completing the square. Factoring is fastest when it works, the formula always works, and completing the square explains where the formula comes from.
Before you start: get it into standard form
Move everything to one side so the other side is zero. For example, becomes
Now you can read off , and .
Method 1: Factoring
Look for two numbers that multiply to and add to .
For we need two numbers that multiply to and add to . Those are and :
If a product is zero, one of the factors must be zero, so or .
Second example: . Two numbers that multiply to and add to are and :
Method 2: The quadratic formula
This works for every quadratic:
Example: , so , , .
These roots are irrational, which is why factoring would not have found them. As decimals they are about and .
Method 3: Completing the square
Rewrite the quadratic as a perfect square plus a constant.
For :
- Move the constant: .
- Add the square of half the -coefficient to both sides. Half of is , and : .
- The left side is now a square: .
- Take square roots: , so .
Same answer as the formula, because the formula is completing the square done once in general.
Which method should I use?
| Situation | Best method |
|---|---|
| Small whole-number coefficients | Try factoring first |
| Messy numbers or decimals | Quadratic formula |
| You need the vertex of the parabola | Completing the square |
| You want to know how many roots | Work out first |
Common mistakes
- Forgetting the ± sign. A quadratic usually has two roots.
- Sign errors with . If , then .
- Dividing only part of the numerator by . The whole of is divided.
Practice questions
- Solve by factoring.
- Solve with the formula.
- Solve by completing the square.
Answers: 1) or 2) or 3)
You can check any of these with the quadratic equation solver, which shows the parabola and its roots, or plot the curve in the graphing calculator. For more on the part, read what the discriminant tells you.
Frequently asked questions
Can a quadratic have only one solution?
Yes. When b² − 4ac = 0 the two roots are equal, so there is one repeated root, and the parabola just touches the x-axis.
What if b² − 4ac is negative?
There are no real solutions. The roots are complex numbers involving i, where i² = −1.
Does factoring always work?
Only when the roots are rational. The quadratic formula works for every quadratic equation.
#quadratics#algebra#equations
