Illustrated · 1 min

Graphing Inequalities

Less Than

a<b says that a is less than ba < b \text{ says that } a \text{ is less than }b

We can represent this visually on a number line:

x < 2 on a number line.
x<2x<2

Made using Desmos

The open circle on the number line means that 22 is not included. This means that xx can be any number less than 22, but cannot be 22 itself.

Less Than or Equal To

a≤b says that a is less than or equal to ba \leq b \text{ says that }a\text{ is less than or equal to }b

We can represent this visually on a number line. We write all the integers on it. However, every real number has a home on the number line. We just don't label all of them.

Number line of x less than or equal to 3
x≤3x\le 3

Made using Desmos

The closed circle on the number line means that 33 is included. This means that xx can be any number less than 33, or 33 itself.

Greater Than

a>b says that a is greater than ba>b \text{ says that } a \text{ is greater than }b

We can represent this visually on a number line:

Number line representing x > -1
x>−1x > -1

Made using Desmos

Inequality Symbols: Greater Than or Equal To

a≥b says that a is greater than or equal to ba \ge b\text{ says that }a\text{ is greater than or equal to }b

We can represent this visually on a number line:

Number line showing x >= -1.
x≥−1x\ge-1

Made using Desmos

The closed circle on the number line means that −1-1 is included. This means that xx can be any number greater than −1-1, or −1-1 itself.

Interactive · 1 question

Order in the Court!

a gavel

Image source: By qimono CC0, via pixabay.com

Somebody, probably: "There's too many numbers! I can't keep track of them all!"

Guy who's about to invent the number line: "Hold my Capri Sun and watch this."


While that conversation probably didn't happen, numbers do have an order to them. The larger numbers come after the smaller numbers.

Shocked woman

Image source: By PublicDomainPictures CC0, via pixabay.com

Yeah yeah, I know, no duh. But, this lets us write the numbers in a nice straight line...a number line, if you will.

A number line with zero in the middle.

The numbers to the right of zero are the positives and increase as you go further right. The numbers to the left of zero are the negatives and decrease as you go further left.

To graph a number on the number line, you put a dot at the number. For example, here's the number 55 graphed on a number line.

The number 5 graphed on the number line.

Will the number −8-8 appear to the left or the right of −4-4 on the number line?

Choose one answer

Video · + 1 min read

(Video) Inequalities

by mathman1024

This video by mathman1024 explains the different ways to express inequalities.

Summary\large{\text{Summary}}

The first way is by using a number line to graph it.

Number line

Made using Desmos

So our problem again was x>5x>5. We want to show the set of numbers bigger than 55. So, we first put the point 55 down on the number line. Since we are using >> we put an open circle. When using << or >>, use an open circle. When using ≤\le or ≥\ge, use a closed circle.

The same number line but there is an open, red circle on 5.

Made using Desmos

Finally, shade the area that contains the solution. In our problem, the solution is any number greater than 55, so we shade to the right (towards +∞+\infty).

The number line. There is a red, open circle on 5 with a red arrow pointing to the right.

Made using Desmos

The second way to express the solution is with interval notation. This is what will be used most often to express the solution. Here's what our solution looks like in interval notation: (5,∞)(5,\infty) Here we use parentheses (   )(\ \ \ ) to denote << or >>. Parentheses are like the open circle on the number line. We use brackets [   ][\ \ \ ] to denote ≤\le or ≥\ge. When dealing with infinity, ∞\infty, you always use a parenthesis.

The final way to express the solution is called set builder notation. In set builder notation our solution would look like: {x∣x>5}\{x|x>5\} The way we would say this is:

"All the values of xx, such that xx is greater than 55."

We have other resources on set builder notation if you're interested.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems