All Topics  
Simplex

 

   Email Print
   Bookmark   Link






 

Simplex



 
 
In geometry
Geometry

Geometry arose as the field of knowledge dealing with spatial relationships. Geometry was one of the two fields of pre-modern mathematics, the other being the study of numbers....
, a simplex (plural simplexes or simplices) or n-simplex is an n-dimensional analogue of a triangle. Specifically, a simplex is the convex hull
Convex hull

In mathematics, the convex hull or convex envelope for a Set of points X in a real vector space V is the minimal convex set containing X....
 of a set of (
n + 1) affinely independent
Affine transformation

In geometry, an affine transformation or affine map or an affinity between two vector spaces consists of a linear transformation followed by a translation :...
 point
Point (geometry)

In geometry, topology and related branches of mathematics a spatial point describes a specific object within a given space that consists of neither volume, area, length, nor any other higher dimensional analogue....
s in some Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
 of dimension
n or higher (i.e., a set of points such that no m-plane
Plane (mathematics)

In mathematics, a plane is a curvature surface. Planes can arise as subspaces of some higher dimensional space, as with the walls of a room, or they may enjoy an independent existence in their own right, as in the setting of Euclidean geometry....
 contains more than (
m + 1) of them; such points are said to be in general position
General position

In algebraic geometry, general position is a notion of generic property for a set of points, or other geometric objects. It means the general case situation, as opposed to some more special or coincidental cases that are possible....
).

For example, a 0-simplex is a point
Point (geometry)

In geometry, topology and related branches of mathematics a spatial point describes a specific object within a given space that consists of neither volume, area, length, nor any other higher dimensional analogue....
, a 1-simplex is a line segment
Line segment

In geometry, a line segment is a part of a line that is bounded by two end Point , and contains every point on the line between its end points....
, a 2-simplex is a triangle
Triangle

A triangle is one of the basic shapes of geometry: a polygon with three corners or wikt:vertex and three sides or edges which are line segments....
, a 3-simplex is a tetrahedron
Tetrahedron

A tetrahedron is a polyhedron composed of four triangle faces, three of which meet at each vertex . A regular tetrahedron is one in which the four triangles are regular, or "equilateral", and is one of the Platonic solids....
, and a 4-simplex is a pentachoron
Pentachoron

In geometry, the pentachoron is a fourth dimension object bounded by 5 tetrahedron. It is also known as the 5-cell, pentatope, or hyperpyramid....
 (in each case with interior).

A
regular simplex is a simplex that is also a regular polytope
Regular polytope

In mathematics, a regular polytope is a polytope whose symmetry is transitive on its flag , thus giving it the highest degree of symmetry. All its elements or j-faces — cells, faces and so on — are also transitive on the symmetries of the polytope, and are regular polytopes of dimension = n....
.






Discussion
Ask a question about 'Simplex'
Start a new discussion about 'Simplex'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Tetrahedron
In geometry
Geometry

Geometry arose as the field of knowledge dealing with spatial relationships. Geometry was one of the two fields of pre-modern mathematics, the other being the study of numbers....
, a simplex (plural simplexes or simplices) or n-simplex is an n-dimensional analogue of a triangle. Specifically, a simplex is the convex hull
Convex hull

In mathematics, the convex hull or convex envelope for a Set of points X in a real vector space V is the minimal convex set containing X....
 of a set of (
n + 1) affinely independent
Affine transformation

In geometry, an affine transformation or affine map or an affinity between two vector spaces consists of a linear transformation followed by a translation :...
 point
Point (geometry)

In geometry, topology and related branches of mathematics a spatial point describes a specific object within a given space that consists of neither volume, area, length, nor any other higher dimensional analogue....
s in some Euclidean space
Euclidean space

Around 300 Before Christ, the Ancient Greece mathematician Euclid undertook a study of relationships among distances and angles, first in a plane and then in space....
 of dimension
n or higher (i.e., a set of points such that no m-plane
Plane (mathematics)

In mathematics, a plane is a curvature surface. Planes can arise as subspaces of some higher dimensional space, as with the walls of a room, or they may enjoy an independent existence in their own right, as in the setting of Euclidean geometry....
 contains more than (
m + 1) of them; such points are said to be in general position
General position

In algebraic geometry, general position is a notion of generic property for a set of points, or other geometric objects. It means the general case situation, as opposed to some more special or coincidental cases that are possible....
).

