Compound Inequality

A compound inequality is two inequalities joined by "and" or "or". Graph each one, then see the combined solution. Try it below, then read the examples.

Graph a compound inequality

Pick the two inequalities and the word that joins them. The number lines update as you change them.

Or try one of these:
Solution

What is a compound inequality?

A compound inequality is a statement in which two inequalities are connected by the word "and" or the word "or".

For example, x > 5 and x ≤ 7 and x ≤ −1 or x > 7 are compound inequalities.

and

The solution is any number that makes both inequalities true: the part where the two graphs overlap.

or

The solution is any number that makes at least one of the inequalities true: everything on either graph.

A filled circle means the number is included (≥ or ≤). An open circle means it is not included (> or <).

Examples

Example #1: graph x ≥ 2 and x < 4

The graphs for x ≥ 2 and x < 4 should look like this:

Graph of x ≥ 2 and x < 4 on two number lines

Putting the two graphs together gives the following:

The graphs of x ≥ 2 and x < 4 on one number line

The solution is the portion of the graph where you see red and blue at the same time (the portion shaded twice). If you pull this out from the graph above, you get:

Solution of x ≥ 2 and x < 4: from 2, included, to 4, not included

This means that the solution is any number between 2 and 4, including 2 but not 4. Notice that the open circle (in red) means that 4 is not included.

Solution: 2 ≤ x < 4

Example #2: graph x ≥ −2 and x > 1

The graphs for x ≥ −2 and x > 1 should look like this:

Graph of x ≥ −2 and x > 1 on two number lines

Putting the two graphs together gives the following:

The graphs of x ≥ −2 and x > 1 on one number line

The solution is again the portion where you see red and blue at the same time (the portion shaded twice). If you pull this out from the graph above, you get:

Solution of x ≥ −2 and x > 1: every number greater than 1

The solution is any number greater than 1. The open circle at 1 means that 1 itself is not included.

Solution: x > 1

Example #3: graph x ≥ −2 or x > 1

If we twist the problem above and graph x ≥ −2 or x > 1, it is a different story.

Since "or" means either, the solution is all of the shaded area from both inequalities.

Graph of x ≥ −2 or x > 1: all of the shaded area, from −2 to the right

The solution is thus any number greater than or equal to −2.

Solution: x ≥ −2

Example #4: graph x > 2 or x < −3

Here it is!

Graph of x > 2 or x < −3: two rays pointing away from each other

Solution: x < −3 or x > 2

However, if in the same problem you replace "or" by "and", there are no solutions for this compound inequality.

Look carefully again at the graph right above and you will see that blue and red don't meet. That is why they have nothing in common, and thus there are no solutions.

Solution of x > 2 and x < −3: no solution

Practice

Question 1Score: 0 / 0

Which answer is the solution of