Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Compound Inequality

A compound inequality joins two conditions. With and, a solution must satisfy both, so you keep the overlap. With or, either is enough, so you keep everything. A three-part inequality like −3<2x+1≤7-3 < 2x + 1 \le 7 is an "and" written in one line, solved by doing the same thing to all three parts.

Recognize the task

Two inequality signs in one line (−3<2x+1≤7-3 < 2x + 1 \le 7), or two inequalities joined by and or or (x−1<−3x - 1 < -3 or 2x≥82x \ge 8).
The lesson covers compound inequalities in general and compound linear inequalities in particular.

Steps

StepOn 1≤3−2x<91 \le 3 - 2x < 9
1Decide: and, or, or three-part. A three-part inequality means "and".three-part: 1≤3−2x1 \le 3 - 2x and 3−2x<93 - 2x < 9
2Isolate the unknown, doing the same to every part. For a three-part inequality, subtract from all three parts at once.−2≤−2x<6-2 \le -2x < 6
3Divide; with a negative, flip both signs. Then rewrite with the smaller number on the left.Flip the inequality sign ↗1≥x>−3  ⇒  −3<x≤11 \ge x > -3 \;\Rightarrow\; -3 < x \le 1
4Combine: intersection for and, union for or. An "and" with no overlap has no solution; an "or" may cover every number.Interval notation ↗(−3,1](-3, 1]

Worked examples

Example 1 · a three-part inequality

and
−3<2x+1≤7  ⇒  −4<2x≤6-3 < 2x + 1 \le 7 \;\Rightarrow\; -4 < 2x \le 6
subtract 11 throughout
−2<x≤3-2 < x \le 3:   (−2,3]\;(-2, 3]

Example 2 · or

union
x−1<−3x - 1 < -3 or 2x≥8  ⇒  x<−22x \ge 8 \;\Rightarrow\; x < -2 or x≥4x \ge 4
solve each
(−∞,−2)∪[4,∞)(-\infty, -2) \cup [4, \infty)

Example 3 · and with no overlap

empty
x>5x > 5 and x<2x < 2
no number is both
no solution

See it happen

Shade each condition on its own number line, then stack the lines. "And" keeps only what is shaded on both, "or" keeps what is shaded on either. A three-part inequality is the picture of a single bounded segment.

Common mistakes

Flipping only one sign

✗ −2≤−2x<6⇒1≥x<−3-2 \le -2x < 6 \Rightarrow 1 \ge x < -3
✓ flip both: 1≥x>−31 \ge x > -3, i.e. −3<x≤1-3 < x \le 1

Union for "and"

✗ x>−2x > -2 and x≤3x \le 3 written as all real numbers
✓ and means overlap: (−2,3](-2, 3]

Writing an "or" as a three-part inequality

✗ 4≤x<−24 \le x < -2
✓ two pieces need a union: (−∞,−2)∪[4,∞)(-\infty, -2) \cup [4, \infty)