For example, a 0-simplex is a point
Point (geometry)

In geometry, topology and related branches of mathematics a spatial point describes a specific object within a given space that consists of neither volume, area, length, nor any other higher dimensional analogue....
, a 1-simplex is a line segment
Line segment

In geometry, a line segment is a part of a line that is bounded by two end Point , and contains every point on the line between its end points....
, a 2-simplex is a triangle
Triangle

A triangle is one of the basic shapes of geometry: a polygon with three corners or wikt:vertex and three sides or edges which are line segments....
, a 3-simplex is a tetrahedron
Tetrahedron

A tetrahedron is a polyhedron composed of four triangle faces, three of which meet at each vertex . A regular tetrahedron is one in which the four triangles are regular, or "equilateral", and is one of the Platonic solids....
, and a 4-simplex is a pentachoron
Pentachoron

In geometry, the pentachoron is a fourth dimension object bounded by 5 tetrahedron. It is also known as the 5-cell, pentatope, or hyperpyramid....
 (in each case with interior).

A
regular simplex is a simplex that is also a regular polytope
Regular polytope

In mathematics, a regular polytope is a polytope whose symmetry is transitive on its flag , thus giving it the highest degree of symmetry. All its elements or j-faces — cells, faces and so on — are also transitive on the symmetries of the polytope, and are regular polytopes of dimension = n....
. A regular
n-simplex may be constructed from a regular (n − 1)-simplex by connecting a new vertex to all original vertices by the common edge length.

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
Binomial coefficient

