Cayley–Menger determinant

From HandWiki
Short description: Formula for the "volume" of an n-simplex

In linear algebra, geometry, and trigonometry, the Cayley–Menger determinant is a formula for the content, i.e. the higher-dimensional volume, of a [math]\displaystyle{ n }[/math]-dimensional simplex in terms of the squares of all of the distances between pairs of its vertices. The determinant is named after Arthur Cayley and Karl Menger.

The [math]\displaystyle{ {n \choose 2} }[/math] pairwise distance polynomials between n points in a real Euclidean space are Euclidean invariants that are associated via the Cayley-Menger relations.[1] These relations served multiple purposes such as generalising Heron's Formula, computing the content of a n-dimensional simplex, and ultimately determining if any real symmetric matrix is a Euclidean distance matrix in the field of Distance geometry.[2]

History

Karl Menger was a young geometry professor at the University of Vienna and Arthur Cayley was a British mathematician who specialized in algebraic geometry. Menger extended Cayley's algebraic excellence to propose a new axiom of metric spaces using the concepts of distance geometry and relation of congruence, known as the Cayley-Menger determinant. This ended up generalising one of the first discoveries in distance geometry, Heron's formula, which computes the area of a triangle given its side lengths.[3]

Definition

Let [math]\displaystyle{ A_0, A_1,\ldots, A_n }[/math] be [math]\displaystyle{ n+1 }[/math] points in [math]\displaystyle{ k }[/math]-dimensional Euclidean space, with [math]\displaystyle{ k \ge n }[/math][lower-alpha 1]. These points are the vertices of an n-dimensional simplex: a triangle when [math]\displaystyle{ n = 2 }[/math]; a tetrahedron when [math]\displaystyle{ n = 3 }[/math], and so on. Let [math]\displaystyle{ d_{ij} }[/math] be the Euclidean distances between vertices [math]\displaystyle{ A_i }[/math] and [math]\displaystyle{ A_j }[/math]. The content, i.e. the n-dimensional volume of this simplex, denoted by [math]\displaystyle{ v_n }[/math], can be expressed as a function of determinants of certain matrices, as follows:[4][5]

[math]\displaystyle{ \begin{align} v_n^2 & = \frac{1}{(n!)^2 2^n} \begin{vmatrix} 2d_{01}^2 & d_{01}^2 + d_{02}^2 - d_{12}^2 & \cdots & d_{01}^2 + d_{0n}^2 - d_{1n}^2 \\ d_{01}^2 + d_{02}^2 - d_{12}^2 & 2d_{02}^2 & \cdots & d_{02}^2 + d_{0n}^2 - d_{2n}^2 \\ \vdots & \vdots & \ddots & \vdots \\ d_{01}^2 + d_{0n}^2 - d_{1n}^2 & d_{02}^2 + d_{0n}^2 - d_{2n}^2 & \cdots & 2d_{0n}^2 \end{vmatrix} \\[10pt] & = \frac{(-1)^{n+1}}{(n!)^2 2^n} \begin{vmatrix} 0 & d_{01}^2 & d_{02}^2 & \cdots & d_{0n}^2 & 1 \\ d_{01}^2 & 0 & d_{12}^2 & \cdots & d_{1n}^2 & 1 \\ d_{02}^2 & d_{12}^2 & 0 & \cdots & d_{2n}^2 & 1 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ d_{0n}^2 & d_{1n}^2 & d_{2n}^2 & \cdots & 0 & 1 \\ 1 & 1 & 1 & \cdots & 1 & 0 \end{vmatrix}. \end{align} }[/math]

This is the Cayley–Menger determinant. For [math]\displaystyle{ n=2 }[/math] it is a symmetric polynomial in the [math]\displaystyle{ d_{ij} }[/math]'s and is thus invariant under permutation of these quantities. This fails for [math]\displaystyle{ n\gt 2, }[/math] but it is always invariant under permutation of the vertices.[lower-alpha 2]

Except for the final row and column of 1s, the matrix in the second form of this equation is a Euclidean distance matrix.

