# Three-dimensional space

{{#invoke:Hatnote|hatnote}}Template:Main other

Three-dimensional Cartesian coordinate system with the x-axis pointing towards the observer.
Template:Smaller

Three-dimensional space is a geometric three-parameter model of the physical universe (without considering time) in which all known matter exists. These three dimensions can be labeled by a combination of three chosen from the terms length, width, height, depth, and breadth. Any three directions can be chosen, provided that they do not all lie in the same plane.

In physics and mathematics, a sequence of n numbers can be understood as a location in n-dimensional space. When n = 3, the set of all such locations is called three-dimensional Euclidean space. It is commonly represented by the symbol ${\displaystyle \scriptstyle {\mathbb {R} }^{3}}$. This space is only one example of a great variety of spaces in three dimensions called 3-manifolds.

## In geometry

### Coordinate systems

{{#invoke:main|main}} In mathematics, analytic geometry (also called Cartesian geometry) describes every point in three-dimensional space by means of three coordinates. Three coordinate axes are given, each perpendicular to the other two at the origin, the point at which they cross. They are usually labeled x, y, and z. Relative to these axes, the position of any point in three-dimensional space is given by an ordered triple of real numbers, each number giving the distance of that point from the origin measured along the given axis, which is equal to the distance of that point from the plane determined by the other two 2 axes.

Other popular methods of describing the location of a point in three-dimensional space include cylindrical coordinates and spherical coordinates, though there is an infinite number of possible methods. See Euclidean space.

Below are images of the above-mentioned systems.

### Polytopes

{{#invoke:main|main}} In three dimensions, there are nine regular polytopes: the five convex Platonic solids and the four nonconvex Kepler-Poinsot polyhedra.

Regular polytopes in three dimensions
Class Platonic solids Kepler-Poinsot polyhedra
Symmetry Td Oh Ih
Coxeter group A3 BC3 H3
Order 24 48 120
Regular
polyhedron

{3,3}

{4,3}

{3,4}

{5,3}

{3,5}

{5/2,5}

{5,5/2}

{5/2,3}

{3,5/2}

### Sphere

{{#invoke:main|main}}

A two-dimensional perspective projection of a sphere

A sphere in 3-space (also called a 2-sphere because its surface is 2-dimensional) consists of the set of all points in 3-space at a fixed distance r from a central point P. The volume enclosed by this surface is:

Another type of sphere, but having a three-dimensional surface is the 3-sphere: points equidistant to the origin of the euclidean space ${\displaystyle {\mathbb {R} }^{4}}$ at distance one. If any position is ${\displaystyle P=(x,y,z,t)}$, then ${\displaystyle x^{2}+y^{2}+z^{2}+t^{2}=1}$ characterize a point in the 3-sphere.

### Orthogonality

In the familiar 3-dimensional space that we live in, there are three pairs of cardinal directions: north/south (latitude), east/west (longitude) and up/down (altitude). These pairs of directions are mutually orthogonal: They are at right angles to each other. Movement along one axis does not change the coordinate value of the other two axes. In mathematical terms, they lie on three coordinate axes, usually labelled x, y, and z. The z-buffer in computer graphics refers to this z-axis, representing depth in the 2-dimensional imagery displayed on the computer screen.

## In linear algebra

Another mathematical way of viewing three-dimensional space is found in linear algebra, where the idea of independence is crucial. Space has three dimensions because the length of a box is independent of its width or breadth. In the technical language of linear algebra, space is three-dimensional because every point in space can be described by a linear combination of three independent vectors.

### Dot product, angle, and length

{{#invoke:main|main}} The dot product of two vectors A = [A1, A2,A3] and B = [B1, B2,B3] is defined as:[1]

${\displaystyle \mathbf {A} \cdot \mathbf {B} =A_{1}B_{1}+A_{2}B_{2}+A_{3}B_{3}}$

A vector can be pictured as an arrow. Its magnitude is its length, and its direction is the direction the arrow points. The magnitude of a vector A is denoted by ${\displaystyle \|\mathbf {A} \|}$. In this viewpoint, the dot product of two Euclidean vectors A and B is defined by[2]

${\displaystyle \mathbf {A} \cdot \mathbf {B} =\|\mathbf {A} \|\,\|\mathbf {B} \|\cos \theta ,}$

where θ is the angle between A and B.

The dot product of a vector A by itself is

${\displaystyle \mathbf {A} \cdot \mathbf {A} =\|\mathbf {A} \|^{2},}$

which gives

${\displaystyle \|\mathbf {A} \|={\sqrt {\mathbf {A} \cdot \mathbf {A} }},}$

the formula for the Euclidean length of the vector.

### Cross product

{{#invoke:main|main}} The cross product or vector product is a binary operation on two vectors in three-dimensional space and is denoted by the symbol ×. The cross product a × b of the vectors a and b is a vector that is perpendicular to both and therefore normal to the plane containing them. It has many applications in mathematics, physics, and engineering.

The space and product form an algebra over a field, which is neither commutative nor associative, but is a Lie algebra with the cross product being the Lie bracket.

One can in n dimensions take the product of n − 1 vectors to produce a vector perpendicular to all of them. But if the product is limited to non-trivial binary products with vector results, it exists only in three and seven dimensions.[3]

The cross-product in respect to a right-handed coordinate system

## In calculus

In a rectangular coordinate system, the gradient is given by

${\displaystyle \nabla f={\frac {\partial f}{\partial x}}{\mathbf {i} }+{\frac {\partial f}{\partial y}}{\mathbf {j} }+{\frac {\partial f}{\partial z}}{\mathbf {k} }}$

The divergence of a continuously differentiable vector field F = U i + V j + W k is equal to the scalar-valued function:

${\displaystyle \operatorname {div} \,{\mathbf {F} }=\nabla \cdot {\mathbf {F} }={\frac {\partial U}{\partial x}}+{\frac {\partial V}{\partial y}}+{\frac {\partial W}{\partial z}}.}$

Expanded in Cartesian coordinates (see Del in cylindrical and spherical coordinates for spherical and cylindrical coordinate representations), the curl ∇ × F is, for F composed of [Fx, Fy, Fz]:

${\displaystyle {\begin{vmatrix}{\mathbf {i} }&{\mathbf {j} }&{\mathbf {k} }\\\\{\frac {\partial }{\partial x}}&{\frac {\partial }{\partial y}}&{\frac {\partial }{\partial z}}\\\\F_{x}&F_{y}&F_{z}\end{vmatrix}}}$

where i, j, and k are the unit vectors for the x-, y-, and z-axes, respectively. This expands as follows:[4]

${\displaystyle \left({\frac {\partial F_{z}}{\partial y}}-{\frac {\partial F_{y}}{\partial z}}\right){\mathbf {i} }+\left({\frac {\partial F_{x}}{\partial z}}-{\frac {\partial F_{z}}{\partial x}}\right){\mathbf {j} }+\left({\frac {\partial F_{y}}{\partial x}}-{\frac {\partial F_{x}}{\partial y}}\right){\mathbf {k} }}$

### Line integrals, surface integrals, and volume integrals

For some scalar field f : URnR, the line integral along a piecewise smooth curve CU is defined as

${\displaystyle \int \limits _{C}f\,ds=\int _{a}^{b}f(\mathbf {r} (t))|\mathbf {r} '(t)|\,dt.}$

where r: [a, b] → C is an arbitrary bijective parametrization of the curve C such that r(a) and r(b) give the endpoints of C and ${\displaystyle a.

For a vector field F : URnRn, the line integral along a piecewise smooth curve CU, in the direction of r, is defined as

${\displaystyle \int \limits _{C}\mathbf {F} (\mathbf {r} )\cdot \,d\mathbf {r} =\int _{a}^{b}\mathbf {F} (\mathbf {r} (t))\cdot \mathbf {r} '(t)\,dt.}$

where · is the dot product and r: [a, b] → C is a bijective parametrization of the curve C such that r(a) and r(b) give the endpoints of C.

A surface integral is a generalization of multiple integrals to integration over surfaces. It can be thought of as the double integral analog of the line integral. To find an explicit formula for the surface integral, we need to parameterize the surface of interest, S, by considering a system of curvilinear coordinates on S, like the latitude and longitude on a sphere. Let such a parameterization be x(s, t), where (s, t) varies in some region T in the plane. Then, the surface integral is given by

${\displaystyle \iint _{S}f\,\mathrm {d} S=\iint _{T}f(\mathbf {x} (s,t))\left\|{\partial \mathbf {x} \over \partial s}\times {\partial \mathbf {x} \over \partial t}\right\|\mathrm {d} s\,\mathrm {d} t}$

where the expression between bars on the right-hand side is the magnitude of the cross product of the partial derivatives of x(s, t), and is known as the surface element. Given a vector field v on S, that is a function that assigns to each x in S a vector v(x), the surface integral can be defined component-wise according to the definition of the surface integral of a scalar field; the result is a vector.

A volume integral refers to an integral over a 3-dimensional domain.

It can also mean a triple integral within a region D in R3 of a function ${\displaystyle f(x,y,z),}$ and is usually written as:

${\displaystyle \iiint \limits _{D}f(x,y,z)\,dx\,dy\,dz.}$

### Fundamental theorem of line integrals

{{#invoke:main|main}} The fundamental theorem of line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve.

${\displaystyle \varphi \left(\mathbf {q} \right)-\varphi \left(\mathbf {p} \right)=\int _{\gamma [\mathbf {p} ,\,\mathbf {q} ]}\nabla \varphi (\mathbf {r} )\cdot d\mathbf {r} .}$

### Stokes' theorem

{{#invoke:main|main}} Stokes' theorem relates the surface integral of the curl of a vector field F over a surface Σ in Euclidean three-space to the line integral of the vector field over its boundary ∂Σ:

${\displaystyle \iint _{\Sigma }\nabla \times \mathbf {F} \cdot \mathrm {d} \mathbf {\Sigma } =\oint _{\partial \Sigma }\mathbf {F} \cdot \mathrm {d} \mathbf {r} .}$

### Divergence theorem

{{#invoke:main|main}} Suppose Template:Mvar is a subset of ${\displaystyle \mathbb {R} ^{n}}$ (in the case of n = 3, V represents a volume in 3D space) which is compact and has a piecewise smooth boundary Template:Mvar (also indicated with V = S). If F is a continuously differentiable vector field defined on a neighborhood of Template:Mvar, then the divergence theorem says:[5]

Template:Oiint

The left side is a volume integral over the volume Template:Mvar, the right side is the surface integral over the boundary of the volume Template:Mvar. The closed manifold V is quite generally the boundary of Template:Mvar oriented by outward-pointing normals, and n is the outward pointing unit normal field of the boundary V. (dS may be used as a shorthand for ndS.)

## In topology

Three-dimensional space has a number of topological properties that distinguish it from spaces of other dimension numbers. For example, at least three dimensions are required to tie a knot in a piece of string.[6]

With the space ${\displaystyle \scriptstyle {\mathbb {R} }^{3}}$, the topologists locally model all other 3-manifolds.

## In physics

Many of the laws of physics, such as the various inverse square laws, depend on dimension three.[7]

In physics, our three-dimensional space is viewed as embedded in four-dimensional spacetime, called Minkowski space (see special relativity). The idea behind space-time is that time is hyperbolic-orthogonal to each of the three spatial dimensions.

## In the other sciences

The understanding of three-dimensional space in humans is thought to be learned during infancy using unconscious inference, and is closely related to hand-eye coordination. The visual ability to perceive the world in three dimensions is called depth perception.