In mathematics, the binomial coefficient is the coefficient of the x k term in the polynomial expansion of the binomial exponentiation  n....
 C(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
Pascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle. Pascal's Triangle is named after Blaise Pascal in much of the western world, although other mathematicians studied it centuries before him in History of India, History of Iran, China, and Italy....
. 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
Simplicial complex

In mathematics, a simplicial complex is a topological space of a particular kind, constructed by "gluing together" Point s, line segments, triangles, and their n-dimensional counterparts ....
. See Simplicial_complex#Definitions
Simplicial complex

In mathematics, a simplicial complex is a topological space of a particular kind, constructed by "gluing together" Point s, line segments, triangles, and their n-dimensional counterparts ....


The regular simplex family is the first of three regular polytope
Regular polytope

In mathematics, a regular polytope is a polytope whose symmetry is transitive on its flag , thus giving it the highest degree of symmetry. All its elements or j-faces — cells, faces and so on — are also transitive on the symmetries of the polytope, and are regular polytopes of dimension = n....
 families, labeled by Coxeter as αn, the other two being the cross-polytope
Cross-polytope

In geometry, a cross-polytope, or orthoplex, or hyperoctahedron, is a regular polytope, convex polytope that exists in any number of dimensions....
 family, labeled as βn, and the hypercube
Hypercube

In geometry, a hypercube is an n-dimensional analogue of a Square and a cube . It is a Closed set, Compact space, Convex set figure whose 1-skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, at right angles to each other and of the same length....
s, labeled as γn. A fourth family, the infinite tessellation of hypercubes
Hypercubic honeycomb

In geometry, a hypercubic honeycomb is a family of List_of_regular_polytopes#Tessellations in n-dimensions with the Schl?fli symbols and containing the symmetry of Coxeter_diagram#Infinite_Coxeter_groups Rn for n>=3....
 he labeled as δn.

n-Simplex elements
Δn αn n-polytope
Polytope

In geometry, polytope is a generic term that can refer to a two-dimensional polygon, a three-dimensional polyhedron, or any of the various generalizations thereof, including generalizations to higher dimensions and other abstractions ....
Graph
Complete graph

In graph theory, a complete graph is a simple graph in which every pair of distinct vertex is connected by an edge . The complete graph on n vertices has n vertices and n/2 edges, and is denoted by ....
Name Schläfli symbol
Schläfli symbol

In mathematics, the Schl?fli symbol is a notation of the form that defines regular polytopes and tessellations.The Schl?fli symbol is named after the 19th-century mathematician Ludwig Schl?fli who made important contributions in geometry and other areas....

Coxeter-Dynkin
Coxeter-Dynkin diagram

In geometry, a Coxeter-Dynkin diagram is a Graph with labelled edges. It represents the spatial relations between a collection of mirrors , and describes a Kaleidoscope construction....
Vertices
0-faces
Edges
1-faces
Faces
2-faces
Cells
3-faces
4-faces 5-faces 6-faces 7-faces 8-faces 9-faces
Δ0 α0 0-polytope
Complete Graph K1
Point
Vertex (geometry)

In geometry, a vertex is a special kind of point which describes the corners or intersections of geometric shapes. Vertices are commonly used in computer graphics to define the corners of surfaces in 3d models, where each such point is given as a vector....

(0-simplex)
- 1                  
Δ1 α1 1-polytope Line segment
Line segment

In geometry, a line segment is a part of a line that is bounded by two end Point , and contains every point on the line between its end points....

(1-simplex)

2 1                
Δ2 α2 2-polytope
Complete Graph K3
Triangle
Triangle

A triangle is one of the basic shapes of geometry: a polygon with three corners or wikt:vertex and three sides or edges which are line segments....

(2-simplex)

3 3 1              
Δ3 α3 3-polytope
Complete Graph K4
Tetrahedron
Tetrahedron

A tetrahedron is a polyhedron composed of four triangle faces, three of which meet at each vertex . A regular tetrahedron is one in which the four triangles are regular, or "equilateral", and is one of the Platonic solids....

(3-simplex)

4 6 4 1            
Δ4 α4 4-polytope
Complete Graph K5
Pentachoron
Pentachoron

In geometry, the pentachoron is a fourth dimension object bounded by 5 tetrahedron. It is also known as the 5-cell, pentatope, or hyperpyramid....

(4-simplex)

5 10 10 5 1          
Δ5 α5 5-polytope
5-polytope

In geometry, a five-dimensional polytope, or 5-polytope, is a polytope in 5-dimensional space. Each polyhedron cell being shared by exactly two polychoron facets....
Complete Graph K6
Hexateron
Hexa-5-tope
(5-simplex)

6 15 20 15 6 1        
Δ6 α6 6-polytope
6-polytope

In geometry, a six-dimensional polytope, or 6-polytope, is a polytope in 6-dimensional space. Each polychoron Ridge being shared by exactly two 5-polytope Facet ....
Complete Graph K7
Heptapeton
Hepta-6-tope
(6-simplex)

7 21 35 35 21 7 1      
Δ7 α7 7-polytope
7-polytope

In geometry, a seven-dimensional polytope, or 7-polytope, is a polytope in 7-dimensional space. Each polyteron Ridge being shared by exactly two 6-polytope Facet ....
Complete Graph K8
Octaexon
Octa-7-tope
(7-simplex)

8 28 56 70 56 28 8 1    
Δ8 α8 8-polytope
8-polytope

In geometry, an eight-dimensional polytope, or 8-polytope, is a polytope in 8-dimensional space. Each 6-polytope Ridge being shared by exactly two 7-polytope Facet ....
Enneazetton
Ennea-8-tope
(8-simplex)

9 36 84 126 126 84 36 9 1  
Δ9 α9 9-polytope
9-polytope

In geometry, a nine-dimensional polytope, or 9-polytope, is a polytope in 9-dimensional space. Each 7-polytope Ridge being shared by exactly two 8-polytope Facet ....
Decayotton
Deca-9-tope
(9-simplex)

10 45 120 210 252 210 120 45 10 1
Δ10 α10 10-polytope
10-polytope

In geometry, a ten-dimensional polytope, or 10-polytope, is a polytope in 10-dimensional space, each 8-polytope Ridge being shared by exactly two 9-polytope Facet ....
Hendeca-10-tope
(10-simplex
10-simplex

A hendeca-10-tope, or hendecaxennon is a 10-simplex, a self-dual Regular polytope 10-polytope with 11 vertex , 55 Edge s, 165 triangle Face , 330 tetrahedral Cell , 462 5-cell 4-faces, 462 5-simplex 5-faces, 330 6-simplex 6-faces, 165 7-simplex 7-faces, 55 8-simplex 8-faces, and 11 9-simplex 9-faces....
)

11 55 165 330 462 462 330 165 55 11


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
Simplicial homology

In mathematics, in the area of algebraic topology, simplicial homology is a theory with a finitary definition, and is probably the most tangible variant of homology theory....
) than to the study of polytopes.

