Graphing Inequalities On the Number Line
Graphing Inequalities On the Number Line
Do you remember what it means for a number to be a solution to an equation? A solution of an equation is a value of a variable that makes a true statement when substituted into the equation.
What about the solution of an inequality? What number would make the inequality \(x>3\) true? Are you thinking, ‘x could be 4’? That’s correct, but x could be 5 too, or 20, or even 3.001. Any number greater than 3 is a solution to the inequality \(x>3\).
We show the solutions to the inequality \(x>3\) on the number line by shading in all the numbers to the right of 3, to show that all numbers greater than 3 are solutions. Because the number 3 itself is not a solution, we put an open parenthesis at 3. The graph of \(x>3\) is shown in the figure below. Please note that the following convention is used: light blue arrows point in the positive direction and dark blue arrows point in the negative direction.
The inequality \(x>3\) is graphed on this number line.
The graph of the inequality \(x\ge 3\) is very much like the graph of \(x>3\), but now we need to show that 3 is a solution, too. We do that by putting a bracket at \(x=3\), as shown in the figure below.
The inequality \(x\ge 3\) is graphed on this number line.
Notice that the open parentheses symbol, (, shows that the endpoint of the inequality is not included. The open bracket symbol, [, shows that the endpoint is included.
Example
Graph on the number line:
- \(x\le 1\)
- \(x<5\)
- \(x>-1\)
Solution
- \(x\le 1\)
This means all numbers less than or equal to 1. We shade in all the numbers on the number line to the left of 1 and put a bracket at \(x=1\) to show that it is included.
- \(x<5\)
This means all numbers less than 5, but not including 5. We shade in all the numbers on the number line to the left of 5 and put a parenthesis at \(x=5\) to show it is not included.
- \(x>-1\)
This means all numbers greater than \(-1\), but not including \(-1\). We shade in all the numbers on the number line to the right of \(-1\), then put a parenthesis at \(x=-1\) to show it is not included.
We can also represent inequalities using interval notation. As we saw above, the inequality \(x>3\) means all numbers greater than 3. There is no upper end to the solution to this inequality. In interval notation, we express \(x>3\) as \(\left(3,\infty \right).\) The symbol \(\infty \) is read as ‘infinity’. It is not an actual number. The figure below shows both the number line and the interval notation.
The inequality \(x>3\) is graphed on this number line and written in interval notation.
The inequality \(x\le 1\) means all numbers less than or equal to 1. There is no lower end to those numbers. We write \(x\le 1\) in interval notation as \(\left(\text{−}\infty ,1\right]\). The symbol \(\text{−}\infty \) is read as ‘negative infinity’. The figure below shows both the number line and interval notation.
The inequality \(x\le 1\) is graphed on this number line and written in interval notation.
Inequalities, Number Lines, and Interval Notation
Did you notice how the parenthesis or bracket in the interval notation matches the symbol at the endpoint of the arrow? These relationships are shown in the figure below.
The notation for inequalities on a number line and in interval notation use similar symbols to express the endpoints of intervals.
Example
Graph on the number line and write in interval notation.
- \(x\ge -3\)
- \(x<2.5\)
- \(x\le -\frac{3}{5}\)
Solution
-
Shade to the right of \(-3\), and put a bracket at \(-3\). Write in interval notation. -
Shade to the left of \(2.5\), and put a parenthesis at \(2.5\). Write in interval notation. -
Shade to the left of \(-\frac{3}{5}\), and put a bracket at \(-\frac{3}{5}\). Write in interval notation.
This lesson is part of:
Solving Linear Equations II