Sub topic 12
Compound Inequalities with And
Assume you can solve linear equations, compare real numbers, distribute over parentheses, and work with negative numbers. A compound inequality combines two inequalities. When the inequalities are joined by and, a solution must satisfy both conditions at the same time.
For example:
x > 1 and x ≤ 4
The solution is every number greater than 1 and no greater than 4. This is the intersection of the two solution sets, meaning the part they share.
Solving a compound inequality written as a chain
A compound inequality often appears as one chain:
-1 ≤ 2x + 3 < 9
The variable expression is between two bounds. Treat the chain as three parts:
-1 ≤ 2x + 3 < 9
Apply each operation to all three parts. First subtract 3:
-1 - 3 ≤ 2x + 3 - 3 < 9 - 3
-4 ≤ 2x < 6
Then divide every part by 2:
-2 ≤ x < 3
The solution is all numbers from -2 through, but not including, 3.
| Representation | Solution | Column |
|---|---|---|
| Inequality | `-2 ≤ x < 3` | |
| Interval notation | `[-2, 3)` | |
| Set-builder notation | `{x | -2 ≤ x < 3}` |
A bracket means the endpoint is included. A parenthesis means the endpoint is excluded.
Solving two inequalities joined by and
Sometimes the conditions are written separately:
3x - 2 ≥ 7 and 5x + 1 < 16
Solve each inequality:
3x - 2 ≥ 7 gives x ≥ 3.
5x + 1 < 16 gives x < 3.
The two conditions require x ≥ 3 and x < 3 simultaneously. No number meets both conditions, so this compound inequality has no solution.
When solving, reverse an inequality only when multiplying or dividing by a negative number. Adding or subtracting the same number does not reverse it.
def satisfies(x):
return -1 <= 2 * x + 3 < 9
print([x for x in range(-4, 5) if satisfies(x)])
# [-2, -1, 0, 1, 2]Graphing the intersection
For -2 ≤ x < 3, place a closed dot at -2 because -2 is included. Place an open dot at 3 because 3 is excluded. Shade only the region between the dots.
Common errors
- Applying an operation to only one part of a chain.
- Using a parenthesis at an endpoint marked
≤or≥. - Reversing the sign after adding or subtracting.
- Keeping separate regions instead of finding their overlap.
- Forgetting that a strict inequality such as
<or>excludes its endpoint.
Exercise
Solve and write the answer in interval notation: 2 < 3x + 5 ≤ 14.
Show answer
Subtract 5: -3 < 3x ≤ 9. Divide by 3: -1 < x ≤ 3. The interval is (-1, 3].