Quadratic Formula
The quadratic formula solves any quadratic equation, no exceptions. Write the equation in standard form , and the solutions are . Factoring only works when the numbers cooperate; the formula works every single time.
The price of that power is careful arithmetic. Almost every quadratic formula mistake is a sign slip — a handled wrong, or a negative dropped inside . This article walks through how to plug in cleanly, what the piece under the square root tells you before you finish, and four fully worked examples.
Identify a, b, and c first
Before touching the formula, get the equation into standard form: everything on one side, zero on the other, terms in order. In , the letter is the coefficient of , is the coefficient of , and is the constant — signs included.
For , that means , , . The most common error is writing and losing the negative. A good habit: write , , and down on paper, each with its sign, before substituting anything.
If the equation isn't in standard form — say — move everything to one side first: . Only then can you read off , , .
The discriminant tells you what's coming
The expression under the square root, , is called the discriminant. Compute it first, on its own, and it previews the answer: if it's positive, there are two real solutions; if it's zero, exactly one; if it's negative, no real solutions, because you can't take the square root of a negative number in the real numbers.
The discriminant also tells you whether the answers will be tidy. If is a perfect square like , the solutions are rational — and the equation would have factored. If it's not a perfect square, like , expect square roots in your answer, and simplify the radical: .
A clean substitution routine
Write the formula fresh every time: . Then substitute with parentheses around every value: . The parentheses look fussy, but they are what keep from turning into .
Simplify in this order: the discriminant under the root, then the square root itself, then the split into two separate answers. Finish by checking at least one solution in the original equation — substitution takes seconds and catches nearly everything.
Worked examples
Example 1: two integer solutions
Solve .
Answer: or
Example 2: a leading coefficient bigger than 1
Solve .
Answer: or
Example 3: irrational solutions
Solve .
Answer: or
Example 4: a discriminant of zero
Solve .
Answer:
Try one yourself
Common questions
When should I use the quadratic formula instead of factoring?
Try factoring for about ten seconds. If two numbers that multiply to and add to don't jump out, switch to the formula — it always works, and grinding on a trinomial that doesn't factor is wasted time. Quick tell: if the discriminant isn't a perfect square, the equation doesn't factor over the integers.
What does it mean when the discriminant is negative?
The equation has no real solutions — the parabola never crosses the -axis. In Algebra 1, you answer 'no real solutions' and stop. In Algebra 2, a negative discriminant leads to complex solutions involving .
Why does the formula have a plus-or-minus sign?
A quadratic can cross the -axis at two points, and the produces both of them: one solution uses and the other uses . When the discriminant is zero, adding and subtracting zero give the same value, which is why there's only one solution in that case.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.