Skip to content
CalcSolverPro
Advertisement

Quadratic Formula Examples: Roots, Discriminant and When to Use It

By admin on , updated

The quadratic formula solves any equation of the form ax² + bx + c = 0. It always works, even when factoring is hard. This guide walks through three examples, one for each type of answer.

The formula

x = (−b ± √(b² − 4ac)) ÷ 2a. The expression b² − 4ac is the discriminant. Work it out first, because its sign tells you what kind of roots to expect.

Example 1: two real roots

Solve x² − 5x + 6 = 0. Here a = 1, b = −5, c = 6. The discriminant is 25 − 24 = 1. Then x = (5 ± 1) ÷ 2, so x = 3 or x = 2.

Example 2: one repeated root

Solve x² + 2x + 1 = 0. The discriminant is 4 − 4 = 0, so x = −2 ÷ 2 = −1. The parabola touches the x-axis at a single point.

Example 3: complex roots

Solve x² + 2x + 5 = 0. The discriminant is 4 − 20 = −16, which is negative. The roots are x = −1 ± 2i. The parabola never crosses the x-axis.

Common mistakes

Forgetting that −b is positive when b is negative, dividing only part of the numerator by 2a, and using a = 0. If a is zero the equation is linear, so use the linear equation solver instead.

Check your own working with the quadratic formula calculator, which shows the discriminant, both roots and the vertex.

Advertisement