How to graph a compound inequality on a number line

If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Graphing an inequality on a number line, is very similar to graphing a number. For instance, look at the top number line x = 3. We just put a little dot where the '3' is, right?

Now an inequality uses a greater than, less than symbol, and all that we have to do to graph an inequality is find the the number, '3' in this case and color in everything above or below it.

Just remember
  • if the symbol is (≥ or ≤) then you fill in the dot, like the top two examples in the graph below
  • if the symbol is (> or <) then you do not fill in the dot like the bottom two examples in the graph below

To better understand how to graph inequalities, look at the examples below or experiment with the grapher that is immediately below.

Inequality Number Line Grapher

Examples

Example 1
How to graph a compound inequality on a number line
Example 2
How to graph a compound inequality on a number line

Compound Inequalities

Learning Objectives

·         Solve compound inequalities in the form of or and express the solution graphically.

·         Solve compound inequalities in the form of and and express the solution graphically.

·         Solve compound inequalities in the form a < x < b.

·         Identify cases with no solution.

Introduction

Many times, solutions lie between two quantities, rather than continuing endlessly in one direction. For example systolic (top number) blood pressure that is between 120 and 139 mm Hg is called borderline high blood pressure. This can be described using a compound inequality, b < 139 and b > 120. Other compound inequalities are joined by the word “or”.

When two inequalities are joined by the word and, the solution of the compound inequality occurs when both inequalities are true at the same time. It is the overlap, or intersection, of the solutions for each inequality. When the two inequalities are joined by the word or, the solution of the compound inequality occurs when either of the inequalities is true. The solution is the combination, or union, of the two individual solutions.

Solving and Graphing Compound Inequalities in the Form of “or”

Let’s take a closer look at a compound inequality that uses or to combine two inequalities. For example, x > 6 or x < 2. The solution to this compound inequality is all the values of x in which x is either greater than 6 or x is less than 2. You can show this graphically by putting the graphs of each inequality together on the same number line.

How to graph a compound inequality on a number line

The graph has an open circle on 6 and a blue arrow to the right and another open circle at 2 and a red arrow to the left. In fact, the only parts that are not a solution to this compound inequality are the points 2 and 6 and all the points in between these values on the number line. Everything else on the graph is a solution to this compound inequality.

Let’s look at another example of an or compound inequality, x > 3 or x 4. The graph of x > 3 has an open circle on 3 and a blue arrow drawn to the right to contain all the numbers greater than 3.

How to graph a compound inequality on a number line

The graph of x 4 has a closed circle at 4 and a red arrow to the left to contain all the numbers less than 4.

How to graph a compound inequality on a number line

What do you notice about the graph that combines these two inequalities?

How to graph a compound inequality on a number line

Since this compound inequality is an or statement, it includes all of the numbers in each of the solutions, which in this case is all the numbers on the number line. (The region of the line greater than 3 and less than or equal to 4 is shown in purple because it lies on both of the original graphs.) The solution to the compound inequality x > 3 or x 4 is the set of all real numbers!

You may need to solve one or more of the inequalities before determining the solution to the compound inequality, as in the example below.

Example

Problem

Solve for x.

3x – 1 < 8 or x – 5 > 0

How to graph a compound inequality on a number line

Solve each inequality by isolating the variable.

Write both inequality solutions as a compound using or.

Answer

How to graph a compound inequality on a number line

The solution to this compound inequality can be shown graphically.

How to graph a compound inequality on a number line

Remember to apply the properties of inequality when you are solving compound inequalities. The next example involves dividing by a negative to isolate a variable.

Example

Problem

Solve for y.

2y + 7 < 13 or 3y – 2

How to graph a compound inequality on a number line
 10

How to graph a compound inequality on a number line

Solve each inequality separately.

The inequality sign is reversed with division by a negative number.

Since y could be less than 3 or greater than or equal to −4, y could be any number.

Answer

The solution is all real numbers.

This number line shows the solution set of y < 3 or y 4.

How to graph a compound inequality on a number line

Example

Problem

Solve for z.

5z – 3  > −18 or −2z – 1 > 15

How to graph a compound inequality on a number line

Solve each inequality separately.

Combine the solutions.

Answer

How to graph a compound inequality on a number line

This number line shows the solution set of z > 3 or z < 8.

How to graph a compound inequality on a number line

Solve for h.

h + 3  > 12 or  3 – 2h > 9

A) h < 3 or h > 3

B) h > 9 or h > 3

C) h > 9 or h < 3

D) h > 9 or h < 3

Solving and Graphing Compound Inequalities in the Form of “and”

The solution of a compound inequality that consists of two inequalities joined with the word and is the intersection of the solutions of each inequality. In other words, both statements must be true at the same time. The solution to an and compound inequality are all the solutions that the two inequalities have in common. Graphically, you can think about it as where the two graphs overlap.

