Compound Inequalities

Compound inequalities describe a range where a variable falls between two values; use them when bounds constrain something from both above and below.

a<x<ba < x < b

Solve a problem with Compound Inequalities

Type the problem. The solver will use Compound Inequalities where Compound Inequalities is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Compound Inequalities takes
aa
bb
xx
Compound Inequalities
SymbolMeaning
aaThe lower bound; it represents the smallest value that xx can approach or exceed. The ordering a<xa < x ensures aa comes before xx on the number line.
bbThe upper bound; it represents the largest value that xx can approach or not exceed. The ordering x<bx < b ensures xx stays smaller than bb.
xxThe variable being bounded; it must simultaneously satisfy both x>ax > a (greater than the lower bound) and x<bx < b (less than the upper bound) for it to be a valid solution.

When to use it

Use compound inequalities when a quantity must satisfy both a lower and an upper constraint simultaneously.

Level

Usually taught in: Algebra I

Worked examples

1. Solve a simple compound inequality with integers

Problem

Solve 2<x+1<4-2 < x + 1 < 4 for xx.
  1. 2<x+1<4-2 < x + 1 < 4

    The given compound inequality with the expression x+1x + 1 in the middle.

  2. 21<x+11<41-2 - 1 < x + 1 - 1 < 4 - 1

    Subtract 1 from all three parts to isolate xx in the middle term.

  3. 3<x<3-3 < x < 3

    Simplify by computing 21=3-2 - 1 = -3 and 41=34 - 1 = 3.

Answer: 3<x<3-3 < x < 3

We isolate xx by performing the same operation on all three parts of the compound inequality. Subtracting 1 from each part—left, middle, and right—preserves the inequality relationships and gives us the solution interval directly.

2. Solve a compound inequality requiring division by a positive number

Problem

Solve 82x4<6-8 \leq 2x - 4 < 6 for xx.
  1. 82x4<6-8 \leq 2x - 4 < 6

    The given compound inequality with 2x42x - 4 needing to be isolated.

  2. 8+42x4+4<6+4-8 + 4 \leq 2x - 4 + 4 < 6 + 4

    Add 4 to all three parts to eliminate the constant in the middle term.

  3. 42x<10-4 \leq 2x < 10

    Simplify: 8+4=4-8 + 4 = -4 on the left and 6+4=106 + 4 = 10 on the right.

  4. 422x2<102\frac{-4}{2} \leq \frac{2x}{2} < \frac{10}{2}

    Divide all three parts by 2 to isolate xx. Since 2 is positive, the inequality signs remain unchanged.

  5. 2x<5-2 \leq x < 5

    Simplify the fractions: 42=2\frac{-4}{2} = -2 and 102=5\frac{10}{2} = 5.

Answer: 2x<5-2 \leq x < 5

This example mixes \leq and << signs, which is common in real problems. By adding, then dividing, we isolate xx and preserve the original inequality signs (both remain unchanged because we divided by a positive number). Notice that xx can equal 2-2 but cannot equal 5.

3. Find the safe temperature range for a chemistry experiment

Problem

In a laboratory, a sensitive chemical reaction requires the temperature to remain strictly above 10°C and at most 25°C to proceed safely. The temperature rises according to T=10+2tT = 10 + 2t, where TT is in degrees Celsius and tt is time in minutes. For how many minutes is the reaction safe to run?
  1. 10<10+2t2510 < 10 + 2t \leq 25

    Translate the problem constraints into a compound inequality: temperature must be strictly greater than 10°C (exclusive) and at most 25°C (inclusive).

  2. 1010<10+2t10251010 - 10 < 10 + 2t - 10 \leq 25 - 10

    Subtract 10 from all three parts to isolate the term containing tt.

  3. 0<2t150 < 2t \leq 15

    Simplify: 1010=010 - 10 = 0 on the left and 2510=1525 - 10 = 15 on the right.

  4. 02<2t2152\frac{0}{2} < \frac{2t}{2} \leq \frac{15}{2}

    Divide all three parts by 2 (positive, so inequality signs remain the same) to isolate tt.

  5. 0<t7.50 < t \leq 7.5

    Simplify: 02=0\frac{0}{2} = 0 and 152=7.5\frac{15}{2} = 7.5.

Answer: 0<t7.5 minutes0 < t \leq 7.5 \text{ minutes}

