Misplaced Pages

Simplex

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Singular simplices functor) For other uses, see Simplex (disambiguation). Multi-dimensional generalization of triangle
The four simplexes that can be fully represented in 3D space.
The four simplexes that can be fully represented in 3D space.

In geometry, a simplex (plural: simplexes or simplices) is a generalization of the notion of a triangle or tetrahedron to arbitrary dimensions. The simplex is so-named because it represents the simplest possible polytope in any given dimension. For example,

Specifically, a k-simplex is a k-dimensional polytope that is the convex hull of its k + 1 vertices. More formally, suppose the k + 1 points u 0 , , u k {\displaystyle u_{0},\dots ,u_{k}} are affinely independent, which means that the k vectors u 1 u 0 , , u k u 0 {\displaystyle u_{1}-u_{0},\dots ,u_{k}-u_{0}} are linearly independent. Then, the simplex determined by them is the set of points C = { θ 0 u 0 + + θ k u k   |   i = 0 k θ i = 1  and  θ i 0  for  i = 0 , , k } . {\displaystyle C=\left\{\theta _{0}u_{0}+\dots +\theta _{k}u_{k}~{\Bigg |}~\sum _{i=0}^{k}\theta _{i}=1{\mbox{ and }}\theta _{i}\geq 0{\mbox{ for }}i=0,\dots ,k\right\}.}

A regular simplex is a simplex that is also a regular polytope. A regular k-simplex may be constructed from a regular (k − 1)-simplex by connecting a new vertex to all original vertices by the common edge length.

The standard simplex or probability simplex is the (k − 1)-dimensional simplex whose vertices are the k standard unit vectors in R k {\displaystyle \mathbf {R} ^{k}} , or in other words { x R k : x 0 + + x k 1 = 1 , x i 0  for  i = 0 , , k 1 } . {\displaystyle \left\{x\in \mathbf {R} ^{k}:x_{0}+\dots +x_{k-1}=1,x_{i}\geq 0{\text{ for }}i=0,\dots ,k-1\right\}.}

In topology and combinatorics, it is common to "glue together" simplices to form a simplicial complex.

The geometric simplex and simplicial complex should not be confused with the abstract simplicial complex, in which a simplex is simply a finite set and the complex is a family of such sets that is closed under taking subsets.

History

The concept of a simplex was known to William Kingdon Clifford, who wrote about these shapes in 1886 but called them "prime confines". Henri Poincaré, writing about algebraic topology in 1900, called them "generalized tetrahedra". In 1902 Pieter Hendrik Schoute described the concept first with the Latin superlative simplicissimum ("simplest") and then with the same Latin adjective in the normal form simplex ("simple").

The regular simplex family is the first of three regular polytope families, labeled by Donald Coxeter as αn, the other two being the cross-polytope family, labeled as βn, and the hypercubes, labeled as γn. A fourth family, the tessellation of n-dimensional space by infinitely many hypercubes, he labeled as δn.

Elements

The convex hull of any nonempty subset of the n + 1 points that define an n-simplex is called a face of the simplex. Faces are simplices themselves. In particular, the convex hull of a subset of size m + 1 (of the n + 1 defining points) is an m-simplex, called an m-face of the n-simplex. The 0-faces (i.e., the defining points themselves as sets of size 1) are called the vertices (singular: vertex), the 1-faces are called the edges, the (n − 1)-faces are called the facets, and the sole n-face is the whole n-simplex itself. In general, the number of m-faces is equal to the binomial coefficient ( n + 1 m + 1 ) {\displaystyle {\tbinom {n+1}{m+1}}} . Consequently, the number of m-faces of an n-simplex may be found in column (m + 1) of row (n + 1) of Pascal's triangle. A simplex A is a coface of a simplex B if B is a face of A. Face and facet can have different meanings when describing types of simplices in a simplicial complex.

The extended f-vector for an n-simplex can be computed by (1,1), like the coefficients of polynomial products. For example, a 7-simplex is (1,1) = (1,2,1) = (1,4,6,4,1) = (1,8,28,56,70,56,28,8,1).

The number of 1-faces (edges) of the n-simplex is the n-th triangle number, the number of 2-faces of the n-simplex is the (n − 1)th tetrahedron number, the number of 3-faces of the n-simplex is the (n − 2)th 5-cell number, and so on.

n-Simplex elements
Δ Name Schläfli
Coxeter
0-
faces
(vertices)
1-
faces
(edges)
2-
faces
(faces)
3-
faces
(cells)
4-
faces
 
5-
faces
 
6-
faces
 
7-
faces
 
8-
faces
 
9-
faces
 
10-
faces
 
Sum
= 2 − 1
Δ 0-simplex
(point)
( )
1                     1
Δ 1-simplex
(line segment)
{ } = ( ) ∨ ( ) = 2⋅( )
2 1                   3
Δ 2-simplex
(triangle)
{3} = 3⋅( )
3 3 1                 7
Δ 3-simplex
(tetrahedron)
{3,3} = 4⋅( )
4 6 4 1               15
Δ 4-simplex
(5-cell)
{3} = 5⋅( )
5 10 10 5 1             31
Δ 5-simplex {3} = 6⋅( )
6 15 20 15 6 1           63
Δ 6-simplex {3} = 7⋅( )
7 21 35 35 21 7 1         127
Δ 7-simplex {3} = 8⋅( )
8 28 56 70 56 28 8 1       255
Δ 8-simplex {3} = 9⋅( )
9 36 84 126 126 84 36 9 1     511
Δ 9-simplex {3} = 10⋅( )
10 45 120 210 252 210 120 45 10 1   1023
Δ 10-simplex {3} = 11⋅( )
11 55 165 330 462 462 330 165 55 11 1 2047

