Chapter 6 · Equations and inequalities
Graph Inequalities and Write Them from Graphs
Show all the solutions of an inequality on a number line with a circle and a ray, then read a finished ray to write its inequality and check it.
You already know how to test whether one value is a solution of an inequality: substitute it and see whether the statement is true. An inequality such as , where the variable can be any number, has endlessly many solutions, such as , , and . You cannot list them all, so you graph the inequality instead. Graphing means you show every solution at once on a number line.
A graph works because a number line keeps numbers in order. Numbers increase from left to right, so a number to the right of another is greater, and a number to the left is less. That holds for negative numbers too: because is farther left.
Key concept
The circle and the ray show every solution
The graph of an inequality has two parts.
- A circle on the boundary. The boundary is the number that separates solutions from non-solutions. For or , the circle is filled: the boundary makes the inequality true, so it is included. For or , the circle is hollow: the boundary makes the inequality false, so it is excluded.
- A ray. A ray starts at the circle and runs forever in one direction, which its arrowhead shows. It covers, or shades, the side where the inequality is true. To find that side, test one value on each side of the boundary.
With no context, every number on the ray is a solution, including negatives and decimals. A real situation may limit solutions to whole numbers or nonnegative values (zero or greater).
Worked example
Graph an inequality with a whole-number boundary
Graph , where can be any number.
The variable is compared with , so is the boundary. The circle goes on the tick labeled .
Decide the circle by testing the boundary itself. The statement is false, because is not less than itself. So is not a solution: excludes the boundary, and the circle is hollow.
Test one value on the left of . Try : the statement is true, so the left side holds solutions.
Test one value on the right of . Try : the statement is false, so the right side holds no solutions.
The ray covers the true side. It starts at the hollow circle and runs left forever, because every number to the left of , such as , is less than . Its arrowhead shows that it never stops.
Answer
The graph of is a hollow circle at with a ray running to the left, as shown below.
Worked example
Graph an inequality with a negative decimal boundary
Graph , where can be any number.
The boundary is , so the circle goes on the tick labeled . Testing the boundary gives a true statement, because means greater than or equal to. So is a solution: includes the boundary, and the circle is filled.
Test a value on the left. Try : it lies to the left of , so it is less than , and the statement is false.
Test a value on the right. Try : it lies to the right of , so it is greater, and the statement is true.
The ray covers the true side. It starts at the filled circle and runs right forever, past , because every number to the right of is greater than .
Answer
The graph of is a filled circle at with a ray running to the right, as shown below.
Writing an inequality from a graph reverses the process. You start with a finished ray and read three things from it:
- The boundary: the number printed at the tick where the circle sits.
- The circle: filled means the boundary is a solution, so the symbol is or . Hollow means it is not, so the symbol is or .
- The direction: a ray to the left covers numbers less than the boundary, and a ray to the right covers numbers greater than it.
Write the variable the problem names first, then the symbol, then the boundary. With the variable first, a ray to the left gives or , and a ray to the right gives or . Then check: a value on the shaded side must make your inequality true, and a value off it must make it false.
Worked example
Write the inequality shown by a ray
The graph above shows every solution of an inequality in the variable , where can be any number. Write the inequality.
Read the boundary. The circle sits on the tick labeled , so is compared with .
Read the circle. It is filled, so is a solution. The symbol must include the boundary, so it is or .
Read the direction. The ray runs left from through , and , and on forever. Every number to the left of is less than , so with written first, the symbol is .
Check a value on the shaded side. Try : it lies to the left of , so the statement is true, as it must be.
Check a value off the shaded side. Try : it lies to the right of , so the statement is false, which matches not being shaded.
Answer
The graph shows : every number less than or equal to is a solution.
Takeaway: a graph and an inequality are two ways to show the same solutions. The circle shows whether the boundary is included, and the ray covers the side where the inequality is true. You graph by placing the circle and testing one value on each side; you write by reading the boundary, circle and direction, then checking one value on the ray and one off it. Next, you will write inequalities to represent real-world situations, where the context may limit solutions to whole or nonnegative values.