In elementary mathematics, a number line is a picture of a graduated straight line that serves as visual representation of the

"Purplemath" Retrieved 2015-11-13 According to one convention, positive numbers always lie on the right side of zero, negative numbers always lie on the left side of zero, and arrowheads on both ends of the line are meant to suggest that the line continues indefinitely in the positive and negative directions. Another convention uses only one arrowhead which indicates the direction in which numbers grow. The line continues indefinitely in the positive and negative directions according to the rules of geometry which define a line without endpoints as an ''infinite line'', a line with one endpoint as a ''ray'', and a line with two endpoints as a ''line segment''.

File:Number line with x smaller than y.svg, The ordering on the number line: Greater elements are in direction of the arrow.
File:Number line with addition of -2 and 3.svg, The difference 3-2=3+(-2) on the real number line.
File:Number line with addition of 1 and 2.svg, The addition 1+2 on the real number line
File:Absolute difference.svg, The absolute difference.
File:Number line multiplication 2 with 1,5.svg, The multiplication 2 times 1.5
File:Number line division 3 with 2.svg, The division 3÷2 on the real number line

real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...

s. Every point of a number line is assumed to correspond to a real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...

, and every real number to a point.
The integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...

s are often shown as specially-marked points evenly spaced on the line. Although the image only shows the integers from –3 to 3, the line includes all real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...

s, continuing forever in each direction, and also numbers that are between the integers. It is often used as an aid in teaching simple addition and subtraction, especially involving negative numbers.
In advanced mathematics, the number line can be called as a real line or real number line, formally defined as the set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...

of all real numbers, viewed as a geometric space
Space is the boundless three-dimensional extent in which objects and events have relative position and direction. In classical physics, physical space is often conceived in three linear dimensions, although modern physicists usually consi ...

, namely the Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidea ...

of dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coord ...

one. It can be thought of as a vector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...

(or affine space), a metric space
In mathematics, a metric space is a set together with a notion of '' distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are the most general setti ...

, a topological space
In mathematics, a topological space is, roughly speaking, a geometrical space in which closeness is defined but cannot necessarily be measured by a numeric distance. More specifically, a topological space is a set whose elements are called poin ...

, a measure space
A measure space is a basic object of measure theory, a branch of mathematics that studies generalized notions of volumes. It contains an underlying set, the subsets of this set that are feasible for measuring (the -algebra) and the method that ...

, or a linear continuum.
Just like the set of real numbers, the real line is usually denoted by the symbol (or alternatively, $\backslash mathbb$, the letter “ R” in blackboard bold). However, it is sometimes denoted in order to emphasize its role as the first Euclidean space.
History

