Skip to content

Mathematics · Ch 3 — Quadratic Expressions

Sign of a Quadratic Expression and How It Changes

3.4

Sign of a Quadratic Expression and How It Changes

For a fixed real quadratic f(x)=ax2+bx+cf(x)=ax^2+bx+c (a,b,ca,b,c real, a≠0a\neq 0), a natural question is: for which real xx is f(x)f(x) positive, and for which is it negative? The discriminant answers this completely.

When Δ<0\Delta < 0 (no real roots): f(x)f(x) and the leading coefficient aa have the same sign for every real xx, with no exceptions. This follows from completing the square: f(x)=a[(x+b2a)2+4ac−b24a2]f(x) = a\Big[\big(x+\frac{b}{2a}\big)^2 + \frac{4ac-b^2}{4a^2}\Big], and when Δ<0\Delta<0 the bracket is always strictly positive, so f(x)f(x) is a positive multiple of aa throughout. For instance x2+x+1x^2+x+1 has Δ=1−4=−3<0\Delta = 1-4 = -3<0 and a=1>0a=1>0, so x2+x+1>0x^2+x+1>0 for every real xx — it never touches zero.

When Δ=0\Delta = 0 (equal roots −b/2a-b/2a): the same argument shows f(x)f(x) and aa have the same sign everywhere except at x=−b2ax=-\dfrac{b}{2a}, where f(x)=0f(x)=0 exactly.

When Δ>0\Delta > 0 (two distinct real roots α<β\alpha<\beta): now f(x)f(x) factorises as a(x−α)(x−β)a(x-\alpha)(x-\beta), and the sign flips depend on where xx sits relative to the roots:

  • For α<x<β\alpha < x < \beta (strictly between the roots): x−α>0x-\alpha>0 and x−β<0x-\beta<0, so (x−α)(x−β)<0(x-\alpha)(x-\beta)<0 — the expression f(x)f(x) and aa have opposite signs here.
  • For x<αx<\alpha or x>βx>\beta (outside the roots): both factors have the same sign as each other, so f(x)f(x) and aa have the same sign.

So the sign of a quadratic changes exactly at its real roots, and it changes back once you cross the second root — this "same–opposite–same" pattern (relative to the sign of aa) is the single fact that makes solving quadratic inequations possible without ever drawing a graph. …