Sub topic 2
Compound Inequalities with 'And'
This chapter assumes you can solve linear equations, work with signed numbers and fractions, factor simple quadratics, and read absolute value as distance from zero.
Compound Inequalities with 'And'
A compound inequality joins two or more inequalities. With "and", a value must satisfy every part. Its solution set is the intersection of the individual solution sets, which is the overlap.
Solve -3 < 2x - 1 <= 7. Add 1 to all three parts: -2 < 2x <= 8. Divide by 2: -1 < x <= 4.
for x in [-1, 0, 4, 5]:
print(x, -3 < 2 * x - 1 <= 7)
# -1 False
# 0 True
# 4 True
# 5 FalseCompound Inequalities with 'Or'
With "or", a value needs to satisfy at least one part. The solution set is the union of the two sets. If the parts do not overlap, the union has two separate pieces, so it cannot be written as one chained inequality.
Absolute Value Inequalities
Rewrite each absolute value inequality as a compound inequality first:
- |A| < k becomes -k < A < k, which is an "and" statement.
- |A| > k becomes A > k or A < -k, which is an "or" statement.
For |x - 3| <= 2, the expression x - 3 lies between -2 and 2, so 1 <= x <= 5.
Critical Points and Sign Charts
For a quadratic inequality such as x^2 - x - 6 > 0, factor first: (x - 3)(x + 2) > 0. The critical points are -2 and 3, where the expression equals zero. They split the number line into three intervals. The sign is positive on x < -2 and x > 3, and negative between them.
for x in [-3, -2, 0, 3, 4]:
print(x, x**2 - x - 6 > 0)
# -3 True
# -2 False
# 0 False
# 3 False
# 4 TrueExercise
Solve |x + 4| < 3 and state the solution set.
Show answer
-7 < x < -1. Since x + 4 must lie between -3 and 3, subtract 4 from each part to get -7 < x < -1.