Math Core

Lesson 3.4 · Solving Inequalities

Compound inequalities

A thermostat keeps a room between 6868 and 7272 degrees. A carnival ride turns away anyone shorter than 4242 inches or taller than 7676 inches. Each of these rules needs two inequalities working together. Joining two inequalities with "and" or "or" makes a compound inequality.

"And" versus "or"

Definition

Compound inequality

A compound inequality is two inequalities joined by the word and or the word or.

  • An and inequality is true only when both parts are true. Its solutions are the numbers the two parts have in common (their intersection).
  • An or inequality is true when at least one part is true. Its solutions are all the numbers that satisfy either part (their union).

Think of the thermostat. The temperature tt must satisfy t≥68t \ge 68 and t≤72t \le 72. A temperature of 7070 passes both tests. A temperature of 7575 passes the first but fails the second, so it doesn't work.

An "and" inequality whose solutions lie between two numbers is usually written as one chain:

68≤t≤72.68 \le t \le 72.

Read it from the middle out: "tt is at least 6868 and at most 7272." The variable sits in the middle, and both symbols point the same way.

Now think of the ride. A height hh is turned away if h<42h < 42 or h>76h > 76. A height of 3030 makes the first part true (30<4230 < 42) even though the second part is false, and that's enough; one true part makes the whole statement true. An "or" inequality can't be written as a chain, because no number is both less than 4242 and greater than 7676.

Graphing compound inequalities

An "and" inequality between two numbers graphs as a segment. Here is −1≤x<3-1 \le x < 3: a closed circle at −1-1 (included), an open circle at 33 (not included), and shading between them.

−4−3−2−10123456
-1 ≤ x < 3

An "or" inequality like x<−2x < -2 or x≥1x \ge 1 usually graphs as two rays pointing away from each other, with a gap in the middle. On a single number line you shade both rays. Here are its two pieces, one at a time:

−6−5−4−3−2−1012345
first piece: x < -2
−6−5−4−3−2−1012345
second piece: x ≥ 1

The full solution set is everything shaded in either picture: all numbers left of −2-2 together with 11 and everything to its right. Numbers in the gap, such as 00, are not solutions: 0<−20 < -2 is false and 0≥10 \ge 1 is false.

Reading compound inequalities

  • And (between): a<x<ba < x < b graphs as a segment from aa to bb. A solution must pass both tests.
  • Or (outside): x<ax < a or x>bx > b graphs as two rays going outward. A solution must pass at least one test.

Use closed circles for ≤\le and ≥\ge, and open circles for << and >>, exactly as before.

Solving "and" inequalities

When an "and" inequality is written as a chain, it has three parts. Whatever you do to one part, do to all three. The goal is to get the variable alone in the middle.

Worked example: Solving a chain

Solve −3≤2x+1<9-3 \le 2x + 1 < 9 and graph the solutions.

−3≤2x+1<9−4≤2x<8subtract 1 from all three parts−2≤x<4divide all three parts by 2\begin{aligned} -3 &\le 2x + 1 < 9 \\ -4 &\le 2x < 8 && \text{subtract } 1 \text{ from all three parts} \\ -2 &\le x < 4 && \text{divide all three parts by } 2 \end{aligned}
−4−3−2−10123456
-2 ≤ x < 4

Check. At x=−2x = -2: 2(−2)+1=−32(-2) + 1 = -3, and −3≤−3<9-3 \le -3 < 9 is true, so −2-2 is included. At x=4x = 4: 2(4)+1=92(4) + 1 = 9, and 9<99 < 9 is false, so 44 is excluded. At x=0x = 0: −3≤1<9-3 \le 1 < 9, true.

The same rule about negatives applies: if you divide by a negative number, reverse both symbols.

Worked example: Dividing a chain by a negative

Solve −5<1−3x≤10-5 < 1 - 3x \le 10.

−5<1−3x≤10−6<−3x≤9subtract 12>x≥−3divide by −3 and reverse both symbols\begin{aligned} -5 &< 1 - 3x \le 10 \\ -6 &< -3x \le 9 && \text{subtract } 1 \\ 2 &> x \ge -3 && \text{divide by } -3 \text{ and reverse both symbols} \end{aligned}

The chain 2>x≥−32 > x \ge -3 is correct but reads backward. Rewrite it with the smaller number on the left: −3≤x<2-3 \le x < 2.

Check. x=0x = 0 gives 1−0=11 - 0 = 1, and −5<1≤10-5 < 1 \le 10 is true. x=2x = 2 gives 1−6=−51 - 6 = -5, and −5<−5-5 < -5 is false, so 22 is excluded, matching the open circle.

Common mistake

After dividing a chain by a negative, write your final answer with the numbers in increasing order, left to right, just as they appear on the number line. A chain like 2>x≥−32 > x \ge -3 is correct, but it is easy to misread and to graph backward. Also, never write a chain like 5<x<15 < x < 1: no number is both greater than 55 and less than 11.

Solving "or" inequalities

Solve each part on its own, then join the answers with "or."

Worked example: Solving an or inequality

Solve 2x−1<−52x - 1 < -5 or 3x+2≥113x + 2 \ge 11.

  • First part: 2x<−42x < -4, so x<−2x < -2.
  • Second part: 3x≥93x \ge 9, so x≥3x \ge 3.

The solution is x<−2x < -2 or x≥3x \ge 3: two rays, an open circle at −2-2 shaded left and a closed circle at 33 shaded right.

Check. x=−4x = -4: 2(−4)−1=−9<−52(-4) - 1 = -9 < -5, so the first part is true and −4-4 is a solution. x=0x = 0: −1<−5-1 < -5 is false and 2≥112 \ge 11 is false, so 00 is not a solution.

Special cases

Compound inequalities can have every number or no number as a solution.

Worked example: All or nothing

  1. x<5x < 5 or x>1x > 1
  2. x≤1x \le 1 and x>4x > 4

Solutions.

  1. Every real number is less than 55 or greater than 11 (many are both). Try 100100: it's greater than 11. Try −100-100: it's less than 55. The solution is all real numbers.
  2. A number can't be at most 11 and also greater than 44. The two rays don't overlap, so there is no solution.

Tip

To check any compound answer, test one number in each region the boundaries create. For x<−2x < -2 or x≥3x \ge 3, test something below −2-2, something between −2-2 and 33, and something above 33. Only the regions that make the original compound inequality true should be shaded.

Practice

Practice 1

Which inequality says "xx is greater than −4-4 and at most 22"?

Practice 2

Which inequality is shown by the graph?

−4−3−2−10123456
Practice 3

The solution of 3<x+5≤113 < x + 5 \le 11 has the form a<x≤ba < x \le b. Enter aa and bb, smaller first.

Separate answers with commas, e.g. 2, -5

Practice 4

Solve −7≤3x−1<8-7 \le 3x - 1 < 8.

Practice 5

Solve −4<2−2x<6-4 < 2 - 2x < 6. The answer can be written as a<x<ba < x < b. Enter aa and bb, smaller first.

Separate answers with commas, e.g. 2, -5

Practice 6

Solve x+4<1x + 4 < 1 or 2x−3>72x - 3 > 7.

Practice 7

Which compound inequality has no solution?

Practice 8

Jordan's first three test scores are 7878, 8585 and 9191. To earn a B, the average of all four tests must be at least 8080 but less than 9090. What is the lowest score Jordan can get on the fourth test and still earn a B?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.