An n-simplex is the polytope with the fewest vertices that requires n dimensions. Consider a line segment AB as a shape in a 1-dimensional space (the 1-dimensional space is the line in which the segment lies). One can place a new point C somewhere off the line. The new shape, triangle ABC, requires two dimensions; it cannot fit in the original 1-dimensional space. The triangle is the 2-simplex, a simple shape that requires two dimensions. Consider a triangle ABC, a shape in a 2-dimensional space (the plane in which the triangle resides). One can place a new point D somewhere off the plane. The new shape, tetrahedron ABCD, requires three dimensions; it cannot fit in the original 2-dimensional space. The tetrahedron is the 3-simplex, a simple shape that requires three dimensions. Consider tetrahedron ABCD, a shape in a 3-dimensional space (the 3-space in which the tetrahedron lies). One can place a new point E somewhere outside the 3-space. The new shape ABCDE, called a 5-cell, requires four dimensions and is called the 4-simplex; it cannot fit in the original 3-dimensional space. (It also cannot be visualized easily.) This idea can be generalized, that is, adding a single new point outside the currently occupied space, which requires going to the next higher dimension to hold the new shape. This idea can also be worked backward: the line segment we started with is a simple shape that requires a 1-dimensional space to hold it; the line segment is the 1-simplex. The line segment itself was formed by starting with a single point in 0-dimensional space (this initial point is the 0-simplex) and adding a second point, which required the increase to 1-dimensional space.

More formally, an (n + 1)-simplex can be constructed as a join (∨ operator) of an n-simplex and a point, ( ). An (m + n + 1)-simplex can be constructed as a join of an m-simplex and an n-simplex. The two simplices are oriented to be completely normal from each other, with translation in a direction orthogonal to both of them. A 1-simplex is the join of two points: ( ) ∨ ( ) = 2 ⋅ ( ). A general 2-simplex (scalene triangle) is the join of three points: ( ) ∨ ( ) ∨ ( ). An isosceles triangle is the join of a 1-simplex and a point: { } ∨ ( ). An equilateral triangle is 3 ⋅ ( ) or {3}. A general 3-simplex is the join of 4 points: ( ) ∨ ( ) ∨ ( ) ∨ ( ). A 3-simplex with mirror symmetry can be expressed as the join of an edge and two points: { } ∨ ( ) ∨ ( ). A 3-simplex with triangular symmetry can be expressed as the join of an equilateral triangle and 1 point: 3.( )∨( ) or {3}∨( ). A regular tetrahedron is 4 ⋅ ( ) or {3,3} and so on.

The numbers of faces in the above table are the same as in Pascal's triangle, without the left diagonal.
The total number of faces is always a power of two minus one. This figure (a projection of the tesseract) shows the centroids of the 15 faces of the tetrahedron.

In some conventions, the empty set is defined to be a (−1)-simplex. The definition of the simplex above still makes sense if n = −1. This convention is more common in applications to algebraic topology (such as simplicial homology) than to the study of polytopes.

Symmetric graphs of regular simplices

These Petrie polygons (skew orthogonal projections) show all the vertices of the regular simplex on a circle, and all vertex pairs connected by edges.


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

Standard simplex

The standard 2-simplex in R

The standard n-simplex (or unit n-simplex) is the subset of R given by

Δ n = { ( t 0 , , t n ) R n + 1   |   i = 0 n t i = 1  and  t i 0  for  i = 0 , , n } {\displaystyle \Delta ^{n}=\left\{(t_{0},\dots ,t_{n})\in \mathbf {R} ^{n+1}~{\Bigg |}~\sum _{i=0}^{n}t_{i}=1{\text{ and }}t_{i}\geq 0{\text{ for }}i=0,\ldots ,n\right\}} .

The simplex Δ lies in the affine hyperplane obtained by removing the restriction ti ≥ 0 in the above definition.

The n + 1 vertices of the standard n-simplex are the points eiR, where

e0 = (1, 0, 0, ..., 0),
e1 = (0, 1, 0, ..., 0),
en = (0, 0, 0, ..., 1).

A standard simplex is an example of a 0/1-polytope, with all coordinates as 0 or 1. It can also be seen one facet of a regular (n + 1)-orthoplex.

There is a canonical map from the standard n-simplex to an arbitrary n-simplex with vertices (v0, ..., vn) given by

( t 0 , , t n ) i = 0 n t i v i {\displaystyle (t_{0},\ldots ,t_{n})\mapsto \sum _{i=0}^{n}t_{i}v_{i}}

The coefficients ti are called the barycentric coordinates of a point in the n-simplex. Such a general simplex is often called an affine n-simplex, to emphasize that the canonical map is an affine transformation. It is also sometimes called an oriented affine n-simplex to emphasize that the canonical map may be orientation preserving or reversing.

More generally, there is a canonical map from the standard ( n 1 ) {\displaystyle (n-1)} -simplex (with n vertices) onto any polytope with n vertices, given by the same equation (modifying indexing):

( t 1 , , t n ) i = 1 n t i v i {\displaystyle (t_{1},\ldots ,t_{n})\mapsto \sum _{i=1}^{n}t_{i}v_{i}}

These are known as generalized barycentric coordinates, and express every polytope as the image of a simplex: Δ n 1 P . {\displaystyle \Delta ^{n-1}\twoheadrightarrow P.}

A commonly used function from R to the interior of the standard ( n 1 ) {\displaystyle (n-1)} -simplex is the softmax function, or normalized exponential function; this generalizes the standard logistic function.

Examples

  • Δ is the point 1 in R.
  • Δ is the line segment joining (1, 0) and (0, 1) in R.
  • Δ is the equilateral triangle with vertices (1, 0, 0), (0, 1, 0) and (0, 0, 1) in R.
  • Δ is the regular tetrahedron with vertices (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0) and (0, 0, 0, 1) in R.
  • Δ is the regular 5-cell with vertices (1, 0, 0, 0, 0), (0, 1, 0, 0, 0), (0, 0, 1, 0, 0), (0, 0, 0, 1, 0) and (0, 0, 0, 0, 1) in R.

Increasing coordinates

An alternative coordinate system is given by taking the indefinite sum:

