An interval can be used to represent a set of values that lies between two numbers. It can also represent a set of values that are greater than or less than a specific number. They are often represented by using inequalities. An interval on a number line, consisting of the real numbers, contains an infinite amount of numbers. In the interval , all numbers between the x-values and are a part of the set. For example, , , , and . To visually represent an interval, a number line is often used. This is done by marking the end points of the interval and drawing between them.
An interval does not have to be limited between two ends. For example, the inequality is a set of all positive real numbers larger than or equal to 0.