This problem combines algebra with real-world interpretation. The compound inequality captures both the lower constraint (reaction hasn't started being safe yet at t=0t = 0) and the upper constraint (reaction must stop at t=7.5t = 7.5 to stay within temperature limits). The solution tells us the reaction is safe to run for times strictly greater than 0 up to and including 7.5 minutes.

Common mistakes

Where Compound Inequalities usually goes wrong
Answer came out wrong
From 3<x<5-3 < x < 5, rewriting as 3>x<53 > x < 5 when trying to move the -3
Avoid rearranging the boundaries. Instead, work directly with the middle term by adding or subtracting from all three parts of the compound inequality simultaneously.
Solving 6<3x<9-6 < -3x < 9 and writing 2<x<32 < x < -3
After dividing by -3, flip both signs: 63>3x3>93\frac{-6}{-3} > \frac{-3x}{-3} > \frac{9}{-3} becomes 2>x>32 > x > -3, which you should rewrite in standard form as 3<x<2-3 < x < 2.
Solving 2<x<72 < x < 7 and writing the solution as 'x>2x > 2 OR x<7x < 7'
Always use AND: the solution is 'x>2x > 2 AND x<7x < 7' simultaneously, capturing only the numbers in the middle that satisfy both bounds.
The mistakeWhy it is wrongThe fix
From 3<x<5-3 < x < 5, rewriting as 3>x<53 > x < 5 when trying to move the -3Flipping just one inequality sign breaks the logical chain: the inequalities no longer form a coherent statement about bounds on xx.Avoid rearranging the boundaries. Instead, work directly with the middle term by adding or subtracting from all three parts of the compound inequality simultaneously.
Solving 6<3x<9-6 < -3x < 9 and writing 2<x<32 < x < -3Dividing by the negative number -3 requires flipping both inequality signs, giving 2>x>32 > x > -3; writing 2<x<32 < x < -3 contradicts this and creates an impossible interval.After dividing by -3, flip both signs: 63>3x3>93\frac{-6}{-3} > \frac{-3x}{-3} > \frac{9}{-3} becomes 2>x>32 > x > -3, which you should rewrite in standard form as 3<x<2-3 < x < 2.
Solving 2<x<72 < x < 7 and writing the solution as 'x>2x > 2 OR x<7x < 7'Using OR means any number greater than 2 or any number less than 7, which includes almost all real numbers and misses the point that xx must satisfy both conditions.Always use AND: the solution is 'x>2x > 2 AND x<7x < 7' simultaneously, capturing only the numbers in the middle that satisfy both bounds.

Tips and when to use something else

  • Always perform the same operation on all three parts of the compound inequality (add, subtract, multiply, or divide each part) to keep the relationships intact.
  • When dividing or multiplying by a negative number, flip all inequality signs before you perform the operation—write them down first so you don't forget.
  • If you see an OR statement in a problem, such as x<1x < 1 OR x>5x > 5, use separate inequalities or set notation instead; compound inequality form is only for AND situations.
  • Compound inequalities are faster and clearer than solving two separate inequalities and finding their overlap; use them whenever a variable is bounded from both above and below.

Frequently asked questions

Do compound inequalities use 'and' or 'or'?
They always use AND. A compound inequality like 2<x<52 < x < 5 means x>2x > 2 AND x<5x < 5 simultaneously. Using OR would mean any number that satisfies either condition, which would include almost every number on the number line. AND ensures the variable is bounded from both sides.
Can you use different inequality signs in a compound inequality?
Yes. For example, 3x<5-3 \leq x < 5 is perfectly valid and common. The left side might be inclusive (\leq) while the right is exclusive (<<), depending on the original problem constraints. Each sign preserves its original meaning from the problem.
What does it mean if my answer is 7<x<37 < x < 3?
It is impossible—no number can be greater than 7 and less than 3 simultaneously. If you get a result like this after solving, it means the original problem has no solution. This usually signals an error in your work or an inconsistent problem setup.
Why should I solve with compound inequalities instead of solving two inequalities separately?
Compound inequalities are more efficient and less error-prone. They keep both constraints visible as a single statement, making it easier to track the range and avoid mistakes when finding where both conditions must overlap. For multi-step problems, this clarity saves time and reduces errors.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18