Quadratic Equations and the Discriminant

⚡ Key Takeaways

A quadratic equation is any equation of the form ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \neq 0. Its solutions are given by the quadratic formula, and the sign of the discriminant Δ=b2−4ac\Delta = b^2 - 4ac tells you instantly how many real solutions exist (two, one, or none) without solving. Used everywhere in algebra, physics, engineering, and economics. Studied from Babylonian times (~2000 BCE) through al-Khwārizmī (9th c.) to its modern algebraic form.

💡 The Core Insight

Every quadratic can be reshaped into a perfect square plus a constant (completing the square). Once in that form, solving is just taking a square root. The number under that square root is the discriminant — and since you cannot take the real square root of a negative number, the sign of the discriminant alone decides whether real solutions exist, how many, and whether they are equal. The quadratic formula is simply completing the square done once, in general, for all quadratics at once.

Formal Statement

DefinitionQuadratic Equation

A quadratic equation in one variable xx is any equation equivalent to

1
ax2+bx+c=0,a≠0\quad ax^2 + bx + c = 0, \qquad a \neq 0

Derivation hint: This is the general degree-2 polynomial set equal to zero; the condition a≠0a\neq 0 guarantees the x2x^2 term survives, otherwise it would be linear. where:

  • xx is the unknown (variable to solve for),
  • aa is the leading coefficient (must be nonzero),
  • bb is the linear coefficient,
  • cc is the constant term.

A value of xx satisfying the equation is called a root or solution.

DefinitionThe Discriminant

The discriminant of ax2+bx+c=0ax^2 + bx + c = 0 is the quantity

2
Δ=b2−4ac\quad \Delta = b^2 - 4ac

Derivation hint: It is precisely the expression that appears under the square root sign in the quadratic formula; its name comes from "discriminating" between root types.

TheoremQuadratic Formula

The solutions of ax2+bx+c=0ax^2 + bx + c = 0 (with a≠0a\neq 0) are exactly

3
x=−b±b2−4ac2a=−b±Δ2a\quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} = \frac{-b \pm \sqrt{\Delta}}{2a}

Derivation hint: Obtained by completing the square on the general quadratic; the ±\pm encodes the two square roots. Moreover, the discriminant classifies the roots:

DiscriminantReal rootsNature
Δ>0\Delta > 0two distincttwo real, unequal
Δ=0\Delta = 0one repeatedone real, "double root"
Δ<0\Delta < 0nonetwo complex conjugates
TheoremVieta's Formulas

If x1x_1 and x2x_2 are the two roots of ax2+bx+c=0ax^2+bx+c=0, then

4
x1+x2=−ba,x1x2=ca\quad x_1 + x_2 = -\frac{b}{a}, \qquad x_1 x_2 = \frac{c}{a}

Derivation hint: Expand a(x−x1)(x−x2)=ax2−a(x1+x2)x+ax1x2a(x-x_1)(x-x_2)=ax^2 - a(x_1+x_2)x + a x_1 x_2 and match coefficients with ax2+bx+cax^2+bx+c.

Why It Holds / Derivation

ProofDeriving the Quadratic Formula by Completing the Square

We solve ax2+bx+c=0ax^2 + bx + c = 0 in general.

Step 1. Since a≠0a \neq 0, divide through by aa:

5
x2+bax+ca=0\quad x^2 + \frac{b}{a}x + \frac{c}{a} = 0

Derivation hint: Dividing by the leading coefficient makes the x2x^2 term monic so we can complete the square cleanly.

Step 2. Move the constant to the right:

6
x2+bax=−ca\quad x^2 + \frac{b}{a}x = -\frac{c}{a}

Derivation hint: Isolate the variable terms so the left side can be built into a perfect square.

Step 3. Add (b2a)2\left(\dfrac{b}{2a}\right)^2 to both sides to complete the square. Half of the coefficient of xx is b2a\frac{b}{2a}:

7
x2+bax+(b2a)2=−ca+b24a2\quad x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = -\frac{c}{a} + \frac{b^2}{4a^2}

Derivation hint: (b2a)2=b24a2\left(\frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} is exactly the term needed to make a perfect-square trinomial.

Step 4. The left side is now a perfect square; combine the right side over a common denominator 4a24a^2:

8
(x+b2a)2=b2−4ac4a2\quad \left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Derivation hint: −ca=−4ac4a2-\frac{c}{a} = -\frac{4ac}{4a^2}, so the right side becomes b2−4ac4a2=Δ4a2\frac{b^2-4ac}{4a^2} = \frac{\Delta}{4a^2}.

Step 5. Take the square root of both sides (the ±\pm captures both roots):

9
x+b2a=±b2−4ac2a\quad x + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}

Derivation hint: 4a2=2∣a∣\sqrt{4a^2} = 2|a|, and the ±\pm absorbs the sign so we may write 2a2a in the denominator.

Step 6. Solve for xx:

