# Euclidean space explained

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, rotations and reflections. (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 Rn and sometimes called real coordinate space. An element of Rn is written

x=(x1,x2,\ldots,xn),

where each xi is a real number. The vector space operations on Rn are defined by

x+y=(x1+y1,x2+y2,\ldots,xn+yn),

ax=(ax1,ax2,\ldots,axn).

The vector space Rn comes with a standard basis:

e1=(1,0,\ldots,0),

e2=(0,1,\ldots,0),

\vdots

en=(0,0,\ldots,1).

An arbitrary vector in Rn can then be written in the form

x=

 n \sum i=1

xiei.

Rn is the prototypical example of a real n-dimensional vector space. In fact, every real n-dimensional vector space V is isomorphic to Rn. 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 Rn in V). The reason for working with arbitrary vector spaces instead of Rn 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 Rn. The inner product of any two vectors x and y is defined by

x ⋅ y=

 n \sum i=1

xiyi=x1y1+x2y2+ … +xnyn.

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

\|x\|=\sqrt{x ⋅ x

} = \sqrt