s 0 = 0 s 1 = s 0 + t 0 = t 0 s 2 = s 1 + t 1 = t 0 + t 1 s 3 = s 2 + t 2 = t 0 + t 1 + t 2 s n = s n 1 + t n 1 = t 0 + t 1 + + t n 1 s n + 1 = s n + t n = t 0 + t 1 + + t n = 1 {\displaystyle {\begin{aligned}s_{0}&=0\\s_{1}&=s_{0}+t_{0}=t_{0}\\s_{2}&=s_{1}+t_{1}=t_{0}+t_{1}\\s_{3}&=s_{2}+t_{2}=t_{0}+t_{1}+t_{2}\\&\;\;\vdots \\s_{n}&=s_{n-1}+t_{n-1}=t_{0}+t_{1}+\cdots +t_{n-1}\\s_{n+1}&=s_{n}+t_{n}=t_{0}+t_{1}+\cdots +t_{n}=1\end{aligned}}}

This yields the alternative presentation by order, namely as nondecreasing n-tuples between 0 and 1:

Δ n = { ( s 1 , , s n ) R n 0 = s 0 s 1 s 2 s n s n + 1 = 1 } . {\displaystyle \Delta _{*}^{n}=\left\{(s_{1},\ldots ,s_{n})\in \mathbf {R} ^{n}\mid 0=s_{0}\leq s_{1}\leq s_{2}\leq \dots \leq s_{n}\leq s_{n+1}=1\right\}.}

Geometrically, this is an n-dimensional subset of R n {\displaystyle \mathbf {R} ^{n}} (maximal dimension, codimension 0) rather than of R n + 1 {\displaystyle \mathbf {R} ^{n+1}} (codimension 1). The facets, which on the standard simplex correspond to one coordinate vanishing, t i = 0 , {\displaystyle t_{i}=0,} here correspond to successive coordinates being equal, s i = s i + 1 , {\displaystyle s_{i}=s_{i+1},} while the interior corresponds to the inequalities becoming strict (increasing sequences).

A key distinction between these presentations is the behavior under permuting coordinates – the standard simplex is stabilized by permuting coordinates, while permuting elements of the "ordered simplex" do not leave it invariant, as permuting an ordered sequence generally makes it unordered. Indeed, the ordered simplex is a (closed) fundamental domain for the action of the symmetric group on the n-cube, meaning that the orbit of the ordered simplex under the n! elements of the symmetric group divides the n-cube into n ! {\displaystyle n!} mostly disjoint simplices (disjoint except for boundaries), showing that this simplex has volume 1/n!. Alternatively, the volume can be computed by an iterated integral, whose successive integrands are 1, x, x/2, x/3!, ..., x/n!.

A further property of this presentation is that it uses the order but not addition, and thus can be defined in any dimension over any ordered set, and for example can be used to define an infinite-dimensional simplex without issues of convergence of sums.

Projection onto the standard simplex

Especially in numerical applications of probability theory a projection onto the standard simplex is of interest. Given ( p i ) i {\displaystyle (p_{i})_{i}} with possibly negative entries, the closest point ( t i ) i {\displaystyle \left(t_{i}\right)_{i}} on the simplex has coordinates

t i = max { p i + Δ , 0 } , {\displaystyle t_{i}=\max\{p_{i}+\Delta \,,0\},}

where Δ {\displaystyle \Delta } is chosen such that i max { p i + Δ , 0 } = 1. {\textstyle \sum _{i}\max\{p_{i}+\Delta \,,0\}=1.}

Δ {\displaystyle \Delta } can be easily calculated from sorting pi. The sorting approach takes O ( n log n ) {\displaystyle O(n\log n)} complexity, which can be improved to O(n) complexity via median-finding algorithms. Projecting onto the simplex is computationally similar to projecting onto the 1 {\displaystyle \ell _{1}} ball.

Corner of cube

Finally, a simple variant is to replace "summing to 1" with "summing to at most 1"; this raises the dimension by 1, so to simplify notation, the indexing changes:

Δ c n = { ( t 1 , , t n ) R n   |   i = 1 n t i 1  and  t i 0  for all  i } . {\displaystyle \Delta _{c}^{n}=\left\{(t_{1},\ldots ,t_{n})\in \mathbf {R} ^{n}~{\Bigg |}~\sum _{i=1}^{n}t_{i}\leq 1{\text{ and }}t_{i}\geq 0{\text{ for all }}i\right\}.}

This yields an n-simplex as a corner of the n-cube, and is a standard orthogonal simplex. This is the simplex used in the simplex method, which is based at the origin, and locally models a vertex on a polytope with n facets.

Cartesian coordinates for a regular n-dimensional simplex in R

One way to write down a regular n-simplex in R is to choose two points to be the first two vertices, choose a third point to make an equilateral triangle, choose a fourth point to make a regular tetrahedron, and so on. Each step requires satisfying equations that ensure that each newly chosen vertex, together with the previously chosen vertices, forms a regular simplex. There are several sets of equations that can be written down and used for this purpose. These include the equality of all the distances between vertices; the equality of all the distances from vertices to the center of the simplex; the fact that the angle subtended through the new vertex by any two previously chosen vertices is π / 3 {\displaystyle \pi /3} ; and the fact that the angle subtended through the center of the simplex by any two vertices is arccos ( 1 / n ) {\displaystyle \arccos(-1/n)} .

It is also possible to directly write down a particular regular n-simplex in R which can then be translated, rotated, and scaled as desired. One way to do this is as follows. Denote the basis vectors of R by e1 through en. Begin with the standard (n − 1)-simplex which is the convex hull of the basis vectors. By adding an additional vertex, these become a face of a regular n-simplex. The additional vertex must lie on the line perpendicular to the barycenter of the standard simplex, so it has the form (α/n, ..., α/n) for some real number α. Since the squared distance between two basis vectors is 2, in order for the additional vertex to form a regular n-simplex, the squared distance between it and any of the basis vectors must also be 2. This yields a quadratic equation for α. Solving this equation shows that there are two choices for the additional vertex:

