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.

Main content

Number line article

Excerpt from "Graphing inequalities review". Includes NUMBER LINE widget only. 

Inequalities

Inequalities show the relation between two expressions that are not equal.
Below are some examples of inequalities
9>7
6 < a+2
x<5

Inequalities symbols

SymbolMeaning
>Greater than
>Greater than or equal to
<Less than
<Less than or equal to

Graphing inequalities with variables

We can use a number line to show the possible solutions to an inequality.
Example 1: x>4
An inequality like x>4 tells us that x can be any value greater than 4.
We can show this on a number line by putting an open circle on 4 and shading the numbers that are greater than 4.
Example 2: y < 3
If we have either the > or < symbol in our inequality, we shade in the circle to show that the variable may be equal to that number.
For example, y < 3 is graphed as follows:
This number line shows that y is either equal to 3 or less than 3.
Want to learn more about graphing inequalities? Check out this video.
Graph x2.

Want to join the conversation?