Try it with your numbers
Show every step
The solver above shows every step for any numbers you type. Below it, the sections cover the traps that cost points, then ten problems climb from clean whole-number answers to fractions, radicals and complex roots. Each one has a worked solution. The full lesson on the quadratic formula covers the theory in more depth.
How do you use the quadratic formula step by step?
Every problem uses the same four moves, and most lost points come from the first two. Put the equation in standard form so one side is zero, then read off , and with their signs. If , then , and , not . Putting every substituted value in parentheses prevents both errors.
- Rearrange to .
- Write down , and , including minus signs.
- Compute on its own line.
- Finish with and split into two answers.
Take , where , , :
Substituting gives , so it checks. Notice that became because is negative. A negative or makes the discriminant bigger, never smaller, and that is the sign slip students make most often.
Quick check
Answer:
Where does the quadratic formula come from?

The formula is completing the square done once, for all quadratics at the same time. Divide by , add to both sides, and the left side becomes a perfect square:
Take the square root of both sides and solve for :
The full derivation shows each algebra step, and completing the square is the method it generalizes.
The first term, , is the axis of symmetry. The second term is how far both solutions sit from that line, one on each side.
That split is useful. If you can find the axis from , you only need one distance to get both solutions. It also explains why the exists: a parabola is symmetric, so solutions arrive in mirror pairs.
What does the discriminant tell you before you solve?
The expression under the root, , is the discriminant. Its sign tells you what kind of answer is coming before you finish.
| Real solutions | Graph | |
|---|---|---|
| Positive | Two | Crosses the x-axis twice |
| Zero | One repeated | Touches the x-axis at the vertex |
| Negative | None (two complex) | Never reaches the x-axis |
For , the discriminant is , so is the only solution. The left side is , which is why the two roots merge.
The discriminant also predicts whether factoring can work. With integer coefficients, a perfect square (like in the example above) means the roots are rational and the equation factors. If it is not a perfect square, such as or , no integer factor pair exists, and searching for one wastes time.
Quick check
Answer:
Quadratic formula with negative, fractional or decimal coefficients
The formula needs whole-number coefficients to stay tidy, so clean the equation first. Clear fractions by multiplying every term by the common denominator, clear decimals by multiplying by or , and flip every sign if is negative. The solutions do not change, because you are multiplying both sides of an equation by the same number. Also move everything to one side: must become before you read and .
Solve . Multiply by to get , so , , :
As a decimal check, . Then .
In , the must divide both and . Writing is the classic error.
When you simplify a radical, pull out the largest perfect square: . A quick test that you are done: no number outside the root and inside the root share a factor with the denominator.
What happens when the discriminant is negative?
A negative discriminant does not mean you made a mistake. It means the solutions are complex, built from where . Pull the minus sign out of the root: . The complex numbers lesson covers how these behave.
Solve , where , , :
To verify , square it: . Then , so it works.
Complex roots always arrive as a conjugate pair, and , because the only part that changes between them is the sign in front of the root. Graphically, the real part is still the axis of symmetry. The parabola simply floats above or below the x-axis.
Quadratic formula or factoring: which method should you use?
The formula always works, but it is not always fastest. A quick scan of the equation usually tells you which tool fits:
- No term, like : isolate and use the square root method.
- Small integers with a perfect-square discriminant: factoring is quicker.
- Awkward, fractional or irrational cases: use the formula.
The formula has limits. It only applies when the equation equals zero and , because if the denominator is zero and the equation is linear anyway. Equations with in a denominator must be cleared first, and you should test your answers afterward for extraneous solutions.
The formula also solves quadratic inequalities indirectly. Solve the matching equation to find the boundary points, then test which regions satisfy the inequality.
Quick check
Answer:
How do you check quadratic formula answers quickly?

Substituting a messy answer like back in is slow. A faster test uses the relationship between the roots and the coefficients. For , the two roots add to and multiply to .
Test it on the first example, . The roots and add to , and . They multiply to , and . Both match. For , the roots multiply to , which equals .
Graphing gives another check. The solutions are the x-intercepts, so a sketch from graphing quadratic functions tells you whether and are plausible before you commit.
Try this: Solve with the formula. Without substituting, confirm that your two roots add to and multiply to
Practice problems
0 of 10 solved
- Solve .
Answer:
Here , , . Then . So , which gives or . - Solve .
Answer:
Here , , . Then . So , which gives or . - Solve .
Answer:
Here , , . Then . So , which gives or . - Solve . Give exact answers.
Answer:
Here , , . Then , and . So . - Solve .
Answer:
Here , , . Then . So , which gives or . - Solve .
Answer:
Here , , . Then , so . So . - Solve .
Answer:
Here , , . Then . So , a single repeated root. - Solve . Give exact answers.
Answer:
Multiply by : , so , , . Then . So . - Solve . Give exact answers.
Answer:
Expand: , so . Then and . So . - Solve . Give exact answers.
Answer:
Multiply by : . Then and . So .
Common questions
What is the quadratic formula?
For any equation with , the solutions are . The produces the two solutions, one using plus and one using minus.
How do you know when to use the quadratic formula?
Use it when the equation does not factor quickly or when the coefficients are awkward. It works on every quadratic, so it is the safe choice when factoring or the square root method does not fit.
What does it mean if is negative?
The equation has no real solutions, and the parabola never touches the x-axis. The solutions are a pair of complex numbers of the form .
Can the quadratic formula give only one answer?
Yes. When , the plus and minus versions are equal, so there is one repeated solution . The parabola just touches the x-axis at its vertex.
Why do I get a decimal or a square root instead of a whole number?
When is not a perfect square, the solutions are irrational. Leave the answer in exact form such as , or round it only if the problem asks for a decimal.
Does the quadratic formula work when is negative?
Yes, with no changes. Many students prefer to multiply the whole equation by first, so becomes positive and sign slips are less likely.