
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the real coordinate space or real coordinate ''n''-space, 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 coo ...
, denoted or , is the set of all ordered
-tuples of
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, that is the set of all sequences of real numbers, also known as ''
coordinate vectors''.
Special cases are called the ''
real line'' , the ''real coordinate plane'' , and the ''real coordinate three-dimensional space'' .
With component-wise addition and scalar multiplication, it is a
real vector space.
The
coordinates over any
basis of the elements of a real vector space form a ''real coordinate space'' of the same dimension as that of the vector space. Similarly, the
Cartesian coordinates of the points of a
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
of dimension , (
Euclidean line, ;
Euclidean plane
In mathematics, a Euclidean plane is a Euclidean space of Two-dimensional space, dimension two, denoted \textbf^2 or \mathbb^2. It is a geometric space in which two real numbers are required to determine the position (geometry), position of eac ...
, ;
Euclidean three-dimensional space, ) form a ''real coordinate space'' of dimension .
These
one to one correspondences between vectors, points and coordinate vectors explain the names of ''coordinate space'' and ''coordinate vector''. It allows using
geometric terms and methods for studying real coordinate spaces, and, conversely, to use methods of
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
in geometry. This approach of geometry was introduced by
René Descartes
René Descartes ( , ; ; 31 March 1596 – 11 February 1650) was a French philosopher, scientist, and mathematician, widely considered a seminal figure in the emergence of modern philosophy and Modern science, science. Mathematics was paramou ...
in the 17th century. It is widely used, as it allows locating points in Euclidean spaces, and computing with them.
Definition and structures
For any
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
, the
set consists of all -
tuple
In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
s of
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s (). It is called the "-dimensional real space" or the "real -space".
An element of is thus a -tuple, and is written
where each is a real number. So, in
multivariable calculus, the
domain of a
function of several real variables and the codomain of a real
vector valued function are
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), 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 a ...
s of for some .
The real -space has several further properties, notably:
* With
componentwise addition and
scalar multiplication, it is a
real vector space. Every -dimensional real vector space is
isomorphic to it.
* With the
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
(sum of the term by term product of the components), it is an
inner product space. Every -dimensional real inner product space is isomorphic to it.
* As every inner product space, it is a
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
, and a
topological vector space.
* It is a
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
and a real
affine space
In mathematics, an affine space is a geometric structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance and measure of angles, keeping only the properties relat ...
, and every Euclidean or affine space is isomorphic to it.
* It is an
analytic manifold, and can be considered as the prototype of all
manifolds, as, by definition, a manifold is, near each point, isomorphic to an
open subset of .
* It is an
algebraic variety, and every
real algebraic variety is a subset of .
These properties and structures of make it fundamental in almost all areas of mathematics and their application domains, such as
statistics
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
,
probability theory
Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
, and many parts of
physics
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
.
The domain of a function of several variables
Any function of real variables can be considered as a function on (that is, with as its
domain). The use of the real -space, instead of several variables considered separately, can simplify notation and suggest reasonable definitions. Consider, for , a
function composition of the following form:
where functions and are
continuous. If
* is continuous (by )
* is continuous (by )
then is not necessarily continuous. Continuity is a stronger condition: the continuity of in the natural topology (
discussed below), also called ''multivariable continuity'', which is sufficient for continuity of the composition .
Vector space
The coordinate space forms an -dimensional
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
over the
field of real numbers with the addition of the structure of
linearity
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a '' function'' (or '' mapping'');
* linearity of a '' polynomial''.
An example of a linear function is the function defined by f(x) ...
, and is often still denoted . The operations on as a vector space are typically defined by
The
zero vector is given by
and the
additive inverse
In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
of the vector is given by
This structure is important because any -dimensional real vector space is isomorphic to the vector space .
Matrix notation
In standard
matrix notation, each element of is typically written as a
column vector
and sometimes as a
row vector:
The coordinate space may then be interpreted as the space of all
column vectors, or all
row vectors with the ordinary matrix operations of addition and
scalar multiplication.
Linear transformations from to may then be written as matrices which act on the elements of via
left multiplication (when the elements of are column vectors) and on elements of via right multiplication (when they are row vectors). The formula for left multiplication, a special case of
matrix multiplication, is:
Any linear transformation is a
continuous function (see
below). Also, a matrix defines an
open map from to if and only if the
rank of the matrix equals to .
Standard basis
The coordinate space comes with a standard basis:
To see that this is a basis, note that an arbitrary vector in can be written uniquely in the form
Geometric properties and uses
Orientation
The fact that
real numbers
In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ...
, unlike many other
fields, constitute an
ordered field yields an
orientation structure on . Any
full-rank linear map of to itself either preserves or reverses orientation of the space depending on the
sign of the
determinant
In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of its matrix. If one
permutes coordinates (or, in other words, elements of the basis), the resulting orientation will depend on the
parity of the permutation.
Diffeomorphisms of or
domains in it, by their virtue to avoid zero
Jacobian, are also classified to orientation-preserving and orientation-reversing. It has important consequences for the theory of
differential forms, whose applications include
electrodynamics.
Another manifestation of this structure is that the
point reflection in has different properties depending on
evenness of . For even it preserves orientation, while for odd it is reversed (see also
improper rotation).
Affine space
understood as an affine space is the same space, where as a vector space
acts by
translations. Conversely, a vector has to be understood as a "
difference between two points", usually illustrated by a directed
line segment
In geometry, a line segment is a part of a line (mathematics), straight line that is bounded by two distinct endpoints (its extreme points), and contains every Point (geometry), point on the line that is between its endpoints. It is a special c ...
connecting two points. The distinction says that there is no
canonical choice of where the
origin should go in an affine -space, because it can be translated anywhere.
Convexity

