Simplex - Cartesian Coordinates For Regular n-dimensional Simplex in Rn

Cartesian Coordinates For Regular n-dimensional Simplex in Rn

The coordinates of the vertices of a regular n-dimensional simplex can be obtained from these two properties,

  1. For a regular simplex, the distances of its vertices to its center are equal.
  2. The angle subtended by any two vertices of an n-dimensional simplex through its center is

These can be used as follows. Let vectors (v0, v1, ..., vn) represent the vertices of an n-simplex center the origin, all unit vectors 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 . This can be used to calculate positions for them.

For example in three dimensions the vectors (v0, v1, v2, v3) are the vertices of a 3-simplex or tetrahedron. Write these as

Choose the first vector v0 to have all but the first component zero, so by the first property it must be (1, 0, 0) and the vectors become

By the second property the dot product of v0 with all other vectors is -1⁄3, so each of their x components must equal this, and the vectors become

Next choose v1 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:

The second property can be used to calculate the remaining y components, by taking the dot product of v1 with each and solving to give

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

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.

Read more about this topic:  Simplex

Famous quotes containing the word regular:

    They were regular in being gay, they learned little things that are things in being gay, they learned many little things that are things in being gay, they were gay every day, they were regular, they were gay, they were gay the same length of time every day, they were gay, they were quite regularly gay.
    Gertrude Stein (1874–1946)