Graphing Inequalities On A Number Line
Ever wondered how to show 'all numbers greater than 5' on a graph? Unlike equations with a single answer, inequalities represent a whole range of solutions. This guide will teach you how to visually represent these solutions on a number line, a fundamental skill for mastering algebra.

What Is an Inequality and How Does It Relate to a Number Line?
Graphing an inequality on a number line is a way to create a visual representation of all the possible solutions to the inequality. In algebra, you often start by solving equations. An equation like
An inequality, however, is different. It uses symbols like
What Are the Key Symbols for Inequalities?
Before you can graph, you need to know the language of inequalities. There are four primary symbols, each with a specific meaning. Understanding them is the first step to creating a correct graph.
| Symbol | Name | Meaning | Example |
|---|---|---|---|
| Less Than | The value on the left is smaller than the value on the right. | ||
| Greater Than | The value on the left is larger than the value on the right. | ||
| Less Than or Equal To | The value on the left is smaller than or equal to the value on the right. | ||
| Greater Than or Equal To | The value on the left is larger than or equal to the value on the right. |
The key difference to watch for is the little line under the
Open vs. Closed Circles: When Do You Use Each One?
When graphing an inequality, you start by marking the main number from the inequality (the "boundary point") on the number line. You mark this point with either an open circle (
- Open Circle (
): Used for "Less Than" ( ) and "Greater Than" ( ). An open circle means the boundary point is not included in the solution set. For , the number itself is not a solution, so we use an open circle to show we get infinitely close to it, but don't include it. - Closed Circle (
): Used for "Less Than or Equal To" ( ) and "Greater Than or Equal To" ( ). A closed, or filled-in, circle means the boundary point is included in the solution set. For , the number is a valid solution, so we fill in the circle to include it.
Think of it this way: the "or equal to" line in
How Do You Graph a Simple Inequality? A Step-by-Step Guide
Graphing a basic inequality follows a simple four-step process. Once you learn these steps, you can graph any inequality you encounter.
- Isolate the variable. Make sure the inequality is solved for the variable (e.g.,
, not ). If it's not, use inverse operations to solve it first. Be careful: if you multiply or divide by a negative number, you must flip the inequality symbol! - Find the boundary point. Locate the number from the inequality on a number line. Draw a simple number line with a few numbers on either side for context.
- Choose your circle. Look at the inequality symbol. If it's
or , draw an open circle on the boundary point. If it's or , draw a closed circle. - Shade the solution set. Read the inequality to determine which direction to shade. If the variable is on the left (e.g.,
), the symbol points in the direction you should shade. For , you shade to the right (towards the larger numbers). For , you shade to the left (towards the smaller numbers). Draw a thick line or arrow in that direction.
Graph the inequality
Step 1: The variable
Step 2: The boundary point is
Step 3: The symbol is
Step 4: The inequality
The final graph shows an open circle on
More Examples: Graphing Different Types of Inequalities
Let's walk through a couple more examples to solidify the concepts, including one where the variable isn't on the left side initially.
Graph the inequality
Step 1: The variable
Step 2: The boundary point is
Step 3: The symbol is
Step 4: The inequality
The graph is a closed circle on
Graph the inequality
Step 1: The variable
Step 2: The boundary point is
Step 3: The symbol is
Step 4: Using our rewritten inequality,
The graph is an open circle on
How Do You Graph Compound 'And' and 'Or' Inequalities?
Compound inequalities combine two or more inequalities using the words "and" or "or."
'And' Inequalities
An "and" inequality shows a value that is between two other values. For example,
Graph the compound inequality
1. Identify boundary points: The points are
2. Choose circles: For
3. Shade: Since
'Or' Inequalities
An "or" inequality is true if the variable satisfies either one of the conditions. For example,
Graph the compound inequality
1. Graph the first part: For
2. Graph the second part: For
3. Combine them: The final graph shows both of these rays on the same number line.
What's the Most Important Rule When Solving Inequalities?
While graphing is straightforward, you often have to solve an inequality first. There is one golden rule you must never forget, as it's the most common source of errors.
Why? Consider the true statement
Example: Solve and graph
- Subtract
from both sides: . - Divide both sides by
. Because we are dividing by a negative number, we must flip the to . - The solution is
.
To graph this, you would place a closed circle on
What Are the Most Common Mistakes to Avoid?
- Forgetting to flip the sign: As mentioned above, this is the #1 mistake. Always double-check your work when multiplying or dividing by a negative.
- Mixing up open and closed circles: Remember, the line in
and means "or equal to," which fills in the circle. No line, no fill. - Shading the wrong direction: To avoid this, always rewrite the inequality with the variable on the left (e.g., change
to ). The inequality will then point in the direction you need to shade. - Confusing 'And' vs. 'Or' Graphs: 'And' inequalities are a single connected segment (showing an intersection). 'Or' inequalities are two separate rays pointing outwards (showing a union).
Quick Reference: Your Cheat Sheet for Graphing Inequalities
Use this table as a quick review for the basic rules of graphing inequalities, assuming the variable is on the left side.
| Symbol | Words | Circle Type | Shading Direction |
|---|---|---|---|
| Greater than | Open ( | Right ( | |
| Less than | Open ( | Left ( | |
| Greater than or equal to | Closed ( | Right ( | |
| Less than or equal to | Closed ( | Left ( |
Frequently Asked Questions
What's the main difference between graphing an equation and an inequality on a number line?
Graphing an equation like
How do I know whether to use an open or closed circle?
Use a closed circle (
Does it matter if the variable is on the left or right side of the inequality?
While
What happens if I multiply or divide an inequality by a negative number?
You must flip the direction of the inequality symbol. For example,
How do you graph a compound inequality with 'and'?
An 'and' inequality, like
How do you graph a compound inequality with 'or'?
An 'or' inequality, like
Why is graphing inequalities on a number line useful?
It provides a clear, visual way to understand the infinite set of solutions that an inequality represents. This makes abstract concepts more concrete and helps in understanding solutions to more complex problems in algebra and beyond.
What does the shaded arrow on the graph mean?
The shaded arrow at the end of a line indicates that the solutions continue forever in that direction. It's a way to visually represent the infinite nature of the solution set for most simple inequalities.