The standard simplex


The standard n-simplex (or unit n-simplex) is the subset of Rn+1 given by The simplex Δn live in the affine hyperplane obtained by removing the restriction ti ≥ 0 in the above definition. The standard simplex is clearly regular.

The vertices of the standard n-simplex are the points
e0 = (1, 0, 0, …, 0),
e1 = (0, 1, 0, …, 0),
en = (0, 0, 0, …, 1).
There is a canonical map from the standard n-simplex to an arbitrary n-simplex with vertices (v0, …, vn) given by The coefficients ti are called the barycentric coordinates
Barycentric coordinates (mathematics)

In mathematics, barycentric coordinates are coordinates defined by the vertices of a simplex . Barycentric coordinates are a form of homogeneous 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
Affine transformation

In geometry, an affine transformation or affine map or an affinity between two vector spaces consists of a linear transformation followed by a translation :...
. It is also sometimes called an oriented affine n-simplex to emphasize that the canonical map may be orientation preserving
Orientation (mathematics)

In mathematics, an orientation on a real number vector space is a choice of which ordered basis are "positively" oriented and which are "negatively" oriented....
 or reversing.

Geometric properties


The oriented volume
Volume

The volume of any solid, liquid, plasma, vacuum or theoretical object is how much three-dimensional space it occupies, often quantified numerically....
 of an n-simplex in n-dimensional space with vertices (v0, ..., vn) is

where each column of the n × n determinant
Determinant

In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
 is the difference between the vectors representing two vertices. Without the 1/n! it is the formula for the volume of an n-parallelepiped
Parallelepiped

In geometry, a parallelepiped is a three-dimensional figure formed by six parallelograms. It is to a parallelogram as a cube is to a square : Euclidean geometry supports all four notions but affine geometry admits only parallelograms and parallelepipeds....
. 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
Volume

The volume of any solid, liquid, plasma, vacuum or theoretical object is how much three-dimensional space it occupies, often quantified numerically....
 under a standard n-simplex (i.e. between the origin and the simplex in Rn+1) is

The volume
Volume

The volume of any solid, liquid, plasma, vacuum or theoretical object is how much three-dimensional space it occupies, often quantified numerically....
 of a regular n-simplex with unit side length is

as can be seen by multiplying the previous formula by xn+1, 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    (where the n-simplex side length is 1), and normalizing by the length of the increment, , along the normal vector.

Simplexes with an "orthogonal corner"

Orthogonal corner means here, that there is a vertex at which all adjacent hyperfaces are pairwise orthogonal. Such simplexes are generalizations of right angle triangles and for them there exists a n-dimensional version of the Pythagorean theorem
Pythagorean theorem

In mathematics, the Pythagorean theorem or Pythagoras' theorem is a relation in Euclidean geometry among the three sides of a triangle#Types of triangles....
:

The sum of the squared n-dimensional volumes of the hyperfaces adjacent to the orthogonal corner equals the squared n-dimensional volume of the hyperface opposite of the orthogonal corner.

where are hyperfaces being pairwise orthogonal to each other but not orthogonal to , which is the hyperface opposite of the orthogonal corner.

For a 2-simplex the theorem is the Pythagorean theorem
Pythagorean theorem

In mathematics, the Pythagorean theorem or Pythagoras' theorem is a relation in Euclidean geometry among the three sides of a triangle#Types of triangles....
 for triangles with a right angle and for a 3-simplex it is de Gua's theorem
De Gua's theorem

De Gua's theorem is a spatial analog of the Pythagorean theorem and named for Jean Paul de Gua de Malves. If a tetrahedron has a right-angle corner , then the square of the area of the face opposite the right-angle corner is the sum of the squares of the areas of the other three faces....
 for a tetrahedron with a cube corner.

Relation to the (n+1)-hypercube


The Hasse diagram
Hasse diagram

In the mathematics discipline known as order theory, a Hasse diagram is a simple picture of a finite partially ordered set, forming a Graph drawing of the transitive reduction of the partial order....
 of the face lattice of an n-simplex is isomorphic to the graph of the (n+1)-hypercube
Hypercube