1 n ( 1 ± n + 1 ) ( 1 , , 1 ) . {\displaystyle {\frac {1}{n}}\left(1\pm {\sqrt {n+1}}\right)\cdot (1,\dots ,1).}

Either of these, together with the standard basis vectors, yields a regular n-simplex.

The above regular n-simplex is not centered on the origin. It can be translated to the origin by subtracting the mean of its vertices. By rescaling, it can be given unit side length. This results in the simplex whose vertices are:

1 2 e i 1 n 2 ( 1 ± 1 n + 1 ) ( 1 , , 1 ) , {\displaystyle {\frac {1}{\sqrt {2}}}\mathbf {e} _{i}-{\frac {1}{n{\sqrt {2}}}}{\bigg (}1\pm {\frac {1}{\sqrt {n+1}}}{\bigg )}\cdot (1,\dots ,1),}

for 1 i n {\displaystyle 1\leq i\leq n} , and

± 1 2 ( n + 1 ) ( 1 , , 1 ) . {\displaystyle \pm {\frac {1}{\sqrt {2(n+1)}}}\cdot (1,\dots ,1).}

Note that there are two sets of vertices described here. One set uses + {\displaystyle +} in each calculation. The other set uses {\displaystyle -} in each calculation.

This simplex is inscribed in a hypersphere of radius n / ( 2 ( n + 1 ) ) {\displaystyle {\sqrt {n/(2(n+1))}}} .

A different rescaling produces a simplex that is inscribed in a unit hypersphere. When this is done, its vertices are

1 + n 1 e i n 3 / 2 ( n + 1 ± 1 ) ( 1 , , 1 ) , {\displaystyle {\sqrt {1+n^{-1}}}\cdot \mathbf {e} _{i}-n^{-3/2}({\sqrt {n+1}}\pm 1)\cdot (1,\dots ,1),}

where 1 i n {\displaystyle 1\leq i\leq n} , and

± n 1 / 2 ( 1 , , 1 ) . {\displaystyle \pm n^{-1/2}\cdot (1,\dots ,1).}

The side length of this simplex is 2 ( n + 1 ) / n {\textstyle {\sqrt {2(n+1)/n}}} .

A highly symmetric way to construct a regular n-simplex is to use a representation of the cyclic group Zn+1 by orthogonal matrices. This is an n × n orthogonal matrix Q such that Q = I is the identity matrix, but no lower power of Q is. Applying powers of this matrix to an appropriate vector v will produce the vertices of a regular n-simplex. To carry this out, first observe that for any orthogonal matrix Q, there is a choice of basis in which Q is a block diagonal matrix

Q = diag ( Q 1 , Q 2 , , Q k ) , {\displaystyle Q=\operatorname {diag} (Q_{1},Q_{2},\dots ,Q_{k}),}

where each Qi is orthogonal and either 2 × 2 or 1 × 1. In order for Q to have order n + 1, all of these matrices must have order dividing n + 1. Therefore each Qi is either a 1 × 1 matrix whose only entry is 1 or, if n is odd, −1; or it is a 2 × 2 matrix of the form

( cos 2 π ω i n + 1 sin 2 π ω i n + 1 sin 2 π ω i n + 1 cos 2 π ω i n + 1 ) , {\displaystyle {\begin{pmatrix}\cos {\frac {2\pi \omega _{i}}{n+1}}&-\sin {\frac {2\pi \omega _{i}}{n+1}}\\\sin {\frac {2\pi \omega _{i}}{n+1}}&\cos {\frac {2\pi \omega _{i}}{n+1}}\end{pmatrix}},}

where each ωi is an integer between zero and n inclusive. A sufficient condition for the orbit of a point to be a regular simplex is that the matrices Qi form a basis for the non-trivial irreducible real representations of Zn+1, and the vector being rotated is not stabilized by any of them.

In practical terms, for n even this means that every matrix Qi is 2 × 2, there is an equality of sets

{ ω 1 , n + 1 ω 1 , , ω n / 2 , n + 1 ω n / 2 } = { 1 , , n } , {\displaystyle \{\omega _{1},n+1-\omega _{1},\dots ,\omega _{n/2},n+1-\omega _{n/2}\}=\{1,\dots ,n\},}

and, for every Qi, the entries of v upon which Qi acts are not both zero. For example, when n = 4, one possible matrix is

( cos ( 2 π / 5 ) sin ( 2 π / 5 ) 0 0 sin ( 2 π / 5 ) cos ( 2 π / 5 ) 0 0 0 0 cos ( 4 π / 5 ) sin ( 4 π / 5 ) 0 0 sin ( 4 π / 5 ) cos ( 4 π / 5 ) ) . {\displaystyle {\begin{pmatrix}\cos(2\pi /5)&-\sin(2\pi /5)&0&0\\\sin(2\pi /5)&\cos(2\pi /5)&0&0\\0&0&\cos(4\pi /5)&-\sin(4\pi /5)\\0&0&\sin(4\pi /5)&\cos(4\pi /5)\end{pmatrix}}.}

Applying this to the vector (1, 0, 1, 0) results in the simplex whose vertices are

( 1 0 1 0 ) , ( cos ( 2 π / 5 ) sin ( 2 π / 5 ) cos ( 4 π / 5 ) sin ( 4 π / 5 ) ) , ( cos ( 4 π / 5 ) sin ( 4 π / 5 ) cos ( 8 π / 5 ) sin ( 8 π / 5 ) ) , ( cos ( 6 π / 5 ) sin ( 6 π / 5 ) cos ( 2 π / 5 ) sin ( 2 π / 5 ) ) , ( cos ( 8 π / 5 ) sin ( 8 π / 5 ) cos ( 6 π / 5 ) sin ( 6 π / 5 ) ) , {\displaystyle {\begin{pmatrix}1\\0\\1\\0\end{pmatrix}},{\begin{pmatrix}\cos(2\pi /5)\\\sin(2\pi /5)\\\cos(4\pi /5)\\\sin(4\pi /5)\end{pmatrix}},{\begin{pmatrix}\cos(4\pi /5)\\\sin(4\pi /5)\\\cos(8\pi /5)\\\sin(8\pi /5)\end{pmatrix}},{\begin{pmatrix}\cos(6\pi /5)\\\sin(6\pi /5)\\\cos(2\pi /5)\\\sin(2\pi /5)\end{pmatrix}},{\begin{pmatrix}\cos(8\pi /5)\\\sin(8\pi /5)\\\cos(6\pi /5)\\\sin(6\pi /5)\end{pmatrix}},}

