Positive outside the roots and negative between them, quadratics with no real roots or equal roots, and using the discriminant for conditions on a coefficient.
Lesson 5 of 7
5 min read
10 practice questions
A quadratic inequality, such as x2−5x+6>0, asks where a quadratic expression is positive or negative. The roots of the quadratic equation from the last course are the key: they are the only places where the expression can change sign. This lesson gives a simple rule for the sign of a quadratic, then applies it to every kind of quadratic inequality.
The sign of (x − α)(x − β)
Let α<β and look at the product (x−α)(x−β). Each factor is negative to the left of its root and positive to the right. Make a table:
Values of x
x−α
x−β
(x−α)(x−β)
x<α
negative
negative
positive
α<x<β
positive
negative
negative
x>β
positive
positive
positive
At x=α and x=β the product is 0. So:
(x−α)(x−β)>0 when x<α or x>β: outside the roots;
(x−α)(x−β)<0 when α<x<β: between the roots.
A memory aid: for a quadratic with positive coefficient of x2, the sign is the same as that coefficient (positive) outside the roots, and opposite (negative) between them.
The method
Bring all terms to one side so that the other side is 0.
Make the coefficient of x2 positive. If it is negative, multiply by −1 and reverse the sign.
Find the roots, by factorising or by the formula.
Use the rule: ">0" means outside the roots, "<0" means between them. For "≥" or "≤", include the roots.
Example 1
Solve x2−5x+6>0 and x2−5x+6≤0.
x2−5x+6=(x−2)(x−3), with roots 2 and 3.
For ">0", take outside the roots: x∈(−∞,2)∪(3,∞).
For "≤0", take between the roots, ends included: x∈[2,3].
Check with x=0: 6>0, so 0 belongs to the first answer, which agrees.
Example 2
Solve x2−x−12≥0.
x2−x−12=(x−4)(x+3), with roots −3 and 4. Outside the roots, ends included: x∈(−∞,−3]∪[4,∞).
Example 3
Solve 5+4x−x2>0.
The coefficient of x2 is negative. Multiply by −1 and reverse: x2−4x−5<0, that is (x−5)(x+1)<0. Between the roots: x∈(−1,5).
Example 4
Solve 2x2−3x−2<0.
2x2−3x−2=(2x+1)(x−2), with roots −21 and 2. Between the roots: x∈(−21,2).
Example 5
Solve x2−2x−1>0.
This does not factorise with whole numbers. By the formula the roots are 1±2, about −0.414 and 2.414. Outside the roots: x∈(−∞,1−2)∪(1+2,∞).
Example 6
Solve x2>9 and x2≤16.
x2−9>0 is (x−3)(x+3)>0: outside, so x∈(−∞,−3)∪(3,∞).
x2−16≤0 is (x−4)(x+4)≤0: between, so x∈[−4,4].
A common mistake is to write x2>9 as "x>3" only. That loses all the negative solutions, such as x=−5.
When there are no real roots
If the discriminant is negative and the coefficient of x2 is positive, the expression never reaches 0, so it never changes sign: it is positive for every real x.
Example 7
Show that x2+x+1>0 for all real x, and solve x2+2x+5<0.
Completing the square: x2+x+1=(x+21)2+43, which is at least 43. So it is always positive, and the solution set of x2+x+1>0 is R.
For x2+2x+5, the discriminant is 4−20=−16<0 and the coefficient of x2 is positive, so the expression is always positive. It is never less than 0: the solution set of x2+2x+5<0 is ϕ.
When the roots are equal
If the discriminant is 0, the expression is a perfect square times a positive number, which is positive everywhere except at the repeated root, where it is 0.
Example 8
Solve x2−6x+9>0 and x2−6x+9≤0.
x2−6x+9=(x−3)2. It is positive for every x except x=3. So the first solution set is R−{3}, and the second is {3}.
Using the discriminant for conditions
Example 9
For which values of k is x2+kx+9>0 for every real x?
The expression is positive for all x exactly when it has no real roots (the coefficient of x2 is already positive). So we need D=k2−36<0, that is (k−6)(k+6)<0. Between the roots: −6<k<6.
Practice
Solve x2−7x+10<0.
Solve x2+3x−10≥0.
Solve x2−4>0.
Solve 12+x−x2≥0.
Solve 3x2−5x−2>0.
Solve x2−4x+1≤0.
Solve x2+4x+7>0.
Solve 4x2−4x+1≤0.
Solve x2<2x.
For which values of k is x2−2kx+4>0 for all real x?
Answers
Show answers
(x−2)(x−5)<0: (2,5)
(x+5)(x−2)≥0: (−∞,−5]∪[2,∞)
(−∞,−2)∪(2,∞)
x2−x−12≤0, (x−4)(x+3)≤0: [−3,4]
(3x+1)(x−2)>0: (−∞,−31)∪(2,∞)
Roots 2±3: [2−3,2+3]
D=16−28<0, so the expression is always positive: R.