Blum Blum Shub: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Monkbot
en>AnomieBOT
m Dating maintenance tags: {{Clarify}}
Line 1: Line 1:
{{Other uses}}
The person that wrote content is called Janise Rieger and she totally loves this label. For years she's been working to be a procurement cop. Jogging is something I will never give in place. He's always loved living in Ohio. Check out the latest news for my child website: http://ppir.at/rileysteel25146<br><br>Also visit my homepage riley steele ([http://ppir.at/rileysteel25146 visit the up coming document])
{{merge from|Euclidean simplex|discuss=talk: Simplex #Euclidean simplex|date=April 2013}}
[[Image:tetrahedron.png|thumb|A regular 3-simplex or [[tetrahedron]]]]
In [[geometry]], a '''simplex''' (plural ''simplexes'' or ''simplices'') is a generalization of the notion of a [[triangle]] or [[tetrahedron]] to arbitrary [[dimensions]].
Specifically, a '''''k''-simplex''' is a ''k''-dimensional [[polytope]] which is the [[convex hull]] of its ''k''&nbsp;+&nbsp;1 [[Vertex (geometry)|vertices]]. 
More formally, suppose the ''k''&nbsp;+&nbsp;1 points <math>u_0,\dots, u_k \in \mathbb{R}^k </math> are affinely independent, which means <math> u_1 - u_0,\dots, u_k-u_0 </math> are linearly independent.
Then, the simplex determined by them is the set of points <math> C =\{\theta_0 u_0 + \dots+\theta_k u_k | \theta_i \ge 0, 0 \le i \le k, \sum_{i=0}^{k} \theta_i=1\} </math>.
For example, a 2-simplex is a triangle, a 3-simplex is a tetrahedron, and a 4-simplex is a [[5-cell]].  A single [[point (geometry)|point]] may be considered a 0-simplex, and a [[line segment]] may be considered a 1-simplex. A simplex may be defined as the smallest [[convex set]] containing the given vertices.
 
A '''regular simplex'''<ref>{{citation | last = Elte | first = E. L. | title = The Semiregular Polytopes of the Hyperspaces | publisher = University of Groningen | location = Groningen | year = 1912}} Chapter IV, five dimensional semiregular polytope</ref> is a simplex that is also a [[regular polytope]]. A regular ''n''-simplex may be constructed from a regular (''n''&nbsp;−&nbsp;1)-simplex by connecting a new vertex to all original vertices by the common edge length.
 
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.
 
== Elements ==<!-- This section is linked from [[Simplicial complex]] -->
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''&nbsp;−&nbsp;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]] <math>\tbinom{n+1}{m+1}</math>. 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]]. See [[Simplicial complex#Definitions]]
 
The '''regular simplex''' family is the first of three [[regular polytope]] families, labeled by [[Coxeter]] as ''α<sub>n</sub>'', the other two being the [[cross-polytope]] family, labeled as ''β<sub>n</sub>'', and the [[hypercube]]s, labeled as ''γ<sub>n</sub>''. A fourth family, the [[hypercubic honeycomb|infinite tessellation of hypercubes]], he labeled as ''δ<sub>n</sub>''.
 
The number of ''1''-faces (edges) of the ''n''-simplex is the (''n''-1)th [[triangle number]], the number of ''2''-faces of the ''n''-simplex is the (''n''-2)th [[tetrahedron number]], the number of ''3''-faces of the ''n''-simplex is the (''n''-3)th 5-cell number, and so on.
 
{| class="wikitable"
|+ n-Simplex elements<ref>{{SloanesRef |sequencenumber=A135278|name=Pascal's triangle with its left-hand edge removed}}</ref>
|-
! Δ<sup>n</sup>
! Name
![[Schläfli symbol]]<br />[[Coxeter-Dynkin diagram|Coxeter-Dynkin]]
! ''0''-<br>faces<br><small>(vertices)</small>
! ''1''-<br>faces<br><small>(edges)</small>
! ''2''-<br>faces<br><small>&nbsp;</small>
! ''3''-<br>faces<br><small>&nbsp;</small>
! ''4''-<br>faces<br><small>&nbsp;</small>
! ''5''-<br>faces<br><small>&nbsp;</small>
! ''6''-<br>faces<br><small>&nbsp;</small>
! ''7''-<br>faces<br><small>&nbsp;</small>
! ''8''-<br>faces<br><small>&nbsp;</small>
! ''9''-<br>faces<br><small>&nbsp;</small>
! ''10''-<br>faces<br><small>&nbsp;</small>
! '''Sum'''<br>=2<sup>n+1</sup>-1
|-
! Δ<sup>0</sup>
| ''0-simplex''<br />([[Vertex (geometry)|point]])
|
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''1'''
|-
! Δ<sup>1</sup>
| ''1-simplex''<br />([[Edge (geometry)|line segment]])
|{}<br />{{CDD|node_1}}
| 2
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''3'''
|-
! Δ<sup>2</sup>
| ''2-simplex''<br />([[triangle]])
|{3}<br />{{CDD|node_1|3|node}}
| 3
| 3
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''7'''
|-
! Δ<sup>3</sup>
| ''3-simplex''<br />([[tetrahedron]])
|{3,3}<br />{{CDD|node_1|3|node|3|node}}
| 4
| 6
| 4
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''15'''
|-
! Δ<sup>4</sup>
| ''4-simplex''<br />([[5-cell]])
|{3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node}}
| 5
| 10
| 10
| 5
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''31'''
|-
! Δ<sup>5</sup>
| ''[[5-simplex]]''
|{3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node}}
| 6
| 15
| 20
| 15
| 6
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''63'''
|-
! Δ<sup>6</sup>
| ''[[6-simplex]]''
|{3,3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node|3|node}}
| 7
| 21
| 35
| 35
| 21
| 7
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| &nbsp;
| '''127'''
|-
! Δ<sup>7</sup>
| ''[[7-simplex]]''
|{3,3,3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node|3|node|3|node}}
| 8
| 28
| 56
| 70
| 56
| 28
| 8
| 1
| &nbsp;
| &nbsp;
| &nbsp;
| '''255'''
|-
! Δ<sup>8</sup>
| ''[[8-simplex]]''
|{3,3,3,3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node|3|node|3|node|3|node}}
| 9
| 36
| 84
| 126
| 126
| 84
| 36
| 9
| 1
| &nbsp;
| &nbsp;
| '''511'''
|-
! Δ<sup>9</sup>
| ''[[9-simplex]]''
|{3,3,3,3,3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node|3|node|3|node|3|node|3|node}}
| 10
| 45
| 120
| 210
| 252
| 210
| 120
| 45
| 10
| 1
| &nbsp;
| '''1023'''
|-
! Δ<sup>10</sup>
| ''[[10-simplex]]''
|{3,3,3,3,3,3,3,3,3}<br />{{CDD|node_1|3|node|3|node|3|node|3|node|3|node|3|node|3|node|3|node|3|node}}
| 11
| 55
| 165
| 330
| 462
| 462
| 330
| 165
| 55
| 11
| 1
| '''2047'''
|}
 
