POST · MATHEMATICS

How Do Quadratic Equations Work?

From factoring to the quadratic formula — the methods, the discriminant, and what the parabola is really telling you.

9 MIN READ · INTERACTIVE PARABOLA INSIDE

A quadratic equation is just an equation where the highest power is 2 — but that single squared term creates a curve, two possible answers, and a toolkit of solving methods. Here's how they all fit together.

A quadratic equation is any equation that can be written in the form ax² + bx + c = 0, where a, b, and c are numbers and a is not zero. The graph of a quadratic is a U-shaped curve called a parabola, and solving the equation means finding the x-values where that parabola crosses the x-axis — the roots.

FORM

Standard form

ax² + bx + c = 0, with a ≠ 0. Everything else is built from this shape.

GRAPH

Parabola

Opens up if a > 0, down if a < 0. The roots are where it crosses y = 0.

SOLVE

Three main methods

Factoring, completing the square, and the quadratic formula.

The Standard Form and What Each Part Does

ANATOMY OF A QUADRATIC

Every quadratic equation can be rearranged into standard form. The coefficients aren't just decoration — each one controls a different part of the curve.

ax² + bx + c = 0 a controls the width and direction (opens up/down)  ·  b shifts the vertex left/right  ·  c is the y-intercept
  • If a > 0, the parabola opens upward and has a minimum point (the vertex).
  • If a < 0, the parabola opens downward and has a maximum point.
  • If a = 0, it's not quadratic at all — it becomes a straight line.
  • The vertex sits at x = −b / 2a, and the axis of symmetry is the vertical line through it.
Why this matters

Before you solve anything, checking the sign of a tells you whether the parabola opens up or down — and therefore whether the quadratic has a minimum or a maximum. That's often the whole answer in real-world optimization problems.

Method 1 — Factoring

FASTEST WHEN IT WORKS

Factoring rewrites the quadratic as a product of two simpler expressions. If (x − r)(x − s) = 0, then either x = r or x = s — because a product is zero only when one of its factors is zero.

Step-by-step example: x² + 5x + 6 = 0

  1. Look for two numbers that multiply to a·c = 1 × 6 = 6 and add to b = 5. Those numbers are 2 and 3.
  2. Write the factored form: (x + 2)(x + 3) = 0.
  3. Set each factor to zero: x + 2 = 0 or x + 3 = 0.
  4. Solve: x = −2 or x = −3. These are the two roots.

Factoring is quick when the numbers are friendly, but it doesn't always work with integers. When it doesn't, move to one of the universal methods below.

QuadraticFactored formRoots
x² + 5x + 6(x + 2)(x + 3)x = −2, −3
x² − 9(x − 3)(x + 3)x = 3, −3
x² − 4x + 4(x − 2)²x = 2 (double root)
2x² + 7x + 3(2x + 1)(x + 3)x = −1/2, −3

Method 2 — Completing the Square

TURNS ANY QUADRATIC INTO VERTEX FORM

Completing the square rewrites ax² + bx + c as a perfect square plus a constant. It's the method behind the quadratic formula, and it's the cleanest way to find the vertex of a parabola.

Step-by-step example: x² + 6x + 2 = 0

  1. Move the constant to the other side: x² + 6x = −2.
  2. Take half of b (which is 3) and square it (9). Add that to both sides: x² + 6x + 9 = 7.
  3. Write the left side as a perfect square: (x + 3)² = 7.
  4. Take the square root of both sides: x + 3 = ±√7.
  5. Solve: x = −3 ± √7.

Completing the square always works, even when the roots are irrational. It's also the bridge to the vertex form y = a(x − h)² + k, where (h, k) is the vertex.

When to reach for this method

Use completing the square when you need the vertex, when the equation has a perfect-square pattern, or when you want to understand where the quadratic formula comes from. For plain solving, the formula below is usually faster.

Method 3 — The Quadratic Formula

WORKS FOR EVERY QUADRATIC

The quadratic formula solves any equation in standard form, no guessing required. It comes directly from completing the square on the general form ax² + bx + c = 0.

