# Euclidean space

Around 300 BC, the Greek mathematician Euclid undertook a study of relationships among distances and angles, first in a plane (an idealized flat surface) and then in space. An example of such a relationship is that the sum of the angles in a triangle is always 180 degrees. Today these relationships are known as two- and three-dimensional Euclidean geometry.

In modern mathematical language, distance and angle can be generalized easily to 4-dimensional, 5-dimensional, and even higher-dimensional spaces. An *n*-dimensional space with notions of distance and angle that obey the Euclidean relationships is called an *n*-dimensional **Euclidean space**. Most of this article is devoted to developing the modern language necessary for the conceptual leap to higher dimensions.

An essential property of a Euclidean space is its flatness. Other spaces exist in geometry that are not Euclidean. For example, the surface of a sphere is not; a triangle on a sphere (suitably defined) will have angles that sum to something greater than 180 degrees. In fact, there is essentially only one Euclidean space of each dimension, while there are many non-Euclidean spaces of each dimension. Often these other spaces are constructed by systematically deforming Euclidean space.

## Intuitive overview

One way to think of the Euclidean plane is as a set of points satisfying certain relationships, expressible in terms of distance and angle. For example, there are two fundamental operations on the plane. One is translation, which means a shifting of the plane so that every point is shifted in the same direction and by the same distance. The other is rotation about a fixed point in the plane, in which every point in the plane turns about that fixed point through the same angle. One of the basic tenets of Euclidean geometry is that two figures (that is, subsets) of the plane should be considered equivalent (congruent) if one can be transformed into the other by some sequence of translations and rotations. (See Euclidean group.)

In order to make all of this mathematically precise, one must clearly define the notions of distance, angle, translation, and rotation. The standard way to do this, as carried out in the remainder of this article, is to define the Euclidean plane as a two-dimensional real vector space equipped with an inner product. For then:

- the vectors in the vector space correspond to the points of the Euclidean plane,
- the addition operation in the vector space corresponds to translation, and
- the inner product implies notions of angle and distance, which can be used to define rotation.

Once the Euclidean plane has been described in this language, it is actually a simple matter to extend its concept to arbitrary dimensions. For the most part, the vocabulary, formulas, and calculations are not made any more difficult by the presence of more dimensions. (However, rotations are more subtle in high dimensions, and visualizing high-dimensional spaces remains difficult, even for experienced mathematicians.)

A final wrinkle is that Euclidean space is not technically a vector space but rather an affine space, on which a vector space acts. Intuitively, the distinction just says that there is no canonical choice of where the origin should go in the space, because it can be translated anywhere. In this article, this technicality is largely ignored.

## Real coordinate space

Let **R** denote the field of real numbers. For any non-negative integer *n*, the space of all *n*-tuples of real numbers forms an *n*-dimensional vector space over **R**, which is denoted **R**^{n} and sometimes called **real coordinate space**. An element of **R**^{n} is written

- <math>\mathbf{x} = (x_1, x_2, \ldots, x_n),</math>

where each *x*_{i} is a real number. The vector space operations on **R**^{n} are defined by

- <math>\mathbf{x} + \mathbf{y} = (x_1 + y_1, x_2 + y_2, \ldots, x_n + y_n),</math>

- <math>a\,\mathbf{x} = (a x_1, a x_2, \ldots, a x_n).</math>

The vector space **R**^{n} comes with a standard basis:

- <math>\mathbf{e}_1 = (1, 0, \ldots, 0),</math>
- <math>\mathbf{e}_2 = (0, 1, \ldots, 0),</math>
- <math>\vdots</math>
- <math>\mathbf{e}_n = (0, 0, \ldots, 1).</math>

An arbitrary vector in **R**^{n} can then be written in the form

- <math>\mathbf{x} = \sum_{i=1}^n x_i \mathbf{e}_i.</math>

**R**^{n} is the prototypical example of a real *n*-dimensional vector space. In fact, every real *n*-dimensional vector space *V* is isomorphic to **R**^{n}. This isomorphism is not canonical, however. A choice of isomorphism is equivalent to a choice of basis for *V* (by looking at the image of the standard basis for **R**^{n} in *V*). The reason for working with arbitrary vector spaces instead of **R**^{n} is that it is often preferable to work in a *coordinate-free* manner (that is, without choosing a preferred basis).

## Euclidean structure

Euclidean space is more than just a real coordinate space. In order to apply Euclidean geometry one needs to be able to talk about the distances between points and the angles between lines or vectors. The natural way to obtain these quantities is by introducing and using the standard inner product (also known as the dot product) on **R**^{n}. The inner product of any two vectors **x** and **y** is defined by

- <math>\mathbf{x}\cdot\mathbf{y} = \sum_{i=1}^n x_iy_i = x_1y_1+x_2y_2+\cdots+x_ny_n.</math>