Special cases

2-Simplex

To reiterate, a simplex is an n-dimensional polytope and the convex hull of [math]\displaystyle{ n+1 }[/math] points which do not lie in any [math]\displaystyle{ (n-1) }[/math] dimensional plane.[6] Therefore, a 2-simplex occurs when [math]\displaystyle{ n=2 }[/math] and the simplex results in a triangle. Therefore, the formula for determining [math]\displaystyle{ V_j^2 }[/math] of a triangle is provided below:[5]


[math]\displaystyle{ -16\Delta^2 = \begin{vmatrix} 0 & 1 & 1 & 1\\ 1 & 0 & c^2 & b^2\\ 1 & c^2 & 0 & a^2\\ 1 & b^2 & a^2 & 0\\ \end{vmatrix} }[/math]

As a result, the equation above presents the content of a 2-simplex (area of a planar triangle with side lengths [math]\displaystyle{ a }[/math], [math]\displaystyle{ b }[/math], and [math]\displaystyle{ c }[/math]) and it is a generalised form of Heron's Formula.[5]

3-Simplex

Similarly, a 3-simplex occurs when [math]\displaystyle{ n=3 }[/math] and the simplex results in a tetrahedron.[6] Therefore, the formula for determining [math]\displaystyle{ V_j^2 }[/math] of a tetrahedron is provided below:[5]

[math]\displaystyle{ 288 V^2 = \begin{vmatrix} 0 & 1 & 1 & 1 & 1\\ 1 & 0 & d_{12}^2 & d_{13}^2 & d_{14}^2\\ 1 & d_{21}^2 & 0 & d_{23}^2 & d_{24}^2\\ 1 & d_{31}^2 & d_{32}^2 & 0 & d_{34}^2\\ 1 & d_{41}^2 & d_{42}^2 & d_{43}^2 & 0\\ \end{vmatrix} }[/math]

As a result, the equation above presents the content of a 3-simplex, which is the volume of a tetrahedron where the edge between vertices [math]\displaystyle{ i }[/math] and [math]\displaystyle{ j }[/math] has length [math]\displaystyle{ d_{ij} }[/math].[5]

Proof

Let the column vectors [math]\displaystyle{ A_0, A_1,\ldots, A_n }[/math] be [math]\displaystyle{ n+1 }[/math] points in [math]\displaystyle{ n }[/math]-dimensional Euclidean space. Starting with the volume formula

[math]\displaystyle{ v_n = \frac{1}{n!} \left| \det \begin{pmatrix} A_0 & A_1 & \cdots & A_n \\ 1 & 1 & \cdots & 1 \end{pmatrix} \right|\,, }[/math]

we note that the determinant is unchanged when we add an extra row and column to make an [math]\displaystyle{ (n+2)\times(n+2) }[/math] matrix,

[math]\displaystyle{ P = \begin{pmatrix} A_0 & A_1 & \cdots & A_n & 0 \\ 1 & 1 & \cdots & 1 & 0 \\ \|A_0\|^2 & \|A_1\|^2 & \cdots & \|A_n\|^2 & 1 \end{pmatrix}\,, }[/math]

where [math]\displaystyle{ \|A_j\|^2 }[/math] is the square of the length of the vector [math]\displaystyle{ A_j }[/math]. Additionally, we note that the [math]\displaystyle{ (n+2)\times(n+2) }[/math] matrix

[math]\displaystyle{ Q = \begin{pmatrix} -2 & 0 & \cdots & 0 & 0 & 0 \\ 0 & -2 & \cdots & 0 & 0 & 0 \\ \vdots & \vdots & \ddots & \vdots & \vdots & \vdots \\ 0 & 0 & \cdots & -2 & 0 & 0 \\ 0 & 0 & \cdots & 0 & 0 & 1 \\ 0 & 0 & \cdots & 0 & 1 & 0 \end{pmatrix} }[/math]

has a determinant of [math]\displaystyle{ (-2)^n(-1) = (-1)^{n+1} 2^n }[/math]. Thus,[7]

