What if you had a compound inequality like \begin{align*}0 \le 2x + 6 \le 6\end{align*}? How could you solve it and graph its solution set?

### Solutions to Compound Inequalities

When we solve compound inequalities, we separate the inequalities and solve each of them separately. Then, we combine the solutions at the end.

#### Solve the following compound inequalities and graph the solution set.

a) \begin{align*}-2 < 4x-5 \le 11\end{align*}

First we re-write the compound inequality as two separate inequalities with *and*. Then solve each inequality separately.

\begin{align*}& -2 < 4x-5 \qquad \qquad 4x-5 \le 11\\ & \quad 3<4x \qquad \quad and \qquad \quad 4x \le 16\\ & \quad \frac{3}{4} < x \qquad \qquad \qquad \qquad \ x \le 4\end{align*}

\begin{align*}\frac{3}{4}<x\end{align*} and \begin{align*}x \le 4\end{align*}. This can be written as \begin{align*}\frac{3}{4}< x \le 4\end{align*}.

b) \begin{align*}3x-5 < x + 9 \le 5x+13\end{align*}

Re-write the compound inequality as two separate inequalities with *and*. Then solve each inequality separately.

\begin{align*}& 3x-5<x+9 \qquad \quad \ \ x+9 \le 5x+13\\ & \quad \ \ 2x<14 \qquad and \qquad -4 \le 4x\\ & \qquad x < 7 \qquad \qquad \qquad \ -1 \le x\end{align*}

\begin{align*}x < 7\end{align*} and \begin{align*}x \ge -1\end{align*}. This can be written as: \begin{align*}-1 \le x < 7\end{align*}.

#### Solve the following compound inequalities and graph the solution set.

a) \begin{align*}9-2x \le 3\end{align*} or \begin{align*}3x+10 \le 6-x\end{align*}

Solve each inequality separately:

\begin{align*}& 9-2x \le 3 \qquad \qquad 3x+10 \le 6-x\\ & \ -2x \le -6 \qquad or \qquad \ \ 4x \le -4\\ & \qquad x \ge 3 \qquad \qquad \qquad \ \ \ x \le -1\end{align*}

\begin{align*}x \ge 3\end{align*} or \begin{align*}x \le -1\end{align*}

b) \begin{align*}\frac{x-2}{6} \le 2x-4\end{align*} or \begin{align*}\frac{x-2}{6} > x+5\end{align*}

Solve each inequality separately:

\begin{align*}& \frac{x-2}{6} \le 2x-4 \qquad \qquad \quad \frac{x-2}{6} > x+5\\ & x-2 \le 6(2x-4) \qquad \qquad x-2 > 6(x+5)\\ & x-2 \le 12x-24 \qquad or \quad \ x-2 > 6x+30\\ & \quad \ 22 \le 11x \qquad \qquad \qquad \ -32 > 5x\\ & \quad \ \ \ 2 \le x \qquad \qquad \qquad \quad -6.4 > x\end{align*}

\begin{align*}x \ge 2\end{align*} or \begin{align*}x < -6.4\end{align*}

One thing you may notice in the video for this Concept is that in the second problem, the two solutions joined with “or” overlap, and so the solution ends up being the set of all real numbers, or \begin{align*}(-\infty,\infty)\end{align*}. This happens sometimes with compound inequalities that involve “or”; for example, if the solution to an inequality ended up being “\begin{align*}x<5\end{align*} or \begin{align*}x>1\end{align*},” the solution set would be all real numbers. This makes sense if you think about it: all real numbers are either a) less than 5, or b) greater than or equal to 5, and the ones that are greater than or equal to 5 are also greater than 1—so all real numbers are either a) less than 5 or b) greater than 1.

Compound inequalities with “and,” meanwhile, can turn out to have *no* solutions. For example, the inequality “\begin{align*}x<3\end{align*} and \begin{align*}x>4\end{align*}” has no solutions: no number is both greater than 4 and less than 3. If we write it as \begin{align*}4<x<3\end{align*} it’s even more obvious that it has no solutions; \begin{align*}4<x<3\end{align*} implies that \begin{align*}4 < 3\end{align*}, which is false.

**Solve Real-World Problems Using Compound Inequalities**

Many application problems require the use of compound inequalities to find the solution.

#### Solve the Real-World Problem

*The speed of a golf ball in the air is given by the formula \begin{align*}v=-32t+80\end{align*}. When is the ball traveling between 20 ft/sec and 30 ft/sec?*

First we set up the inequality \begin{align*}20 \le v \le 30\end{align*}, and then replace \begin{align*}v\end{align*} with the formula \begin{align*}v=-32t+80\end{align*} to get \begin{align*}20 \le -32t+80 \le 30\end{align*}.

Then we separate the compound inequality and solve each separate inequality:

\begin{align*}& \ 20 \le -32t+80 \qquad \quad \ \ \ -32t + 80 \le 30\\ & 32t \le 60 \qquad \qquad \text{and} \qquad \qquad \quad \ 50 \le 32t\\ & \quad t \le 1.875 \qquad \qquad \qquad \qquad \quad 1.56 \le t\end{align*}

\begin{align*}1.56 \le t \le 1.875\end{align*}

To check the answer, we plug in the minimum and maximum values of \begin{align*}t\end{align*} into the formula for the speed.

For \begin{align*}t = 1.56, \ v=-32t+80 = -32(1.56)+80=30 \ ft/sec\end{align*}

For \begin{align*}t = 1.875, \ v=-32t+80= -32(1.875)+80= 20 \ ft/sec\end{align*}

So the speed is between 20 and 30 ft/sec. **The answer checks out.**

### Example

*William’s pick-up truck gets between 18 to 22 miles per gallon of gasoline. His gas tank can hold 15 gallons of gasoline. If he drives at an average speed of 40 miles per hour, how much driving time does he get on a full tank of gas?*

Let \begin{align*}t =\end{align*} driving time. We can use dimensional analysis to get from time per tank to miles per gallon:

\begin{align*}\frac{t \ hours}{1 \ tank} \times \frac{1 \ tank}{15 \ gallons} \times \frac{40 \ miles}{1 \ hour} \times \frac{40t}{15} \frac{miles}{gallon}\end{align*}

Since the truck gets between 18 and 22 miles/gallon, we set up the compound inequality \begin{align*}18 \le \frac{40t}{15} \le 22\end{align*}. Then we separate the compound inequality and solve each inequality separately:

\begin{align*}& \ \ 18 \le \frac{40t}{15} \qquad \qquad \quad \ \frac{40t}{15} \le 22\\ & \ 270 \le 40t \qquad \text{and} \qquad 40t \le 330\\ & 6.75 \le t \qquad \qquad \qquad \quad \ \ t \le 8.25\end{align*}

\begin{align*}6.75 \le t \le 8.25\end{align*}.

**Andrew can drive between 6.75 and 8.25 hours on a full tank of gas.**

If we plug in \begin{align*}t = 6.75\end{align*} we get \begin{align*}\frac{40t}{15} = \frac{40(6.75)}{15} = 18 \ miles \ per \ gallon\end{align*}.

If we plug in \begin{align*}t = 8.25\end{align*} we get \begin{align*}\frac{40t}{15} = \frac{40(8.25)}{15} = 22 \ miles \ per \ gallon\end{align*}.

**The answer checks out.**

### Review

Solve the following compound inequalities and graph the solution on a number line.

- \begin{align*}-5 \le x-4 \le 13\end{align*}
- \begin{align*}1 \le 3x +5 \le 4\end{align*}
- \begin{align*}-12 \le 2-5x \le 7\end{align*}
- \begin{align*}\frac{3}{4} \le 2x+9 \le \frac{3}{2}\end{align*}
- \begin{align*}-2 \le \frac{2x-1}{3} < -1\end{align*}
- \begin{align*}4x-1 \ge 7\end{align*} or \begin{align*}\frac{9x}{2} < 3\end{align*}
- \begin{align*}3-x < -4\end{align*} or \begin{align*}3-x > 10\end{align*}
- \begin{align*}\frac{2x+3}{4} < 2\end{align*} or \begin{align*}-\frac{x}{5} + 3 < \frac{2}{5}\end{align*}
- \begin{align*}2x-7 \le -3\end{align*} or \begin{align*}2x-3 > 11\end{align*}
- \begin{align*}4x+3< 9\end{align*} or \begin{align*}-5x+4 \le -12\end{align*}
- How would you express the answer to problem 1 as a set?
- How would you express the answer to problem 1 as an interval?
- How would you express the answer to problem 6 as a set?
- Could you express the answer to problem 6 as a single interval? Why or why not?
- How would you express the first part of the solution in interval form?
- How would you express the second part of the solution in interval form?

- Express the answers to problems 2 through 5 in interval notation.
- Solve the inequality “\begin{align*}x \ge -3\end{align*} or \begin{align*}x < 1\end{align*}” and express the answer in interval notation.
- How many solutions does the inequality “\begin{align*}x \ge 2\end{align*} and \begin{align*}x \le 2\end{align*}” have?
- To get a grade of B in her Algebra class, Stacey must have an average grade greater than or equal to 80 and less than 90. She received the grades of 92, 78, 85 on her first three tests.
- Between which scores must her grade on the final test fall if she is to receive a grade of B for the class? (Assume all four tests are weighted the same.)
- What range of scores on the final test would give her an overall grade of C, if a C grade requires an average score greater than or equal to 70 and less than 80?
- If an A grade requires a score of at least 90, and the maximum score on a single test is 100, is it possible for her to get an A in this class? (Hint: look again at your answer to part a)

### Review (Answers)

To see the Review answers, open this PDF file and look for section 6.6.