In a real vector space, such as , one can define a convex
cone, which contains all ''non-negative'' linear combinations of its vectors. Corresponding concept in an affine space is a
convex set, which allows only
convex combinations (non-negative linear combinations that sum to 1).
In the language of
universal algebra, a vector space is an algebra over the universal vector space of finite sequences of coefficients, corresponding to finite sums of vectors, while an affine space is an algebra over the universal affine hyperplane in this space (of finite sequences summing to 1), a cone is an algebra over the universal
orthant (of finite sequences of nonnegative numbers), and a convex set is an algebra over the universal
simplex (of finite sequences of nonnegative numbers summing to 1). This geometrizes the axioms in terms of "sums with (possible) restrictions on the coordinates".
Another concept from convex analysis is a
convex function from to real numbers, which is defined through an
inequality between its value on a convex combination of
points and sum of values in those points with the same coefficients.
Euclidean space
The
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
defines the
norm on the vector space . If every vector has its
Euclidean norm, then for any pair of points the distance
is defined, providing a
metric space
In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
structure on in addition to its affine structure.
As for vector space structure, the dot product and Euclidean distance usually are assumed to exist in without special explanations. However, the real -space and a Euclidean -space are distinct objects, strictly speaking. Any Euclidean -space has a
coordinate system where the dot product and Euclidean distance have the form shown above, called
''Cartesian''. But there are ''many'' Cartesian coordinate systems on a Euclidean space.
Conversely, the above formula for the Euclidean metric defines the ''standard'' Euclidean structure on , but it is not the only possible one. Actually, any
positive-definite quadratic form defines its own "distance" , but it is not very different from the Euclidean one in the sense that
Such a change of the metric preserves some of its properties, for example the property of being a
complete metric space.
This also implies that any full-rank linear transformation of , or its
affine transformation
In Euclidean geometry, an affine transformation or affinity (from the Latin, '' affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles.
More general ...
, does not magnify distances more than by some fixed , and does not make distances smaller than times, a fixed finite number times smaller.
The aforementioned equivalence of metric functions remains valid if is replaced with , where is any convex positive
homogeneous function
In mathematics, a homogeneous function is a function of several variables such that the following holds: If each of the function's arguments is multiplied by the same scalar (mathematics), scalar, then the function's value is multiplied by some p ...
of degree 1, i.e. a
vector norm (see
Minkowski distance for useful examples). Because of this fact that any "natural" metric on is not especially different from the Euclidean metric, is not always distinguished from a Euclidean -space even in professional mathematical works.
In algebraic and differential geometry
Although the definition of a
manifold does not require that its model space should be , this choice is the most common, and almost exclusive one in
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
.
On the other hand,
Whitney embedding theorems state that any real
differentiable -dimensional manifold can be
embedded into .
Other appearances
Other structures considered on include the one of a
pseudo-Euclidean space,
symplectic structure (even ), and
contact structure
In mathematics, contact geometry is the study of a geometric structure on smooth manifolds given by a hyperplane distribution in the tangent bundle satisfying a condition called 'complete non-integrability'. Equivalently, such a distribution ...
(odd ). All these structures, although can be defined in a coordinate-free manner, admit standard (and reasonably simple) forms in coordinates.
is also a real vector subspace of which is invariant to
complex conjugation; see also
complexification.
Polytopes in R''n''
There are three families of
polytopes which have simple representations in spaces, for any , and can be used to visualize any affine coordinate system in a real -space. Vertices of a
hypercube have coordinates where each takes on one of only two values, typically 0 or 1. However, any two numbers can be chosen instead of 0 and 1, for example and 1. An -hypercube can be thought of as the Cartesian product of identical
intervals (such as the
unit interval ) on the real line. As an -dimensional subset it can be described with a
system of inequalities:
for , and
for .
Each vertex of the
cross-polytope has, for some , the coordinate equal to
±1 and all other coordinates equal to 0 (such that it is the th
standard basis vector up to
sign). This is a
dual polytope of hypercube. As an -dimensional subset it can be described with a single inequality which uses the
absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
operation:
but this can be expressed with a system of linear inequalities as well.
The third polytope with simply enumerable coordinates is the
standard simplex, whose vertices are standard basis vectors and
the origin . As an -dimensional subset it is described with a system of linear inequalities:
Replacement of all "≤" with "<" gives interiors of these polytopes.
Topological properties
The
topological structure of (called standard topology, Euclidean topology, or usual topology) can be obtained not only
from Cartesian product. It is also identical to the
natural topology induced by
Euclidean metric discussed above: a set is
open in the Euclidean topology
if and only if it contains an
open ball around each of its points. Also, is a
linear topological space (see
continuity of linear maps above), and there is only one possible (non-trivial) topology compatible with its linear structure. As there are many open linear maps from to itself which are not
isometries, there can be many Euclidean structures on which correspond to the same topology. Actually, it does not depend much even on the linear structure: there are many non-linear
diffeomorphisms (and other homeomorphisms) of onto itself, or its parts such as a Euclidean open ball or
the interior of a hypercube).
has the
topological dimension .
An important result on the topology of , that is far from superficial, is
Brouwer's
invariance of domain. Any subset of (with its
subspace topology
In topology and related areas of mathematics, a subspace of a topological space (''X'', ''𝜏'') is a subset ''S'' of ''X'' which is equipped with a topology induced from that of ''𝜏'' called the subspace topology (or the relative topology ...
) that is
homeomorphic to another open subset of is itself open. An immediate consequence of this is that is not
homeomorphic to if – an intuitively "obvious" result which is nonetheless difficult to prove.
Despite the difference in topological dimension, and contrary to a naïve perception, it is possible to map a lesser-dimensional real space continuously and
surjectively onto . A continuous (although not smooth)
space-filling curve (an image of ) is possible.
Examples
''n'' ≤ 1
Cases of do not offer anything new: is the
real line, whereas (the space containing the empty column vector) is a
singleton, understood as a
zero vector space. However, it is useful to include these as
trivial cases of theories that describe different .
''n'' = 2
The case of (''x,y'') where ''x'' and ''y'' are real numbers has been developed as the
Cartesian plane ''P''. Further structure has been attached with
Euclidean vectors representing directed line segments in ''P''. The plane has also been developed as the
field extension by appending roots of X
2 + 1 = 0 to the real field
The root i acts on P as a
quarter turn with counterclockwise orientation. This root generates the
group . When (''x,y'') is written ''x'' + ''y'' i it is a
complex number.
Another
group action by
, where the actor has been expressed as j, uses the line ''y''=''x'' for the
involution of flipping the plane (''x,y'') ↦ (''y,x''), an exchange of coordinates. In this case points of ''P'' are written ''x'' + ''y'' j and called
split-complex number
In algebra, a split-complex number (or hyperbolic number, also perplex number, double number) is based on a hyperbolic unit satisfying j^2=1, where j \neq \pm 1. A split-complex number has two real number components and , and is written z=x+y ...
s. These numbers, with the coordinate-wise addition and multiplication according to ''jj''=+1, form a
ring that is not a field.
Another ring structure on ''P'' uses a
nilpotent e to write ''x'' + ''y'' e for (''x,y''). The action of e on ''P'' reduces the plane to a line: It can be decomposed into the
projection into the x-coordinate, then quarter-turning the result to the y-axis: e (''x'' + ''y'' e) = ''x'' e since e
2 = 0. A number ''x'' + ''y'' e is a
dual number. The dual numbers form a ring, but, since e has no multiplicative inverse, it does not generate a group so the action is not a group action.
Excluding (0,0) from ''P'' makes
'x'' : ''y'' projective coordinates which describe the real projective line, a one-dimensional space. Since the origin is excluded, at least one of the ratios ''x''/''y'' and ''y''/''x'' exists. Then
'x'' : ''y''=
'x''/''y'' : 1or
'x'' : ''y''=
: ''y''/''x'' The projective line P
1(R) is a
topological manifold covered by two
coordinate charts,
'z'' : 1 → ''z'' or
: ''z''→ ''z'', which form an
atlas
An atlas is a collection of maps; it is typically a bundle of world map, maps of Earth or of a continent or region of Earth. Advances in astronomy have also resulted in atlases of the celestial sphere or of other planets.
Atlases have traditio ...
. For points covered by both charts the ''transition function'' is multiplicative inversion on an open neighborhood of the point, which provides a
homeomorphism
In mathematics and more specifically in topology, a homeomorphism ( from Greek roots meaning "similar shape", named by Henri Poincaré), also called topological isomorphism, or bicontinuous function, is a bijective and continuous function ...
as required in a manifold. One application of the real projective line is found in
Cayley–Klein metric geometry.
''n'' = 3
''n'' = 4
can be imagined using the fact that points , where each is either 0 or 1, are vertices of a
tesseract (pictured), the 4-hypercube (see
above).
The first major use of is a
spacetime model: three spatial coordinates plus one
temporal. This is usually associated with
theory of relativity, although four dimensions were used for such models since
Galilei. The choice of theory leads to different structure, though: in
Galilean relativity the coordinate is privileged, but in Einsteinian relativity it is not. Special relativity is set in
Minkowski space. General relativity uses curved spaces, which may be thought of as with a
curved metric for most practical purposes. None of these structures provide a (positive-definite)
metric on .
Euclidean also attracts the attention of mathematicians, for example due to its relation to
quaternion
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. The algebra of quater ...
s, a 4-dimensional
real algebra themselves. See
rotations in 4-dimensional Euclidean space for some information.
In differential geometry, is the only case where admits a non-standard
differential structure: see
exotic R4.
Norms on
One could define many norms on the
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
. Some common examples are
* the
p-norm, defined by