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 -simplex is a -dimensional polytope that is the convex hull of its vertices. More formally, suppose the points
u0,...,uk
u1-u0,...,uk-u0
A regular simplex[1] is a simplex that is also a regular polytope. A regular -simplex may be constructed from a regular -simplex by connecting a new vertex to all original vertices by the common edge length.
The standard simplex or probability simplex is the -dimensional simplex whose vertices are the standard unit vectors in
Rk
In topology and combinatorics, it is common to "glue together" simplices to form a simplicial complex. The associated combinatorial structure is called an abstract simplicial complex, in which context the word "simplex" simply means any finite set of vertices.
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, the other two being the cross-polytope family, labeled as, and the hypercubes, labeled as . A fourth family, the tessellation of -dimensional space by infinitely many hypercubes, he labeled as .
\tbinom{n+1}{m+1}
The extended f-vector for an -simplex can be computed by, like the coefficients of polynomial products. For example, a 7-simplex is (1,1)8 = (1,2,1)4 = (1,4,6,4,1)2 = (1,8,28,56,70,56,28,8,1).
The number of 1-faces (edges) of the -simplex is the -th triangle number, the number of 2-faces of the -simplex is the th tetrahedron number, the number of 3-faces of the -simplex is the th 5-cell number, and so on.
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 = 2n+1 − 1 | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Δ0 | 0-simplex (point) | 1 | 1 | ||||||||||||
Δ1 | 1-simplex (line segment) | = ( ) ∨ ( ) = 2⋅( ) | 2 | 1 | 3 | ||||||||||
Δ2 | 2-simplex (triangle) | = 3⋅( ) | 3 | 3 | 1 | 7 | |||||||||
Δ3 | 3-simplex (tetrahedron) | = 4⋅( ) | 4 | 6 | 4 | 1 | 15 | ||||||||
Δ4 | 4-simplex (5-cell) | = 5⋅( ) | 5 | 10 | 10 | 5 | 1 | 31 | |||||||
Δ5 | 5-simplex | = 6⋅( ) | 6 | 15 | 20 | 15 | 6 | 1 | 63 | ||||||
Δ6 | 6-simplex | = 7⋅( ) | 7 | 21 | 35 | 35 | 21 | 7 | 1 | 127 | |||||
Δ7 | 7-simplex | = 8⋅( ) | 8 | 28 | 56 | 70 | 56 | 28 | 8 | 1 | 255 | ||||
Δ8 | 8-simplex | = 9⋅( ) | 9 | 36 | 84 | 126 | 126 | 84 | 36 | 9 | 1 | 511 | |||
Δ9 | 9-simplex | = 10⋅( ) | 10 | 45 | 120 | 210 | 252 | 210 | 120 | 45 | 10 | 1 | 1023 | ||
Δ10 | 10-simplex | = 11⋅( ) | 11 | 55 | 165 | 330 | 462 | 462 | 330 | 165 | 55 | 11 | 1 | 2047 |
An -simplex is the polytope with the fewest vertices that requires 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 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 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 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 -simplex can be constructed as a join (∨ operator) of an -simplex and a point, . An -simplex can be constructed as a join of an -simplex and an -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: . 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 . 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: or . A regular tetrahedron is or and so on.
In some conventions,[3] the empty set is defined to be a (−1)-simplex. The definition of the simplex above still makes sense if . This convention is more common in applications to algebraic topology (such as simplicial homology) than to the study of polytopes.
These Petrie polygons (skew orthogonal projections) show all the vertices of the regular simplex on a circle, and all vertex pairs connected by edges.
The standard -simplex (or unit -simplex) is the subset of given by
\Deltan=\left\{(t0,...,t
n+1 | |
n)\inR |
~|~
n | |
\sum | |
i=0 |
ti=1andti\ge0fori=0,\ldots,n\right\}
The simplex lies in the affine hyperplane obtained by removing the restriction in the above definition.
The vertices of the standard -simplex are the points, where
⋮
.
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 -orthoplex.
There is a canonical map from the standard -simplex to an arbitrary -simplex with vertices (...,) given by
(t0,\ldots,tn)\mapsto
n | |
\sum | |
i=0 |
tivi
More generally, there is a canonical map from the standard
(n-1)
(t1,\ldots,tn)\mapsto
n | |
\sum | |
i=1 |
tivi
\Deltan-1\twoheadrightarrowP.
A commonly used function from to the interior of the standard
(n-1)
An alternative coordinate system is given by taking the indefinite sum:
\begin{align} s0&=0\\ s1&=s0+t0=t0\\ s2&=s1+t1=t0+t1\\ s3&=s2+t2=t0+t1+t2\\ & \vdots\\ sn&=sn-1+tn-1=t0+t1+ … +tn-1\\ sn+1&=sn+tn=t0+t1+ … +tn=1 \end{align}
n | |
\Delta | |
* |
=\left\{(s1,\ldots,s
n\mid | |
n)\inR |
0=s0\leqs1\leqs2\leq...\leqsn\leqsn+1=1\right\}.
Rn
Rn+1
ti=0,
si=si+1,
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 -cube, meaning that the orbit of the ordered simplex under the ! elements of the symmetric group divides the -cube into
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.
Especially in numerical applications of probability theory a projection onto the standard simplex is of interest. Given
(pi)i
\left(ti\right)i
ti=max\{pi+\Delta,0\},
\Delta
\Delta
O(nlogn)
\ell1
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:
n | |
\Delta | |
c |
=\left\{(t1,\ldots,t
n | |
n)\inR |
~|~
n | |
\sum | |
i=1 |
ti\leq1andti\ge0foralli\right\}.
One way to write down a regular -simplex in 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
\pi/3
\arccos(-1/n)
It is also possible to directly write down a particular regular -simplex in which can then be translated, rotated, and scaled as desired. One way to do this is as follows. Denote the basis vectors of by through . Begin with the standard -simplex which is the convex hull of the basis vectors. By adding an additional vertex, these become a face of a regular -simplex. The additional vertex must lie on the line perpendicular to the barycenter of the standard simplex, so it has the form for some real number . Since the squared distance between two basis vectors is 2, in order for the additional vertex to form a regular -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 |
\left(1\pm\sqrt{n+1}\right) ⋅ (1,...,1).
The above regular -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 | |
\sqrt{2 |
1\lei\len
\pm | 1 |
\sqrt{2(n+1) |
+
-
This simplex is inscribed in a hypersphere of radius
\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
\sqrt{1+n-1
1\lei\len
\pmn-1/2 ⋅ (1,...,1).
A highly symmetric way to construct a regular -simplex is to use a representation of the cyclic group by orthogonal matrices. This is an orthogonal matrix such that is the identity matrix, but no lower power of is. Applying powers of this matrix to an appropriate vector will produce the vertices of a regular -simplex. To carry this out, first observe that for any orthogonal matrix, there is a choice of basis in which is a block diagonal matrix
Q=\operatorname{diag}(Q1,Q2,...,Qk),
\begin{pmatrix} \cos
2\pi\omegai | |
n+1 |
&-\sin
2\pi\omegai | |
n+1 |
\\ \sin
2\pi\omegai | |
n+1 |
&\cos
2\pi\omegai | |
n+1 |
\end{pmatrix},
In practical terms, for even this means that every matrix is, there is an equality of sets
\{\omega1,n+1-\omega1,...,\omegan/2,n+1-\omegan/2\}=\{1,...,n\},
\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}.
\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},
\left\{\omega1,-\omega1,...,\omega(n-1)/2,-\omegan-1)/2\right\}=\left\{1,...,(n-1)/2,(n+3)/2,...,n\right\},
\begin{pmatrix} 0&-1&0\\ 1&0&0\\ 0&0&-1\\ \end{pmatrix}.
\begin{pmatrix}1\ 0\ 1/\surd2\end{pmatrix}, \begin{pmatrix}0\ 1\ -1/\surd2\end{pmatrix}, \begin{pmatrix}-1\ 0\ 1/\surd2\end{pmatrix}, \begin{pmatrix}0\ -1\ -1/\surd2\end{pmatrix},
The volume of an -simplex in -dimensional space with vertices is
Volume=
1 | |
n! |
\left|\det \begin{pmatrix} v1-v0&&v2-v0&& … &&vn-v0 \end{pmatrix}\right|
where each column of the determinant is a vector that points from vertex to another vertex .[6] This formula is particularly useful when
v0
The expression
Volume=
1 | |
n! |
T | |
\det\left[ \begin{pmatrix} v | |
0 |
T | |
\ v | |
0 |
\ \vdots
T \end{pmatrix} \begin{pmatrix} v | |
\ v | |
1-v |
0&v2-v0& … &vn-v
1/2 | |
0 \end{pmatrix} \right] |
R3
A more symmetric way to compute the volume of an -simplex in
Rn
Volume={1\overn!}\left|\det \begin{pmatrix} v0&v1& … &vn\\ 1&1& … &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 it is the formula for the volume of an -parallelotope. This can be understood as follows: Assume that is an -parallelotope constructed on a basis
(v0,e1,\ldots,en)
Rn
\sigma
\{1,2,\ldots,n\}
v0, v1,\ldots,vn
v1=v0+e\sigma(1), v2=v1+e\sigma(2),\ldots,vn=vn-1+e\sigma(n)
vn
If is the unit -hypercube, then the union of the -simplexes formed by the convex hull of each -path is, and these simplexes are congruent and pairwise non-overlapping.[7] In particular, the volume of such a simplex is
\operatorname{Vol | |
(P)}{n!} |
=
1 | |
n! |
.
If 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 -parallelotope is the image of the unit -hypercube by the linear isomorphism that sends the canonical basis of
Rn
e1,\ldots,en
\operatorname{Vol | |
(P)}{n!} |
=
\det(e1,\ldots,en) | |
n! |
.
Conversely, given an -simplex
(v0, v1, v2,\ldotsvn)
Rn
e1=v1-v0, e2=v2-v1,\ldotsen=vn-vn-1
Rn
v0
e1,\ldots,en
Finally, the formula at the beginning of this section is obtained by observing that
\det(v1-v0,v2-v0,\ldots,vn-v0)=\det(v1-v0,v2-v1,\ldots,vn-vn-1).
From this formula, it follows immediately that the volume under a standard -simplex (i.e. between the origin and the simplex in) is
{1\over(n+1)!}
The volume of a regular -simplex with unit side length is
\sqrt{n+1 | |
x=1/\sqrt{2}
dx/\sqrt{n+1}
(dx/(n+1),\ldots,dx/(n+1))
Any two -dimensional faces of a regular -dimensional simplex are themselves regular -dimensional simplices, and they have the same dihedral angle of .[8] [9]
This can be seen by noting that the center of the standard simplex is , and the centers of its faces are coordinate permutations of . Then, by symmetry, the vector pointing from to is perpendicular to the faces. So the vectors normal to the faces are permutations of
(-n,1,...,1)
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 -dimensional version of the Pythagorean theorem:
The sum of the squared -dimensional volumes of the facets adjacent to the orthogonal corner equals the squared -dimensional volume of the facet opposite of the orthogonal corner.
n | |
\sum | |
k=1 |
2 | |
|A | |
k| |
=
2 | |
|A | |
0| |
A1\ldotsAn
A0
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.
The Hasse diagram of the face lattice of an -simplex is isomorphic to the graph of the -hypercube's edges, with the hypercube's vertices mapping to each of the -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 -simplex is also the vertex figure of the -hypercube. It is also the facet of the -orthoplex.
Topologically, an -simplex is equivalent to an -ball. Every -simplex is an -dimensional manifold with corners.
See main article: Categorical distribution.
In probability theory, the points of the standard -simplex in -space form the space of possible probability distributions on a finite set consisting of possible outcomes. The correspondence is as follows: For each distribution described as an ordered -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 th vertex of the simplex is assigned to have the th probability of the -tuple as its barycentric coefficient. This correspondence is an affine homeomorphism.
Aitchinson geometry is a natural way to construct an inner product space from the standard simplex
\DeltaD-1
x ⊕ y=\left[
x1y1 | , | ||||||||
|
x2y2 | |||||||||
|
,...,
xDyD | |||||||||
|
\right] \forallx,y\in\DeltaD-1
\alpha\odotx=\left[
| , | ||||||||||||||
|
| |||||||||||||||
|
,\ldots,
| |||||||||||||||
|
\right] \forallx\in\DeltaD-1, \alpha\inR
\langlex,y\rangle=
1 | |
2D |
D | |
\sum | |
i=1 |
D log | |
\sum | |
j=1 |
xi | |
xj |
log
yi | |
yj |
\forallx,y\in\DeltaD-1
Since all simplices are self-dual, they can form a series of compounds;
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 -simplexes embedded in an open subset of is called an affine -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 -simplex is an affine -simplex, and thus the boundary of an -simplex is an affine -chain. Thus, if we denote one positively oriented affine simplex as
\sigma=[v0,v1,v2,\ldots,vn]
vj
\partial\sigma
\partial\sigma=
n | |
\sum | |
j=0 |
(-1)j[v0,\ldots,vj-1,vj+1,\ldots,vn].
It follows from this expression, and the linearity of the boundary operator, that the boundary of the boundary of a simplex is zero:
\partial2\sigma=\partial\left(
n | |
\sum | |
j=0 |
(-1)j[v0,\ldots,vj-1,vj+1,\ldots,vn]\right)=0.
Likewise, the boundary of the boundary of a chain is zero:
\partial2\rho=0
More generally, a simplex (and a chain) can be embedded into a manifold by means of smooth, differentiable map
f:Rn\toM
f\left(\sum\nolimitsiai\sigmai\right)=\sum\nolimitsiaif(\sigmai)
ai
\partial
\partialf(\rho)=f(\partial\rho)
f:\sigma\toX
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 -dimensional space, where all coordinates sum up to 1 (thus leaving out the inequality part). The algebraic description of this set iswhich equals the scheme-theoretic description
\Deltan(R)=\operatorname{Spec}(R[\Deltan])
R
By using the same definitions as for the classical -simplex, the -simplices for different dimensions assemble into one simplicial object, while the rings
R[\Deltan]
R[\Delta\bullet]
The algebraic -simplices are used in higher K-theory and in the definition of higher Chow groups.
\scriptstyle\sigma
\scriptstylev0, v0+e1, v0+e1+e2,\ldotsv0+e1+ … +en
\scriptstylev0
\scriptstylev0
\scriptstyleei
\scriptstylee\sigma(i)
\scriptstylev0, v0+e\sigma(1), v0+e\sigma(1)+e\sigma(2)\ldotsv0+e\sigma(1)+ … +e\sigma(n)
\scriptstylev0+(x1+ … +xn)e\sigma(1)+ … +(xn-1+xn)e\sigma(n-1)+xne\sigma(n)
\scriptstyle0<xi<1
\scriptstylex1+ … +xn<1.
\scriptstyle\leq