Algebra 1 · Algebra 2 · Grades 8, 9, 10
The Quadratic Formula: How and Why It Works
Quick answer
The quadratic formula solves any equation of the form ax² + bx + c = 0 with a ≠ 0. The solutions are x = (−b ± √(b² − 4ac)) / (2a). The expression under the radical, b² − 4ac, is the discriminant: if it is positive there are two real solutions, if it is zero there is one, and if it is negative there are no real solutions.
What you'll learn
- Use the quadratic formula to solve any quadratic equation
- Explain where the quadratic formula comes from
- Use the discriminant to predict how many real solutions an equation has
What the quadratic formula is
A quadratic equation is any equation you can write in the form
The quadratic formula gives you both solutions directly from , , and :
That is doing real work. It is shorthand for two separate solutions:
Why it works
Most courses hand you the formula and move on. It is worth seeing where it comes from, because the derivation is completing the square done once with letters instead of numbers. Doing it once with letters is what saves you from doing it every time with numbers.
Start with the general equation and divide through by (allowed, since ):
Move the constant across:
Now complete the square. Take half of the -coefficient, , square it, and add it to both sides:
The left side is now a perfect square, and the right side combines over a common denominator:
Take the square root of both sides — and this is exactly where the enters, because a positive number has two square roots:
Finally, isolate :
That is the whole derivation. Nothing in it is a trick you have not already seen.
How to use it
- Rearrange the equation so that one side is .
- Identify , , and , keeping their signs.
- Compute the discriminant first, on its own.
- Substitute into the formula and simplify.
- Check at least one solution by substituting it back in.
Worked examples
The discriminant
The quantity tells you how many real solutions exist before you finish solving:
Practice problems
-
Solve .
Hint
Compute the discriminant first. It is a perfect square, so the solutions are rational.
Answer
or
Full solution
, , .
, giving or .
Check: ✓
-
Solve .
Answer
or
Full solution
, , .
, giving or .
-
How many real solutions does have?
Answer
None.
Full solution
, which is negative, so there are no real solutions. The parabola sits entirely above the -axis.
Frequently asked questions
When should I use the quadratic formula instead of factoring?
Try factoring first if you can spot two whole numbers that work. Use the quadratic formula when you cannot find that pair, when the solutions are irrational, or when you want a method that always works. The formula never fails; factoring only works for some equations.
What does it mean when the discriminant is negative?
A negative discriminant means the parabola never crosses the x-axis, so the equation has no real solutions. It does have two complex solutions, which you study in Algebra 2.
Key terms in this lesson
- Discriminant
- The discriminant is the expression b squared minus 4ac inside the quadratic formula. Its sign tells you how many real solutions a quadratic has before you finish solving.
- Quadratic equation
- A quadratic equation is one that can be written as ax squared plus bx plus c = 0, with a not equal to zero. The squared term is what makes it quadratic rather than linear.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSA.REI.B.4bReasoning with Equations and InequalitiesSolve quadratic equations by inspection (e.g., for x² = 49), taking square roots, completing the square, the quadratic formula and factoring, as appropriate to the initial form of the equation. Recognize when the quadratic formula gives complex solutions and write them as a ± bi for real numbers a and b.
- CCSS.MATH.CONTENT.HSA.REI.B.4aReasoning with Equations and InequalitiesUse the method of completing the square to transform any quadratic equation in x into an equation of the form (x - p)² = q that has the same solutions. Derive the quadratic formula from this form.