Quadratic inequalities

AS · P1 · 10 min

A quadratic inequality asks where a quadratic is positive or negative, for example x2−x−12≤0x^2 - x - 12 \le 0. The answer is a range of values, not a list of numbers. These inequalities appear on their own, and also at the end of almost every discriminant question ("find the set of values of kk"), so a reliable method matters more than speed. The reliable method is always the same: find the critical values, sketch, read off.

The idea

A quadratic can only change sign where it equals zero. Its roots, the critical values, split the number line into regions, and in each region the quadratic has a fixed sign.

For y=(x+3)(x−4)y = (x + 3)(x - 4), the roots are −3-3 and 44, and the graph is ∪\cup-shaped:

y = (x + 3)(x - 4) (-3, 0) (4, 0)
  • Between the roots the curve is below the axis: (x+3)(x−4)<0(x + 3)(x - 4) < 0 for −3<x<4-3 < x < 4.
  • Outside the roots the curve is above the axis: (x+3)(x−4)>0(x + 3)(x - 4) > 0 for x<−3x < -3 or x>4x > 4.
Key result

If a>0a > 0 and the roots of ax2+bx+c=0ax^2 + bx + c = 0 are α<β\alpha < \beta, then

ax2+bx+c<0  ⟺  α<x<βax^2 + bx + c < 0 \iff \alpha < x < \betaax2+bx+c>0  ⟺  x<α  or  x>βax^2 + bx + c > 0 \iff x < \alpha \ \text{ or } \ x > \beta

With ≤\le or ≥\ge the critical values are included: α≤x≤β\alpha \le x \le \beta, or x≤αx \le \alpha or x≥βx \ge \beta.

Notice the shape of the answers. "Between" is a single combined inequality, α<x<β\alpha < x < \beta. "Outside" is two separate inequalities joined by or, because no number can be both less than α\alpha and greater than β\beta.

Solving a quadratic inequality
  1. Rearrange so that one side is 00. It is easiest to make the x2x^2 coefficient positive (multiply by −1-1 and reverse the inequality sign if needed).
  2. Solve the equation ax2+bx+c=0ax^2 + bx + c = 0 to find the critical values.
  3. Sketch the parabola, marking the critical values on the xx-axis.
  4. Read off where the curve is above the axis (for >>, ≥\ge) or below it (for <<, ≤\le).
  5. Write the answer with the correct inequality signs, including or excluding the critical values.

Writing the answer

All of these are acceptable ways of writing "outside −3-3 and 44":

  • x<−3x < -3 or x>4x > 4
  • {x:x<−3}∪{x:x>4}\{x : x < -3\} \cup \{x : x > 4\}

And "between −3-3 and 44, inclusive":

  • −3≤x≤4-3 \le x \le 4
  • {x:−3≤x≤4}\{x : -3 \le x \le 4\}

What is not acceptable: "−3>x>4-3 > x > 4" (no number satisfies it), "x<−3x < -3 and x>4x > 4" (the word "and" is wrong), or simply "x=−3x = -3, x=4x = 4" (those are the critical values, not the solution).

Between the roots

Solve x2−x−12≤0x^2 - x - 12 \le 0.

Solution

Critical values: x2−x−12=(x−4)(x+3)=0x^2 - x - 12 = (x - 4)(x + 3) = 0, so x=−3x = -3 or x=4x = 4.

The graph is ∪\cup-shaped; it is on or below the axis between the roots (see the sketch above). Since the inequality is ≤\le, the critical values are included:

−3≤x≤4-3 \le x \le 4
Outside the roots

Solve 2x2−x−6≥02x^2 - x - 6 \ge 0.

Solution

Critical values: 2x2−x−6=(2x+3)(x−2)=02x^2 - x - 6 = (2x + 3)(x - 2) = 0, so x=−32x = -\tfrac{3}{2} or x=2x = 2.

y = 2x^2 - x - 6 (-1.5, 0) (2, 0)

The ∪\cup-shaped curve is on or above the axis outside the roots:

x≤−32orx≥2x \le -\tfrac{3}{2} \quad \text{or} \quad x \ge 2
A negative coefficient of x squared

Solve 3+2x−x2>03 + 2x - x^2 > 0.

Solution

Multiply both sides by −1-1 to make the x2x^2 coefficient positive, and reverse the inequality:

x2−2x−3<0x^2 - 2x - 3 < 0

