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,
- 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
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:
“It was inspiriting to hear the regular dip of the paddles, as if they were our fins or flippers, and to realize that we were at length fairly embarked. We who had felt strangely as stage-passengers and tavern-lodgers were suddenly naturalized there and presented with the freedom of the lakes and woods.”
—Henry David Thoreau (18171862)