[cross-reference to target(s) "ccog-solve-compound-linear-inequalities" missing or not unique]
On the newest version of the SAT (an exam that often qualifies students for colleges) the minimum score that you can earn is \(400\) and the maximum score that you can earn is \(1600\text{.}\) This means that only numbers between \(400\) and \(1600\text{,}\) including these endpoints, are possible scores. To plot all of these values on a number line would look something like:
Going back to the original statement, “the minimum score that you can earn is \(400\) and the maximum score that you can earn is \(1600\text{,}\)” this really says two things. First, it says that \((\text{a SAT score})\geq400\text{,}\) and second, that \((\text{a SAT score})\le1600\text{.}\) When we combine two inequalities like this into a single problem, it becomes a compound inequality.
Our lives are often constrained by the compound inequalities of reality: you need to buy enough materials to complete your project, but you can only fit so much into your vehicle; you would like to finish your degree early, but only have so much money and time to put toward your courses; you would like a vegetable garden big enough to supply you with veggies all summer long, but your yard or balcony only gets so much sun. In the rest of the section we hope to illuminate how to think mathematically about problems like these.
Before continuing, a review on how notation for intervals works may be useful, and you may benefit from revisiting Section 1.3. Then a refresher on solving linear inequalities may also benefit you, which you can revisit in Section 2.2 and Section 2.3.
Subsection13.6.1Unions of Intervals
Definition13.6.3.
The union of two sets, \(A\) and \(B\text{,}\) is the set of all elements contained in either \(A\) or \(B\) (or both). We write \(A\cup B\) to indicate the union of the two sets.
In other words, the union of two sets is what you get if you toss every number in both sets into a bigger set.
Example13.6.4.
The union of sets \(\{1,2,3,4\}\) and \(\{3,4,5,6\}\) is the set of all elements from either set. So \(\{\highlight{1,2,3,4}\}\cup\{3,4,\highlight{5,6}\}=\{\highlight{1,2,3,4,5,6}\}\text{.}\) Note that we don’t write duplicates.
Example13.6.5.
Visualize the union of the sets \((-\infty,4)\) and \([7,\infty)\text{.}\)
Explanation.
First we make a number line with both intervals drawn to understand what both sets mean.
The two intervals should be viewed as a single object when stating the union, so here is the picture of the union. It looks the same, but now it is a graph of a single set.
Definition13.6.8.
The intersection of two sets, \(A\) and \(B\text{,}\) is the set of all elements that are in \(A\) and \(B\text{.}\) We write \(A\cap B\) to indicate the intersection of the two sets.
In other words, the intersection of two sets is where the two sets overlap.
Example13.6.9.
The intersection of sets \(\{1,2,3,4\}\) and \(\{3,4,5,6\}\) is the set of all elements that are in common to both sets. So \(\{1,2,\highlight{3,4}\}\cap\{\highlight{3,4},5,6\}=\{\highlight{3,4}\}\text{.}\)
Example13.6.10.
Find the intersection of the sets \((-\infty,5)\) and \([3,\infty)\text{.}\)
Explanation.
To find the intersection of the sets \((-\infty,5)\) and \([3,\infty)\text{,}\) first we draw a number line with both intervals drawn to visualize where the sets overlap.
Recall that the intersection of two sets is the set of the numbers in common to both sets. In English, we might say that the lines overlap at every number between \(-3\) and \(5\text{.}\) This description is the same as the interval \([-3,5)\text{.}\)
Note that every intersection of two intervals can and should be simplified in some way. On the other hand, there are unions which cannot be algebraically simplified. For example, if the two sets have nothing in common, as in \((-\infty,4)\) and \([7,\infty)\) again, then the union is simply \((-\infty,4)\cup[7,\infty)\) which is our final simplification.
This union cannot be simplified because the two sets have nothing in common.
\((-\infty,-2]\cap[4,\infty)=\emptyset\)
Since the two sets have nothing in common, their intersection is empty.
Remark13.6.15.
In this section, we mostly use interval notation to answer questions. Recall that we can also use set builder notation. For example, the set \([3,\infty)\) can also be written as \(\{x\mid x\ge 3\}\text{.}\)
Subsection13.6.2“Or” Compound Inequalities
Definition13.6.16.
A compound inequality is a grouping of two or more inequalities into a larger inequality statement. These usually come in two flavors: “or” and “and” inequalities. For an example of an “or” compound inequality, you might get a discount at the movie theater if your age is less than \(13\)or greater than \(64\text{.}\) For an example of an “and” compound inequality, to purchase a drink at a bar in Oregon, you need to be over \(21\) years old and be have money for your drink. You need to fulfill both requirements.
In math, the technical term or means “either or both.” So, mathematically, if we asked if you would like “chocolate cake or apple pie” for dessert, your choices are either “chocolate cake,” “apple pie,” or “both chocolate cake and apple pie.” This is slightly different than the English “or” which usually means “one or the other but not both.”
“Or” shows up in math between equations (as in when solving a quadratic equation, you might end up with “\(x=2\) or \(x=-3\)”) or between inequalities (which is what we’re about to discuss).
Remark13.6.17.
The definition of “or” is very close to the definition of a union where you combine elements from either or both sets together. In fact, when you have an “or” between inequalities in a compound inequality, to find the solution set of the compound inequality, you find the union of the the solutions sets of each of the pieces.
Writing the solution set to this compound inequality doesn’t require any algebra beforehand because each of the inequalities is already solved for \(x\text{.}\) The first thing we should do is understand what each inequality is saying using a graph.
An “or” statement becomes a union of solution sets, so the solution set to the compound inequality must be:
First we need to do some algebra to isolate \(x\) in each piece. Note that we are going to do algebra on both pieces simultaneously. Also note that the mathematical symbol “or” should be written on each line.
The solution set for the compound inequality \(x\lt2\) is \((-\infty,2)\) and the solution set to \(x\ge5\) is \([5,\infty)\text{.}\) To do the “or” portion of the problem, we need to take the union of these two sets. Let’s first make a graph of the solution sets to visualize the problem.
The union combines both solution sets into one, and so
This value made one of the inequalities true. Since this is an “or” statement, only one or the other piece has to be true to make the compound inequality true.
Last, what will happen if we choose a value that was in the other solution region in Figure 21, like the number \(\highlight{6}\text{?}\)
This solution made the other inequality piece true.
This completes the check. Numbers from within the solution region make the compound inequality true and numbers outside the solution region make the compound inequality false.
First we will solve each inequality for \(t\text{.}\) Recall that we usually try to clear denominators by multiplying both sides by the least common denominator.
The solution set to \(t\le \frac{2}{3}\) is \(\left(-\infty,\frac{2}{3}\right]\) and the solution set to \(t\gt 7\) is \((7,\infty)\text{.}\)Figure 23 shows these two sets.
Note that the two sets do not overlap so there will be no way to simplify the union. Thus the solution set to the compound inequality is:
There are two different kinds of “and” compound inequalities. One type has an expression that is “between” two values, like \(A \lt B \le C\text{,}\) that we will call “three-part inequalities”. The other type has two inequalities joined by the word “and,” as in \(A \lt B \text{ and } C\geq D\text{.}\) We will start with the three-part inequalities.
The inequality \(1\leq 2\lt 3\) says a lot more than you might think. It actually says four different single inequalities which are highlighted for you to see.
This might seem trivial at first, but if you are presented with an inequality like \(-1\lt3\geq2\text{,}\) at first it might look sensible; however, in reality, you need to check that all four linear inequalities make sense. Those are highlighted here.
One of these inequalities is false: \(-1\ngeq2\text{.}\) This implies that the entire original inequality, \(-1\lt3\geq2\text{,}\) is nonsense.
Example13.6.26.
Decide whether or not the following inequalities are true or false.
True or False: \(-5\lt7\le12\text{?}\)
True or False: \(-7\le-10\lt4\text{?}\)
True or False: \(-2\le0\geq1\text{?}\)
True or False: \(5\gt-3\geq-9\text{?}\)
True or False: \(3\lt3\le5\text{?}\)
True or False: \(9\gt1\lt5\text{?}\)
True or False: \(3\lt8\le-2\text{?}\)
True or False: \(-9\lt-4\le-2\text{?}\)
Explanation.
We need to go through all four single inequalities for each. If the inequality is false, for simplicity’s sake, we will only highlight the one single inequality that makes the inequality false.
True: \(-5\lt7\le12\text{.}\)
False: \(-7\reject{\le}-10\text{.}\)
False: \(-2\reject{\ge}1\text{.}\)
True: \(5\gt-3\geq-9\text{.}\)
False: \(3\reject{\lt}3\text{.}\)
False: \(9\reject{\lt}5\text{.}\)
False: \(8\reject{\le}-2\text{.}\)
True: \(-9\lt-4\le-2\text{.}\)
As a general hint, no (nontrivial) three-part inequality can ever be true if the inequality signs are not pointing in the same direction. So no matter what numbers \(a\text{,}\)\(b\text{,}\) and \(c\) are, both \(a\lt b\geq c\) and \(a\geq b \lt c\) cannot be true! Soon you will be writing inequalities like \(2\lt x \le 4\) and you need to be sure to check that your answer is feasible. You will know that if you get \(2\gt x \le 4\) or \(2\lt x \geq 4\) that something went wrong in the solving process. The only exception is that something like \(1\le1\geq1\) is true because \(1=1=1\text{,}\) although this shouldn’t come up very often!
Example13.6.27.
Write the solution set to the compound inequality.
\begin{equation*}
-7\lt x\le 5
\end{equation*}
Explanation.
The solutions to the three-part inequality \(-7\lt x\le 5\) are those numbers that are trapped between \(-7\) and \(5\text{,}\) including \(5\) but not \(-7\text{.}\) Keep in mind that there are infinitely many decimal numbers and irrational numbers that satisfy this inequality like \(-2.781828\) and \(\pi\text{.}\) We will write these numbers in interval notation as \((-7,5]\) or in set builder notation as \(\{x\mid -7\lt x\le 5\}\text{.}\)
This is a three-part inequality which we can treat just as a regular inequality with three “sides.” The goal is to isolate \(x\) in the middle and whatever you do to one “side,” you have to do to the other two “sides.”
The solutions to the three-part inequality \(-1\le x\lt \frac{7}{9}\) are those numbers that are trapped between \(-1\) and \(\frac{7}{9}\text{,}\) including \(-1\) but not \(\frac{7}{9}\text{.}\) The solution set in interval notation is \(\left[-1,\frac{7}{9}\right)\text{.}\)
This is a three-part inequality which we can treat just as a regular inequality with three “sides.” The goal is to isolate \(x\) in the middle and whatever you do to one “side,” you have to do to the other two “sides.” We will begin by canceling the fraction by multiplying each part by the least common denominator.
At the end we reverse the entire statement to go from smallest to largest. The solution set is \([-6,15)\text{.}\)
Here we will deal with the other kind of compound inequality: the “and” variety.
Remark13.6.30.
An “and” statement means that you need both inequalities to be true simultaneously. In English, if you say, “I need Khaleem and Freja to paint the fence,” then the only way you will be happy is if both people are working simultaneously on the fence. This statement that both things happen at the same time should be very reminiscent of our discussion of intersections earlier in this section. In fact, every “and” statement will result in the intersection of the solution sets of the pieces.
The solution set to \(t\lt3\) is \((-\infty,3)\) and the solution set to \(t\geq-1\) is \([-1,\infty)\text{.}\) Shown is a graph of these solution sets.
Recall that an “and” problem finds the intersection of the solution sets. Intersection finds the \(t\)-values where the two lines overlap, so the solution to the compound inequality must be
We have finished the problem, but for the sake of completeness, let’s try to “verify” that our answer is reasonable.
First, choose a number within our solution region and test that it makes both original inequalities true. We will arbitrarily choose \(\highlight{1}\text{.}\)
Next, choose a value outside the solution set and test that it makes at least one of the inequalities false. We will arbitrarily choose \(\highlight{4}\text{.}\)
Since one of the inequalities is false and this is an “and” question, the compound inequality is false for this value which is what expected by picking a number outside the solution set.
Last, we should choose a number that is not a solution that is on the “other side” of the solution set. We will arbitrarily choose \(\highlight{-2}\text{.}\)
Again, since one of the inequalities is false and this is an “and” question, the compound inequality is false for \(-2\text{.}\)
So, numbers outside the proposed solution region make the compound inequality false, and numbers inside the region make the compound inequality true. We have verified our solution set.
The solution set to \(x\le -3\) is \((-\infty,-3]\) and the solution set to \(x\gt-5\) is \((-5,\infty)\text{.}\) Shown is a graph of these solution sets on a number line.
Recall that “and” statements of inequalities become intersections of the solution sets. Since intersections refer to where the sets overlap, and these sets overlap between \(-5\) (exclusive) and \(-3\) (inclusive), we would say
Subsection13.6.5Applications of Compound inequalities
Example13.6.35.
Raphael’s friend is getting married and he’s decided to give them some dishes from their registry. Raphael doesn’t want to seem cheap but isn’t a wealthy man either, so he wants to buy “enough” but not “too many.” He’s decided that he definitely wants to spend at least \(\$150\) on his friend, but less than \(\$250\text{.}\) Each dish is \(\$21.70\) and shipping on an order of any size is going to be \(\$19.99\text{.}\) Given his budget, set up and algebraically solve a compound inequality to find out what his different options are for the number of dishes that he can buy.
Explanation.
First, we should define our variable. Let \(x\) represent the number of dishes that Raphael can afford. Next we should write a compound inequality that describes this situation. In this case, Raphael wants to spend between \(\$150\) and \(\$250\) and, since he’s buying \(x\) dishes, the price that he will pay is \(21.70x+19.99\text{.}\) All of this translates to a triple inequality
The interpretation of this inequality is a little tricky. Remember that \(x\) represents the number of dishes Raphael can afford. Since you cannot buy \(5.991\) dishes (manufacturers will typically only ship whole number amounts of tableware) his minimum purchase must be \(6\) dishes. We have a similar problem with his maximum purchase: clearly he cannot buy \(10.6\) dishes. So, should we round up or down? If we rounded up, that would be \(11\) dishes and that would cost \(\$21.70\cdot\highlight{11}+\$19.99=\$258.69\text{,}\) which is outside his price range. Therefore, we should actually round down in this case.
In conclusion, Raphael should buy somewhere between 6 and 10 dishes for his friend to stay within his budget.
Example13.6.36.
Oak Ridge National Laboratory, a renowned scientific research facility, compiled some data 1
tedb.ornl.gov/data
on fuel efficiency of a mid-size hybrid car versus the speed that the car was driven. A model for the fuel efficiency \(e(x)\) (in miles per gallon, mpg) at a speed \(x\) (in miles per hour, mph) is \(e(x)=88-0.7x\text{.}\)
Evaluate and interpret \(e(60)\) in the context of the problem.
Note that this model only applies between certain speeds. The maximum fuel efficiency for which this formula applies is 55 mpg and the minimum fuel efficiency for which it applies is 33 mpg. Set up and algebraically solve a compound inequality to find the range of speeds for which this model applies.
So, when the hybrid car travels at a speed of 60 mph, it has a fuel efficiency of 46 mpg.
In this case, the minimum efficiency is 33 mpg and the maximum efficiency is 55 mpg. We need to trap our formula between these two values to solve for the respective speeds.
This inequality says that our model is applicable when the car’s speed is between about 47 mph and about 79 mph.
Reading Questions13.6.6Reading Questions
1.
What is the difference between an “inequality” and a “compound inequality”?
2.
What is the difference between a union and an intersection?
3.
Explain why \(-3\lt5\ge2\) doesn’t make mathematical sense.
4.
If you solve a compound inequality and your final simplification is “\(x\gt7\text{ and }x\lt12\)”, how many solutions are in your solution set? How would you write those solutions?
Exercises13.6.7Exercises
Review and Warmup.
1.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
2.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
3.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
4.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
5.
Solve this inequality.
\(\displaystyle{ {5} > {x+6} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
6.
Solve this inequality.
\(\displaystyle{ {1} > {x+9} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
7.
Solve this inequality.
\(\displaystyle{ {-2x} \geq {4} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
8.
Solve this inequality.
\(\displaystyle{ {-3x} \geq {12} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
9.
Solve this inequality.
\(\displaystyle{ {4} \geq {-6x+4} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
10.
Solve this inequality.
\(\displaystyle{ {3} \geq {-7x+3} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
11.
Solve this inequality.
\(\displaystyle{ {9t+10} \lt {3t+28} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
12.
Solve this inequality.
\(\displaystyle{ {9t+7} \lt {5t+47} }\)
In set-builder notation, the solution set is .
In interval notation, the solution set is .
Check Solutions.
13.
Decide whether the given value for the variable is a solution.
\(x \gt 8\quad\text{and}\quad x \leq 3 \qquad x = 3\)
The given value
?
is
is not
a solution.
\(x \lt 6\quad\text{or}\quad x \geq 8 \qquad x = 2\)
The given value
?
is
is not
a solution.
\(x \geq -6\quad\text{and}\quad x \leq 8 \qquad x = 4\)
The given value
?
is
is not
a solution.
\(-4 \leq x \leq 2 \qquad x = 5\)
The given value
?
is
is not
a solution.
14.
Decide whether the given value for the variable is a solution.
\(x \gt 9\quad\text{and}\quad x \leq 9 \qquad x = 7\)
The given value
?
is
is not
a solution.
\(x \lt 4\quad\text{or}\quad x \geq 8 \qquad x = 7\)
The given value
?
is
is not
a solution.
\(x \geq -5\quad\text{and}\quad x \leq 3 \qquad x = 9\)
The given value
?
is
is not
a solution.
\(-2 \leq x \leq 4 \qquad x = 5\)
The given value
?
is
is not
a solution.
Compound Inequalities and Interval Notation.
15.
Solve the compound inequality. Write the solution set in interval notation.
\(\displaystyle{-10 \lt x \leq 6}\)
16.
Solve the compound inequality. Write the solution set in interval notation.
\(\displaystyle{-9 \lt x \leq 2}\)
17.
Solve the compound inequality. Write the solution set in interval notation.
\(\displaystyle{-8 > x\text{ or } x \geq 9}\)
18.
Solve the compound inequality. Write the solution set in interval notation.
\(\displaystyle{-6 > x\text{ or } x \geq 6}\)
19.
Express the following inequality using interval notation.
\(\displaystyle{x \lt -5 \text{ or } x \leq 2}\)
20.
Express the following inequality using interval notation.
\(\displaystyle{x \lt -4 \text{ or } x \leq 9}\)
21.
Express the following inequality using interval notation.
\(\displaystyle{-3 \lt x \text{ and } x\geq 5}\)
22.
Express the following inequality using interval notation.
\(\displaystyle{-2 \lt x \text{ and } x\geq 2}\)
23.
Express the following inequality using interval notation.
\(\displaystyle{-1 \leq x\text{ and } x \lt 8}\)
24.
Express the following inequality using interval notation.
As dry air moves upward, it expands. In so doing, it cools at a rate of about \(1^{\circ}\text{C}\) for every \(100\,\text{m}\) rise, up to about \(12\,\text{km}\text{.}\)
If the ground temperature is \(16^{\circ}\text{C}\text{,}\) write a formula for the temperature at height \(x\,\text{km}\text{.}\)\(T(x)=\)
What range of temperature will a plane be exposed to if it takes off and reaches a maximum height of \(9\,\text{km}\text{?}\) Write answer in interval notation.