Skip to content
One hour with George, then a written plan the next working day. Book yours.

The quadratic formula, step by step

The quadratic formula solves any equation of the form ax^2 + bx + c = 0 with a not equal to 0. The solutions are x = (-b plus or minus the square root of b^2 - 4ac) divided by 2a. Check the part under the root, the discriminant, first: it tells you whether to expect two real solutions, one, or none.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
What the discriminant b^2 - 4ac says about the solutions
Equationa, b, cDiscriminantReal solutionsSolutions
2x^2 - 7x + 3 = 02, -7, 325Two, rational3 and 1/2
x^2 - 6x + 7 = 01, -6, 78Two, irrational3 + sqrt(2) and 3 - sqrt(2)
x^2 - 10x + 25 = 01, -10, 250One, repeated5
x^2 + 4x + 9 = 01, 4, 9-20Nonenone

A negative discriminant means no real solutions; complex solutions exist but are outside the scope of this guide.

Rule from OpenStax, Algebra and Trigonometry 2e, Quadratic Equations; examples computed by George Li Tutoring

How do you use the formula?

Follow the same five steps each time.

  1. Move every term to one side so the equation reads ax^2 + bx + c = 0, with 0 on the other side.
  2. Name a, b and c with their signs. If there is no x term, b is 0, and if there is no constant, c is 0.
  3. Compute the discriminant b^2 - 4ac and note its sign.
  4. Put a, b and the discriminant into the formula. Everything above the fraction bar, from -b through the root, sits over 2a.
  5. Simplify, and give two answers from the plus and the minus.

The formula is worth learning because it never fails. Factoring is quicker when the numbers cooperate, but the formula works on every quadratic, including the ones that do not factor with whole numbers.

Worked example: Solve 3x^2 + 2x - 8 = 0. Solve 3x^2 + 2x - 8 = 0 and check both answers.

  1. Name the coefficients: a = 3, b = 2, c = -8.
  2. The discriminant is b^2 - 4ac = 4 - 4(3)(-8) = 4 + 96 = 100. It is positive, so there are two real solutions, and it is a perfect square, so they will be rational.
  3. Apply the formula: x = (-2 plus or minus 10) / 6.
  4. The plus gives 8 / 6 = 4/3, and the minus gives -12 / 6 = -2.
  5. Check x = -2: 3(4) + 2(-2) - 8 = 12 - 4 - 8 = 0. Check x = 4/3: 3(16/9) + 8/3 - 8 = 16/3 + 8/3 - 8 = 8 - 8 = 0.

Answer: x = 4/3 or x = -2.

Method: Original problem by George Li Tutoring; formula from OpenStax, Algebra and Trigonometry 2e, Quadratic Equations.

Where do the signs go wrong?

Most lost points come from five spots. The first is the leading minus: -b means the opposite of b, so with b = -7 it becomes 7, and with b = 2 it becomes -2. The second is b^2, where a negative b still squares to a positive number, so (-7)^2 is 49. The third is the product -4ac, which turns positive when a and c have opposite signs. That is why the discriminant above was 4 + 96 rather than 4 - 96.

The fourth is the denominator. All of the numerator is divided by 2a, not just the root. The fifth is dividing by 2 instead of 2a when a is not 1. A fast guard is to substitute your answers back in, as in the worked example, which takes under a minute.

How do you handle answers that are not whole numbers?

When the discriminant is not a perfect square, the answers contain a root. Keep it in exact form unless the question asks for a decimal. For x^2 - 6x + 7 = 0 the discriminant is 8, and the root of 8 is 2 times the root of 2, so x = (6 plus or minus 2 root 2) / 2 = 3 plus or minus root 2, which is about 4.41 and 1.59. Dividing every term by 2 is legal here, since 2 is a common factor of 6 and 2 root 2.

When the discriminant is zero, the plus and minus give the same value and you have one repeated solution. When it is negative, stop and report that there are no real solutions.

Where does the formula come from?

It is completing the square carried out on the general equation. Divide by a, move the constant, add (b/2a)^2 to both sides, and take the square root of each side. What remains is the formula. You do not need to reproduce the derivation, but knowing it explains why the plus-or-minus appears.

For related work, the guide to vertex form versus standard form shows the same equations from the graph's side, and the math tutoring page describes how a session reviews the steps. The study-hour planner places a practice routine in your calendar.

Common questions

When should I use the quadratic formula instead of factoring?

Use the formula when the equation does not factor quickly, when the numbers are large, or when you want a check on a factored answer. It works for every quadratic equation.

What does a discriminant of zero mean?

The equation has exactly one real solution, repeated. The parabola touches the x-axis at a single point.

What if a is negative?

Use it as written. If you prefer, multiply the whole equation by -1 first to make a positive, which gives the same solutions.

Sources