[math]\displaystyle{ \det \begin{pmatrix} 0 & d_{01}^2 & d_{02}^2 & \cdots & d_{0n}^2 & 1 \\ d_{01}^2 & 0 & d_{12}^2 & \cdots & d_{1n}^2 & 1 \\ d_{02}^2 & d_{12}^2 & 0 & \cdots & d_{2n}^2 & 1 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ d_{0n}^2 & d_{1n}^2 & d_{2n}^2 & \cdots & 0 & 1 \\ 1 & 1 & 1 & \cdots & 1 & 0 \end{pmatrix} = \det(P^T Q P) = \det(Q) \det(P)^2 = (-1)^{n+1} 2^n (n!)^2 v_n^2\,. }[/math]

Generalization to hyperbolic and spherical geometry

There are spherical and hyperbolic generalizations.[8] A proof can be found here.[9]

In a spherical space of dimension [math]\displaystyle{ (n-1) }[/math] and constant curvature [math]\displaystyle{ 1/R^2 }[/math], any [math]\displaystyle{ (n+1) }[/math] points satisfy

[math]\displaystyle{ \begin{vmatrix} 0 & f(d_{01}) & f(d_{02}) & \cdots & f(d_{0n}) & 1 \\ f(d_{01}) & 0 & f(d_{12}) & \cdots & f(d_{1n}) & 1 \\ f(d_{02}) & f(d_{12}) & 0 & \cdots & f(d_{2n}) & 1 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ f(d_{0n}) & f(d_{1n}) & f(d_{2n}) & \cdots & 0 & 1 \\ 1 & 1 & 1 & \cdots & 1 & \frac{1}{2R^2} \end{vmatrix} = 0 }[/math]

where [math]\displaystyle{ f(d) = 2R^2 \left(1-\cos\frac{d}{R}\right) }[/math], and [math]\displaystyle{ d_{ij} }[/math] is the spherical distance between points [math]\displaystyle{ i, j }[/math].

In a hyperbolic space of dimension [math]\displaystyle{ (n-1) }[/math] and constant curvature [math]\displaystyle{ -1/R^2 }[/math], any [math]\displaystyle{ (n+1) }[/math] points satisfy

[math]\displaystyle{ \begin{vmatrix} 0 & f(d_{01}) & f(d_{02}) & \cdots & f(d_{0n}) & 1 \\ f(d_{01}) & 0 & f(d_{12}) & \cdots & f(d_{1n}) & 1 \\ f(d_{02}) & f(d_{12}) & 0 & \cdots & f(d_{2n}) & 1 \\ \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ f(d_{0n}) & f(d_{1n}) & f(d_{2n}) & \cdots & 0 & 1 \\ 1 & 1 & 1 & \cdots & 1 & -\frac{1}{2R^2} \end{vmatrix} = 0 }[/math]

where [math]\displaystyle{ f(d) = 2R^2 \left(\cosh\frac{d}{R} - 1\right) }[/math], and [math]\displaystyle{ d_{ij} }[/math] is the hyperbolic distance between points [math]\displaystyle{ i, j }[/math].

Example

In the case of [math]\displaystyle{ n = 2 }[/math], we have that [math]\displaystyle{ v_2 }[/math] is the area of a triangle and thus we will denote this by [math]\displaystyle{ A }[/math]. By the Cayley–Menger determinant, where the triangle has side lengths [math]\displaystyle{ a }[/math], [math]\displaystyle{ b }[/math] and [math]\displaystyle{ c }[/math],

[math]\displaystyle{ \begin{align} 16A^2 &= \begin{vmatrix} 2a^2 & a^2+b^2-c^2 \\ a^2+b^2-c^2 & 2b^2 \end{vmatrix} \\[8pt] &= 4a^2b^2 - (a^2+b^2-c^2)^2 \\[6pt] &= (a^2+b^2+c^2)^2 - 2(a^4+b^4+c^4) \\[6pt] &= (a+b+c)(a+b-c)(a-b+c)(-a+b+c) \end{align} }[/math]

