Cayley–Menger determinant
In linear algebra, geometry, and trigonometry, the Cayley–Menger determinant is a formula for the content, i.e. the higher-dimensional volume, of an -dimensional simplex in terms of the squares of all the distances between pairs of its vertices. This determinant is named after Arthur Cayley and Karl Menger.
The pairwise distance polynomials between 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, as well as computing the content of an -dimensional simplex, and ultimately, in the field of distance geometry, determining whether any real symmetric matrix is a Euclidean distance matrix for some points.[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 results to propose a new axiom of metric spaces using the concepts of distance geometry up to congruence equivalence, 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 in terms of its side lengths.[3]
Definition
Let be points in -dimensional Euclidean space, with Template:Tmath.Template:Efn These points are the vertices of an -dimensional simplex: a triangle when Template:Tmath, a tetrahedron when Template:Tmath, and so on. Let be the Euclidean distances between vertices and Template:Tmath. The content, i.e., the -dimensional volume of this simplex, denoted by Template:Tmath, can be expressed as a function of and the determinant of a certain matrix, in two possible ways:[4][5]
This is the Cayley–Menger determinant. For Template:Tmath, we are dealing with a triangle, where swapping edges changes orientation (if orientable), but not area, thus it is necessarily a symmetric polynomial in the 's, and invariant under permutation of these quantities. For any larger n-simplex, where Template:Tmath, only in special cases will swapping edges be invariant.Template:Efn In particular, for Template:Tmath, swapping the distances between any pair of skew edges in a sufficiently irregular tetrahedron leads (at best) to a different tetrahedron, with a different determinant; even for the less aggressive case of swapping the distances between any pair of edges that share a vertex, this will flip the orientation of one face (formed by the three vertices of the connected edges), without flipping the orientation of their three connections to the 4th vertex, potentially forming a different tetrahedron, but this mutated object might not even be a viable tetrahedron, in the general case.
The final row and column of 's (and ) in the second form of this equation could simultaneously be moved to be the first row and column, giving the same result. Regardless, except for that row and column, the matrix is a Euclidean distance matrix.
The usual formula for the oriented volume of a simplex is times the determinant of the matrix composed of the edge vectors Template:Tmath. Unlike the Cayley–Menger determinant, the latter matrix changes with rotation of the simplex, though not with translation; regardless, its determinant and the resulting volume do not change.
Special cases
To reiterate, an -simplex is an -dimensional polytope and the convex hull of points which do not lie in any -dimensional plane.[6]
-Simplex
Hence, a -simplex occurs when and the simplex results in a triangle. Therefore, the formula for determining of a triangle is provided below:[5]
As a result, the equation above presents the content of a -simplex (area of a planar triangle with side lengths Template:Tmath, Template:Tmath, and Template:Tmath) and it is a generalised form of Heron's Formula.[5]
-Simplex
Similarly, a Template:Tmath-simplex occurs when and the simplex results in a tetrahedron.[6] Therefore, the formula for determining of a tetrahedron is provided below:[5]
As a result, the equation above presents the content of a -simplex, which is the volume of a tetrahedron where the edge between vertices and has length Template:Tmath.[5]
Proof
Let the column vectors be points in Template:Tmath-dimensional Euclidean space. Starting with the volume formula in terms of an matrix,
we note that the determinant is unchanged when we add an extra row and column to make an matrix,
where is the square of the length of the vector Template:Tmath. Additionally, we note that the matrix
has a determinant of Template:Tmath. Thus,[7]
Examples
In the case Template:Tmath, is the area of a triangle and thus we will denote this by Template:Tmath. By the Cayley–Menger determinant, where the triangle has side lengths Template:Tmath, Template:Tmath, and Template:Tmath,
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 its three sides, which was known to Archimedes prior.[8]
In the case Template:Tmath, the quantity gives the volume of a tetrahedron, which we will denote by Template:Tmath. For distances between and denoted by Template:Tmath, the Cayley–Menger determinant gives[9][10]
Finding the circumradius of a simplex
Given a nondegenerate -simplex, it has a circumscribed -sphere, with radius Template:Tmath. Then the Template:Tmath-simplex made of the vertices of the Template:Tmath-simplex and the center of the Template:Tmath-sphere is degenerate. Thus, we have
Using ,, and , this is equivalent to
which is a quadratic equation for Template:Tmath. Solving for Template:Tmath, we get [11]
For example, when Template:Tmath, 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 Template:Math (with at least three distinct elements) is called straight if and only if, for any three elements Template:Mvar, Template:Mvar, and Template:Mvar of Template:Math,[12]
Plane
A set Template:Math (with at least four distinct elements) is called plane if and only if, for any four elements Template:Mvar, Template:Mvar, Template:Mvar and Template:Mvar of Template:Math,[12]
but not all triples of elements of Template:Math are straight to each other;
Flat
A set Template:Mvar (with at least five distinct elements) is called flat if and only if, for any five elements Template:Mvar, Template:Mvar, Template:Mvar, Template:Mvar and Template:Mvar of Template:Mvar,[12]
but not all quadruples of elements of Template:Mvar 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 (unrelated to the theorem of that name in graph theory). The theorem states:
- For a finite set of points Template:Tmath, a semi-metric can be obtained from a Euclidean metric of dimension n if and only if every Cayley-Menger determinant on points is strictly positive, every determinant on points vanishes, and a Cayley-Menger determinant on at least one set of points is nonnegative (in which case it is necessarily zero).[1]
In simpler terms, if every subset of points can be isometrically embedded in an Template:Tmath-dimensional, but not generally Template:Tmath-dimensional Euclidean space, then the semi-metric is Euclidean of dimension unless consists of exactly points and the Cayley–Menger determinant on those points is strictly negative. This type of semi-metric would be classified as 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, Template:Tmath, via a geometric constraint solving algorithm. The second algorithm does so when the dimension, Template:Tmath, is not provided. This algorithm theoretically finds a realization of the full 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 dimensional simplex below than above.
- Theorem. An matrix is a Euclidean Distance Matrix if and only if for all submatrices of Template:Tmath, where Template:Tmath, Template:Tmath. For to have a realization in dimension Template:Tmath, if Template:Tmath, then Template:Tmath.[13]
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 or Gramian Matrix Template:Tmath.
- Output
- Pointset
- Procedure
- If the dimension is fixed, we can solve a system of polynomial equations, one for each inner product entry of Template:Tmath, where the variables are the coordinates of each point in the desired dimension Template:Tmath.
- Otherwise, we can solve for one point at a time.
- Solve for the coordinates of using its distances to all previously placed points Template:Tmath. Thus, is represented by at most coordinate values, ensuring minimum dimension and complexity.
Example
Let each point have coordinates Template:Tmath. To place the first three points:
- Put at the origin, so Template:Tmath.
- Put on the first axis, so Template:Tmath.
- To place :
In order to find a realization using the above algorithm, the discriminant of the distance quadratic system must be positive, which is equivalent to having positive volume. In general, the volume of the dimensional simplex formed by the vertices is given by[13]
In this formula above, 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 Template:Mvar be a positive integer and Template:Mvar be a Template:Math symmetric hollow matrix with nonnegative elements, with Template:Math. Template:Mvar is a Euclidean distance matrix with Template:Math if and only if there exist and an index set Template:Math such that
where realizes Template:Mvar, where denotes the component of the vector.
The extensive proof of this theorem can be found at the following reference.[14]
Algorithm - K = edmsph(D, x)
Source:[14]
- Γ
- if Γ ∅; then
- return ∞
- else if Γ
- else if Γ
- ← expand()
- Template:Math
- Template:Math
- else
- error: Template:Math
- end if
end for return K
See also
Notes
References
- ↑ 1.0 1.1 1.2 Sitharam, Meera; St. John, Audrey; Sidman, Jessica. Handbook of Geometric Constraint Systems Principles. Boca Raton, FL: CRC Press. Template:ISBN
- ↑ http://ufo2.cise.ufl.edu/index.php/Distance_Geometry Distance Geometry
- ↑ Six Mathematical Gems from the History of Distance Geometry
- ↑ Template:Cite book
- ↑ 5.0 5.1 5.2 5.3 5.4 Cayley-Menger Determinant
- ↑ 6.0 6.1 Simplex Encyclopedia of Mathematics
- ↑ Template:Cite web
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite journal
- ↑ 12.0 12.1 12.2 Distance Geometry Wiki Page
- ↑ 13.0 13.1 Sitharam, Meera. "Lecture 1 through 6"." Geometric Complexity CIS6930, University of Florida. Received 28 Mar.2020
- ↑ 14.0 14.1 Realizing Euclidean Distance Matrices by Sphere Intersection