The first mention of the number line used for operation purposes is found in John Wallis's ''Treatise of algebra''. 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'', which shows values 1 through 12 lined up from left to right. Contrary to popular belief, Rene Descartes's originalLa Géométrie
''La Géométrie'' was published in 1637 as an appendix to ''Discours de la méthode'' ('' Discourse on the Method''), written by René Descartes. In the ''Discourse'', he presents his method for obtaining clarity on any subject. ''La Géométr ...

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.Núñez, Rafael (2017). ''How Much Mathematics Is "Hardwired", If Any at All'' Minnesota Symposia on Child Psychology: Culture and Developmental Systems, Volume 38. http://www.cogsci.ucsd.edu/~nunez/COGS152_Readings/Nunez_ch3_MN.pdf pp. 98
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.Introduction to the x,y-plane"Purplemath" Retrieved 2015-11-13 According to one convention, positive numbers always lie on the right side of zero, negative numbers always lie on the left side of zero, and arrowheads on both ends of the line are meant to suggest that the line continues indefinitely in the positive and negative directions. Another convention uses only one arrowhead which indicates the direction in which numbers grow. The line continues indefinitely in the positive and negative directions according to the rules of geometry which define a line without endpoints as an ''infinite line'', 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 aray
Ray may refer to:
Fish
* Ray (fish), any cartilaginous fish of the superorder Batoidea
* Ray (fish fin anatomy), a bony or horny spine on a fin
Science and mathematics
* Ray (geometry), half of a line proceeding from an initial point
* Ray (gr ...

. If the ray includes the particular point, it is a closed ray; otherwise it is an open ray.
Extensions of the concept

Logarithmic scale

On the number line, the distance between two points is the unit length if and only if the difference of the represented numbers equals 1. Other choices are possible. One of the most common choices is the ''logarithmic scale'', which is a representation of the ''positive'' numbers on a line, such that the distance of two points is the unit length, if the ratio of the represented numbers has a fixed value, typically 10. In such a logarithmic scale, the origin represents 1; one inch to the right, one has 10, one inch to the right of 10 one has , then , then , etc. Similarly, one inch to the left of 1, one has , then , etc. This approach is useful, when one wants to represent, on the same figure, values with very differentorder of magnitude
An order of magnitude is an approximation of the logarithm of a value relative to some contextually understood reference value, usually 10, interpreted as the base of the logarithm and the representative of values of magnitude one. Logarithmic di ...

. For example, one requires a logarithmic scale for representing simultaneously the size of the different bodies that exist in the Universe
The universe is all of space and time and their contents, including planets, stars, galaxies, and all other forms of matter and energy. The Big Bang theory is the prevailing cosmological description of the development of the univers ...

, typically, a photon
A photon () is an elementary particle that is a quantum of the electromagnetic field, including electromagnetic radiation such as light and radio waves, and the force carrier for the electromagnetic force. Photons are massless, so they alwa ...

, an electron
The electron ( or ) is a subatomic particle with a negative one elementary electric charge. Electrons belong to the first generation of the lepton particle family,
and are generally thought to be elementary particles because they have n ...

, an atom
Every atom is composed of a nucleus and one or more electrons bound to the nucleus. The nucleus is made of one or more protons and a number of neutrons. Only the most common variety of hydrogen has no neutrons.
Every solid, liquid, gas, a ...

, a molecule
A molecule is a group of two or more atoms held together by attractive forces known as chemical bonds; depending on context, the term may or may not include ions which satisfy this criterion. In quantum physics, organic chemistry, and b ...

, a human
Humans (''Homo sapiens'') are the most abundant and widespread species of primate, characterized by bipedalism and exceptional cognitive skills due to a large and complex brain. This has enabled the development of advanced tools, cultu ...

, the Earth
Earth is the third planet from the Sun and the only astronomical object known to harbor life. While large volumes of water can be found throughout the Solar System, only Earth sustains liquid surface water. About 71% of Earth's sur ...

, the Solar System
The Solar System Capitalization of the name varies. The International Astronomical Union, the authoritative body regarding astronomical nomenclature, specifies capitalizing the names of all individual astronomical objects but uses mixed "Solar ...

, a galaxy
A galaxy is a system of stars, stellar remnants, interstellar gas, dust, dark matter, bound together by gravity. The word is derived from the Greek ' (), literally 'milky', a reference to the Milky Way galaxy that contains the Solar System ...

, and the visible Universe.
Logarithmic scales are used in slide rules for multiplying or dividing numbers by adding or subtracting lengths on logarithmic scales.
Combining number lines

A line drawn through the origin at right angles to the real number line can be used to represent the imaginary numbers. This line, calledimaginary line
In general, an imaginary line is usually any sort of geometric line that has only an abstract definition and does not physically exist. In fact, they are used to properly identify places on a map.
Some outside geography do exist, such as th ...

, extends the number line to a complex number plane, with points representing complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...

s.
Alternatively, one real number line can be drawn horizontally to denote possible values of one real number, commonly called ''x'', and another real number line can be drawn vertically to denote possible values of another real number, commonly called ''y''. Together these lines form what is known as a Cartesian coordinate system
A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in ...

, and any point in the plane represents the value of a pair of real numbers. Further, the Cartesian coordinate system can itself be extended by visualizing a third number line "coming out of the screen (or page)", measuring a third variable called ''z''. Positive numbers are closer to the viewer's eyes than the screen is, while negative numbers are "behind the screen"; larger numbers are farther from the screen. Then any point in the three-dimensional space that we live in represents the values of a trio of real numbers.
Advanced concepts

As a linear continuum

The real line is a linear continuum under the standard ordering. Specifically, the real line is linearly ordered by , and this ordering is dense and has theleast-upper-bound property
In mathematics, the least-upper-bound property (sometimes called completeness or supremum property or l.u.b. property) is a fundamental property of the real numbers. More generally, a partially ordered set has the least-upper-bound property if e ...

.
In addition to the above properties, the real line has no maximum
In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...

or minimum element. It also has a countable dense subset
In mathematics, set ''A'' is a subset of a set ''B'' if all elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are unequal, then ''A'' is a proper subset of ...

, namely the set of rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ra ...

s. It is a theorem that any linear continuum with a countable dense subset and no maximum or minimum element is order-isomorphic to the real line.
The real line also satisfies the countable chain condition: every collection of mutually disjoint, nonempty open intervals in is countable. In order theory
Order theory is a branch of mathematics that investigates the intuitive notion of order using binary relations. It provides a formal framework for describing statements such as "this is less than that" or "this precedes that". This article intr ...

, the famous Suslin problem asks whether every linear continuum satisfying the countable chain condition that has no maximum or minimum element is necessarily order-isomorphic to . This statement has been shown to be independent
Independent or Independents may refer to:
Arts, entertainment, and media Artist groups
* Independents (artist group), a group of modernist painters based in the New Hope, Pennsylvania, area of the United States during the early 1930s
* Independe ...

of the standard axiomatic system of set theory
Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly concern ...

known as ZFC.
As a metric space

The real line forms ametric space
In mathematics, a metric space is a set together with a notion of '' distance'' between its elements, usually called points. The distance is measured by a function called a metric or distance function. Metric spaces are the most general setti ...

, with the distance function given by absolute difference:
: $d(x,\; y)\; =\; ,\; x\; -\; y,\; .$
The metric tensor is clearly the 1-dimensional Euclidean metric. Since the -dimensional Euclidean metric can be represented in matrix form as the -by- identity matrix, the metric on the real line is simply the 1-by-1 identity matrix, i.e. 1.
If and , then the - ball in centered at is simply the open interval .
This real line has several important properties as a metric space:
* The real line is a complete metric space, in the sense that any Cauchy sequence of points converges.
* The real line is path-connected and is one of the simplest examples of a geodesic metric space.
* The Hausdorff dimension
In mathematics, Hausdorff dimension is a measure of ''roughness'', or more specifically, fractal dimension, that was first introduced in 1918 by mathematician Felix Hausdorff. For instance, the Hausdorff dimension of a single point is zero, of ...

of the real line is equal to one.
As a topological space

The real line carries a standardtopology
In mathematics, topology (from the Greek words , and ) is concerned with the properties of a geometric object that are preserved under continuous deformations, such as stretching, twisting, crumpling, and bending; that is, without closing ...

, which can be introduced in two different, equivalent ways.
First, since the real numbers are totally ordered
In mathematics, a total or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X:
# a \leq a ( reflexive ...

, they carry an order topology. Second, the real numbers inherit a metric topology from the metric defined above. The order topology and metric topology on are the same. As a topological space, the real line is homeomorphic to the open interval .
The real line is trivially a topological manifold of dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coord ...

. Up to homeomorphism, it is one of only two different connected 1-manifolds without boundary, the other being the circle
A circle is a shape consisting of all points in a plane that are at a given distance from a given point, the centre. Equivalently, it is the curve traced out by a point that moves in a plane so that its distance from a given point is cons ...

. It also has a standard differentiable structure on it, making it a differentiable manifold. (Up to diffeomorphism, there is only one differentiable structure that the topological space supports.)
The real line is a locally compact space and a paracompact space, as well as second-countable
In topology, a second-countable space, also called a completely separable space, is a topological space whose topology has a countable base. More explicitly, a topological space T is second-countable if there exists some countable collection \ma ...

and normal. It is also path-connected, and is therefore connected as well, though it can be disconnected by removing any one point. The real line is also contractible
In mathematics, a topological space ''X'' is contractible if the identity map on ''X'' is null-homotopic, i.e. if it is homotopic to some constant map. Intuitively, a contractible space is one that can be continuously shrunk to a point within th ...

, and as such all of its homotopy groups and reduced homology groups are zero.
As a locally compact space, the real line can be compactified in several different ways. The one-point compactification of is a circle (namely, the real projective line
In geometry, a real projective line is a projective line over the real numbers. It is an extension of the usual concept of a line that has been historically introduced to solve a problem set by visual perspective: two parallel lines do not int ...

), and the extra point can be thought of as an unsigned infinity. Alternatively, the real line has two ends
End, END, Ending, or variation, may refer to:
End
*In mathematics:
**End (category theory)
**End (topology)
**End (graph theory)
** End (group theory) (a subcase of the previous)
** End (endomorphism)
*In sports and games
**End (gridiron football ...

, and the resulting end compactification is the extended real line
In mathematics, the affinely extended real number system is obtained from the real number system \R by adding two infinity elements: +\infty and -\infty, where the infinities are treated as actual numbers. It is useful in describing the algebra ...

. There is also the Stone–Čech compactification of the real line, which involves adding an infinite number of additional points.
In some contexts, it is helpful to place other topologies on the set of real numbers, such as the lower limit topology or the Zariski topology. For the real numbers, the latter is the same as the finite complement topology.
As a vector space

The real line is avector space
In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...

over the field of real numbers (that is, over itself) of dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coord ...

. It has the usual multiplication as an inner product
In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space) is a real vector space or a complex vector space with an operation called an inner product. The inner product of two vectors in the space is a scalar, often ...

, making it a Euclidean vector space. The norm defined by this inner product is simply the absolute value.
As a measure space

The real line carries a canonical measure, namely theLebesgue measure
In measure theory, a branch of mathematics, the Lebesgue measure, named after French mathematician Henri Lebesgue, is the standard way of assigning a measure to subsets of ''n''-dimensional Euclidean space. For ''n'' = 1, 2, or 3, it coincides wi ...

. This measure can be defined as the completion of a Borel measure defined on , where the measure of any interval is the length of the interval.
Lebesgue measure on the real line is one of the simplest examples of a Haar measure on a locally compact group.
In real algebras

The real line is a one-dimensional subspace of a real algebra ''A'' where R ⊂ ''A''. For example, in the complex plane ''z'' = ''x'' + i''y'', the subspace is a real line. Similarly, the algebra ofquaternion
In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. Hamilton defined a quater ...

s
:''q'' = ''w'' + ''x'' i + ''y'' j + ''z'' k
has a real line in the subspace .
When the real algebra is a direct sum $A\; =\; R\; \backslash oplus\; V,$ then a conjugation on ''A'' is introduced by the mapping $v\; \backslash mapsto\; -v$ of subspace ''V''. In this way the real line consists of the fixed points of the conjugation.
See also

* Cantor–Dedekind axiom * Imaginary line (mathematics) * Line (geometry) * Projectively extended real line *Real projective line
In geometry, a real projective line is a projective line over the real numbers. It is an extension of the usual concept of a line that has been historically introduced to solve a problem set by visual perspective: two parallel lines do not int ...

*Chronology
Chronology (from Latin ''chronologia'', from Ancient Greek , ''chrónos'', "time"; and , ''-logia'') is the science of arranging events in their order of occurrence in time. Consider, for example, the use of a timeline or sequence of even ...

* Complex plane
* Cuisenaire rods
* Extended real number line
* Hyperreal number line
*Number form
:''This article refers to the neurological phenomenon. For Unicode numbers, see Number Forms.''
A number form is a mental map of numbers, which automatically and involuntarily appears whenever someone who experiences number-forms thinks of ...

(neurological phenomenon)
* The construction of a decimal number
References

Further reading

* * * {{DEFAULTSORT:Number Line Elementary mathematics Mathematical manipulatives One-dimensional coordinate systems Real numbers Topological spaces