Sub topic 13
Compound Inequalities with or
Prerequisites
This chapter assumes you can do the following:
- Solve one-step and multi-step linear inequalities, including reversing the symbol when you multiply or divide by a negative number.
- Graph a solution set on a number line, with open and closed endpoints.
- Write a solution set in interval notation and set-builder notation.
- Solve compound inequalities joined by and.
What "or" means
A compound inequality with or joins two inequalities. A number is a solution if it satisfies at least one of them. It does not need to satisfy both.
The solution set is the union of the two individual solution sets. The union contains every number that is in either set. This differs from and, which keeps only the numbers in both sets (the intersection).
Take x < -1 or x > 3:
-5is a solution, because-5 < -1.5is a solution, because5 > 3.0is not a solution. It fails both parts.-1is not a solution. The first inequality is strict, and the second is false.
Solving an or inequality
Solve each inequality on its own, then combine the results. Never carry operations across the word "or". Each side is a separate problem.
2x + 1 < -5 or 3x - 4 ≥ 8
2x < -6 3x ≥ 12 (isolate the x term)
x < -3 x ≥ 4 (divide by a positive number)
Interval notation: (-∞, -3) ∪ [4, ∞)
Set-builder notation: {x | x < -3 or x ≥ 4}If one part needs a division by a negative number, reverse only that part:
-2x > 6 or x + 1 ≥ 9
x < -3 x ≥ 8 (the first part reverses, the second does not)
Interval notation: (-∞, -3) ∪ [8, ∞)Graphing the union
Graph both parts on the same number line. Shade every point that either part covers. For x < -3 or x ≥ 4, the picture is two separate rays that point away from each other:
<====)-----------[====>
-3 4The ) at -3 is an open endpoint, because -3 is excluded. The [ at 4 is a closed endpoint, because 4 is included. The gap between them holds the numbers that fail both inequalities.
Interval notation for unions
Follow these rules when you write the answer:
- Write the pieces from left to right on the number line.
- Join the pieces with the union symbol
∪. - Use a parenthesis next to
-∞or∞, never a bracket. Infinity is not a number you can reach. - Use a bracket for an included endpoint and a parenthesis for an excluded one.
How the two pieces can relate
Rays that point away from each other leave a gap. Other arrangements overlap, and the union can simplify.
| Compound inequality | Relationship | Union |
|---|---|---|
| `x < 2 or x > 5` | Two separate rays | `(-∞, 2) ∪ (5, ∞)` |
| `x < 4 or x > 1` | The rays overlap and cover the whole line | `(-∞, ∞)` |
| `x > 1 or x > 5` | One ray sits inside the other | `(1, ∞)` |
| `x ≤ 3 or x ≥ 3` | The rays share the point 3 | `(-∞, ∞)` |
| `x < 3 or x > 3` | The rays miss only the point 3 | `(-∞, 3) ∪ (3, ∞)` |
In the second row, every real number is either less than 4 or greater than 1, so every number is a solution. This is the "all real numbers" case from the special-cases chapter, and it appears here without any variable manipulation.
In the third row, a number greater than 5 is also greater than 1. The wider ray absorbs the narrower one, so the answer is a single interval.
The last two rows show how endpoints work. If either part includes 3, the union includes 3. If neither part does, 3 is the only excluded point.
Common errors
Writing an or answer as one chain
A chain such as -3 > x ≥ 4 says x is below -3 and at least 4 at the same time. No number does both, so the chain is meaningless. A chain is only for and statements, where one value sits between two bounds. A union with a gap must be written with the word or or with ∪.
Turning "or" into an intersection
If you write (-∞, -3) ∩ [4, ∞), you have described the empty set. The intersection of the two rays is empty. An or answer needs ∪.
Forgetting to reverse
Reversal applies to the part where you divide or multiply by a negative number. A common slip is to reverse both parts, or neither. Handle each part on its own.
Mixing up endpoint symbols
Each endpoint comes from its own inequality. Strict symbols (<, >) give open endpoints and parentheses. Non-strict symbols (≤, ≥) give closed endpoints and brackets. Do not copy the style of one endpoint onto the other.
Checking with test values
Check an or solution by testing the boundaries and one value from each region. Here the regions are the left ray, the gap, and the right ray. The following program tests the earlier example 2x + 1 < -5 or 3x - 4 ≥ 8.
def in_solution_set(x):
return (2 * x + 1 < -5) or (3 * x - 4 >= 8)
for x in (-4, -3, 0, 4, 5):
print(x, in_solution_set(x))It prints:
-4 True
-3 False
0 False
4 True
5 TrueThe value -4 comes from the left ray, 0 from the gap, and 5 from the right ray. The boundary -3 is excluded and the boundary 4 is included. These results match (-∞, -3) ∪ [4, ∞).
Connection to absolute value
Many absolute value inequalities turn into or inequalities. The inequality |x - 1| ≥ 3 means x is at least 3 units from 1. That puts x on either side of 1:
x - 1 ≤ -3 or x - 1 ≥ 3
x ≤ -2 or x ≥ 4
Interval notation: (-∞, -2] ∪ [4, ∞)The next chapter develops this fully. For now, note that the answer is a union with a gap, the same shape as the examples above.
Modeling with or
Use or when a situation has two separate bad or good ranges. A sensor flags a reading t (in degrees Celsius) when it is below 10 or above 30. The flagged readings satisfy t < 10 or t > 30. The safe readings satisfy 10 ≤ t ≤ 30, which is an and statement and the complement of the first. Flagged values are (-∞, 10) ∪ (30, ∞).
Exercise
Solve 5 - 2x > 9 or 4x + 1 ≥ 13. Give the answer in interval notation and graph it on a number line (describe the endpoints).
Show answer
First part: -2x > 4, so x < -2 (the inequality reverses). Second part: 4x ≥ 12, so x ≥ 3. The union is (-∞, -2) ∪ [3, ∞). The graph has an open circle at -2 with shading to the left, and a closed circle at 3 with shading to the right.
Exercise
Write the union of x ≤ 1 or x > 1 in interval notation, and explain why it has that form.
Show answer
(-∞, ∞). Every real number is either at most 1 or greater than 1. The point 1 is included by the first part, so the union leaves no gap.
Exercise
A student solves x + 2 < 0 or x - 1 > 4 and writes -2 > x > 5. What is wrong, and what is the correct answer?
Show answer
The chain claims x is below -2 and above 5 at once, which is impossible. Solving each part gives x < -2 or x > 5. In interval notation the answer is (-∞, -2) ∪ (5, ∞).