In geometry, a hypercube is an n-dimensional analogue of a Square and a cube . It is a Closed set, Compact space, Convex set figure whose 1-skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, at right angles to each other and of the same length....
'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
Vertex figure

In geometry a vertex figure is, broadly speaking, the figure exposed when a corner of a polyhedron or polytope is sliced off....
 of the (n+1)-hypercube.

Topology

Topologically
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
, an n-simplex is equivalent to an n-ball
Ball (mathematics)

In mathematics, a ball is the inside of a sphere; both concepts apply not only in the three-dimensional space but also for lower and higher dimensions, and for metric spaces in general....
. Every n-simplex is an n-dimensional manifold with boundary.

Probability


In probability theory, the points of the standard n-simplex in -space are the space of possible parameters (probabilities) of the categorical distribution
Categorical distribution

A categorical distribution is the most general distribution whose sample space is the set .It is the generalization of the Bernoulli distribution for a...
 on n+1 possible outcomes.

Algebraic topology


In algebraic topology
Algebraic topology

Algebraic topology is a branch of mathematics which uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant that classification theorem topological spaces up to homeomorphism....
, simplices are used as building blocks to construct an interesting class of topological space
Topological space

Topological spaces are mathematical structures that allow the formal definition of concepts such as convergence, connected space, and Continuous function ....
s called simplicial complex
Simplicial complex

In mathematics, a simplicial complex is a topological space of a particular kind, constructed by "gluing together" Point s, line segments, triangles, and their n-dimensional counterparts ....
es. These spaces are built from simplices glued together in a combinatorial
Combinatorics

Combinatorics is a branch of pure mathematics concerning the study of Countable set objects. It is related to many other areas of mathematics, such as algebra, probability theory, ergodic theory and geometry, as well as to applied subjects in computer science and statistical physics....
 fashion. Simplicial complexes are used to define a certain kind of homology
Homology (mathematics)

In mathematics , homology is a certain general procedure to associate a sequence of abelian groups or module with a given mathematical object such as a topological space or a group ....
 called simplicial homology
Simplicial homology

In mathematics, in the area of algebraic topology, simplicial homology is a theory with a finitary definition, and is probably the most tangible variant of homology theory....
.

A finite set of k-simplexes embedded in an open subset of Rn 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
Orientation (mathematics)

In mathematics, an orientation on a real number vector space is a choice of which ordered basis are "positively" oriented and which are "negatively" oriented....
, 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 face of an n-simplex is an affine n-1-simplex, and thus the boundary
Boundary (topology)

In topology, the boundary of a subset S of a topological space X is the set of points which can be approached both from S and from the outside of S....
 of an n-simplex is an affine n-1-chain. Thus, if we denote one positively-oriented affine simplex as

with the denoting the vertices, then the boundary of σ is the chain

.

More generally, a simplex (and a chain) can be embedded into a manifold
Manifold

In mathematics, more specifically topology, a manifold is a topological space in which every point has a neighborhood which "resembles" Euclidean space....
 by means of smooth, differentiable map . In this case, both the summation convention for denoting the set, and the boundary operation commute with the embedding. That is,

where the are the integers denoting orientation and multiplicity. For the boundary operator , one has:

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
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 (by definition of a map).

A continuous map to a topological space
Topological space

Topological spaces are mathematical structures that allow the formal definition of concepts such as convergence, connected space, and Continuous function ....
 X is frequently referred to as a singular n-simplex.

Random sampling


(Also called Simplex Point Picking) There are at least two efficient ways to generate uniform random samples from the unit simplex.

The first method is based on the fact that sampling from the K-dimensional unit simplex is equivalent to sampling from a Dirichlet distribution
Dirichlet distribution

In probability and statistics, the Dirichlet distribution , often denoted Dir, is a family of Continuous probability distribution multivariate random variable probability distributions parametrized by the vector α of positive real number....
 with parameters α = (α1, ..., αK) all equal to one. The exact procedure would be as follows:

  • Generate K unit-exponential
    Exponential distribution

    In probability theory and statistics, the exponential distributions are a class of continuous probability distributions. They describe the times between events in a Poisson process, i.e....
     distributed random draws x1, ..., xK.
    • This can be done by generating K uniform
      Uniform distribution (continuous)

      In probability theory and statistics, the continuous uniform distribution is a family of probability distributions such that for each member of the family, all interval s of the same length on the distribution's support are equally probable....
       random draws yi from the open interval (0,1) and setting xi=-ln(yi).
  • Set S to be the sum of all the xi.
  • The K coordinates t1, ..., tK of the final point on the unit simplex are given by ti=xi/S.


