Algebra

Quadratic Formula: Derivation, Discriminant and Examples

The quadratic formula solves every quadratic equation. Learn the formula, see how it's derived from completing the square, use the discriminant to predict solutions, and work through real examples.

Frequently asked questions

What is the quadratic formula?

For ax² + bx + c = 0 with a ≠ 0, the solutions are x = (−b ± √(b² − 4ac)) / (2a). The ± gives two solutions. First write the equation in standard form so a, b and c are correct, including signs.

What does the discriminant tell you?

The discriminant is b² − 4ac. If it is positive, there are two real solutions. If it is zero, there is one repeated real solution. If it is negative, there are no real solutions, only two complex ones.

When should you use the quadratic formula instead of factoring?

Use factoring when the quadratic factors quickly by inspection. Use the formula when it does not, when the coefficients are large or fractional, or when you want exact irrational answers. The formula works on every quadratic.

How do you solve x² + 5x + 3 = 0 with the formula?

Here a = 1, b = 5, c = 3. The discriminant is 25 − 12 = 13, so x = (−5 ± √13) / 2. That is about −0.70 and −4.30. The solutions are irrational, so the equation does not factor over the integers.

Where does the quadratic formula come from?

It comes from completing the square on ax² + bx + c = 0. Divide by a, move the constant, add (b/2a)² to both sides, write the left side as a square, then take square roots and solve for x.

Try these solvers

Algebra9 min read

How to Factor Any Quadratic Equation: Step by Step

Factoring quadratics is a core algebra skill. Learn five reliable methods — from GCF extraction to the AC method — so you can factor any quadratic you encounter.

Algebra9 min read

How to Complete the Square: Method, Examples & When to Use It

Completing the square transforms any quadratic into vertex form. Learn the step-by-step method, when to choose it over factoring, and practice with clear worked examples.

Algebra12 min read

Complex Numbers: Operations, Polar Form, and Applications

Understand complex numbers from the ground up. Learn the imaginary unit i, arithmetic with complex numbers, the complex plane, polar form, and De Moivre's theorem.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.