← All articles
mathquadratic formulaquadratic equationsdiscriminantAugust 14, 20266 min read

Quadratic Formula: How to Solve Quadratic Equations

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

The quadratic formula gives you a general method for solving any quadratic equation written in the form ax squared plus bx plus c equals zero, as long as a is not zero. It is especially useful when factoring is difficult or impossible with simple whole numbers.

What each symbol means

The quadratic formula says x equals negative b plus or minus the square root of b squared minus 4ac, all divided by 2a. In the standard equation ax squared plus bx plus c equals zero, a is the coefficient of x squared, b is the coefficient of x, and c is the constant term.

Before substituting numbers, rewrite the equation so one side equals zero and identify a, b, and c carefully. Signs matter. If the equation is 2x squared minus 3x minus 2 equals zero, then a is 2, b is negative 3, and c is negative 2. Writing those values separately can prevent a small sign error from spreading through the calculation.

This preparation is a big part of using the quadratic formula well. The formula itself is fixed, but most mistakes happen while reading the coefficients, squaring b, or handling the negative sign in front of b.

Working through a simple example

Take x squared minus 5x plus 6 equals zero. Here a is 1, b is negative 5, and c is 6. Substituting into the quadratic formula gives the negative of negative 5, plus or minus the square root of 25 minus 24, all divided by 2. That simplifies to 5 plus or minus 1, divided by 2.

The two choices created by plus or minus give two solutions. Using plus gives 6 divided by 2, so x equals 3. Using minus gives 4 divided by 2, so x equals 2. These are the same roots you would find by factoring the quadratic as x minus 2 times x minus 3.

The example shows why the quadratic formula is dependable. Factoring can be quick when the numbers are friendly, but the formula uses the same process every time and works even when the roots are not neat integers.

What the discriminant tells you

The expression under the square root is called the discriminant, and it gives useful information before you finish solving:

  • A positive discriminant gives two distinct real solutions.
  • A zero discriminant gives one repeated real solution.
  • A negative discriminant gives no real solutions, though complex solutions exist.
  • A perfect-square discriminant often leads to simple rational roots.

A useful habit with the quadratic formula is to check your solutions in the original equation. Substitute each value of x back into the left side and see whether the result equals zero. This catches arithmetic mistakes and confirms that both branches of the plus-or-minus sign were handled. You can also compare methods. If a quadratic factors easily, solve it by factoring and then use the formula as a check. If the two methods disagree, revisit the signs and coefficients. Over time, this comparison builds confidence in choosing a method rather than treating every quadratic equation as a completely new problem.

The takeaway

The quadratic formula is a reliable tool for solving equations with an x squared term. Put the equation in standard form, identify a, b, and c with their signs, substitute carefully, and use both parts of the plus or minus. The discriminant gives you an early clue about the kinds of solutions you should expect.

Practise this

Questions from Algebra

Reading about something is not the same as being able to recall it. These are real questions from the Algebra unit in our Math track, answers and explanations included. The unit has 121 in total across 21 steps.

  • Fill the blankLevel 3

    1. By the product rule, x^4 x x^3 = x^____.

    • 7correct
    • 12
    • 1
    • 43

    Multiplying powers with the same base adds the exponents: 4 + 3 = 7.

  • Fill the blankLevel 3

    2. The expression x^2 + 8x + 15 factors as (x + 3)(x + ____).

    • 5correct
    • 12
    • 8
    • 2

    You need factors of 15 that add to 8, which are 3 and 5, so the missing number is 5.

  • Match the pairsLevel 4

    3. Match each quadratic equation to its solutions.

    Answer: x^2 - 1 = 0 = x = 1 or x = -1; x^2 - 4 = 0 = x = 2 or x = -2; x^2 - 9 = 0 = x = 3 or x = -3

    Each is a difference of squares, so the roots are plus and minus the square root of the constant.