Quadratic inequalities

A quadratic inequality is solved by looking at where the graph of a quadratic function lies above or below the xx-axis1. Let us solve x2x6>0x^2 - x - 6 > 0.

Finding the boundaries

At equality, x2x6=0x^2 - x - 6 = 0 gives (x3)(x+2)=0(x - 3)(x + 2) = 0, so x=3x = 3 and x=2x = -2. These are where the parabola meets the xx-axis, and they split the number line into three ranges.

InequalityWhere the graph isSolution
x2x6>0x^2 - x - 6 > 0above the xx-axisx<2x < -2 or x>3x > 3
x2x6<0x^2 - x - 6 < 0below the xx-axis2<x<3-2 < x < 3

Since this parabola opens upward, it is above the axis outside the two intersection points and below between them.

From the factors alone

The same conclusion follows with no picture. The product (x3)(x+2)(x - 3)(x + 2) is positive exactly when the two factors share a sign: both positive gives x>3x > 3, both negative gives x<2x < -2. The product is negative when the signs disagree, which happens between the roots. Graph or factors, the answer is the same.

A negative leading coefficient

A downward parabola swaps above and below, so an inequality like x2+x+6>0-x^2 + x + 6 > 0 is best handled by multiplying through by 1-1 to get x2x6<0x^2 - x - 6 < 0, remembering that multiplying by a negative number reverses the inequality sign.

When the discriminant is not positive

Case>0> 0 holds for<0< 0 holds for
D=0D = 0, opening upwardevery xx except one pointno xx
D<0D < 0, opening upwardevery real numberno xx

With no crossings, the answers turn extreme.

An application

Suppose an object thrown straight up has height h=5t2+20th = -5t^2 + 20t, with hh in meters and tt in seconds, and you want the stretch of time during which it is at least 1515 meters high.

5t2+20t15t24t+30(t1)(t3)0\begin{align*} -5t^2 + 20t &\geq 15 \\ t^2 - 4t + 3 &\leq 0 \\ (t - 1)(t - 3) &\leq 0 \end{align*}

So 1t31 \leq t \leq 3. From one second after the throw until three seconds after it, the object is 1515 meters up or higher. Note that dividing by 5-5 reversed the inequality.

For an upward-opening parabola you can remember: greater than 00 means outside the two roots, less than 00 means between them. The large dots on the graph are the boundaries.

  1. Quadratic equation, Wikipedia