Learning Objectives
- Write and graph compound inequalities on a number line.
- Solve compound inequalities with “and.”
- Solve compound inequalities with “or.”
- Solve compound inequalities using a graphing calculator (TI family).
- Solve real-world problems using compound inequalities.
Introduction
In this section, we’ll solve compound inequalities—inequalities with more than one constraint on the possible values the solution can have.
There are two types of compound inequalities:
- Inequalities joined by the word “and,” where the solution is a set of values greater than a number and less than another number. We can write these inequalities in the form “ and ,” but usually we just write “.” Possible values for are ones that will make both inequalities true.
- Inequalities joined by the word “or,” where the solution is a set of values greater than a number or less than another number. We write these inequalities in the form “ or .” Possible values for are ones that will make at least one of the inequalities true.
You might wonder why the variable has to be greater than one number and/or less than the other number; why can’t it be greater than both numbers, or less than both numbers? To see why, let’s take an example.
Consider the compound inequality “ and .” Are there any numbers greater than 5 that are not greater than 3? No! Since 5 is greater than 3, everything greater than 5 is also greater than 3. If we say is greater than both 5 and 3, that doesn’t tell us any more than if we just said is greater than 5. So this compound inequality isn’t really compound; it’s equivalent to the simple inequality . And that’s what would happen no matter which two numbers we used; saying that is greater than both numbers is just the same as saying that is greater than the bigger number, and saying that is less than both numbers is just the same as saying that is less than the smaller number.
Compound inequalities with “or” work much the same way. Every number that’s greater than 3 or greater than 5 is also just plain greater than 3, and every number that’s greater than 3 is certainly greater than 3 or greater than 5—so if we say “ or ,” that’s the same as saying just “.” Saying that is greater than at least one of two numbers is just the same as saying that is greater than the smaller number, and saying that is less than at least one of two numbers is just the same as saying that is less than the greater number.
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 and .
This is usually written as .
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: or .
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: or .
d) The solution graph shows that the solution is any value that is both less than 25 (not including 25) and greater than -25 (not including -25). Any value in the solution set satisfies both and .
This is usually written as .
Example 2
Graph the following compound inequalities on a number line.
a)
b) or
c) or
d)
Solution
a) The solution is all numbers between -4 and 6, including both -4 and 6.
b) The solution is all numbers less than 0 or greater than 2, not including 0 or 2.
c) The solution is all numbers greater than or equal to -8 or less than or equal to -20.
d) The solution is all numbers between -15 and 85, not including -15 but including 85.
Solve a Compound Inequality With “and” or “or”
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)
b)
Solution
a) First we re-write the compound inequality as two separate inequalities with and. Then solve each inequality separately.
Answer: and . This can be written as .
b) Re-write the compound inequality as two separate inequalities with and. Then solve each inequality separately.
Answer: and . This can be written as: .
Example 4
Solve the following compound inequalities and graph the solution set.
a) or
b) or
Solution
a) Solve each inequality separately:
Answer: or
b) Solve each inequality separately:
Answer: or
The video at http://www.math-videos-online.com/solve-compound-inequality.html shows the process of solving and graphing compound inequalities in more detail. One thing you may notice in this video 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 . This happens sometimes with compound inequalities that involve “or”; for example, if the solution to an inequality ended up being “ or ,” 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 “ and ” has no solutions: no number is both greater than 4 and less than 3. If we write it as it’s even more obvious that it has no solutions; implies that , which is false.
Solve Compound Inequalities Using a Graphing Calculator (TI-83/84 family)
Graphing calculators can show you the solution to an inequality in the form of a graph. This can be especially useful when dealing with compound inequalities.
Example 5
Solve the following inequalities using a graphing calculator.
a)
b)
c) or
Solution
a) Press the [Y=] button and enter the inequality on the first line of the screen.
(To get the symbol, press [TEST] [2nd] [MATH] and choose option 4.)
Then press the [GRAPH] button.
Because the calculator uses the number 1 to mean “true” and 0 to mean “false,” you will see a step function with the value jumping from 0 to 1.
The solution set is the values of for which the graph shows —in other words, the set of values that make the inequality true.
Note: You may need to press the [WINDOW] key or the [ZOOM] key to adjust the window to see the full graph.
The solution is , which is why you can see the value changing from 0 to 1 at about 1.14.
b) This is a compound inequality: and . You enter it like this:
(To find the [AND] symbol, press [TEST], choose [LOGIC] on the top row and choose option 1.)
The resulting graph should look like this:
The solution are the values of for which ; in this case that would be .
c) This is another compound inequality.
(To enter the [OR] symbol, press [TEST], choose [LOGIC] on the top row and choose option 2.)
The resulting graph should look like this:
The solution are the values of for which --in this case, or .
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 . When is the ball traveling between 20 ft/sec and 30 ft/sec?
Solution
First we set up the inequality , and then replace with the formula to get .
Then we separate the compound inequality and solve each separate inequality:
Answer:
To check the answer, we plug in the minimum and maximum values of into the formula for the speed.
For
For
So the speed is between 20 and 30 ft/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
Let driving time. We can use dimensional analysis to get from time per tank to miles per gallon:
Since the truck gets between 18 and 22 miles/gallon, we set up the compound inequality . Then we separate the compound inequality and solve each inequality separately:
Answer: .
Andrew can drive between 6.75 and 8.25 hours on a full tank of gas.
If we plug in we get .
If we plug in we get .
The answer checks out.
Lesson Summary
- Compound inequalities combine two or more inequalities with “and” or “or.”
- “And” combinations mean that only solutions for both inequalities will be solutions to the compound inequality.
- “Or” combinations mean solutions to either inequality will also 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.
- or
- or
- or
- or
- or
- How would you express the answer to problem 5 as a set?
- How would you express the answer to problem 5 as an interval?
- How would you express the answer to problem 10 as a set?
- Could you express the answer to problem 10 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 1 and 3 in interval notation.
- Express the answers to problems 6 through 9 in interval notation.
- Solve the inequality “ or ” and express the answer in interval notation.
- How many solutions does the inequality “ and ” 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.)