Critical values: (x−3)(x+1)=0(x - 3)(x + 1) = 0, so x=−1x = -1 or x=3x = 3. The ∪\cup-shaped curve y=x2−2x−3y = x^2 - 2x - 3 is below the axis between the roots:

−1<x<3-1 < x < 3

Alternatively, sketch y=3+2x−x2y = 3 + 2x - x^2 directly. It is ∩\cap-shaped with the same roots, and it is above the axis between them. The answer is the same.

Rearranging first

Solve x(x+2)<15x(x + 2) < 15.

Solution

It is not valid to say "x<15x < 15 or x+2<15x + 2 < 15". Expand and bring everything to one side:

x2+2x−15<0⇒(x+5)(x−3)<0x^2 + 2x - 15 < 0 \quad\Rightarrow\quad (x + 5)(x - 3) < 0

Critical values −5-5 and 33; the curve is below the axis between them:

−5<x<3-5 < x < 3
Irrational critical values

Solve x2−4x−1>0x^2 - 4x - 1 > 0, giving your answer in exact form.

Solution

The quadratic does not factorise, so complete the square (or use the formula):

x2−4x−1=(x−2)2−5=0⇒x=2±5x^2 - 4x - 1 = (x - 2)^2 - 5 = 0 \quad\Rightarrow\quad x = 2 \pm \sqrt{5}

The ∪\cup-shaped curve is above the axis outside the roots:

x<2−5orx>2+5x < 2 - \sqrt{5} \quad \text{or} \quad x > 2 + \sqrt{5}
Where one graph is above another

Find the set of values of xx for which the curve y=x2−3x+4y = x^2 - 3x + 4 lies above the line y=x+1y = x + 1.

Solution

"The curve lies above the line" means

x2−3x+4>x+1⇒x2−4x+3>0⇒(x−1)(x−3)>0x^2 - 3x + 4 > x + 1 \quad\Rightarrow\quad x^2 - 4x + 3 > 0 \quad\Rightarrow\quad (x - 1)(x - 3) > 0

So x<1x < 1 or x>3x > 3.

y = x^2 - 3x + 4 y = x + 1 (1, 2) (3, 4)

The curve and line meet at (1,2)(1, 2) and (3,4)(3, 4); the curve is above the line to the left of the first point and to the right of the second.

Two inequalities at once

Find the set of values of xx that satisfy both x2−x−6>0x^2 - x - 6 > 0 and 2x2−13x+15≤02x^2 - 13x + 15 \le 0.

Solution

First inequality: (x−3)(x+2)>0(x - 3)(x + 2) > 0, so x<−2x < -2 or x>3x > 3.

Second inequality: (2x−3)(x−5)≤0(2x - 3)(x - 5) \le 0, so 32≤x≤5\tfrac{3}{2} \le x \le 5.

Both must hold. Put them on a number line:

  • the first allows everything left of −2-2 and everything right of 33;
  • the second allows only 32\tfrac{3}{2} to 55.

The overlap is the part of [32,5]\left[\tfrac{3}{2}, 5\right] to the right of 33:

3<x≤53 < x \le 5

The end x=3x = 3 is excluded because the first inequality is strict; x=5x = 5 is included because the second is not.

Watch out

Dividing by xx. From x2>4xx^2 > 4x you cannot divide by xx to get x>4x > 4, because xx might be negative (which reverses the sign) or zero. Write x2−4x>0x^2 - 4x > 0, so x(x−4)>0x(x - 4) > 0, giving x<0x < 0 or x>4x > 4. The answer x<0x < 0 is lost by dividing.

Square rooting an inequality. x2>9x^2 > 9 does not give x>3x > 3; it gives x<−3x < -3 or x>3x > 3. x2<9x^2 < 9 gives −3<x<3-3 < x < 3.

Forgetting to reverse the sign when multiplying by a negative number.

Stopping at the critical values. x=−3x = -3 and x=4x = 4 are not the answer to an inequality.

Getting "between" and "outside" the wrong way round. Never decide from memory; always look at a sketch.

Exam tip
  • A quick sketch of the parabola with the critical values marked is the single best habit for inequalities. It is acceptable working and it prevents the most common error.
  • The critical values usually earn a method mark and the final inequality an accuracy mark. If your final inequality uses the wrong sign (for example << instead of ≤\le), you lose that accuracy mark.
  • When an inequality comes from a discriminant (in terms of kk), it is solved in exactly the same way. Treat kk as the variable.
  • In context questions (lengths, areas), remember physical restrictions such as lengths being positive; they may cut the solution set down further.