The result is always a real number. Furthermore, the inner product of **x** with itself is always nonnegative. This product allows us to define the "length" of a vector *x* as

- <math>\|\mathbf{x}\| = \sqrt{\mathbf{x}\cdot\mathbf{x}} = \sqrt{\sum_{i=1}^{n}(x_i)^2}.</math>

This length function satisfies the required properties of a norm and is called the **Euclidean norm** on **R**^{n}.

The **(non-obtuse) angle** θ (0° ≤ *θ* ≤ 180°) between **x** and **y** is then given by

- <math>\theta = \cos^{-1}\left(\frac{\mathbf{x}\cdot\mathbf{y}}{\|\mathbf{x}\|\|\mathbf{y}\|}\right)</math>

where cos^{−1} is the arccosine function.

Finally, one can use the norm to define a metric (or distance function) on **R**^{n} by

- <math>d(\mathbf{x}, \mathbf{y}) = \|\mathbf{x} - \mathbf{y}\| = \sqrt{\sum_{i=1}^n (x_i - y_i)^2}.</math>

This distance function is called the **Euclidean metric**. It can be viewed as a form of the Pythagorean theorem.

Real coordinate space together with this Euclidean structure is called **Euclidean space** and often denoted **E**^{n}. (Many authors refer to **R**^{n} itself as Euclidean space, with the Euclidean structure being understood). The Euclidean structure makes **E**^{n} an inner product space (in fact a Hilbert space), a normed vector space, and a metric space.

Rotations of Euclidean space are then defined as orientation-preserving linear transformations *T* that preserve angles and lengths:

- <math>T\mathbf{x} \cdot T\mathbf{y} = \mathbf{x} \cdot \mathbf{y},</math>

- <math>|T\mathbf{x}| = |\mathbf{x}|.</math>

In the language of matrices, rotations are special orthogonal matrices.

## Topology of Euclidean space

Since Euclidean space is a metric space it is also a topological space with the natural topology induced by the metric. The metric topology on **E**^{n} is called the **Euclidean topology**. A set is open in the Euclidean topology if and only if it contains an open ball around each of its points. The Euclidean topology turns out to be equivalent to the product topology on **R**^{n} considered as a product of *n* copies of the real line **R** (with its standard topology).

An important result on the topology of **R**^{n}, that is far from superficial, is Brouwer's invariance of domain. Any subset of **R**^{n} (with its subspace topology) that is homeomorphic to another open subset of **R**^{n} is itself open. An immediate consequence of this is that **R**^{m} is not homeomorphic to **R**^{n} if *m* ≠ *n* — an intuitively "obvious" result which is nonetheless difficult to prove.

## Generalizations

In modern mathematics, Euclidean spaces form the prototypes for other, more complicated geometric objects. For example, a smooth manifold is a Hausdorff topological space that is locally diffeomorphic to Euclidean space. Diffeomorphism does not respect distance and angle, so these key concepts of Euclidean geometry are lost on a smooth manifold. However, if one additionally prescribes a smoothly varying inner product on the manifold's tangent spaces, then the result is what is called a Riemannian manifold. Put differently, a Riemannian manifold is a space constructed by deforming and patching together Euclidean spaces. Such a space enjoys notions of distance and angle, but they behave in a curved, non-Euclidean manner. The simplest Riemannian manifold, consisting of **R**^{n} with a constant inner product, is essentially identical to Euclidean *n*-space itself.

If one alters a Euclidean space so that its inner product becomes negative in one or more directions, then the result is a pseudo-Euclidean space. Smooth manifolds built from such spaces are called pseudo-Riemannian manifolds. Perhaps their most famous application is the theory of relativity, where empty spacetime with no matter is represented by the flat pseudo-Euclidean space called Minkowski space, spacetimes with matter in them form other pseudo-Riemannian manifolds, and gravity corresponds to the curvature of such a manifold.

Our universe, being subject to relativity, is not Euclidean. This becomes significant in theoretical considerations of astronomy and cosmology, and also in some practical problems such as global positioning and airplane navigation. Nonetheless, a Euclidean model of the universe can still be used to solve many other practical problems with sufficient precision.

## See also

## References

- Kelley, John L. (1975).
*General Topology*. Springer-Verlag. ISBN 0-387-90125-6. - Munkres, James (1999).
*Topology*. Prentice-Hall. ISBN 0-13-181629-2.

bg:Евклидово пространство ca:Espai euclidià cs:Euklidovský prostor da:Euklidisk vektorrum de:Euklidischer Raum ko:유클리드 공간 io:Euklidana spaco it:Spazio euclideo he:מרחב אוקלידי lt:Euklidinė erdvė hu:Euklideszi tér (lineáris algebra) nl:Euclidische ruimte