The second method to generate a random point on the unit simplex is based on the order statistic
Order statistic

In statistics, the kth order statistic of a statistical sample is equal to its kth-smallest value. Together with rankings, order statistics are among the most fundamental tools in non-parametric statistics and non-parametric inference....
s of the uniform distribution on the unit interval (see Devroye, p.568). The algorithm is as follows:

  • Set p0 = 0 and pK=1.
  • Generate K-1 uniform
    Uniform distribution (continuous)

    In probability theory and statistics, the continuous uniform distribution is a family of probability distributions such that for each member of the family, all interval s of the same length on the distribution's support are equally probable....
     random draws pi from the open interval (0,1).
  • Sort into ascending order the K+1 points p0, ..., pK.
  • The K coordinates t1, ..., tK of the final point on the unit simplex are given by ti=pi-pi-1.


Random walk


Sometimes, rather than picking a point on the simplex at random we need to perform a uniform random walk
Random walk

A random walk, sometimes denoted RW, is a mathematical formalization of a trajectory that consists of taking successive random steps. The results of random walk analysis have been applied to computer science, physics, ecology, economics and a number of other fields as a fundamental Statistical model for random processes in time....
 on the simplex. Such random walks are frequently required for Monte Carlo method
Monte Carlo method

Monte Carlo methods are a class of computational algorithms that rely on repeated random sampling to compute their results. Monte Carlo methods are often used when computer simulation physics and mathematics systems....
 computations such as Markov chain Monte Carlo
Markov chain Monte Carlo

Markov chain Monte Carlo method methods , are a class of algorithms for sampling from probability distributions based on constructing a Markov chain that has the desired distribution as its Markov chain#Steady-state_analysis_and_limiting_distributions....
 over the simplex domain.

An efficient algorithm to do the walk can be derived from the fact that the normalized sum of K unit-exponential
Exponential distribution

In probability theory and statistics, the exponential distributions are a class of continuous probability distributions. They describe the times between events in a Poisson process, i.e....
 random variables is distributed uniformly over the simplex. We begin by defining a univariate function that "walks" a given sample over the positive real line such that the stationary distribution of its samples is the unit-exponential distribution. The function makes use of the Metropolis-Hastings algorithm
Metropolis-Hastings algorithm

In mathematics and physics, the Metropolis-Hastings algorithm is a method for creating a Markov chain that can be used to generate a sequence of Sample_%28statistics%29 from a probability distribution that is difficult to Sampling from directly....
 to sample the new point given the old point. Such a function can be written as the following, where h is the relative step-size:

next_point <- function(x_old)

Then to perform a random walk over the simplex:
  • Begin by drawing each element xi, i= 1, 2, ..., K, from a unit-exponential distribution.
  • For each i= 1, 2, ..., K
    • xi ? next_point(xi)
  • Set S to the sum of all the xi
  • Set ti = xi/S for all i= 1, 2, ..., K
The set of ti will be restricted to the simplex, and will walk ergodically over the domain with a uniform stationary density. Note that it is important not to re-normalize the xi at each step; doing so will result in a non-uniform stationary distribution. Instead, think of the xi as "hidden" parameters, with the simplex coordinates given by the set of ti.

This procedure effectively samples x_new from a gamma
Gamma distribution

In probability theory and statistics, the gamma distribution is a two-parameter family of continuous probability distributions. It has a scale parameter θ and a shape parameter k....
 random variable with mean of x_old and standard deviation of h*x_old. If library routines are available to generate the requisite gamma variate directly, they may be used instead. The Hastings ratio for the MCMC step (which is different and independent of the Hastings-ratio in the next_point function) can then be computed given the gamma density function. Although it is theoretically possible to sample from a gamma density directly, experience shows that doing so is numerically unstable
Numerical stability

