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 1≤x≤4, all numbers between the x-values 1 and 4 are a part of the set. For example, 1, 2.7, 3.5, 3.61 and 4. 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 x≥0 is a set of all positive real numbers larger than or equal to 0.