The result in the third line is due to the Fibonacci identity. The final line can be rewritten to obtain Heron's formula for the area of a triangle given three sides, which was known to Archimedes prior.[10]

In the case of [math]\displaystyle{ n=3 }[/math], the quantity [math]\displaystyle{ v_3 }[/math] gives the volume of a tetrahedron, which we will denote by [math]\displaystyle{ V }[/math]. For distances between [math]\displaystyle{ A_i }[/math] and [math]\displaystyle{ A_j }[/math] given by [math]\displaystyle{ d_{ij} }[/math], the Cayley–Menger determinant gives[11][12]

[math]\displaystyle{ \begin{align} 144V^2 = {} & \frac{1}{2} \begin{vmatrix} 2d_{01}^2 & d_{01}^2+d_{02}^2-d_{12}^2 & d_{01}^2+d_{03}^2-d_{13}^2 \\ d_{01}^2+d_{02}^2-d_{12}^2 & 2d_{02}^2 & d_{02}^2+d_{03}^2-d_{23}^2 \\ d_{01}^2+d_{03}^2-d_{13}^2 & d_{02}^2+d_{03}^2-d_{23}^2 & 2d_{03}^2 \end{vmatrix} \\[8pt] = {} & 4d_{01}^2 d_{02}^2 d_{03}^2 + (d_{01}^2+d_{02}^2-d_{12}^2)(d_{01}^2+d_{03}^2-d_{13}^2)(d_{02}^2+d_{03}^2-d_{23}^2) \\[6pt] & {} -d_{01}^2(d_{02}^2+d_{03}^2-d_{23}^2)^2 - d_{02}^2(d_{01}^2+d_{03}^2-d_{13}^2)^2 - d_{03}^2(d_{01}^2+d_{02}^2-d_{12}^2)^2. \end{align} }[/math]

Finding the circumradius of a simplex

Given a nondegenerate n-simplex, it has a circumscribed n-sphere, with radius [math]\displaystyle{ r }[/math]. Then the (n + 1)-simplex made of the vertices of the n-simplex and the center of the n-sphere is degenerate. Thus, we have

[math]\displaystyle{ \begin{vmatrix} 0 & r^2 & r^2 & r^2 & \cdots & r^2 & 1 \\ r^2 & 0 & d_{01}^2 & d_{02}^2 & \cdots & d_{0n}^2 & 1 \\ r^2 & d_{01}^2 & 0 & d_{12}^2 & \cdots & d_{1n}^2 & 1 \\ r^2 & d_{02}^2 & d_{12}^2 & 0 & \cdots & d_{2n}^2 & 1 \\ \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ r^2 & d_{0n}^2 & d_{1n}^2 & d_{2n}^2 & \cdots & 0 & 1 \\ 1 & 1 & 1 & 1 & \cdots & 1 & 0 \end{vmatrix} = 0 }[/math]

In particular, when [math]\displaystyle{ n = 2 }[/math], this gives the circumradius of a triangle in terms of its edge lengths.

Set Classifications

From these determinants, we also have the following classifications:

Straight

A set Λ (with at least three distinct elements) is called straight if and only if, for any three elements A, B, and C of Λ,[13]

[math]\displaystyle{ \det \begin{bmatrix} 0 & d(AB)^2 & d(AC)^2 & 1 \\ d(AB)^2 & 0 & d(BC)^2 & 1 \\ d(AC)^2 & d(BC)^2 & 0 & 1 \\ 1 & 1 & 1 & 0 \end{bmatrix} = 0 }[/math]

Plane

A set Π (with at least four distinct elements) is called plane if and only if, for any four elements A, B, C and D of Π,[13]

[math]\displaystyle{ \det \begin{bmatrix} 0 & d(AB)^2 & d(AC)^2 & d(AD)^2 & 1 \\ d(AB)^2 & 0 & d(BC)^2 & d(BD)^2 & 1 \\ d(AC)^2 & d(BC)^2 & 0 & d(CD)^2 & 1 \\ d(AD)^2 & d(BD)^2 & d(CD)^2 & 0 & 1 \\ 1 & 1 & 1 & 1 & 0 \end{bmatrix} = 0 }[/math]

