Try it with your numbers
Show every step
Memorizing the formula takes a minute. Using it without losing a sign is the real skill, so this page covers the idea behind it, the traps that cost points, and a ten-second way to check every answer.
Where does the quadratic formula come from?
The formula is completing the square done once, with letters instead of numbers, so that nobody has to do it again. Start with and divide by :
Half of the coefficient is . Add its square to both sides and the left side becomes a perfect square:
Take the square root of both sides, keep both signs, and subtract . The full line-by-line version is in Deriving the Quadratic Formula.
The shape of the answer holds one clean idea. Written as , it says the solutions sit at a center point, , plus or minus a distance. The is not decoration. It appears because squaring erases signs, so undoing a square must put both back. The in the denominator comes from .
Quick check
Answer:
How to use the quadratic formula step by step
Four moves handle almost every problem:
- Rewrite the equation so one side is , matching standard form.
- Read , and , including their signs.
- Compute on its own line.
- Substitute, simplify, and split the into two answers.
Example 1. Solve . The equation is not in standard form yet, so subtract and add on both sides:
Now , , . The discriminant is
Then
so or . Check the second one: .
The trap that costs most students points is the sign of . When , the opening is , and must be written so it comes out as , not . Calculators make this worse: typing often returns .
The fraction bar covers the entire numerator, and is the entire denominator. Never divide only the square root by .
Quadratic formula with fractions and messy coefficients
Clear the fractions before substituting. Multiply every term by the least common denominator and the equation keeps the same solutions, but , and become whole numbers. The same trick works for decimals: multiply by or . If is negative, multiplying the whole equation by also removes a layer of sign risk.
Example 2. Solve . The least common denominator is :
So , , , and
Since , the root simplifies to . Then
The simplification divides every term in the numerator and the denominator by . You may only cancel a factor that appears in all of them. Turning into is wrong, because the was left behind. As decimals, , so or .
A zero coefficient is not a problem. For , and , and the formula still returns .
What the discriminant tells you before you solve
The expression under the square root, , is the discriminant. Its sign tells you what kind of answers are coming before any square root is taken.
| Discriminant | Solutions | Graph |
|---|---|---|
| Positive | Two real solutions | Crosses the -axis twice |
| Zero | One repeated real solution, | Touches the -axis at the vertex |
| Negative | Two complex solutions | Never reaches the -axis |
There is a bonus layer. When , and are integers and the discriminant is a perfect square (like the in Example 1), the roots are rational and the quadratic factors over the integers. If it is positive but not a perfect square (like the above), the roots are irrational and factoring will not find them.
A negative discriminant does not mean “no answer.” It means no real answer. Take : the discriminant is , and , so
Whether to stop at “no real solutions” or continue to complex numbers depends on your course. Algebra 1 usually stops. Algebra 2 and beyond continue.
Quick check
Answer: One (a repeated root, )
How to check quadratic formula answers in ten seconds
Plugging each root back into the equation works, but it is slow and a messy radical makes it error-prone. A faster check uses two facts that follow from the formula. For , the two roots satisfy:
The terms cancel when the roots are added, which leaves . Multiplying gives a difference of squares, which collapses to .
Test Example 1: the roots and add to , and . They multiply to , and . Both match. Test Example 2: the roots add to , which equals . Their product is , which equals . Both match again.
The two tests also diagnose the mistake. If the sum is wrong, suspect the sign of or the denominator . If the sum is right but the product is wrong, the error is almost always in the discriminant, usually a mishandled when or is negative.
Try this: Solve with the formula, then confirm that your two roots add to and multiply to before moving on.
Quadratic formula vs. factoring: which should you use?
Factoring is faster when integer factors jump out. The formula is faster when they do not. Instead of guessing, compute the discriminant first. A perfect square tells you the factoring will work, so either route is clean. Anything else tells you to skip the guessing and use the formula. Solving quadratics by factoring covers the other side of that decision.
Some forms deserve neither. An equation like has no term, and the square root method finishes it in one line. The formula’s cousin, completing the square, wins when you need vertex form rather than just the roots.
If , use . For , and .
The formula fails in exactly one situation inside quadratics: . Then the equation is linear, and the denominator becomes zero. It also reaches further than it looks. An equation such as is a quadratic in . The formula gives , so or , and therefore or . Beyond that, the limits are real: formulas exist for degrees 3 and 4, but none exists for general degree 5 and higher.
Quadratic formula and the vertex of a parabola

Split the formula at the and it shows the geometry of the graph. The term is the -coordinate of the vertex, which also gives the axis of symmetry. The term is how far each -intercept sits from that axis. So the roots are always mirror images, and the discriminant controls the distance between them.
Use Example 1’s parabola, . The axis is , and the roots and average to , the same number. For the vertex height, substitute :
There is a shortcut: the vertex height is , which here is . The same discriminant that predicted the roots also gives the depth of the vertex. For more on this, see finding the vertex of a parabola.
Quick check
Answer:
Where the quadratic formula is used in real life
Any situation where something is multiplied by itself or by a related quantity produces a quadratic: projectile height, area with a fixed perimeter, and profit when price changes demand. In each case, the question “when does this reach zero?” or “when does it equal this target?” becomes a quadratic equation.
Example 3. A ball is thrown upward from a platform, and its height in feet after seconds is . When does it hit the ground? Set , so , , :
The two results are and . A negative time happened before the throw, so reject it. The ball lands at seconds. Check: .
Notice the lesson inside the algebra: both roots are valid mathematics, but only one answers the question. Always read the answer back against the context. More setups of this kind are in quadratic word problems, and Quadratic Formula Practice Problems lets you drill every case from this page, from clean integers to complex roots.
Practice problems
0 of 5 solved
- Solve .
Answer: or
Here , , . The discriminant is . Then , so or . - Solve .
Answer: or
Here , , . The discriminant is . Then , so or . - Solve . Give exact answers.
Answer:
Here , , . The discriminant is , and . Then . - Solve over the complex numbers.
Answer:
Here , , . The discriminant is , so . Then . - Solve . Give exact answers.
Answer:
Move everything to one side: , so , , . The discriminant is , and . Then .
Common questions
What is the quadratic formula?
The quadratic formula is . It gives the solutions of any equation written as with . Substitute , and with their signs, then simplify.
Why does the quadratic formula have a plus or minus sign?
The formula comes from taking a square root, and every positive number has two square roots, one positive and one negative. The keeps both. That is why most quadratics have two solutions.
Does the quadratic formula work for every quadratic equation?
Yes, as long as . It handles equations that factor, equations with irrational answers, and equations with complex answers. If , the equation is linear and the formula would divide by zero.
What do you do if the discriminant is negative?
The equation has no real solutions, because the square root of a negative number is not real. In courses that include complex numbers, write and give two complex solutions, such as .
When should you use the quadratic formula instead of factoring?
Use the formula when factors are not obvious within a few seconds, when the coefficients are fractions or decimals, or when the answers are irrational. Computing first helps: if it is a perfect square and the coefficients are integers, the equation factors.
What if b or c is zero in the quadratic formula?
The formula still works. If , the term vanishes, and if , one root is always . In both cases the square root method or factoring out is usually quicker.