Algebra

How to solve quadratic equations using the quadratic formula

To solve any quadratic equation in the form ax² + bx + c = 0, calculate the discriminant b² - 4ac and apply the quadratic formula x = (-b ± √(b² - 4ac)) / (2a). This provides the exact values of x where your equation equals zero.

Formula

\Delta = b^2 - 4ac, \quad x_{1,2} = \frac{-b \pm \sqrt{\Delta}}{2a}

a, b, and c are coefficients from ax² + bx + c = 0; Delta (b² - 4ac) is the discriminant; x represents the solutions (roots).

Calculator

The Method Explained Simply

Start by writing your equation in standard form: ax² + bx + c = 0. Identify your numerical coefficients a, b, and c, taking care to include any negative signs attached to them.

Next, calculate the discriminant using the formula Delta = b² - 4ac. If Delta is positive, your equation has two distinct real roots. If Delta equals zero, you have one repeated real root. If Delta is negative, no real roots exist.

Substitute your values for a, b, and Delta into the quadratic formula x = (-b +- √(Delta)) / (2a). Calculate the addition branch and the subtraction branch separately to find both values of x.

When and Where Quadratic Equations Are Used

In school algebra (GCSE and US Algebra 1/2), you use quadratics to graph parabolas, find x-intercepts, and solve geometry problems involving rectangular areas and perimeter constraints.

In science and engineering, quadratics model projectile motion, allowing you to calculate the flight time of an object, its maximum height, and its landing point.

In business and economics, quadratic functions describe revenue and profit curves, helping you find break-even points and the price that maximizes overall earnings.

Common Mistakes to Avoid

Watch your negative signs carefully when calculating -b and b². Squaring any real number always produces a positive result, so (-5)² is positive 25, never -25.

A widespread arithmetic error is dividing only the square root part by 2a instead of the whole numerator. The fraction bar extends under both -b and the square root term.

Always rearrange your equation to equal zero before identifying a, b, and c. If you start with x² - 5x = -6, you must add 6 to both sides first to identify c as +6 rather than -6.

Quick Mental Tricks and Checks

Use Vieta's formulas to check your work instantly. For any quadratic where a = 1, the sum of your two solutions must equal -b, and the product of your two solutions must equal c.

Before writing out the complete formula, check if the expression factors easily. If you can quickly spot two numbers that multiply to c and add to b, you can factor directly into (x - p)(x - q) = 0 in seconds.

Always substitute your final answers back into the original equation to confirm that the left-hand side reduces precisely to zero.

Worked examples

Example 1Solve the equation x^{2} - 5 x + 6 = 0.

  1. Read the coefficients a, b and c

    a = 1,\; b = -5,\; c = 6
  2. Compute the discriminant

    \Delta = (-5)^2 - 4 \cdot 1 \cdot (6) = 1
  3. The discriminant is positive, so there are two solutions

    x_{1,2} = \frac{5 \pm \sqrt{1}}{2}
  4. Calculate

    x_1 = 2,\quad x_2 = 3
Answerx₁ = 2, x₂ = 3Verified by computation

Example 2Solve the equation 2 x^{2} + 3 x - 2 = 0.

  1. Read the coefficients a, b and c

    a = 2,\; b = 3,\; c = -2
  2. Compute the discriminant

    \Delta = (3)^2 - 4 \cdot 2 \cdot (-2) = 25
  3. The discriminant is positive, so there are two solutions

    x_{1,2} = \frac{-3 \pm \sqrt{25}}{4}
  4. Calculate

    x_1 = -2,\quad x_2 = \frac{1}{2}
Answerx₁ = -2, x₂ = 0.5Verified by computation

Example 3Solve the equation x^{2} - 6 x + 9 = 0.

  1. Read the coefficients a, b and c

    a = 1,\; b = -6,\; c = 9
  2. Compute the discriminant

    \Delta = (-6)^2 - 4 \cdot 1 \cdot (9) = 0
  3. The discriminant is zero, so there is one (double) solution

    x_0 = \frac{-b}{2a} = \frac{6}{2} = 3
Answerx = 3Verified by computation

Example 4Solve the equation x^{2} + 2 x + 5 = 0.

  1. Read the coefficients a, b and c

    a = 1,\; b = 2,\; c = 5
  2. Compute the discriminant

    \Delta = (2)^2 - 4 \cdot 1 \cdot (5) = -16
  3. The discriminant is negative, so there are no real solutions

    \Delta = -16 < 0
Answerno real solutionsVerified by computation

Questions and answers

What is the discriminant in a quadratic equation?

The discriminant is the expression b² - 4ac under the square root. It tells you the number of real solutions: positive gives two solutions, zero gives one repeated solution, and negative means no real solutions.

What does the plus-minus sign mean in the quadratic formula?

The plus-minus sign (±) means you must split the formula into two separate calculations: one using addition and one using subtraction. This produces the two roots where a parabola crosses the x-axis.

Can a quadratic equation have only one solution?

Yes, an equation has exactly one unique real solution when the discriminant b² - 4ac equals zero. Graphically, this means the vertex of the parabola sits directly on the x-axis.

What should you do if there is no b or c term in the equation?

If a term is missing, its coefficient is simply zero. For example, in 3x² - 12 = 0, the b coefficient is 0, and in 2x² + 6x = 0, the c coefficient is 0.

Solve your own problem

Different numbers or a harder variant? Type it in and get the steps.

Enter solves, Shift+Enter adds a line