but not all triples of elements of Π are straight to each other;

Flat

A set Φ (with at least five distinct elements) is called flat if and only if, for any five elements A, B, C, D and E of Φ,[13]

[math]\displaystyle{ \det \begin{bmatrix} 0 & d(AB)^2 & d(AC)^2 & d(AD)^2 & d(AE)^2 & 1 \\ d(AB)^2 & 0 & d(BC)^2 & d(BD)^2 & d(BE)^2 & 1 \\ d(AC)^2 & d(BC)^2 & 0 & d(CD)^2 & d(CE)^2 & 1 \\ d(AD)^2 & d(BD)^2 & d(CD)^2 & 0 & d(DE)^2 & 1 \\ d(AE)^2 & d(BE)^2 & d(CE)^2 & d(DE)^2 & 0 & 1 \\ 1 & 1 & 1 & 1 & 1 & 0 \end{bmatrix} = 0 }[/math]

but not all quadruples of elements of Φ are plane to each other; and so on.

Menger's Theorem

Karl Menger made a further discovery after the development of the Cayley-Menger determinant, which became known as Menger's Theorem. The theorem states:

A semimetric [math]\displaystyle{ \rho: A \times A \rightarrow \mathbb{R}_{\geq0} }[/math] is Euclidean of dimension n if and only if all Cayley-Menger determinants on [math]\displaystyle{ n+1 }[/math] points is strictly positive, all determinants on [math]\displaystyle{ n+2 }[/math] points vanish, and a Cayley-Menger determinant on at least one set of [math]\displaystyle{ n+3 }[/math] points is nonnegative (in which case it is necessarily zero).[1]


In simpler terms, if every subset of [math]\displaystyle{ n+2 }[/math] points can be isometrically embedded in an [math]\displaystyle{ n- }[/math] but not generally [math]\displaystyle{ (n-1)- }[/math]dimensional Euclidean space, then the semimetric is Euclidean of dimension [math]\displaystyle{ n }[/math] unless [math]\displaystyle{ A }[/math] consists of exactly [math]\displaystyle{ n+3 }[/math] points and the Cayley-Menger determinant on those [math]\displaystyle{ n+3 }[/math] points is strictly negative. This type of semimetric would be classified pseudo-Euclidean.[1]

Realization of a Euclidean distance matrix

Given the Cayley-Menger relations as explained above, the following section will bring forth two algorithms to decide whether a given matrix is a distance matrix corresponding to a Euclidean point set. The first algorithm will do so when given a matrix AND the dimension, [math]\displaystyle{ d }[/math], via a geometric constraint solving algorithm. The second algorithm does so when the dimension, [math]\displaystyle{ d }[/math], is not provided. This algorithm theoretically finds a realization of the full [math]\displaystyle{ n \times n }[/math] Euclidean distance matrix in the smallest possible embedding dimension in quadratic time.

Theorem (d is given)

For the sake and context of the following theorem, algorithm, and example, slightly different notation will be used than before resulting in an altered formula for the volume of the [math]\displaystyle{ n-1 }[/math] dimensional simplex below than above.

Theorem. An [math]\displaystyle{ n \times n }[/math] matrix [math]\displaystyle{ \Delta }[/math] is a Euclidean Distance Matrix if and only if for all [math]\displaystyle{ k \times k }[/math] submatrices [math]\displaystyle{ S }[/math] of [math]\displaystyle{ \Delta }[/math], where [math]\displaystyle{ k \leq n }[/math], [math]\displaystyle{ \det (\hat{\delta _S}) \geq 0 }[/math]. For [math]\displaystyle{ \Delta }[/math] to have a realization in dimension [math]\displaystyle{ d }[/math], if [math]\displaystyle{ |S| = k \geq d + 2 }[/math], then [math]\displaystyle{ \det (\hat{\delta _S}) = 0 }[/math].[14]