10
x=−b±b2−4ac2a\quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Derivation hint: Subtract b2a\frac{b}{2a} from both sides and combine the two fractions over 2a2a. This is equation [3]. The expression under the root, b2−4ac=Δb^2-4ac = \Delta, controls whether the root is real (when Δ≥0\Delta \geq 0) or complex (when Δ<0\Delta < 0). ■\blacksquare

∎
mathematician · Muḥammad ibn Mūsā al-Khwārizmī | c. 780 – c. 850 CE

The Persian polymath whose treatise al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa-l-muqābala ("The Compendious Book on Calculation by Completion and Balancing") gave us the word algebra (from al-jabr, "restoration/completion"). He classified quadratics into six standard types — because negative numbers were not yet accepted — and solved each geometrically by literally completing a square. He gave systematic, general procedures rather than one-off tricks, laying the foundation for algebra as a discipline.

Building Intuition

🧠 Intuition

Picture the parabola y=ax2+bx+cy = ax^2 + bx + c. Solving the equation means asking: where does this curve cross the x-axis (where y=0y=0)?

  • If the parabola dips through the axis, it crosses at two points → two real roots → Δ>0\Delta > 0.
  • If it just touches the axis at its vertex, it crosses at one point → a repeated root → Δ=0\Delta = 0.
  • If it floats entirely above (or below) the axis, it never crosses → no real roots → Δ<0\Delta < 0.

The vertex sits at x=−b2ax = -\frac{b}{2a}, and the ±Δ/2a\pm\sqrt{\Delta}/2a in the formula measures how far left and right the crossings lie from the vertex. When Δ=0\Delta = 0, that spread shrinks to zero and the two crossings merge into the vertex itself.

Figure
A parabola and its discriminant: three cases of where y=ax2+bx+cy=ax^2+bx+c meets the x-axis
x y Δ > 0 two roots Δ = 0 one (double) root Δ < 0 no real roots Roots = where the curve meets y = 0 (the x-axis)

Worked Examples

ExampleTwo Real Roots — A Projectile

A ball is thrown upward; its height in metres after tt seconds is h(t)=−5t2+20t+25h(t) = -5t^2 + 20t + 25. When does it hit the ground (h=0h = 0)?

Given: a=−5a = -5, b=20b = 20, c=25c = 25.

Step 1 — Discriminant:

11
Δ=b2−4ac=202−4(−5)(25)=400+500=900\quad \Delta = b^2 - 4ac = 20^2 - 4(-5)(25) = 400 + 500 = 900

Derivation hint: Substitute directly into Δ=b2−4ac\Delta = b^2-4ac; watch the double negative −4(−5)(25)=+500-4(-5)(25)=+500. Since Δ=900>0\Delta = 900 > 0, there are two real roots, and 900=30\sqrt{900}=30.

Step 2 — Quadratic formula:

12
t=−20±302(−5)=−20±30−10\quad t = \frac{-20 \pm 30}{2(-5)} = \frac{-20 \pm 30}{-10}

Derivation hint: Plug −b=−20-b=-20, Δ=30\sqrt\Delta=30, 2a=−102a=-10 into formula [3]. This gives t=10−10=−1t = \frac{10}{-10} = -1 or t=−50−10=5t = \frac{-50}{-10} = 5.

Step 3 — Interpret: Time cannot be negative, so we discard t=−1t=-1. > Answer: The ball hits the ground at t=5 s\boxed{t = 5 \text{ s}}.

ExampleOne Repeated Root and No Real Roots

(a) Solve x2−6x+9=0x^2 - 6x + 9 = 0.

Given: a=1, b=−6, c=9a=1,\ b=-6,\ c=9.

13
Δ=(−6)2−4(1)(9)=36−36=0\quad \Delta = (-6)^2 - 4(1)(9) = 36 - 36 = 0

Derivation hint: Δ=0\Delta=0 signals a perfect-square trinomial: x2−6x+9=(x−3)2x^2-6x+9=(x-3)^2. Since Δ=0\Delta = 0, there is one repeated root:

14
x=−(−6)±02(1)=62=3\quad x = \frac{-(-6)\pm\sqrt{0}}{2(1)} = \frac{6}{2} = 3

Derivation hint: With Δ=0\sqrt\Delta=0 the ±\pm collapses, leaving a single value −b/2a-b/2a. > Answer: x=3\boxed{x = 3} (a double root).

(b) Solve x2+x+1=0x^2 + x + 1 = 0.

Given: a=1, b=1, c=1a=1,\ b=1,\ c=1.

15
Δ=12−4(1)(1)=1−4=−3\quad \Delta = 1^2 - 4(1)(1) = 1 - 4 = -3

Derivation hint: Negative discriminant means no real solutions; the roots are complex conjugates.

16
x=−1±−32=−1±i32\quad x = \frac{-1 \pm \sqrt{-3}}{2} = \frac{-1 \pm i\sqrt{3}}{2}

Derivation hint: −3=3 −1=i3\sqrt{-3} = \sqrt{3}\,\sqrt{-1} = i\sqrt3, where i2=−1i^2=-1. > Answer: x=−12±32 i\boxed{x = -\tfrac{1}{2} \pm \tfrac{\sqrt3}{2}\,i} — two complex conjugate roots, no real solutions.