x = (−b ± √(b² − 4ac)) / 2a Plug in a, b, and c from standard form. The ± gives you both roots at once.

Step-by-step example: 2x² + 4x − 6 = 0

  1. Identify the coefficients: a = 2, b = 4, c = −6.
  2. Compute the discriminant: b² − 4ac = 16 − 4(2)(−6) = 16 + 48 = 64.
  3. Substitute into the formula: x = (−4 ± √64) / 4 = (−4 ± 8) / 4.
  4. Split the ± : x = (−4 + 8)/4 = 1 or x = (−4 − 8)/4 = −3.
  5. The roots are x = 1 and x = −3.

Try the interactive parabola below: adjust a, b, and c and watch the roots, the vertex, and the discriminant update live.

Discriminant b²−4ac 16
Roots x = 2, −2

When the discriminant turns negative, the parabola no longer touches the x-axis — the roots become complex.

The Discriminant: What b² − 4ac Tells You

The expression under the square root in the quadratic formula is called the discriminant. It tells you how many real roots exist before you calculate them.

Discriminant (Δ = b² − 4ac)RootsGraph behaviour
Δ > 0Two distinct real rootsParabola crosses x-axis twice
Δ = 0One real root (repeated)Parabola touches x-axis at the vertex
Δ < 0No real roots (two complex)Parabola never touches x-axis

All Three Methods, Side by Side

Here's the whole picture in one place — what each method is best at, and when to reach for it.

MethodBest forWorks always?Speed
FactoringSimple integer rootsNoFastest when it works
Completing the squareVertex form, perfect squares, deriving the formulaYesMedium
Quadratic formulaAny quadratic, especially messy or irrational rootsYesMedium — always reliable

Where You'll See Quadratic Equations in Real Life

Quadratics aren't just a textbook exercise — they model anything that speeds up, slows down, or curves.

  • Projectile motion: the height of a thrown ball over time follows h = −5t² + v₀t + h₀. Solving for t when h = 0 tells you when it lands.
  • Area problems: a garden with length 3 m longer than its width and an area of 40 m² gives w(w + 3) = 40, a quadratic.
  • Profit maximization: revenue minus cost often produces a downward parabola — the vertex is the maximum profit.
  • Braking distance: a car's stopping distance grows quadratically with speed, which is why doubling your speed more than doubles how far you need to stop.
Where the model stops applying

Quadratics model constant acceleration perfectly. When acceleration itself changes — or when you're dealing with more than one variable at higher powers — you move into higher-degree polynomials or calculus. But for a huge range of everyday problems, the quadratic is the right tool.

FAQ

Questions people actually ask.

The short answers — with the long ones one tap away.

What is a quadratic equation in simple words?+

A quadratic equation is an equation where the highest power of the variable is 2, usually written as ax² + bx + c = 0. Its graph is a U-shaped curve called a parabola, and solving it means finding the x-values where the parabola crosses the x-axis.

What is the quadratic formula?+

The quadratic formula is x = (−b ± √(b² − 4ac)) / 2a. It solves any quadratic equation written as ax² + bx + c = 0, giving the roots directly from the coefficients a, b and c.

How do you factor a quadratic equation?+

To factor ax² + bx + c, find two numbers that multiply to a·c and add to b, then split the middle term and group. For simple cases like x² + 5x + 6, the numbers 2 and 3 multiply to 6 and add to 5, so it factors as (x + 2)(x + 3).

What does the discriminant tell you?+

The discriminant is b² − 4ac. If it is positive, there are two distinct real roots; if it is zero, there is exactly one real root (a repeated root); if it is negative, there are no real roots, only complex ones.

When should I use completing the square instead of the quadratic formula?+

Completing the square is most useful when you need the vertex form of a parabola, when the equation has a perfect-square pattern, or when you want to derive the quadratic formula itself. For quick solving of any quadratic, the quadratic formula is usually faster.

What is a real-world example of a quadratic equation?+

A thrown ball's height over time follows h = −5t² + v₀t + h₀, a quadratic equation. Finding when the ball hits the ground means solving that quadratic for t. Other examples include area problems, profit maximization and braking distance.