Free lesson

Every lesson is free, no account needed. Make a free account to save your progress.

Live classGet practice + mocks
  1. Home
  2. Lesson Library
  3. Compound inequalities
UPCAT Math Review · Algebra

Compound Inequalities

Two boundaries, one x — whatever you do, do it to all three parts.

Solve for x

−2 < 3x + 1 ≤ 10

Read the sandwich.

3x + 1 is trapped between two numbers at once.

−2 < 3x + 1 ≤ 10

lower wall  ·  the middle  ·  upper wall

< strict

greater than −2

−2 itself is NOT allowed

≤ inclusive

at most 10

10 itself IS allowed

Why the two signs differ

The line under ≤ is the words “or equal to”. Keep each sign exactly as given — they decide the dots at the very end.

Take 1 from all three parts.

The middle has to end up as just x.

− 1− 1− 1

−2 < 3x + 1 ≤ 10

−3 < 3x ≤ 9

All three, not two

Missing one part is the classic slip. −2 − 1 = −3 and 10 − 1 = 9, so both walls drop by 1.

Divide all three parts by 3.

Dividing undoes the multiplying.

÷ 3÷ 3÷ 3

−3 < 3x ≤ 9

−1 < x ≤ 3

The flip rule

We divided by +3, so the signs stay put. Divide or multiply by a negative and both signs must flip round.

Draw it on the number line.

The dots do the talking: open means excluded.

−3−1 035 open closed

Open circle

for < and >

Closed circle

for ≤ and ≥

The gold band holds every number between the walls — fractions and decimals too, not only whole numbers.

Write it in interval form.

Same answer, shorter notation.

−1 < x ≤ 3

(−1, 3]

round = excluded  ·  square = included

SignDotBracket
< or >open( or )
≤ or ≥closed[ or ]

Infinity always gets a round bracket.

Counting integers, and x in every part.

How many integers satisfy −4 < 2x − 2 ≤ 7? Solve, then list — do not subtract the ends.

−2 < 2x ≤ 9

+ 2 to all three parts

−1 < x ≤ 4.5

÷ 2

0, 1, 2, 3, 4

−1 is excluded; 4.5 is not an integer

5 integers

When x appears in all three parts you cannot isolate it in the middle. Split into two inequalities and keep the overlap. Solve x − 2 < 2x + 1 ≤ x + 6.

x − 2 < 2x + 1 → −3 < x

left pair

2x + 1 ≤ x + 6 → x ≤ 5

right pair

−3 < x ≤ 5

both must hold

Counting is not subtracting

4.5 − (−1) = 5.5 tells you nothing about how many integers fit. List them from the first allowed integer to the last, and check each end against its sign.

Variations: an “or” inequality, an “and” with no overlap, a fraction in the middle.

Solve 2x + 1 < −3 or 3x − 2 ≥ 7.

2x < −4 → x < −2

first part alone

3x ≥ 9 → x ≥ 3

second part alone

x < −2 or x ≥ 3 = (−∞, −2) ∪ [3, ∞)

“or”: keep everything either allows

Different: an “or” is two separate solves, and the graph is two rays pointing away from each other — never squeeze it into one sandwich.

−2 > x ≥ 3 is not a thing

Writing the two pieces as one chain claims x is below −2 and at least 3 at the same time. No number does both; an “or” answer must keep its “or”.

Solve x + 4 < 1 and 2x > 6.

x < −3 and x > 3

each part solved

no number is in both

no solution (∅)

Different: “and” keeps only the overlap, and two rays pointing apart have none. (With “or”, x < 5 or x > 1 would cover every real number.)

Solve −3 ≤ 1 − 2x3 < 1.

−9 ≤ 1 − 2x < 3

× 3, all three parts

−10 ≤ −2x < 2

− 1

5 ≥ x > −1, so −1 < x ≤ 5

÷ (−2): flip both, then reorder

Different: clear the fraction first (a positive 3, no flip), then the negative x term does the flipping. Check: x = 5 gives −3, allowed.

Building the range of an expression.

Start from the range of x and apply the same steps the expression does. If −1 ≤ x ≤ 4, what is the range of 3 − 2x?

−8 ≤ −2x ≤ 2

× (−2): flip, then reorder low to high

−5 ≤ 3 − 2x ≤ 5

+ 3; ends: x = 4 gives −5, x = −1 gives 5 ✓

Two variables: if 1 < x < 6 and −2 < y < 3, find the range of x − y. Turn the subtraction into adding −y.

−3 < −y < 2

× (−1) flips and swaps the ends

1 + (−3) < x − y < 6 + 2

add lows to lows, highs to highs

−2 < x − y < 8

smallest: small x, big y

Never subtract inequalities end by end

1 − (−2) = 3 and 6 − 3 = 3 would give “3 < x − y < 3”, which is impossible. Inequalities may be added, not subtracted: negate first, then add.

On the exam

Compound inequalities show up as a solve, a count of integers, a number line to match, or the range of an expression like 5 − 2x or x − y. Do the same thing to every part, flip both signs for a negative, and check the two ends by putting the extreme values back in.

Check: test one number from each zone.

x = 0 3(0) + 1 = 1 between −2 and 10 ✓
x = 3 3(3) + 1 = 10 10 is allowed by ≤ ✓
x = −1 3(−1) + 1 = −2 −2 is NOT allowed by < ✗

The open dot at −1 is exactly right.

Remember the flow

All three parts · Isolate x · Graph

Flip the signs only for a negative.
Now you try

Practice problem

Solve for x

1 ≤ 4 − 2x < 9

Hint: the x term is negative here. When you divide by −2, both signs flip and the two ends swap places.