In the mathematics subfield of numerical analysis, numerical stability is a desirable property of numerical algorithms. The precise definition of stability depends on the context, but it is related to the accuracy of the algorithm....
. In contrast, the next_point function is numerically stable
Numerical stability

In the mathematics subfield of numerical analysis, numerical stability is a desirable property of numerical algorithms. The precise definition of stability depends on the context, but it is related to the accuracy of the algorithm....
 even after many, many iterations.

See also

  • Causal dynamical triangulation
  • Distance geometry
    Distance geometry

    Distance geometry is the characterization and study of Set of points based only on given values of the distances between member pairs. Therefore distance geometry has immediate relevance where distance values are determined or considered, such as in surveying, cartography and physics....
  • Delaunay triangulation
    Delaunay triangulation

    In mathematics, and computational geometry, a Delaunay triangulation for a set P of points in the plane is a triangulation DT such that no point in P is inside the Circumcircle#Circumcircles_of_triangles of any triangle in DT....
  • Hill tetrahedron
    Hill tetrahedron

    In geometry, Hill tetrahedron is a family of Space-filling polyhedron tetrahedron. They were discovered in 1896 by M.J.M. Hill, a professor of mathematics at the University College London, who showed that they are Hilbert's third problem to a cube....
  • Other regular n-polytope
    Polytope

    In geometry, polytope is a generic term that can refer to a two-dimensional polygon, a three-dimensional polyhedron, or any of the various generalizations thereof, including generalizations to higher dimensions and other abstractions ....
    s
    • Hypercube
      Hypercube

      In geometry, a hypercube is an n-dimensional analogue of a Square and a cube . It is a Closed set, Compact space, Convex set figure whose 1-skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, at right angles to each other and of the same length....
    • Cross-polytope
      Cross-polytope

      In geometry, a cross-polytope, or orthoplex, or hyperoctahedron, is a regular polytope, convex polytope that exists in any number of dimensions....
  • 3-sphere
    3-sphere

    In mathematics, a '3-sphere' is a higher-dimensional analogue of a sphere. It consists of the set of points equidistant from a fixed central point in 4-dimensional Euclidean space....
  • Tesseract
    Tesseract

    In geometry, the tesseract, also called an 8-cell or regular octachoron, is the Fourth dimension analog of the cube. The tesseract is to the cube as the cube is to the square ....
  • Polychoron
    Polychoron

    In geometry, a four-dimensional polytope is sometimes called a polychoron , from the Greek language root poly, meaning "many", and choros meaning "room" or "space"....
  • Polytope
    Polytope

    In geometry, polytope is a generic term that can refer to a two-dimensional polygon, a three-dimensional polyhedron, or any of the various generalizations thereof, including generalizations to higher dimensions and other abstractions ....
  • List of regular polytopes
    List of regular polytopes

    This page lists the regular polytopes in Euclidean geometry, spherical geometry and hyperbolic geometry spaces.The Schl?fli symbol notation describes every regular polytope, and is used widely below as a compact reference name for each....
  • Schläfli orthoscheme
    Schläfli orthoscheme

    In geometry, Schl?fli orthoscheme is a type of simplex. They are defined by a sequence of edges , , ? , which are mutually orthogonal. These were introduced by Ludwig Schl?fli, who called them orthoschemes and studied their volume in the Euclidean space, Hyperbolic geometry and the spherical geometry....
  • Simplex algorithm
    Simplex algorithm

    In mathematical optimization , the simplex algorithm, created by the United States mathematician George Dantzig in 1947, is a popular algorithm for numerical analysis solution of the linear programming problem....
     - a method for solving optimisation problems with inequalities.
  • Simplicial complex
    Simplicial complex

    In mathematics, a simplicial complex is a topological space of a particular kind, constructed by "gluing together" Point s, line segments, triangles, and their n-dimensional counterparts ....
  • Simplicial homology
    Simplicial homology

    In mathematics, in the area of algebraic topology, simplicial homology is a theory with a finitary definition, and is probably the most tangible variant of homology theory....
  • Simplicial set
    Simplicial set

    In mathematics, a simplicial set is a construction in category homotopy theory which is a purely algebraic model of the notion of a "well-behaved" topological space....


External links

  • OEIS sequence Triangle read by rows, giving the numbers T(n,m) = binomial(n+1,m+1); or, Pascal's triangle with its left-hand edge removed.