Think about the example of the compound inequality: x < 5 and x 1. The graph of each individual inequality is shown in color.

How to graph a compound inequality on a number line

Since the word and joins the two inequalities, the solution is the overlap of the two solutions. This is where both of these statements are true at the same time.

 The solution to this compound inequality is shown below.

How to graph a compound inequality on a number line

Notice that in this case, you can rewritex 1 and x < 5 as 1 ≤ x < 5 since the solution is between 1 and 5, including 1. You read 1 ≤ x < 5 as “x is greater than or equal to 1 and less than 5.” You can rewrite an and statement this way only if the answer is between two numbers.

Let’s look at two more examples.

Example

Problem

Solve for x.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line

Solve each inequality for x.

Determine the intersection of the solutions.

The number line below shows the graphs of the two inequalities in the problem. The solution to the compound inequality isx 4, as this is where the two graphs overlap.

How to graph a compound inequality on a number line
 And the solution can be represented as:
How to graph a compound inequality on a number line

Answer

How to graph a compound inequality on a number line

Example

Problem

Solve for x.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line

Solve each inequality separately.

Find the overlap between the solutions.

The two inequalities can be represented graphically as:

How to graph a compound inequality on a number line

And the solution can be represented as:

How to graph a compound inequality on a number line

Answer

How to graph a compound inequality on a number line

Rather than splitting a compound inequality in the form of a < x < b into two inequalities x < b and x > a, you can more quickly solve the inequality by applying the properties of inequality to all three segments of the compound inequality. Two examples are provided below.

Example

Problem

Solve for x.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line
 

Isolate the variable by subtracting 3 from all 3 parts of the inequality, and then dividing each part by 2.

Answer

How to graph a compound inequality on a number line

Example

Problem

Solve for x.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line

Isolate the variable by subtracting 7 from all 3 parts of the inequality, and then dividing each part by 2.

Answer

How to graph a compound inequality on a number line

To solve inequalities like a < x < b, use the addition and multiplication properties of inequality to solve the inequality for x. Whatever operation you perform on the middle portion of the inequality, you must also perform to each of the outside sections as well. Pay particular attention to division or multiplication by a negative.

Which of the following compound inequalities represents the graph on the number line below?

How to graph a compound inequality on a number line

A) 8 x > 1

B) 8 x < 1

C) 8 x > 1

D) 8 x < 1

Special Cases of Compound Inequalities

The solution to a compound inequality with and is always the overlap between the solution to each inequality. There are three possible outcomes for compound inequalities joined by the word and:

1. The solution could be all the values between two endpoints.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line

2. The solution could begin at a point on the number line and extend in one direction.

How to graph a compound inequality on a number line

How to graph a compound inequality on a number line

3. In cases where there is no overlap between the two inequalities, there is no solution to the compound inequality.

How to graph a compound inequality on a number line

An example is shown below.

Example

Problem

Solve for x.

x + 2 > 5 and  x + 4 < 5

How to graph a compound inequality on a number line

Solve each inequality separately.

Find the overlap between the solutions.

How to graph a compound inequality on a number line

Answer    There is no overlap between

How to graph a compound inequality on a number line
, so there is no solution.

Summary

A compound inequality is a statement of two inequality statements linked together either by the word or or by the word and. Sometimes, an and compound inequality is shown symbolically, like a < x < b, and does not even need the word and. Because compound inequalities represent either a union or intersection of the individual inequalities, graphing them on a number line can be a helpful way to see or check a solution. Compound inequalities can be manipulated and solved much the same way any inequality is solved, paying attention to the properties of inequalities and the rules for solving them.

How to graph the solutions of compound inequalities in interval notation?

In both cases, the solutions of compound inequalities can be expressed as graphs on the number line and also as interval notations. I suggest that you first graph the solutions of the two inequalities on the number line before writing the solution of the compound inequality in the interval notation.

How to graph two inequalities on the same number line?

Step 1: Because the graph of this compound inequality is the union of two inequalities, we can graph the two inequalities on the same number line to get our final graph. We must include the endpoint {eq}-3 {/eq} and not include the endpoint {eq}1 {/eq}. Get access to thousands of practice questions and explanations! Griswold v.

What is graphing an inequality?

Step by Step Examples Plus Fee Graph Maker Graphing an inequality on a number line, is very similar to graphing a number. For instance, look at the top number line x = 3. We just put a little dot where the '3' is, right?

What is a compound inequality?

If the compound inequality includes the word OR, the graph of the compound inequality is the union of the two graphs from Step 1. Include both of these graphs in the final graph. Compound Inequality: A statement that combines two inequalities with AND or OR is a compound inequality.