each of which has distance √5 from the others. When n is odd, the condition means that exactly one of the diagonal blocks is 1 × 1, equal to −1, and acts upon a non-zero entry of v; while the remaining diagonal blocks, say Q1, ..., Q(n − 1) / 2, are 2 × 2, there is an equality of sets

{ ω 1 , ω 1 , , ω ( n 1 ) / 2 , ω n 1 ) / 2 } = { 1 , , ( n 1 ) / 2 , ( n + 3 ) / 2 , , n } , {\displaystyle \left\{\omega _{1},-\omega _{1},\dots ,\omega _{(n-1)/2},-\omega _{n-1)/2}\right\}=\left\{1,\dots ,(n-1)/2,(n+3)/2,\dots ,n\right\},}

and each diagonal block acts upon a pair of entries of v which are not both zero. So, for example, when n = 3, the matrix can be

( 0 1 0 1 0 0 0 0 1 ) . {\displaystyle {\begin{pmatrix}0&-1&0\\1&0&0\\0&0&-1\\\end{pmatrix}}.}

For the vector (1, 0, 1/√2), the resulting simplex has vertices

( 1 0 1 / 2 ) , ( 0 1 1 / 2 ) , ( 1 0 1 / 2 ) , ( 0 1 1 / 2 ) , {\displaystyle {\begin{pmatrix}1\\0\\1/\surd 2\end{pmatrix}},{\begin{pmatrix}0\\1\\-1/\surd 2\end{pmatrix}},{\begin{pmatrix}-1\\0\\1/\surd 2\end{pmatrix}},{\begin{pmatrix}0\\-1\\-1/\surd 2\end{pmatrix}},}

each of which has distance 2 from the others.

Geometric properties

Volume

The volume of an n-simplex in n-dimensional space with vertices (v0, ..., vn) is

V o l u m e = 1 n ! | det ( v 1 v 0 v 2 v 0 v n v 0 ) | {\displaystyle \mathrm {Volume} ={\frac {1}{n!}}\left|\det {\begin{pmatrix}v_{1}-v_{0}&&v_{2}-v_{0}&&\cdots &&v_{n}-v_{0}\end{pmatrix}}\right|}

where each column of the n × n determinant is a vector that points from vertex v0 to another vertex vk. This formula is particularly useful when v 0 {\displaystyle v_{0}} is the origin.

The expression

V o l u m e = 1 n ! det [ ( v 1 T v 0 T v 2 T v 0 T v n T v 0 T ) ( v 1 v 0 v 2 v 0 v n v 0 ) ] 1 / 2 {\displaystyle \mathrm {Volume} ={\frac {1}{n!}}\det \left^{1/2}}

employs a Gram determinant and works even when the n-simplex's vertices are in a Euclidean space with more than n dimensions, e.g., a triangle in R 3 {\displaystyle \mathbf {R} ^{3}} .

A more symmetric way to compute the volume of an n-simplex in R n {\displaystyle \mathbf {R} ^{n}} is

V o l u m e = 1 n ! | det ( v 0 v 1 v n 1 1 1 ) | . {\displaystyle \mathrm {Volume} ={1 \over n!}\left|\det {\begin{pmatrix}v_{0}&v_{1}&\cdots &v_{n}\\1&1&\cdots &1\end{pmatrix}}\right|.}

Another common way of computing the volume of the simplex is via the Cayley–Menger determinant, which works even when the n-simplex's vertices are in a Euclidean space with more than n dimensions.

Without the 1/n! it is the formula for the volume of an n-parallelotope. This can be understood as follows: Assume that P is an n-parallelotope constructed on a basis ( v 0 , e 1 , , e n ) {\displaystyle (v_{0},e_{1},\ldots ,e_{n})} of R n {\displaystyle \mathbf {R} ^{n}} . Given a permutation σ {\displaystyle \sigma } of { 1 , 2 , , n } {\displaystyle \{1,2,\ldots ,n\}} , call a list of vertices v 0 ,   v 1 , , v n {\displaystyle v_{0},\ v_{1},\ldots ,v_{n}} a n-path if

v 1 = v 0 + e σ ( 1 ) ,   v 2 = v 1 + e σ ( 2 ) , , v n = v n 1 + e σ ( n ) {\displaystyle v_{1}=v_{0}+e_{\sigma (1)},\ v_{2}=v_{1}+e_{\sigma (2)},\ldots ,v_{n}=v_{n-1}+e_{\sigma (n)}}

(so there are n! n-paths and v n {\displaystyle v_{n}} does not depend on the permutation). The following assertions hold:

If P is the unit n-hypercube, then the union of the n-simplexes formed by the convex hull of each n-path is P, and these simplexes are congruent and pairwise non-overlapping. In particular, the volume of such a simplex is

Vol ( P ) n ! = 1 n ! . {\displaystyle {\frac {\operatorname {Vol} (P)}{n!}}={\frac {1}{n!}}.}

If P is a general parallelotope, the same assertions hold except that it is no longer true, in dimension > 2, that the simplexes need to be pairwise congruent; yet their volumes remain equal, because the n-parallelotope is the image of the unit n-hypercube by the linear isomorphism that sends the canonical basis of R n {\displaystyle \mathbf {R} ^{n}} to e 1 , , e n {\displaystyle e_{1},\ldots ,e_{n}} . As previously, this implies that the volume of a simplex coming from a n-path is:

Vol ( P ) n ! = det ( e 1 , , e n ) n ! . {\displaystyle {\frac {\operatorname {Vol} (P)}{n!}}={\frac {\det(e_{1},\ldots ,e_{n})}{n!}}.}