Summary
  • Rearrange to ax2+bx+c (sign) 0ax^2 + bx + c \ (\text{sign}) \ 0, ideally with a>0a > 0.
  • Find the critical values by solving =0= 0.
  • Sketch: for a>0a > 0, the quadratic is negative between the roots and positive outside them.
  • "Between" is one inequality, α<x<β\alpha < x < \beta; "outside" is two, x<αx < \alpha or x>βx > \beta.
  • ≤\le and ≥\ge include the critical values; << and >> exclude them.
  • Never divide by xx or take square roots of an inequality.
  • For two inequalities together, find the overlap on a number line.

Practice questions

Question
  1. Solve x2−7x+10<0x^2 - 7x + 10 < 0.
  2. Solve x2+3x−18≥0x^2 + 3x - 18 \ge 0.
  3. Solve 6+x−2x2>06 + x - 2x^2 > 0.
  4. Solve x2>9x^2 > 9.
  5. Solve (2x−1)(x+3)≤4x(2x - 1)(x + 3) \le 4x.
  6. Solve x2−6x+4<0x^2 - 6x + 4 < 0, giving your answer in exact form.
  7. Find the set of values of xx for which the curve y=2x2−3xy = 2x^2 - 3x lies below the line y=x+6y = x + 6.
  8. Find all the integers xx that satisfy both x2−2x−15<0x^2 - 2x - 15 < 0 and x2>4x^2 > 4.
  9. Find the set of values of xx that satisfy both x2−x−6>0x^2 - x - 6 > 0 and 2x2−11x+5<02x^2 - 11x + 5 < 0.
  10. A rectangle has length (x+3)(x + 3) cm and width (x−1)(x - 1) cm. Its area is less than 21 cm221\ \text{cm}^2 and its perimeter is greater than 1212 cm. Find the set of possible values of xx.
Answers
  1. (x−2)(x−5)<0(x - 2)(x - 5) < 0, so 2<x<52 < x < 5.

  2. (x+6)(x−3)≥0(x + 6)(x - 3) \ge 0, so x≤−6x \le -6 or x≥3x \ge 3.

  3. Multiply by −1-1: 2x2−x−6<02x^2 - x - 6 < 0, i.e. (2x+3)(x−2)<0(2x + 3)(x - 2) < 0. So −32<x<2-\tfrac{3}{2} < x < 2.

  4. x2−9>0x^2 - 9 > 0, i.e. (x−3)(x+3)>0(x - 3)(x + 3) > 0. So x<−3x < -3 or x>3x > 3.

  5. 2x2+5x−3≤4x2x^2 + 5x - 3 \le 4x, so 2x2+x−3≤02x^2 + x - 3 \le 0, i.e. (2x+3)(x−1)≤0(2x + 3)(x - 1) \le 0. So −32≤x≤1-\tfrac{3}{2} \le x \le 1.

  6. (x−3)2−5=0(x - 3)^2 - 5 = 0 gives x=3±5x = 3 \pm \sqrt{5}. Between the roots: 3−5<x<3+53 - \sqrt{5} < x < 3 + \sqrt{5}.

  7. 2x2−3x<x+62x^2 - 3x < x + 6, so 2x2−4x−6<02x^2 - 4x - 6 < 0, i.e. x2−2x−3<0x^2 - 2x - 3 < 0, (x−3)(x+1)<0(x - 3)(x + 1) < 0. So −1<x<3-1 < x < 3.

  8. First: (x−5)(x+3)<0(x - 5)(x + 3) < 0, so −3<x<5-3 < x < 5. Second: x<−2x < -2 or x>2x > 2. Overlap: −3<x<−2-3 < x < -2 or 2<x<52 < x < 5. There are no integers strictly between −3-3 and −2-2, so the integers are 33 and 44.

  9. First: x<−2x < -2 or x>3x > 3. Second: (2x−1)(x−5)<0(2x - 1)(x - 5) < 0, so 12<x<5\tfrac{1}{2} < x < 5. Overlap: 3<x<53 < x < 5.

  10. The width must be positive: x>1x > 1. Area: (x+3)(x−1)<21(x + 3)(x - 1) < 21, so x2+2x−24<0x^2 + 2x - 24 < 0, (x+6)(x−4)<0(x + 6)(x - 4) < 0, giving −6<x<4-6 < x < 4. Perimeter: 2(x+3)+2(x−1)>122(x + 3) + 2(x - 1) > 12, so 4x+4>124x + 4 > 12, x>2x > 2. All three together: 2<x<42 < x < 4.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action