algebra

Mastering Quadratic Equations: A Complete Step-by-Step Guide

Learn how to solve any quadratic equation with the quadratic formula, factoring, and completing the square. Worked examples, common mistakes, and a free AI solver.
AI-Math Editorial Team

By AI-Math Editorial Team

Published 2026-05-01

Quadratic equations are the gateway from arithmetic to higher mathematics. Whether you are revising for a high-school exam, picking up algebra after a long break, or just trying to help your kid with homework tonight, mastering quadratics is one of the highest-leverage skills you can build. This guide walks through the three standard solving techniques, when to choose each, and the most common pitfalls — illustrated with worked examples you can verify in our free Quadratic Equation Calculator.

What is a quadratic equation?

A quadratic equation is any equation that can be rearranged into the standard form

ax2+bx+c=0ax^2 + bx + c = 0

where aa, bb, and cc are constants and a0a \neq 0. The graph is always a parabola — opening upward when a>0a > 0, downward when a<0a < 0. The solutions (also called roots or zeros) are the x-values where the parabola crosses the x-axis.

A quadratic can have 0, 1, or 2 real solutions. The number is determined by the discriminant:

Δ=b24ac\Delta = b^2 - 4ac

Δ\DeltaSolutions
Δ>0\Delta > 0Two distinct real roots
Δ=0\Delta = 0One repeated real root (a "double root")
Δ<0\Delta < 0Two complex conjugate roots

Method 1: The quadratic formula

The quadratic formula always works — even when the coefficients are ugly fractions or irrationals. Memorise it once and you have a guaranteed solver:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Worked example

Solve 2x23x2=02x^2 - 3x - 2 = 0.

  1. Identify a=2a = 2, b=3b = -3, c=2c = -2.
  2. Compute the discriminant: Δ=(3)242(2)=9+16=25\Delta = (-3)^2 - 4 \cdot 2 \cdot (-2) = 9 + 16 = 25.
  3. Plug into the formula: x=3±54x = \frac{3 \pm 5}{4}.
  4. Two roots: x1=2x_1 = 2 and x2=12x_2 = -\frac{1}{2}.

The formula doubles as a sanity check on factoring — if you suspect a factoring is wrong, plug aa, bb, cc in and compare.

Method 2: Factoring

When the coefficients are small integers, factoring is faster and more revealing. Look for two numbers that multiply to acac and add to bb:

ax2+bx+c=a(xr1)(xr2)=0ax^2 + bx + c = a(x - r_1)(x - r_2) = 0

Worked example

Solve x2+5x+6=0x^2 + 5x + 6 = 0.

  1. Find two numbers that multiply to 66 and add to 55: those are 22 and 33.
  2. Factor: (x+2)(x+3)=0(x + 2)(x + 3) = 0.
  3. Set each factor to zero: x=2x = -2 or x=3x = -3.

If no integer pair works, factoring is the wrong tool — switch to the quadratic formula.

Method 3: Completing the square

Completing the square is the slowest of the three for plug-and-chug, but it is conceptually the most important — it is how the quadratic formula is derived, and it shows up again in calculus, conic sections, and Gaussian integrals.

The procedure for monic quadratics (a=1a = 1):

  1. Move the constant to the right side: x2+bx=cx^2 + bx = -c.
  2. Add (b/2)2(b/2)^2 to both sides: x2+bx+(b/2)2=(b/2)2cx^2 + bx + (b/2)^2 = (b/2)^2 - c.
  3. The left side is now (x+b/2)2(x + b/2)^2.
  4. Take the square root: x+b/2=±(b/2)2cx + b/2 = \pm\sqrt{(b/2)^2 - c}.
  5. Solve for xx.

For a1a \neq 1, divide through by aa first.

Choosing a method

SituationBest method
Small integer coefficientsFactoring
Need a guaranteed answerQuadratic formula
Need vertex form / calculus follow-upCompleting the square
Verifying someone else's workQuadratic formula (independent check)

Common mistakes

  • Forgetting that a0a \neq 0: with a=0a = 0 the equation collapses to linear; the quadratic formula divides by 2a2a and explodes.
  • Sign errors in b-b: when bb is negative, b-b is positive. Bracket the substitution carefully.
  • Dropping the ±\pm: the formula gives two solutions. Forgetting one is the single most common error in homework.
  • Not simplifying radicals: 50=52\sqrt{50} = 5\sqrt{2}, not "approximately 7.07". Teachers care.
  • Dividing wrong: the entire numerator divides by 2a2a, not just the radical part.

Beyond solving: where quadratics show up

The quadratic equation is not a homework artefact — it appears throughout science:

  • Projectile motion: vertical position is quadratic in time, y(t)=y0+v0t12gt2y(t) = y_0 + v_0 t - \frac{1}{2}gt^2.
  • Optimisation: maximum / minimum problems with one variable often reduce to a quadratic via calculus or completing the square.
  • Quantum mechanics: the harmonic oscillator's energy levels rest on a quadratic potential.
  • Finance: compound interest equations and certain option-pricing formulas reduce to quadratics.

When you internalise quadratics, you are not just passing one chapter — you are unlocking dozens of downstream models.

Try it yourself

Type any quadratic into our free Quadratic Equation Calculator and you'll get the same step-by-step breakdown shown above, instantly. No signup required.

For related topics, see also:

Frequently Asked Questions

The three main methods are the quadratic formula (x = (−b ± √(b²−4ac)) / 2a), factoring, and completing the square. The quadratic formula works for any quadratic; factoring is fastest when the roots are integers; completing the square is best when deriving the formula or converting to vertex form.

The discriminant is b²−4ac. If it is positive the equation has two distinct real solutions, if it is zero there is one repeated real solution, and if it is negative the solutions are complex (imaginary numbers).

Try factoring first if the coefficients are small integers. If the equation does not factor neatly, use the quadratic formula. Completing the square is useful when converting to vertex form or when a = 1 with an even b coefficient.

AI-Math Editorial Team

By AI-Math Editorial Team

Published 2026-05-01

A small team of engineers, mathematicians, and educators behind AI-Math, focused on making step-by-step math help accessible to every student.