Chapter 9 · Equations and inequalities
Graph Inequalities and Write Them from Number Lines
Learn to graph an inequality on a number line by testing values, and to write the inequality that a number line graph shows.
You already know how to read inequality symbols. In this lesson, is a variable: a letter that stands for a number. A solution of an inequality is a value of that makes the inequality true. For , the numbers , and are all solutions, because each one is greater than . The solutions never run out: there are infinitely many of them, so you cannot list them all. Instead, you can show them with a graph: a picture on a number line that marks every solution at once.
The graph of an inequality like has two parts.
- A circle at the boundary. The boundary is the number that is compared with, like in . A filled circle means the boundary is a solution: putting it in place of makes the inequality true. A hollow circle means the boundary is not a solution: putting it in makes the inequality false.
- A ray. A ray is a part of a line that starts at a point and goes on forever in one direction. On a graph, the ray starts at the circle and looks like a thick line. An arrowhead at its end means it keeps going past the edge of the picture. Every point the ray covers is a solution, even a point between two tick marks. The boundary itself is a solution only when its circle is filled.
On the number lines in this lesson, numbers get greater as you move right.
Key concept
Test the boundary, then test each side
To graph an inequality that compares with one number, answer two questions by testing values.
- Is the boundary a solution? Put it in place of . If the statement you get is true, use a filled circle; this happens with and . If it is false, use a hollow circle; this happens with and .
- Which side holds the other solutions? Test one value on each side of the boundary. The ray runs toward the side whose value makes the inequality true.
The finished graph shows every solution, even points between the tick marks. To write an inequality from a graph, read the circle and the ray, then check values on and off the ray.
Worked example
Graph an inequality with a filled circle
Graph on a number line from to with tick marks apart.
The boundary is , the number that is compared with. Test it by putting in place of . The statement is true, because is equal to . So is a solution, and its circle is filled.
Test a value on the right side of . Try . The statement is true, because is greater than .
Test a value on the left side of . Try . The statement is false, because is less than . So the solutions lie on the right side of , not the left.
So the graph has a filled circle at and a ray running right from it, toward the side that tested true.
Read the finished ray. It covers points between ticks, such as , and is true. Its arrowhead means it keeps going past , so is a solution too.
Answer
The graph of is a filled circle at with a ray to the right. It shows every number greater than or equal to .
Worked example
Graph an inequality with a fraction boundary
Graph on a number line from to with tick marks apart.
The tick labels are decimals, so write the boundary as a decimal. Multiply its top and bottom by to get hundredths. This keeps the value the same, because . Since and name the same number, says the same thing as , and the boundary sits at the tick printed .
Test the boundary. No number is greater than itself, so the statement is false. The circle is hollow.
Test one value on each side. Try on the right: true. Try on the left: false. So the solutions lie to the right of .
The graph has a hollow circle at and a ray running right from it, toward the side that tested true.
Answer
The graph of is a hollow circle at the tick printed with a ray to the right.
A boundary does not have to land on a printed tick. Take . As a decimal, , with 3s that never end. On the number line from the last example, falls between the ticks for and , because . The same tests still work:
- Boundary: is true, so the circle is filled.
- Each side: on the left, is true; on the right, is false. So the ray runs left.
In words, the graph is a filled circle at , between the ticks for and , with a ray running left from it.
Now run the steps the other way: read a graph and write its inequality, with as the variable. For a graph with one circle and one ray, like every graph in this lesson:
- Read the circle. Filled means the boundary is a solution, so use or . Hollow means it is not, so use or .
- Read the ray. A ray to the right covers numbers greater than the boundary. A ray to the left covers numbers less than the boundary.
- Check values on and off the ray. A value on the ray should make your inequality true. A value off the ray should make it false. The boundary should test true for a filled circle and false for a hollow one.
Worked example
Write the inequality a graph shows
The graph just above has a hollow circle at and a ray to the left, on a number line with tick marks apart. Write the inequality it shows, using for the variable.
Read the circle. It is hollow, so the boundary is not a solution. The symbol must be or , because those symbols leave the boundary out.
Read the ray. It runs left from , toward smaller numbers. So the solutions are the numbers less than .
Check values on the ray. The ray covers . It also covers , which lies between the ticks for and . Both values make true, as they should.
Check a value off the ray. The ray does not cover , and makes false, as it should.
Check the boundary. The boundary makes false, which matches the hollow circle.
Answer
The graph shows : every number less than is a solution, and is not.
Takeaway: for an inequality that compares with one number, the graph shows the same solutions as the symbols. The circle answers whether the boundary is a solution: filled for and , hollow for and . The ray holds every other solution, even points between ticks. Graph by testing the boundary and one value on each side. Write from a graph by reading the circle and the ray, then checking values on and off the ray. Next, you will write inequalities to represent constraints: conditions that a number must meet.