As stated before, the purpose to this theorem comes from the following algorithm for realizing a Euclidean Distance Matrix or a Gramian Matrix.

Algorithm

Input
Euclidean Distance Matrix [math]\displaystyle{ \Delta }[/math] or Gramian Matrix [math]\displaystyle{ \Gamma }[/math].
Output
Pointset [math]\displaystyle{ P }[/math]
Procedure
  • If the dimension [math]\displaystyle{ d }[/math] is fixed, we can solve a system of polynomial equations, one for each inner product entry of [math]\displaystyle{ \Gamma }[/math], where the variables are the coordinates of each point [math]\displaystyle{ p_1, ..., p_n }[/math] in the desired dimension [math]\displaystyle{ d }[/math].
  • Otherwise, we can solve for one point at a time.
    • Solve for the coordinates of [math]\displaystyle{ p_k }[/math] using its distances to all previously placed points [math]\displaystyle{ p_1, ..., p_{k-1} }[/math]. Thus, [math]\displaystyle{ p_k }[/math] is represented by at most [math]\displaystyle{ k - 1 }[/math] coordinate values, ensuring minimum dimension and complexity.

Example

Let each point [math]\displaystyle{ p_k }[/math] have coordinates [math]\displaystyle{ {p^1_k, p^2_k, ...} }[/math]. To place the first three points:

  1. Put [math]\displaystyle{ p_1 }[/math] at the origin, so [math]\displaystyle{ p_1 = {0,0,...} }[/math].
  2. Put [math]\displaystyle{ p_2 }[/math] on the first axis, so [math]\displaystyle{ p_2 = {(\delta_{12})^2, 0, ...} }[/math].
  3. To place [math]\displaystyle{ p_3 }[/math]:

[math]\displaystyle{ \begin{cases} (p^1_1 - p^1_3)^2 + (p^2_1 - p^2_3)^2 = (\delta_{13})^2\\ (p^1_2 - p^1_3)^2 + (p^2_2 - p^2_3)^2 = (\delta_{23})^2 \end{cases} }[/math] [math]\displaystyle{ \rightarrow \begin{cases} p^1_3 = \frac{(\delta_{12})^2 + (\delta_{13})^2 - (\delta_{23})^2}{2 \delta_{12}}\\ p^2_3 = \frac{\sqrt{(\delta_{31} + \delta_{32} + \delta_{12})(\delta_{31} + \delta_{32} - \delta_{12})(\delta_{31} - \delta_{32} + \delta_{12})(- \delta_{31} + \delta_{32} + \delta_{12})}}{2 \delta_{01}} \end{cases} }[/math]

In order to find a realization using the above algorithm, the discriminant of the distance quadratic system must be positive, which is equivalent to [math]\displaystyle{ \Delta p_1p_2p_3 }[/math] having positive volume. In general, the volume of the [math]\displaystyle{ n-1 }[/math] dimensional simplex formed by the [math]\displaystyle{ n }[/math] vertices is given by[14]

[math]\displaystyle{ V^{2}_{n-1} = \frac{(-1)^{n}}{2^{n-1} (n-1!)^{2}} \det (\hat{\Delta}) }[/math].

In this formula above, [math]\displaystyle{ \det (\hat{\Delta}) }[/math] is the Cayley-Menger determinant. This volume being positive is equivalent to the determinant of the volume matrix being positive.

Theorem (d not given)

Let K be a positive integer and D be a n × n symmetric hollow matrix with nonnegative elements, with n ≥ 2. D is a Euclidean distance matrix with dim(D) = K if and only if there exist [math]\displaystyle{ \{x_i\}_{i=1}^n \subseteq \mathbb{R}^K }[/math] and an index set I = [math]\displaystyle{ \{i_1,...,i_{K+1}\} \subseteq I_n }[/math] such that

[math]\displaystyle{ \begin{cases} x_i = 0 \\ x_{i_j} (j -1) \ne 0, & \mbox{ } j \in I_{2,K+1} \\ x_{i_j} (i) = 0, & \mbox{ } j \in I_{2,K}, i \in I_{j,K}, \end{cases} }[/math]

