Solving Compound Inequalities

April 12, 2026

Problem

Solve −3 < 2x+1 ≤ 9. Show the solution interval on a number line.

Explanation

What is a compound inequality?

A compound inequality has two inequality signs — it constrains xx to lie between two bounds simultaneously. Think of it as "a < stuff ≤ b" meaning "stuff is between aa and bb."

Step-by-step: Solve −3<2x+1≤9-3 < 2x + 1 \leq 9

The goal is to isolate xx in the middle. Apply the same operation to all three parts.

Step 1 — Subtract 1 from all three parts:

−3−1<2x+1−1≤9−1-3 - 1 < 2x + 1 - 1 \leq 9 - 1 −4<2x≤8-4 < 2x \leq 8

Step 2 — Divide all three parts by 2:

−42<2x2≤82\frac{-4}{2} < \frac{2x}{2} \leq \frac{8}{2} −2<x≤4-2 < x \leq 4

Step 3 — Interpret the result. xx is greater than −2-2 (but NOT equal, open circle) and less than or equal to 44 (closed circle).

Step 4 — Graph on a number line: Open circle at −2-2, closed circle at 44, shade the interval between them.

Step 5 — Interval notation: (−2,4](-2, 4].

Check: Try x=0x = 0 (inside): −3<2(0)+1=1≤9-3 < 2(0)+1 = 1 \leq 9 ✓. Try x=−3x = -3 (outside): −3<2(−3)+1=−5-3 < 2(-3)+1 = -5? No, −3≮−5-3 \not< -5 ✗. Try x=4x = 4 (boundary): −3<2(4)+1=9≤9-3 < 2(4)+1 = 9 \leq 9 ✓ (included because ≤\leq).

The flip rule still applies

If you multiply/divide by a negative number, flip BOTH inequality signs. For example:

6>−3x≥−12  ⟹  −2<x≤4(divided by -3, flipped both)6 > -3x \geq -12 \implies -2 < x \leq 4 \quad \text{(divided by -3, flipped both)}

Try it in the visualization

Adjust the bounds and coefficient. The number line shows the solution interval with correct open/closed circles. Test points verify which values are inside or outside the interval.

Interactive Visualization

Parameters

-3.00
2.00
1.00
9.00
1.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Solving Compound Inequalities | MathSpin