A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin point representing the number zero and evenly spaced marks in either direction representing integers, imagined to extend infinitely. The association between numbers and points on the line links arithmetical operations on numbers to geometric relations between points, and provides a conceptual framework for learning mathematics. In elementary mathematics, the number line is initially used to teach addition and subtraction of integers, especially involving negative numbers. As students progress, more kinds of numbers can be placed on the line, including fractions, decimal fractions, square roots, and transcendental numbers such as the circle constant π: Every point of the number line corresponds to a unique real number, and every real number to a unique point. Using a number line, numerical concepts can be interpreted geometrically and geometric concepts interpreted numerically. An inequality between numbers corresponds to a left-or-right order relation between points. Numerical intervals are associated to geometrical segments of the line. Operations and functions on numbers correspond to geometric transformations of the line. Wrapping the line into a circle relates modular arithmetic to the geometric composition of angles. Marking the line with logarithmically spaced graduations associates multiplication and division with geometric translations, the principle underlying the slide rule. In analytic geometry, coordinate axes are number lines which associate points in a geometric space with tuples of numbers, so geometric shapes can be described using numerical equations and numerical functions can be graphed. In advanced mathematics, the number line is usually called the real line or real number line, and is a geometric line isomorphic to the set of real numbers, with which it is often conflated; both the real numbers and the real line are commonly denoted R or ℝ. The real line is a one-dimensional real coordinate space, so is sometimes denoted R1 when comparing it to higher-dimensional spaces. The real line is a one-dimensional Euclidean space using the difference between numbers to define the distance between points on the line. It can also be thought of as a vector space, a metric space, a topological space, a measure space, or a linear continuum. The real line can be embedded in the complex plane, used as a two-dimensional geometric representation of the complex numbers.
History The first mention of the number line used for operation purposes is found in John Wallis's Treatise of Algebra (1685). In his treatise, Wallis describes addition and subtraction on a number line in terms of moving forward and backward, under the metaphor of a person walking. An earlier depiction without mention to operations, though, is found in John Napier's A Description of the Admirable Table of Logarithmes (1616), which shows values 1 through 12 lined up from left to right. Contrary to popular belief, René Descartes's original La Géométrie does not feature a number line, defined as we use it today, though it does use a coordinate system. In particular, Descartes's work does not contain specific numbers mapped onto lines, only abstract quantities.
Drawing the number line A number line is usually represented as being horizontal, but in a Cartesian coordinate plane the vertical axis (y-axis) is also a number line. The arrow on the line indicates the positive direction in which numbers increase. Some textbooks attach an arrow to both sides, suggesting that the arrow indicates continuation. This is unnecessary, since according to the rules of geometry a line without endpoints continues indefinitely in the positive and negative directions. A line with one endpoint as a ray, and a line with two endpoints as a line segment.
Comparing numbers If a particular number is farther to the right on the number line than is another number, then the first number is greater than the second (equivalently, the second is less than the first). The distance between them is the magnitude of their difference—that is, it measures the first number minus the second one, or equivalently the absolute value of the second number minus the first one. Taking this difference is the process of subtraction. Thus, for example, the length of a line segment between 0 and some other number represents the magnitude of the latter number. Two numbers can be added by "picking up" the length from 0 to one of the numbers, and putting it down again with the end that was 0 placed on top of the other number. Two numbers can be multiplied as in this example: To multiply 5 × 3, note that this is the same as 5 + 5 + 5, so pick up the length from 0 to 5 and place it to the right of 5, and then pick up that length again and place it to the right of the previous result. This gives a result that is 3 combined lengths of 5 each; since the process ends at 15, we find that 5 × 3 = 15. Division can be performed as in the following example: To divide 6 by 2—that is, to find out how many times 2 goes into 6—note that the length from 0 to 2 lies at the beginning of the length from 0 to 6; pick up the former length and put it down again to the right of its original position, with the end formerly at 0 now placed at 2, and then move the length to the right of its latest position again. This puts the right end of the length 2 at the right end of the length from 0 to 6. Since three lengths of 2 filled the length 6, 2 goes into 6 three times (that is, 6 ÷ 2 = 3).
Portions of the number line
The section of the number line between two numbers is called an interval. If the section includes both numbers it is said to be a closed interval, while if it excludes both numbers it is called an open interval. If it includes one of the numbers but not the other one, it is called a half-open interval. All the points extending forever in one direction from a particular point are together known as a ray. If the ray includes the particular point, it is a closed ray; otherwise it is an open ray.
Extensions of the concept
Logarithmic scale
… excerpt ends here. Continue reading the full article.




![Number line: The closed interval [a,b]](https://thumb.wikimedia.org/wikipedia/commons/thumb/7/70/Intervalo_real_04.svg/330px-Intervalo_real_04.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
