How to graph compound inequalities with “and” on a number line

When two inequalities are joined by “and,” a number has to satisfy both. We’ll graph each one first, then keep the part of the number line they share.

Read a conjunction as two conditions

A conjunction is an “and” statement. For example, 1≤x≤8 means x≥1 and x≤8. A filled dot includes its endpoint, and an open circle leaves the endpoint out.

An endpoint belongs to the final graph only when it satisfies both inequalities. Depending on the signs, the overlap can include both ends, one end, or neither end.

Graph the overlap when both endpoints are included

For -3≤x≤6, graph x≥-3 and x≤6. The first ray goes right from -3, and the second goes left from 6. The overlap is everything between them, including both endpoints.

Two inequalities and their overlapThe first line goes right from -3. The second goes left from 6. The bottom line marks the intersection with closed left endpoint and closed right endpoint.x ≥ −3x ≤ 6Both inequalities−36−36
Only the numbers shaded on both of the first two lines belong in the bottom graph.

Solve each inequality before finding the overlap

Let’s graph 3x+1>-5 and 2x-4≤6. First solve each one for x. Both divisors are positive, so the inequality signs stay the same.

3x+1>-53x>-6x>-2
2x-4≤62x≤10x≤5

We need numbers greater than -2 and at most 5. The overlap is -2<x≤5, with an open circle at -2 and a filled dot at 5.

Two inequalities and their overlapThe first line goes right from -2. The second goes left from 5. The bottom line marks the intersection with open left endpoint and closed right endpoint.x > −2x ≤ 5Both inequalities−25−25
Only the numbers shaded on both of the first two lines belong in the bottom graph.

Check for a hole or an empty solution

For x≥5 and x≠7, start with a filled dot at 5 and a ray to the right. Put an open circle at 7 to show that this one point is excluded.

For x>8 and x<-1, the two rays have no overlap. The solution set is empty, so the final number line has no shaded points.