Conversely, given an n-simplex ( v 0 ,   v 1 ,   v 2 , v n ) {\displaystyle (v_{0},\ v_{1},\ v_{2},\ldots v_{n})} of R n {\displaystyle \mathbf {R} ^{n}} , it can be supposed that the vectors e 1 = v 1 v 0 ,   e 2 = v 2 v 1 , e n = v n v n 1 {\displaystyle e_{1}=v_{1}-v_{0},\ e_{2}=v_{2}-v_{1},\ldots e_{n}=v_{n}-v_{n-1}} form a basis of R n {\displaystyle \mathbf {R} ^{n}} . Considering the parallelotope constructed from v 0 {\displaystyle v_{0}} and e 1 , , e n {\displaystyle e_{1},\ldots ,e_{n}} , one sees that the previous formula is valid for every simplex.

Finally, the formula at the beginning of this section is obtained by observing that

det ( v 1 v 0 , v 2 v 0 , , v n v 0 ) = det ( v 1 v 0 , v 2 v 1 , , v n v n 1 ) . {\displaystyle \det(v_{1}-v_{0},v_{2}-v_{0},\ldots ,v_{n}-v_{0})=\det(v_{1}-v_{0},v_{2}-v_{1},\ldots ,v_{n}-v_{n-1}).}

From this formula, it follows immediately that the volume under a standard n-simplex (i.e. between the origin and the simplex in R) is

1 ( n + 1 ) ! {\displaystyle {1 \over (n+1)!}}

The volume of a regular n-simplex with unit side length is

n + 1 n ! 2 n {\displaystyle {\frac {\sqrt {n+1}}{n!{\sqrt {2^{n}}}}}}

as can be seen by multiplying the previous formula by x, to get the volume under the n-simplex as a function of its vertex distance x from the origin, differentiating with respect to x, at x = 1 / 2 {\displaystyle x=1/{\sqrt {2}}}   (where the n-simplex side length is 1), and normalizing by the length d x / n + 1 {\displaystyle dx/{\sqrt {n+1}}} of the increment, ( d x / ( n + 1 ) , , d x / ( n + 1 ) ) {\displaystyle (dx/(n+1),\ldots ,dx/(n+1))} , along the normal vector.

Dihedral angles of the regular n-simplex

Any two (n − 1)-dimensional faces of a regular n-dimensional simplex are themselves regular (n − 1)-dimensional simplices, and they have the same dihedral angle of cos(1/n).

This can be seen by noting that the center of the standard simplex is ( 1 n + 1 , , 1 n + 1 ) {\textstyle \left({\frac {1}{n+1}},\dots ,{\frac {1}{n+1}}\right)} , and the centers of its faces are coordinate permutations of ( 0 , 1 n , , 1 n ) {\textstyle \left(0,{\frac {1}{n}},\dots ,{\frac {1}{n}}\right)} . Then, by symmetry, the vector pointing from ( 1 n + 1 , , 1 n + 1 ) {\textstyle \left({\frac {1}{n+1}},\dots ,{\frac {1}{n+1}}\right)} to ( 0 , 1 n , , 1 n ) {\textstyle \left(0,{\frac {1}{n}},\dots ,{\frac {1}{n}}\right)} is perpendicular to the faces. So the vectors normal to the faces are permutations of ( n , 1 , , 1 ) {\displaystyle (-n,1,\dots ,1)} , from which the dihedral angles are calculated.

Simplices with an "orthogonal corner"

An "orthogonal corner" means here that there is a vertex at which all adjacent edges are pairwise orthogonal. It immediately follows that all adjacent faces are pairwise orthogonal. Such simplices are generalizations of right triangles and for them there exists an n-dimensional version of the Pythagorean theorem: The sum of the squared (n − 1)-dimensional volumes of the facets adjacent to the orthogonal corner equals the squared (n − 1)-dimensional volume of the facet opposite of the orthogonal corner.

k = 1 n | A k | 2 = | A 0 | 2 {\displaystyle \sum _{k=1}^{n}|A_{k}|^{2}=|A_{0}|^{2}}

where A 1 A n {\displaystyle A_{1}\ldots A_{n}} are facets being pairwise orthogonal to each other but not orthogonal to A 0 {\displaystyle A_{0}} , which is the facet opposite the orthogonal corner.

For a 2-simplex, the theorem is the Pythagorean theorem for triangles with a right angle and for a 3-simplex it is de Gua's theorem for a tetrahedron with an orthogonal corner.

Relation to the (n + 1)-hypercube

The Hasse diagram of the face lattice of an n-simplex is isomorphic to the graph of the (n + 1)-hypercube's edges, with the hypercube's vertices mapping to each of the n-simplex's elements, including the entire simplex and the null polytope as the extreme points of the lattice (mapped to two opposite vertices on the hypercube). This fact may be used to efficiently enumerate the simplex's face lattice, since more general face lattice enumeration algorithms are more computationally expensive.

The n-simplex is also the vertex figure of the (n + 1)-hypercube. It is also the facet of the (n + 1)-orthoplex.

Topology

Topologically, an n-simplex is equivalent to an n-ball. Every n-simplex is an n-dimensional manifold with corners.

Probability

Main article: Categorical distribution

In probability theory, the points of the standard n-simplex in (n + 1)-space form the space of possible probability distributions on a finite set consisting of n + 1 possible outcomes. The correspondence is as follows: For each distribution described as an ordered (n + 1)-tuple of probabilities whose sum is (necessarily) 1, we associate the point of the simplex whose barycentric coordinates are precisely those probabilities. That is, the kth vertex of the simplex is assigned to have the kth probability of the (n + 1)-tuple as its barycentric coefficient. This correspondence is an affine homeomorphism.

Aitchison geometry

Main article: Aitchison geometry

Aitchinson geometry is a natural way to construct an inner product space from the standard simplex Δ D 1 {\displaystyle \Delta ^{D-1}} . It defines the following operations on simplices and real numbers:

Perturbation (addition)
x y = [ x 1 y 1 i = 1 D x i y i , x 2 y 2 i = 1 D x i y i , , x D y D i = 1 D x i y i ] x , y Δ D 1 {\displaystyle x\oplus y=\left\qquad \forall x,y\in \Delta ^{D-1}}
Powering (scalar multiplication)
α x = [ x 1 α i = 1 D x i α , x 2 α i = 1 D x i α , , x D α i = 1 D x i α ] x Δ D 1 , α R {\displaystyle \alpha \odot x=\left\qquad \forall x\in \Delta ^{D-1},\;\alpha \in \mathbb {R} }
Inner product
x , y = 1 2 D i = 1 D j = 1 D log x i x j log y i y j x , y Δ D 1 {\displaystyle \langle x,y\rangle ={\frac {1}{2D}}\sum _{i=1}^{D}\sum _{j=1}^{D}\log {\frac {x_{i}}{x_{j}}}\log {\frac {y_{i}}{y_{j}}}\qquad \forall x,y\in \Delta ^{D-1}}

Compounds

Since all simplices are self-dual, they can form a series of compounds;

Algebraic topology

In algebraic topology, simplices are used as building blocks to construct an interesting class of topological spaces called simplicial complexes. These spaces are built from simplices glued together in a combinatorial fashion. Simplicial complexes are used to define a certain kind of homology called simplicial homology.

A finite set of k-simplexes embedded in an open subset of R is called an affine k-chain. The simplexes in a chain need not be unique; they may occur with multiplicity. Rather than using standard set notation to denote an affine chain, it is instead the standard practice to use plus signs to separate each member in the set. If some of the simplexes have the opposite orientation, these are prefixed by a minus sign. If some of the simplexes occur in the set more than once, these are prefixed with an integer count. Thus, an affine chain takes the symbolic form of a sum with integer coefficients.

Note that each facet of an n-simplex is an affine (n − 1)-simplex, and thus the boundary of an n-simplex is an affine (n − 1)-chain. Thus, if we denote one positively oriented affine simplex as

σ = [ v 0 , v 1 , v 2 , , v n ] {\displaystyle \sigma =}

with the v j {\displaystyle v_{j}} denoting the vertices, then the boundary σ {\displaystyle \partial \sigma } of σ is the chain

σ = j = 0 n ( 1 ) j [ v 0 , , v j 1 , v j + 1 , , v n ] . {\displaystyle \partial \sigma =\sum _{j=0}^{n}(-1)^{j}.}

It follows from this expression, and the linearity of the boundary operator, that the boundary of the boundary of a simplex is zero:

2 σ = ( j = 0 n ( 1 ) j [ v 0 , , v j 1 , v j + 1 , , v n ] ) = 0. {\displaystyle \partial ^{2}\sigma =\partial \left(\sum _{j=0}^{n}(-1)^{j}\right)=0.}

Likewise, the boundary of the boundary of a chain is zero: 2 ρ = 0 {\displaystyle \partial ^{2}\rho =0} .

More generally, a simplex (and a chain) can be embedded into a manifold by means of smooth, differentiable map f : R n M {\displaystyle f:\mathbf {R} ^{n}\to M} . In this case, both the summation convention for denoting the set, and the boundary operation commute with the embedding. That is,

f ( i a i σ i ) = i a i f ( σ i ) {\displaystyle f\left(\sum \nolimits _{i}a_{i}\sigma _{i}\right)=\sum \nolimits _{i}a_{i}f(\sigma _{i})}

where the a i {\displaystyle a_{i}} are the integers denoting orientation and multiplicity. For the boundary operator {\displaystyle \partial } , one has:

f ( ρ ) = f ( ρ ) {\displaystyle \partial f(\rho )=f(\partial \rho )}

where ρ is a chain. The boundary operation commutes with the mapping because, in the end, the chain is defined as a set and little more, and the set operation always commutes with the map operation (by definition of a map).

A continuous map f : σ X {\displaystyle f:\sigma \to X} to a topological space X is frequently referred to as a singular n-simplex. (A map is generally called "singular" if it fails to have some desirable property such as continuity and, in this case, the term is meant to reflect to the fact that the continuous map need not be an embedding.)

Algebraic geometry

Since classical algebraic geometry allows one to talk about polynomial equations but not inequalities, the algebraic standard n-simplex is commonly defined as the subset of affine (n + 1)-dimensional space, where all coordinates sum up to 1 (thus leaving out the inequality part). The algebraic description of this set is Δ n := { x A n + 1   |   i = 1 n + 1 x i = 1 } , {\displaystyle \Delta ^{n}:=\left\{x\in \mathbb {A} ^{n+1}~{\Bigg |}~\sum _{i=1}^{n+1}x_{i}=1\right\},} which equals the scheme-theoretic description Δ n ( R ) = Spec ( R [ Δ n ] ) {\displaystyle \Delta _{n}(R)=\operatorname {Spec} (R)} with R [ Δ n ] := R [ x 1 , , x n + 1 ] / ( 1 x i ) {\displaystyle R:=R\left/\left(1-\sum x_{i}\right)\right.} the ring of regular functions on the algebraic n-simplex (for any ring R {\displaystyle R} ).

By using the same definitions as for the classical n-simplex, the n-simplices for different dimensions n assemble into one simplicial object, while the rings R [ Δ n ] {\displaystyle R} assemble into one cosimplicial object R [ Δ ] {\displaystyle R} (in the category of schemes resp. rings, since the face and degeneracy maps are all polynomial).

The algebraic n-simplices are used in higher K-theory and in the definition of higher Chow groups.

Applications

See also