where [math]\displaystyle{ \{x_i\}_{i=1}^n }[/math] realizes D, where [math]\displaystyle{ x_h(l) }[/math] denotes the [math]\displaystyle{ l^{th} }[/math] component of the [math]\displaystyle{ h^{th} }[/math] vector.

The extensive proof of this theorem can be found at the following reference.[15]

Algorithm - K = edmsph(D, x)

Source:[15]

[math]\displaystyle{ I = \{1,2\} }[/math] [math]\displaystyle{ K = 1 }[/math] [math]\displaystyle{ (x_1, x_2) = (0, \sqrt{D_{12}}) }[/math] [math]\displaystyle{ \text{for i} \in \{3,...,n\}\text{ do} }[/math]

Γ [math]\displaystyle{ = \bigcap_{j \in I} S^K(x_j, D_{ij}) }[/math]
if Γ [math]\displaystyle{ = }[/math] ∅; then
return
else if Γ [math]\displaystyle{ = \{p_i\} \text{ } then }[/math]
[math]\displaystyle{ x_i = p_i }[/math]
else if Γ[math]\displaystyle{ = \{p_i^+, p_i^-\} \text{ } then }[/math]
[math]\displaystyle{ x_i = p_i^+ }[/math]
[math]\displaystyle{ x }[/math] ← expand([math]\displaystyle{ x }[/math])
II ∪ {i}
KK + 1
else
error: dim aff(span([math]\displaystyle{ x_j }[/math])) < K - 1
end if

end for return K

See also

Notes

  1. An n-dimensional body can't be immersed into k-dimensional space if [math]\displaystyle{ k\lt n. }[/math]
  2. The (hyper)volume of a figure does not depend on its vertices' numbering order.

References

  1. 1.0 1.1 1.2 Sitharam, Meera; St. John, Audrey; Sidman, Jessica. Handbook of Geometric Constraint Systems Principles. Boca Raton, FL: CRC Press. ISBN:978-1-4987-3891-0
  2. http://ufo2.cise.ufl.edu/index.php/Distance_Geometry Distance Geometry
  3. Six Mathematical Gems from the History of Distance Geometry
  4. Sommerville, D. M. Y. (1958). An Introduction to the Geometry of n Dimensions. New York: Dover Publications. 
  5. 5.0 5.1 5.2 5.3 5.4 Cayley-Menger Determinant
  6. 6.0 6.1 Simplex Encyclopedia of Mathematics
  7. "Simplex Volumes and the Cayley–Menger Determinant". https://www.mathpages.com/home/kmath664/kmath664.htm. 
  8. Blumenthal, L. M.; Gillam, B. E. (1943). "Distribution of Points in n-Space" (in en). The American Mathematical Monthly 50 (3): 181. doi:10.2307/2302400. 
  9. Tao, Terrence (2019-05-25). "The spherical Cayley–Menger determinant and the radius of the Earth" (in en). https://terrytao.wordpress.com/2019/05/25/the-spherical-cayley-menger-determinant-and-the-radius-of-the-earth/. 
  10. Heath, Thomas L. (1921). A History of Greek Mathematics (Vol II). Oxford University Press. pp. 321–323. 
  11. Audet, Daniel. "Déterminants sphérique et hyperbolique de Cayley–Menger". Bulletin AMQ LI: 45–52. https://archimede.mat.ulaval.ca/amq/bulletins/mai11/Chronique_note_math.mai11.pdf. 
  12. Dörrie, Heinrich (1965). 100 Great Problems of Elementary Mathematics. New York: Dover Publications. pp. 285–9. https://archive.org/details/100greatproblems0000dorr. 
  13. 13.0 13.1 13.2 Distance Geometry Wiki Page
  14. 14.0 14.1 Sitharam, Meera. "Lecture 1 through 6"." Geometric Complexity CIS6930, University of Florida. Received 28 Mar.2020
  15. 15.0 15.1 Realizing Euclidean Distance Matrices by Sphere Intersection