{|
|-
|[[File:Pascal's triangle 5.svg|thumb|300px|The numbers of faces in the above table are the same as in [[Pascal's triangle]], without the left diagonal.]]
|-
[[File:Tesseract tetrahedron shadow matrices.svg|thumb|300px|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,<ref>Kozlov, Dimitry, ''Combinatorial Algebraic Topology'', 2008, Springer-Verlag (Series: Algorithms and Computation in Mathematics)</ref> the empty set is defined to be a (−1)-simplex. The definition of the simplex above still makes sense if ''n''&nbsp;=&nbsp;−1.  This convention is more common in applications to algebraic topology (such as [[simplicial homology]]) than to the study of polytopes.
<br clear=all>
 
== Symmetric graphs of regular simplices ==
These [[Petrie polygon]] (skew orthogonal projections) show all the vertices of the regular simplex on a circle, and all vertex pairs connected by edges.
{| class=wikitable
|- align=center
|[[File:1-simplex t0.svg|100px]]<br />[[Line segment|1]]
|[[File:2-simplex t0.svg|100px]]<br />[[triangle|2]]
|[[File:3-simplex t0.svg|100px]]<br />[[tetrahedron|3]]
|[[File:4-simplex t0.svg|100px]]<br />[[5-cell|4]]
|[[File:5-simplex t0.svg|100px]]<br />[[5-simplex|5]]
|- align=center
|[[File:6-simplex t0.svg|100px]]<br />[[6-simplex|6]]
|[[File:7-simplex t0.svg|100px]]<br />[[7-simplex|7]]
|[[File:8-simplex t0.svg|100px]]<br />[[8-simplex|8]]
|[[File:9-simplex t0.svg|100px]]<br />[[9-simplex|9]]
|[[File:10-simplex t0.svg|100px]]<br />[[10-simplex|10]]
|- align=center
|[[File:11-simplex t0.svg|100px]]<br />[[11-simplex|11]]
|[[File:12-simplex t0.svg|100px]]<br />[[12-simplex|12]]
|[[File:13-simplex t0.svg|100px]]<br />[[13-simplex|13]]
|[[File:14-simplex t0.svg|100px]]<br />[[14-simplex|14]]
|[[File:15-simplex t0.svg|100px]]<br />[[15-simplex|15]]
|- align=center
|[[File:16-simplex t0.svg|100px]]<br />[[16-simplex|16]]
|[[File:17-simplex t0.svg|100px]]<br />[[17-simplex|17]]
|[[File:18-simplex t0.svg|100px]]<br />[[18-simplex|18]]
|[[File:19-simplex t0.svg|100px]]<br />[[19-simplex|19]]
|[[File:20-simplex t0.svg|100px]]<br />[[20-simplex|20]]
|}
 
== The standard simplex ==
[[Image:2D-simplex.svg|150px|thumb|right|The standard 2-simplex in '''R'''<sup>3</sup>]]
The '''standard ''n''-simplex''' (or '''unit ''n''-simplex''') is the subset of '''R'''<sup>''n''+1</sup> given by
:<math>\Delta^n = \left\{(t_0,\cdots,t_n)\in\mathbb{R}^{n+1}\mid\sum_{i = 0}^{n}{t_i} = 1 \mbox{ and } t_i \ge 0 \mbox{ for all } i\right\}</math>
The simplex Δ<sup>''n''</sup> lies in the [[affine hyperplane]] obtained by removing the restriction ''t''<sub>''i''</sub> ≥ 0 in the above definition. The standard simplex is clearly regular.
 
The ''n''+1 vertices of the standard ''n''-simplex are the points ''e''<sub>''i''</sub> ∈ '''R'''<sup>''n''+1</sup>, where
:''e''<sub>0</sub> = (1, 0, 0, ..., 0),
:''e''<sub>1</sub> = (0, 1, 0, ..., 0),
:<math>\vdots</math>
:''e''<sub>''n''</sub> = (0, 0, 0, ..., 1).
There is a canonical map from the standard ''n''-simplex to an arbitrary ''n''-simplex with vertices (''v''<sub>0</sub>, …, ''v''<sub>''n''</sub>) given by
:<math>(t_0,\cdots,t_n) \mapsto \sum_{i = 0}^n t_i v_i</math>
The coefficients ''t''<sub>''i''</sub> are called the [[barycentric coordinates (mathematics)|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 (mathematics)|orientation preserving]] or reversing.
 
More generally, there is a canonical map from the standard <math>(n-1)</math>-simplex (with ''n'' vertices) onto any [[polytope]] with ''n'' vertices, given by the same equation (modifying indexing):
:<math>(t_1,\cdots,t_n) \mapsto \sum_{i = 1}^n t_i v_i</math>
These are known as [[generalized barycentric coordinates]], and express every polytope as the ''image'' of a simplex: <math>\Delta^{n-1} \twoheadrightarrow P.</math>
 
===Increasing coordinates===
An alternative coordinate system is given by taking the [[indefinite sum]]:
:<math>\begin{align}
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\\
&\dots\\
s_n &= s_{n-1} + t_{n-1} = t_0 + t_1 + \dots + t_{n-1}\\
s_{n+1} &= s_n + t_n = t_0 + t_1 + \dots + t_n = 1
\end{align}
</math>
This yields the alternative presentation by ''order,'' namely as nondecreasing ''n''-tuples between 0 and 1:
:<math>\Delta_*^n = \left\{(s_1,\cdots,s_n)\in\mathbb{R}^n\mid 0 = s_0 \leq s_1 \leq s_2 \leq \dots \leq s_n \leq s_{n+1} = 1 \right\}.</math>
Geometrically, this is an ''n''-dimensional subset of <math>\mathbb{R}^n</math> (maximal dimension, codimension 0) rather than of <math>\mathbb{R}^{n+1}</math> (codimension 1). The facets, which on the standard simplex correspond to one coordinate vanishing, <math>t_i=0,</math> here correspond to successive coordinates being equal, <math>s_i=s_{i+1},</math> 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 <math>n!</math> mostly disjoint simplices (disjoint except for boundaries), showing that this simplex has volume <math>1/n!</math> Alternatively, the volume can be computed by an iterated integral, whose successive integrands are <math>1,x,x^2/2,x^3/3!,\dots,x^n/n!</math>
 
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 [[Graphical projection|projection]] onto the standard simplex is of interest. Given <math>\, (p_i)_i</math> with possibly negative entries, the closest point <math>\left(t_i\right)_i</math> on the simplex has coordinates
:<math>t_i= \max\{p_i+\Delta\, ,0\},</math>
where <math>\Delta</math> is chosen such that <math>\sum_i\max\{p_i+\Delta\, ,0\}=1.</math>
 
<math>\Delta</math> can be easily calculated from sorting <math>p_i</math>.<ref>{{cite web |url=http://arxiv.org/abs/1101.6081 |title=Projection Onto A Simplex |author=Yunmei Chen, Xiaojing Ye |publisher=Arxiv |accessdate=9 February 2012}}</ref>
The sorting approach takes <math>O( n \log n)</math> complexity, which can be improved to <math>O(n)</math> complexity via [[Selection algorithm|median-finding]] algorithms.<ref>{{cite doi|10.1016/0167-6377(89)90064-3}}</ref> Projecting onto the simplex is computational similar to projecting onto the <math>\ell_1</math> 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:
:<math>\Delta_c^n = \left\{(t_1,\cdots,t_n)\in\mathbb{R}^n\mid\sum_{i = 1}^{n}{t_i} \leq 1 \mbox{ and } t_i \ge 0 \mbox{ for all } i\right\}.</math>
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 regular ''n''-dimensional simplex in R<sup>''n''</sup>==
The coordinates of the vertices of a regular ''n''-dimensional simplex can be obtained from these two properties,
# For a regular simplex, the distances of its vertices to its center are equal.
# The angle subtended by any two vertices of an ''n''-dimensional simplex through its center is <math>\arccos\left(\tfrac{-1}{n}\right)</math>
 
These can be used as follows. Let vectors (''v''<sub>0</sub>, ''v''<sub>1</sub>, ..., ''v''<sub>''n''</sub>) represent the vertices of an ''n''-simplex center the origin, all [[unit vector]]s so a distance 1 from the origin, satisfying the first property. The second property means the [[dot product]] between any pair of the vectors is <math>-1/n</math>. This can be used to calculate positions for them.
 
For example in three dimensions the vectors (''v''<sub>0</sub>, ''v''<sub>1</sub>, ''v''<sub>2</sub>, ''v''<sub>3</sub>) are the vertices of a 3-simplex or tetrahedron. Write these as
 
: <math>\begin{pmatrix} x_0 \\ y_0 \\ z_0 \end{pmatrix}, \begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix}, \begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}, \begin{pmatrix} x_3 \\ y_3 \\ z_3 \end{pmatrix}</math>
 
Choose the first vector ''v''<sub>0</sub> to have all but the first component zero, so by the first property it must be (1, 0, 0) and the vectors become
 
: <math>\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} x_1 \\ y_1 \\ z_1 \end{pmatrix}, \begin{pmatrix} x_2 \\ y_2 \\ z_2 \end{pmatrix}, \begin{pmatrix} x_3 \\ y_3 \\ z_3 \end{pmatrix}</math>
 
By the second property the dot product of ''v''<sub>0</sub> with all other vectors is -{{frac|1|3}}, so each of their ''x'' components must equal this, and the vectors become
 
: <math>\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ y_1 \\ z_1 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ y_2 \\ z_2 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ y_3 \\ z_3 \end{pmatrix}</math>
 
Next choose ''v''<sub>1</sub> to have all but the first two elements zero. The second element is the only unknown. It can be calculated from the first property using the [[Pythagorean theorem]] (choose any of the two square roots), and so the second vector can be completed:
 
: <math>\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ \frac{\sqrt{8}}{3} \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ y_2 \\ z_2 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ y_3 \\ z_3 \end{pmatrix}</math>
 
The second property can be used to calculate the remaining ''y'' components, by taking the dot product of  ''v''<sub>1</sub> with each and solving to give
 
: <math>\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ \frac{\sqrt{8}}{3} \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ -\frac{\sqrt{2}}{3} \\ z_2 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ -\frac{\sqrt{2}}{3} \\ z_3 \end{pmatrix}</math>
 
From which the ''z'' components can be calculated, using the Pythagorean theorem again to satisfy the first property, the two possible square roots giving the two results
 
: <math>\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ \frac{\sqrt{8}}{3} \\ 0 \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ -\frac{\sqrt{2}}{3} \\ \sqrt{\frac{2}{3}} \end{pmatrix}, \begin{pmatrix} -\frac{1}{3} \\ -\frac{\sqrt{2}}{3} \\ -\sqrt{\frac{2}{3}} \end{pmatrix}</math>
 
This process can be carried out in any dimension, using ''n'' + 1 vectors, applying the first and second properties alternately to determine all the values.
 
== Geometric properties ==
 
=== Volume ===
The oriented [[volume]] of an ''n''-simplex in ''n''-dimensional space with vertices (''v''<sub>0</sub>, ..., ''v''<sub>''n''</sub>) is
 
:<math>
{1\over n!}\det
\begin{pmatrix}
  v_1-v_0 & v_2-v_0& \dots & v_{n-1}-v_0 & v_n-v_0
\end{pmatrix}
</math>
 
where each column of the ''n''&nbsp;×&nbsp;''n'' [[determinant]] is the difference between the [[vector (geometry)|vectors]] representing two vertices. A derivation of a very similar formula can be found in.<ref>{{cite jstor|2315353}}</ref> Without the 1/''n''! it is the formula for the volume of an ''n''-[[parallelepiped]]. One way to understand the 1/''n''! factor is as follows. If the coordinates of a point in a unit ''n''-box are sorted, together with 0 and 1, and successive differences are taken, then since the results add to one, the result is a point in an ''n'' simplex spanned by the origin and the closest ''n'' vertices of the box. The taking of differences was a unimodular (volume-preserving) transformation, but sorting compressed the space by a factor of ''n''!.
 
The [[volume]] under a standard ''n''-simplex (i.e. between the origin and the simplex in '''R'''<sup>n+1</sup>) is
 
:<math>
{1 \over (n+1)!}
</math>
 
The [[volume]] of a regular ''n''-simplex with unit side length is
 
:<math>
{\frac{\sqrt{n+1}}{n!\sqrt{2^n}}}
</math>
 
as can be seen by multiplying the previous formula by ''x''<sup>''n+1''</sup>, 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 <math>x=1/\sqrt{2}</math>&nbsp;&nbsp; (where the ''n''-simplex side length is 1), and normalizing by the length <math>dx/\sqrt{n+1}\,</math> of the increment, <math>(dx/(n+1),\dots, dx/(n+1))</math>, along the normal vector.
 
The [[dihedral angle]] of a regular ''n''-dimensional simplex is cos<sup>−1</sup>(1/''n''),<ref>{{cite journal | journal = The American Mathematical Monthly | publisher = Mathematical Association of America | volume = 109 | issue = 8 | date = October 2002 | pages = 756–758 | title = An Elementary Calculation of the Dihedral Angle of the Regular n-Simplex | first1 = Harold R. | last1 = Parks | author1-link = Harold R. Parks | author2 = Dean C. Wills | url = http://www.jstor.org/stable/3072403 }}</ref><ref>{{cite book | publisher = Oregon State University | date = June 2009 | title = Connections between combinatorics of permutations and algorithms and geometry | author1 = Harold R. Parks | author2 = Dean C. Wills | url = http://ir.library.oregonstate.edu/xmlui/handle/1957/11929 }}</ref> while its central angle is cos<sup>−1</sup>(-1/''n'').<ref>{{citation|last=Salvia|first=Raffaele|year=2013|title=Basic geometric proof of the relation between dimensionality of a regular simplex and its dihedral angle|arxiv=1304.0967}}</ref>
 
===Simplexes with an "orthogonal corner"===
Orthogonal corner means here, that there is a vertex at which all adjacent [[Facet (geometry)|facets]] are pairwise orthogonal. Such simplexes are generalizations of right angle 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.
 
:<math> \sum_{k=1}^{n} |A_{k}|^2 = |A_{0}|^2 </math>
where <math> A_{1} \ldots A_{n} </math> are facets being pairwise orthogonal to each other but not orthogonal to <math> A_{0} </math>, 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 a cube 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 (geometry)|facet]] of the (''n''+1)-[[orthoplex]].
 
===Topology===
[[Topology|Topologically]], an ''n''-simplex is [[topologically equivalent|equivalent]] to an [[ball (mathematics)|''n''-ball]]. Every ''n''-simplex is an ''n''-dimensional [[manifold with corners]].
 
===Probability===
{{Main|Categorical distribution}}
 
In probability theory, the points of the standard ''n''-simplex in <math>(n+1)</math>-space are the space of possible parameters (probabilities) of the [[categorical distribution]] on ''n''+1 possible outcomes.
 
== Algebraic topology ==
In [[algebraic topology]], simplices are used as building blocks to construct an interesting class of [[topological space]]s called [[simplicial complex]]es. These spaces are built from simplices glued together in a [[combinatorics|combinatorial]] fashion. Simplicial complexes are used to define a certain kind of [[homology (mathematics)|homology]] called [[simplicial homology]].
 
A finite set of ''k''-simplexes embedded in an [[open subset]] of '''R'''<sup>n</sup> is called an '''affine ''k''-chain'''. The simplexes in a chain need not be unique; they may occur with [[Multiplicity (mathematics)|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 (mathematics)|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 (topology)|boundary]] of an ''n''-simplex is an affine ''n-1''-chain. Thus, if we denote one positively-oriented affine simplex as
 
:<math>\sigma=[v_0,v_1,v_2,...,v_n]</math>
 
with the <math>v_j</math> denoting the vertices, then the boundary <math>\partial\sigma</math> of σ is the chain
 
:<math>\partial\sigma = \sum_{j=0}^n
(-1)^j [v_0,...,v_{j-1},v_{j+1},...,v_n]</math>.
 
It follows from this expression, and the linearity of the boundary operator,  that the boundary of the boundary of a simplex is zero:
 
:<math>\partial^2\sigma = \partial ( ~ \sum_{j=0}^n
(-1)^j [v_0,...,v_{j-1},v_{j+1},...,v_n]~ ) =0. </math>
 
Likewise, the boundary of the boundary of a chain is zero:  <math> \partial ^2 \rho =0 </math>.
 
More generally, a simplex (and a chain) can be embedded into a [[manifold]] by means of smooth, differentiable map <math>f\colon\mathbb{R}^n\rightarrow M</math>. In this case, both the summation convention for denoting the set, and the boundary operation commute with the embedding.  That is,
 
:<math>f(\sum\nolimits_i a_i \sigma_i) = \sum\nolimits_i a_i f(\sigma_i)</math>
 
where the <math>a_i</math> are the integers denoting orientation and multiplicity.  For the boundary operator <math>\partial</math>, one has:
 
:<math>\partial f(\rho) = f (\partial \rho)</math>
 
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 [[function (mathematics)|map operation]] (by definition of a map).
 
A continuous map <math>f:\sigma\rightarrow X</math> to a [[topological space]] ''X'' is frequently referred to as a '''singular ''n''-simplex'''.
 
== Algebraic geometry ==
Since classical algebraic geometry allows 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
 
:<math>\Delta^n := \{x \in \mathbb{A}^{n+1} \vert \sum_{i=1}^{n+1} x_i - 1 = 0\}</math>,
 
which equals the [[Scheme (mathematics)|scheme]]-theoretic description <math>\Delta_n(R) = Spec(R[\Delta^n])</math> with
 
:<math>R[\Delta^n] := R[x_1,...,x_{n+1}]/(\sum x_i -1)</math>
 
the ring of regular functions on the algebraic n-simplex (for any ring <math>R</math>).
 
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 <math>R[\Delta^n]</math> assemble into one cosimplicial object <math>R[\Delta^\bullet]</math> (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 ==
{{Expand section|date=December 2009}}
Simplices are used in plotting quantities that sum to 1, such as proportions of subpopulations, as in a [[ternary plot]].
 
In [[applied statistics#industrial|industrial statistics]], simplices arise in problem formulation and in algorithmic solution. In the design of bread, the producer must combine yeast, flour, water, sugar, etc. In such [[mixture]]s, only the relative proportions of ingredients matters: For an optimal bread mixture, if the flour is doubled then the yeast should be doubled. Such mixture problem are often formulated with normalized constraints, so that the nonnegative components sum to one, in which case the feasible region forms a simplex. The quality of the bread mixtures can be estimated using [[response surface methodology]], and then a local maximum can be computed using a [[nonlinear programming]] method, such as [[sequential quadratic programming]].<ref>
{{cite book
|author=Cornell, John
|title=Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data
|edition=third
|publisher=Wiley
|year=2002
|isbn=0-471-07916-2
}}
</ref>
 
In [[operations research]], [[linear programming]] problems can be solved by the [[simplex algorithm]] of [[George Dantzig]].
 
In [[geometric design]] and [[computer graphics]],  many methods first perform simplicial [[triangulation#simplicial|triangulation]]s of the domain and then  [[interpolation|fit interpolating]] [[polynomial and rational function modeling|polynomials]] to each simplex.<ref>{{cite journal | last = Vondran | first = Gary L. |date=April 1998 | title = Radial and Pruned Tetrahedral Interpolation Techniques | journal = HP Technical Report | volume = HPL-98-95 | pages = 1–32 | url = http://www.hpl.hp.com/techreports/98/HPL-98-95.pdf | format = PDF}}</ref>
 
==See also==
{{colbegin}}
* [[Causal dynamical triangulation]]
* [[Distance geometry]]
* [[Delaunay triangulation]]
* [[Hill tetrahedron]]
* Other regular n-[[polytope]]s
** [[Hypercube]]
** [[Cross-polytope]]
** [[Tesseract]]
* [[Polytope]]
* [[Metcalfe's Law]]
* [[List of regular polytopes]]
* [[Schläfli orthoscheme]]
* [[Simplex algorithm]] - a method for solving optimisation problems with inequalities.
* [[Simplicial complex]]
* [[Simplicial homology]]
* [[Simplicial set]]
* [[Ternary plot]]
* [[3-sphere]]
{{colend}}
 
==Notes==
{{reflist}}
 
==References==
 
* [[Walter Rudin]], ''Principles of Mathematical Analysis (Third Edition)'', (1976)  McGraw-Hill, New York, ISBN 0-07-054235-X  ''(See chapter 10 for a simple review of topological properties.)''.
* [[Andrew S. Tanenbaum]], ''Computer Networks (4th Ed)'', (2003) Prentice Hall, ISBN 0-13-066102-3 ''(See 2.5.3)''.
* Luc Devroye, ''[http://cg.scs.carleton.ca/~luc/rnbookindex.html Non-Uniform Random Variate Generation].'' (1986) ISBN 0-387-96305-7; Web version freely downloadable.
* [[H.S.M. Coxeter]], ''[[Regular Polytopes (book)|Regular Polytopes]]'', Third edition, (1973), Dover edition, ISBN 0-486-61480-8
** p120-121
** p.&nbsp;296, Table I (iii): Regular Polytopes, three regular polytopes in n-dimensions (n>=5)
* {{mathworld|urlname=Simplex|title=Simplex}}
* [[Stephen Boyd]] and [[Lieven Vandenberghe]], ''Convex Optimization'', (2004) Cambridge University Press, New York, NY, USA.
 
==External links==
*{{GlossaryForHyperspace | anchor=Simplex | title=Simplex }}
 
{{Dimension topics}}
{{Polytopes}}
 
[[Category:Polytopes]]
[[Category:Topology]]
[[Category:Multi-dimensional geometry]]

Revision as of 21:51, 4 March 2014

The person that wrote content is called Janise Rieger and she totally loves this label. For years she's been working to be a procurement cop. Jogging is something I will never give in place. He's always loved living in Ohio. Check out the latest news for my child website: http://ppir.at/rileysteel25146

Also visit my homepage riley steele (visit the up coming document)