6.4: Compound Inequalities
Learning Objectives
- Write and graph compound inequalities on a number line.
- Solve a compound inequality with “and”.
- Solve a compound inequality with “or”.
- Solve compound inequalities using a graphing calculator (TI family).
- Solve real-world problems using compound inequalities
Introduction
In this section, we will solve compound inequalities. In previous sections, we obtained solutions that gave the variable either as greater than or as less than a number. In this section we are looking for solutions where the variable can be in two or more intervals on the number line.
There are two types of compound inequalities:
1. Inequalities joined by the word “and”.
The solution is a set of values greater than a number and less than another number.
\begin{align*}a<x<b\end{align*}
In this case we want values of the variable for which both inequalities are true.
2. Inequalities joined by the word “or”.
The solution is a set of values greater than a number or less than another number.
\begin{align*}x<a\end{align*} or \begin{align*}x>b\end{align*}
In this case, we want values for the variable in which at least one of the inequalities is true.
Write and Graph Compound Inequalities on a Number Line
Example 1
Write the inequalities represented by the following number line graphs.
a)
b)
c)
d)
Solution
a) The solution graph shows that the solution is any value between -40 and 60, including -40 but not 60. Any value in the solution set satisfies both inequalities.
\begin{align*}x \geq -40\end{align*} and \begin{align*} x<60\end{align*}
This is usually written as the following compound inequality.
\begin{align*}-40 \leq x <60 \end{align*}
b) The solution graph shows that the solution is any value greater than 1 (not including 1) or any value less than -2 (not including -2). You can see that there can be no values that can satisfy both these conditions at the same time. We write:
\begin{align*}x >1\end{align*} or \begin{align*}x <-2\end{align*}
c) The solution graph shows that the solution is any value greater than 4 (including 4) or any value less than -1 (including -1). We write:
\begin{align*}x \geq 4\end{align*} or \begin{align*} x \leq -1\end{align*}
d) The solution graph shows that the solution is any value less than 25 (not including 25) and any value greater than -25 (not including -25). Any value in the solution set satisfies both conditions.
\begin{align*}x>-25\end{align*} and \begin{align*}x <25\end{align*}
This is usually written as \begin{align*}-25<x<25\end{align*}.
Example 2
Graph the following compound inequalities on the number line.
a) \begin{align*}-4 \leq x \leq 6\end{align*}
b) \begin{align*}x <0\end{align*} or \begin{align*} x>2\end{align*}
c) \begin{align*}x \geq -8\end{align*} or \begin{align*}x \leq -20\end{align*}
d) \begin{align*}-15 <x \leq 85\end{align*}
Solution
a) The solution is all numbers between -4 and 6 including both -4 and 6.
b) The solution is either numbers less than 0 or numbers greater than 2 not including 0 or 2.
c) The solution is either numbers greater than or equal to -8 or less than or equal to -20.
d) The solution is numbers between -15 and 85, not including -15 but including 85.
Solve a compound Inequality With “and”
When we solve compound inequalities, we separate the inequalities and solve each of them separately. Then, we combine the solutions at the end.
Example 3
Solve the following compound inequalities and graph the solution set.
a) \begin{align*}-2<4x-5\leq 11\end{align*}
b) \begin{align*}3x-5<x+9 \leq 5x+13\end{align*}
Solution
a) First, we rewrite the compound inequality as two separate inequalities with and. Then solve each inequality separately.
\begin{align*}-2 & <4x-5 & & & & 4x-5 \leq 11\\ 3 & < 4x & & \text{and} & & 4x \leq 16\\ \frac{3}{4}& <x & & & & x \leq 4\end{align*}
Answer \begin{align*} \frac{3} {4}<x\end{align*} and \begin{align*} x\leq 4\end{align*}. This can be written as \begin{align*} \frac{3} {4}x\leq 4\end{align*}.
b) Rewrite the compound inequality as two separate inequalities by using and. Then solve each inequality separately.
\begin{align*}3x-5&<x+9 & & & &x+9 \leq 5x+13\\ 2x&<14 & & \text{and} & & -4 \leq 4x\\ x&<7 & & & & -1 \ \leq x \ \text{or} \ x \geq -1\end{align*}
Answer \begin{align*} x<7> \end{align*} and \begin{align*} x\geq -1\end{align*}. This can be written as \begin{align*}-1 \leq x <7\end{align*}.
Solve a Compound Inequality With “or”
Consider the following example.
Example 4
Solve the following compound inequalities and graph the solution set.
a) \begin{align*} 9-2x \leq 3\end{align*} or \begin{align*}3x+10 \leq 6-x\end{align*}
b) \begin{align*} \frac{x-2} {6}\leq2x-4\end{align*} or \begin{align*}\frac{x-2} {6}>x+5\end{align*}
Solution
a) Solve each inequality separately.
\begin{align*}9-2x & \leq 3 & & & & 3x+10 \leq 6-x\\ -2x & \leq -6 & & \text{or} & & 4x \leq -4\\ x & \geq 3 & & & & x \leq -1\end{align*}
Answer \begin{align*} x \geq 3\end{align*} or \begin{align*} x \leq -1\end{align*}
b) Solve each inequality separately.
\begin{align*}\frac{x-2} {6} & \leq 2x-4 & & & & \frac{x-2} {6} > x+5\\ x-2 & \leq 6(2x-4) & & & & x-2 > 6(x+5)\\ x-2 & \leq 12x-24 & & \text{or} & & x-2 > 6x+30\\ 22 & \leq 11x & & & & -32>5x\\ 2 & \leq x & & & & -6.4>x\end{align*}
Answer \begin{align*} x \geq 2\end{align*} or \begin{align*} x <-64\end{align*}
Solve Compound Inequalities Using a Graphing Calculator (TI-83/84 family)
This section explains how to solve simple and compound inequalities with a graphing calculator.
Example 5
Solve the following inequalities using the graphing calculator.
a) \begin{align*}5x+2(x- 3) \geq 2\end{align*}
b) \begin{align*}7x-2<10x+1<9x+5\end{align*}
c) \begin{align*}3x+2 \leq 10\end{align*} or \begin{align*} 3x+2 \geq 15\end{align*}
Solution
a) \begin{align*}5x+2(x-3) \geq 2\end{align*}
Step 1 Enter the inequality.
Press the [Y=] button.
Enter the inequality on the first line of the screen.
\begin{align*} Y_1 = 5x+2(x-3) \geq 2\end{align*}
The \begin{align*} \geq \end{align*} symbol is entered by pressing [TEST] [2nd] [MATH] and choose option 4.
Step 2 Read the solution.
Press the [GRAPH] button.
Because the calculator translates a true statement with the number 1 and a false statement with the number 0, you will see a step function with the \begin{align*}y-\end{align*}value jumping from 0 to 1. The solution set is the values of \begin{align*}x\end{align*} for which the graph shows \begin{align*}y = 1\end{align*}.
Note: You need to press the [WINDOW] key or the [ZOOM] key to adjust window to see full graph.
The solution is \begin{align*}x \geq \frac{8}{7}=1.42857\ldots\end{align*}, which is why you can see the \begin{align*}y\end{align*} value changing from 0 to 1 at 1.14.
b) \begin{align*}7x-2 <10x+1<9x+5\end{align*}
This is a compound inequality \begin{align*}7x- 2 <10x + 1\end{align*} and \begin{align*}10x + 1 < 9x + 5 \end{align*}.
To enter a compound inequality:
Press the [Y=] button.
Enter the inequality as \begin{align*} Y_1 = (7x-2<10x+1)\end{align*} AND \begin{align*}(10x+1<9x+5)\end{align*}
To enter the [AND] symbol press [TEST], choose [LOGIC] on the top row and choose option 1.
The resulting graph looks as shown at the right.
The solution are the values of \begin{align*}x\end{align*} for which \begin{align*}y=1\end{align*}.
In this case \begin{align*}-1<x<4\end{align*}.
c) \begin{align*}3x+2 \leq 10\end{align*} or \begin{align*} 3x+2 \geq 15 \end{align*}
This is a compound inequality \begin{align*}3x + 2 \leq 10\end{align*} or \begin{align*}3x + 2 \geq 15\end{align*}
Press the [Y=] button.
Enter the inequality as \begin{align*} Y_1=(3x+2 \leq 10)\end{align*} OR \begin{align*}(3x+2 \geq 15) \end{align*} To enter the [OR] symbol press [TEST], choose [LOGIC] on the top row and choose option 2.
The resulting graph looks as shown at the right. The solution are the values of \begin{align*}x\end{align*} for which \begin{align*}y=1\end{align*}. In this case, \begin{align*}x \leq 2.7\end{align*} or \begin{align*}x \geq 4.3\end{align*}.
Solve Real-World Problems Using Compound Inequalities
Many application problems require the use of compound inequalities to find the solution.
Example 6
The speed of a golf ball in the air is given by the formula \begin{align*}v =-32t+ 80\end{align*}, where \begin{align*}t\end{align*} is the time since the ball was hit. When is the ball traveling between 20 ft/sec and 30 ft/sec?
Solution
Step 1
We want to find the times when the ball is traveling between 20 ft/sec and 30 ft/sec.
Step 2
Set up the inequality \begin{align*}20 \leq v \leq 30\end{align*}
Step 3
Replace the velocity with the formula \begin{align*}v=-32t+80\end{align*}.
\begin{align*}20 \leq -32t +80 \leq 30\end{align*}
Separate the compound inequality and solve each separate inequality.
\begin{align*}&20 \leq -32t+80 & & & & -32t+80 \leq 30\\ &32t \leq 60 & & \text{and} & & 50 \leq 32t\\ &t \leq 1.875 & & & & 1.56 \leq t\end{align*}
Answer \begin{align*}1.56 \leq t \leq 1.875 \end{align*}
Step 4 To check 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 30ft/sec. The answer checks out.
Example 7
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?
Solution
Step 1 We know
The truck gets between 18 and 22 miles/gallon
There are 15 gallons in the truck’s gas tank
William drives at an average of 40 miles/hour
Let \begin{align*}t =\end{align*} driving time
Step 2 We use dimensional analysis to get from time per tank to miles per gallon.
\begin{align*}\frac{t \ \bcancel{hours}}{1 \ \bcancel{tank}} \times \frac{1 \ \bcancel{tank}}{15 \ gallons} \times \frac{40 \ miles}{1 \ \bcancel{hours}} = \frac{40t}{45} \ \frac{miles}{gallon}\end{align*}
Step 3 Since the truck gets between 18 to 22 miles/gallon, we set up the compound inequality.
\begin{align*} 18 \leq \frac{40t} {15} \leq 22\end{align*}
Separate the compound inequality and solve each inequality separately.
\begin{align*}18 & \leq \frac{40t} {15} & & & & \frac{40t} {15}\leq 22\\ 270 & \leq 40t & & \text{and} & & 40t \leq 330\\ 6.75 & \leq t & & & & t \leq 8.25\end{align*}
Answer \begin{align*}6.75 \leq t \leq 8.25\end{align*}. Andrew can drive between 6.75 and 8.25 hours on a full tank of gas.
Step 4
For \begin{align*} t = 6.75\end{align*}, we get \begin{align*} \frac{40t} {15} \frac{40(6.75)} {15}=18 \ miles\end{align*} per gallon.
For \begin{align*} t = 8.25\end{align*}, we get \begin{align*} \frac{40t} {15} \frac{40(8.25)} {15}=18 \ miles\end{align*} per gallon.
Lesson Summary
- Compound inequalities combine two or more inequalities with “and” or “or”.
- “And” combinations mean the only solutions for both inequalities will be solutions to the compound inequality.
- “Or” combinations mean solutions to either inequality will be solutions to the compound inequality.
Review Questions
Write the compound inequalities represented by the following graphs.
Solve the following compound inequalities and graph the solution on a number line.
- \begin{align*} -5 \leq x-4 \leq 13\end{align*}
- \begin{align*} 1 \leq 3x+4 \leq 4\end{align*}
- \begin{align*} -12 \leq 2-5x \leq 7\end{align*}
- \begin{align*} \frac{3} {4} \leq 2x+9 \leq \frac{3} {2}\end{align*}
- \begin{align*} -2\frac{2x-1} {3}<-1\end{align*}
- \begin{align*} 4x-1 \geq 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 \leq -3\end{align*} or \begin{align*}2x-3>11\end{align*}
- \begin{align*} 4x+3 \leq 9\end{align*} or \begin{align*}-5x+4 \leq -12\end{align*}
- 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 fall if she is to receive a grade of B for the class?
Review Answers
- \begin{align*}-40 \leq x \leq 70\end{align*}
- \begin{align*}x <-2 \end{align*} or \begin{align*}x \geq 5 \end{align*}
- \begin{align*} -8< x < 0 \end{align*}
- \begin{align*}x \leq -2\end{align*} or \begin{align*}x> 1.5 \end{align*}
- \begin{align*}-1 \leq x \leq 17\end{align*}
- \begin{align*}-\frac{4}{3} \leq x \leq -\frac{1}{3}\end{align*}
- \begin{align*}-1 \leq x \leq \frac{14}{5} \end{align*}
- \begin{align*}-\frac{33}{8} \leq x \leq -\frac{15}{4}\end{align*}
- \begin{align*}-\frac{5}{2} \leq x <-1 \end{align*}
- \begin{align*}x \geq 2\end{align*} or \begin{align*}x < \frac{2}{3}\end{align*}
- \begin{align*}x>7 \end{align*} or \begin{align*} x<-7\end{align*}
- \begin{align*}x< \frac{5}{2}\end{align*} or \begin{align*}x > 13 \end{align*}
- \begin{align*}x \leq 2\end{align*} or \begin{align*}x> 7 \end{align*}
- \begin{align*}x < \frac{3}{2}\end{align*} or \begin{align*}x \geq \frac{16}{5}\end{align*}
- \begin{align*}65 \leq x < 105 \end{align*}