Common Misconceptions

⚠️ Frequent Errors

1. Forgetting a≠0a \neq 0. If a=0a=0 the equation is linear, not quadratic, and the formula divides by zero. 2. Sign of −b-b. The formula uses −b-b. If b=−6b=-6, then −b=+6-b=+6. Dropping this flips your answers. 3. The ±\pm is not optional. A quadratic generically has two roots; using only ++ loses one. 4. "No real roots" ≠ "no roots." When Δ<0\Delta<0 there are still two complex roots. 5. Discriminant sign vs. magnitude. Only the sign of Δ\Delta classifies the roots; its size doesn't matter for counting. 6. −4ac-4ac with negative cc. −4ac-4ac where a>0,c<0a>0, c<0 becomes positive, increasing Δ\Delta — a common slip with double negatives.

CounterexampleWhy "x2=−4⇒x=−2x^2 = -4 \Rightarrow x = -2" Is Wrong

A student writes x2+4=0⇒x2=−4⇒x=−2x^2 + 4 = 0 \Rightarrow x^2 = -4 \Rightarrow x = -2. Check: (−2)2=+4≠−4(-2)^2 = +4 \neq -4. The equation x2+4=0x^2+4=0 has Δ=02−4(1)(4)=−16<0\Delta = 0^2 - 4(1)(4) = -16 < 0 and therefore no real roots at all. The correct solutions are the complex numbers x=±2ix = \pm 2i. No real number, positive or negative, has a negative square — squaring always yields a non-negative result.

Connections

connection

The discriminant connects many neighbouring ideas:

  • Completing the Square is the engine behind the quadratic formula; the formula is completing the square done generally.
  • Parabolas and Graphs of Quadratic Functions give the geometric meaning: roots are x-intercepts, Δ\Delta counts crossings, and the vertex sits at x=−b/2ax=-b/2a.
  • Complex Numbers supply the "missing" roots when Δ<0\Delta<0, making the Fundamental Theorem of Algebra hold: a degree-nn polynomial has exactly nn roots counted with multiplicity.
  • Vieta's Formulas relate roots to coefficients without solving, equation [4].
  • Factoring Polynomials is the shortcut when roots are rational; a perfect-square Δ\Delta signals a clean factorization.
  • The discriminant generalizes to the Discriminant of Higher-Degree Polynomials, detecting repeated roots in cubics and beyond.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 2000 BCE — Babylonians: Clay tablets show systematic methods for solving problems equivalent to quadratics (e.g., finding a number given its sum and product), using procedures like completing the square — though purely numerically and without negative roots.
- c. 300 BCE — Euclid: Elements Book II solves quadratic problems geometrically via "application of areas," providing rigorous constructions.
- c. 250 CE — Diophantus: In Arithmetica, works with quadratic equations symbolically but accepts only positive rational roots.
- c. 628 CE — Brahmagupta: The Indian mathematician gives a near-complete verbal rule for solving quadratics, explicitly using negative numbers and zero, and recognizing two roots.
- c. 820 CE — al-Khwārizmī: Systematizes the solution into six canonical types and proves the method by geometric completion of the square; coins the term al-jabr (algebra).
- 12th c. — Bhāskara II: Extends quadratic methods and recognizes both positive and negative roots in his Līlāvatī and Bījagaṇita.
- 16th c. — Cardano, Bombelli: While solving cubics, Bombelli (1572) is forced to take square roots of negatives, introducing what would become complex numbers — the home of roots when Δ<0\Delta<0.
- 1637 — René Descartes: La Géométrie introduces modern symbolic notation (a,b,ca,b,c for constants, xx for the unknown) and connects equations to curves.
- 18th–19th c.: The general algebraic quadratic formula and the term discriminant are standardized; Gauss (1799) proves the Fundamental Theorem of Algebra, guaranteeing every quadratic has exactly two roots over the complex numbers.

Subtleties & Limits

open-problem · Beyond the Quadratic

The quadratic formula expresses roots using only +,−,×,÷+,-,\times,\div and square roots — radicals. This raises a deep question: can every polynomial equation be solved by radicals?

  • Cubics (degree 3) and quartics (degree 4) can: Cardano (1545) and Ferrari gave general radical formulas, with their own discriminants distinguishing root types.
  • Quintics (degree 5) and higher generally cannot: the Abel–Ruffini theorem (1824) and Galois theory (1830s) prove no general formula in radicals exists. The discriminant survives as a tool but no longer guarantees a closed-form solution.

Even at the quadratic level there are subtleties: over different number systems (modular arithmetic, finite fields, the p-adics) the discriminant's meaning shifts — whether Δ\Delta is a "square" in that system replaces the simple sign test. The classification "Δ>0,=0,<0\Delta>0,=0,<0" is special to the real numbers, where order and squares interact.

See Also

Completing the Square · Complex Numbers · Parabolas and Graphs of Quadratic Functions · Vieta's Formulas · Factoring Polynomials · Cubic and Quartic Equations · Fundamental Theorem of Algebra · Conic Sections