Notes

  1. Elte, E.L. (2006) . "IV. five dimensional semiregular polytope". The Semiregular Polytopes of the Hyperspaces. Simon & Schuster. ISBN 978-1-4181-7968-7.
  2. Boyd & Vandenberghe 2004
  3. Miller, Jeff, "Simplex", Earliest Known Uses of Some of the Words of Mathematics, retrieved 2018-01-08
  4. Coxeter 1973, pp. 120–124, §7.2.
  5. Coxeter 1973, p. 120.
  6. Sloane, N. J. A. (ed.). "Sequence A135278 (Pascal's triangle with its left-hand edge removed)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  7. Kozlov, Dimitry, Combinatorial Algebraic Topology, 2008, Springer-Verlag (Series: Algorithms and Computation in Mathematics)
  8. Yunmei Chen; Xiaojing Ye (2011). "Projection Onto A Simplex". arXiv:1101.6081 .
  9. MacUlan, N.; De Paula, G. G. (1989). "A linear-time median-finding algorithm for projecting a vector on the simplex of n". Operations Research Letters. 8 (4): 219. doi:10.1016/0167-6377(89)90064-3.
  10. A derivation of a very similar formula can be found in Stein, P. (1966). "A Note on the Volume of a Simplex". American Mathematical Monthly. 73 (3): 299–301. doi:10.2307/2315353. JSTOR 2315353.
  11. Colins, Karen D. "Cayley-Menger Determinant". MathWorld.
  12. Every n-path corresponding to a permutation σ {\displaystyle \scriptstyle \sigma } is the image of the n-path v 0 ,   v 0 + e 1 ,   v 0 + e 1 + e 2 , v 0 + e 1 + + e n {\displaystyle \scriptstyle v_{0},\ v_{0}+e_{1},\ v_{0}+e_{1}+e_{2},\ldots v_{0}+e_{1}+\cdots +e_{n}} by the affine isometry that sends v 0 {\displaystyle \scriptstyle v_{0}} to v 0 {\displaystyle \scriptstyle v_{0}} , and whose linear part matches e i {\displaystyle \scriptstyle e_{i}} to e σ ( i ) {\displaystyle \scriptstyle e_{\sigma (i)}} for all i. hence every two n-paths are isometric, and so is their convex hulls; this explains the congruence of the simplexes. To show the other assertions, it suffices to remark that the interior of the simplex determined by the n-path v 0 ,   v 0 + e σ ( 1 ) ,   v 0 + e σ ( 1 ) + e σ ( 2 ) v 0 + e σ ( 1 ) + + e σ ( n ) {\displaystyle \scriptstyle v_{0},\ v_{0}+e_{\sigma (1)},\ v_{0}+e_{\sigma (1)}+e_{\sigma (2)}\ldots v_{0}+e_{\sigma (1)}+\cdots +e_{\sigma (n)}} is the set of points v 0 + ( x 1 + + x n ) e σ ( 1 ) + + ( x n 1 + x n ) e σ ( n 1 ) + x n e σ ( n ) {\displaystyle \scriptstyle v_{0}+(x_{1}+\cdots +x_{n})e_{\sigma (1)}+\cdots +(x_{n-1}+x_{n})e_{\sigma (n-1)}+x_{n}e_{\sigma (n)}} , with 0 < x i < 1 {\displaystyle \scriptstyle 0<x_{i}<1} and x 1 + + x n < 1. {\displaystyle \scriptstyle x_{1}+\cdots +x_{n}<1.} Hence the components of these points with respect to each corresponding permuted basis are strictly ordered in the decreasing order. That explains why the simplexes are non-overlapping. The fact that the union of the simplexes is the whole unit n-hypercube follows as well, replacing the strict inequalities above by " {\displaystyle \scriptstyle \leq } ". The same arguments are also valid for a general parallelotope, except the isometry between the simplexes.
  13. Parks, Harold R.; Wills, Dean C. (October 2002). "An Elementary Calculation of the Dihedral Angle of the Regular n-Simplex". American Mathematical Monthly. 109 (8): 756–8. doi:10.2307/3072403. JSTOR 3072403.
  14. Wills, Harold R.; Parks, Dean C. (June 2009). Connections between combinatorics of permutations and algorithms and geometry (PhD). Oregon State University. hdl:1957/11929.
  15. Donchian, P. S.; Coxeter, H. S. M. (July 1935). "1142. An n-dimensional extension of Pythagoras' Theorem". The Mathematical Gazette. 19 (234): 206. doi:10.2307/3605876. JSTOR 3605876. S2CID 125391795.
  16. Lee, John M. (2006). Introduction to Topological Manifolds. Springer. pp. 292–3. ISBN 978-0-387-22727-6.
  17. Cornell, John (2002). Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data (third ed.). Wiley. ISBN 0-471-07916-2.
  18. Vondran, Gary L. (April 1998). "Radial and Pruned Tetrahedral Interpolation Techniques" (PDF). HP Technical Report. HPL-98-95: 1–32. Archived from the original (PDF) on 2011-06-07. Retrieved 2009-11-11.

References

Dimension
Dimensional spaces Animated tesseract
Other dimensions
Polytopes and shapes
Number systems
Dimensions by number
See also
Category
Fundamental convex regular and uniform polytopes in dimensions 2–10
Family An Bn I2(p) / Dn E6 / E7 / E8 / F4 / G2 Hn
Regular polygon Triangle Square p-gon Hexagon Pentagon
Uniform polyhedron Tetrahedron OctahedronCube Demicube DodecahedronIcosahedron
Uniform polychoron Pentachoron 16-cellTesseract Demitesseract 24-cell 120-cell600-cell
Uniform 5-polytope 5-simplex 5-orthoplex5-cube 5-demicube
Uniform 6-polytope 6-simplex 6-orthoplex6-cube 6-demicube 122221
Uniform 7-polytope 7-simplex 7-orthoplex7-cube 7-demicube 132231321
Uniform 8-polytope 8-simplex 8-orthoplex8-cube 8-demicube 142241421
Uniform 9-polytope 9-simplex 9-orthoplex9-cube 9-demicube
Uniform 10-polytope 10-simplex 10-orthoplex10-cube 10-demicube
Uniform n-polytope n-simplex n-orthoplexn-cube n-demicube 1k22k1k21 n-pentagonal polytope
Topics: Polytope familiesRegular polytopeList of regular polytopes and compounds
Categories: