Definitioncore
Cayley-Menger determinant
Also called Cayley-Menger matrix.
A bordered determinant of squared distances. It gives the squared volume of a simplex and tests whether given distances can be realized in d dimensions.
The Cayley-Menger determinant turns a table of squared distances into a volume. For points it is a single determinant of size , built only from the squared distances between the points, and it equals the squared -dimensional volume of their simplex times a fixed constant. So it needs no coordinates. Its sign tells whether the distances can come from real points, and its vanishing tells whether the points fit in fewer dimensions. In geometric constraint solving it is the standard way to write a distance constraint system without coordinates.
Definition
Let be points in and put . The Cayley-Menger matrix is the symmetric matrix
the matrix of squared distances with a border of ones and a zero in the corner. Its determinant is the Cayley-Menger determinant, written . The same formula applies to any symmetric table with zero diagonal, whether or not it comes from points. Then is a polynomial of degree in the entries of .
Let be the -dimensional volume of the simplex with vertices : the length of a segment for , the area of a triangle for , the volume of a tetrahedron for .
Theorem. For all points ,
For this reads for a segment of length , for a triangle of area , and for a tetrahedron of volume .
Proof for the triangle. Write , and for the squared side lengths. Expansion of the determinant gives
Now put and . The parallelogram on and has area , so . From we get , with and . So
This is Heron's formula written in squared lengths.
Proof in general. The same idea works for every , through the Gram matrix. Put for and let be the Gram matrix . As above, .
Step 1: . Index the rows and columns of the Cayley-Menger matrix by , where is the border. For each subtract row from row , and then for each subtract column from column . These operations do not change the determinant. In the border row, the entries in columns become , and in the border column the entries in rows become too. Row keeps the entries , and . For the entry becomes . In block form, with ,
The border row has its only nonzero entry, a 1, in column , at position , so the expansion along it gives the factor times the minor without row and column . That minor is block triangular, , with determinant . So .
Step 2: . Choose an orthonormal basis of a -dimensional subspace that contains , and let be the matrix of the coordinates of the in it. Then and . The volume of the parallelepiped on is , and the simplex is of it, so .
Realizability. A symmetric table with zero diagonal on points is realizable in if there are points in with for all . For a set write for the Cayley-Menger determinant of restricted to .
Theorem (Schoenberg 1935, in Cayley-Menger form). is realizable in some Euclidean space if and only if for every nonempty . It is realizable in if and only if, in addition, for every with .
Proof. Define from by for . Step 1 above used only the entries of , so it gives for the principal submatrix . A symmetric matrix is positive semidefinite exactly when all of its principal minors are nonnegative, so the sign condition says that is positive semidefinite. If comes from points, then is the Gram matrix of the vectors , which is positive semidefinite of rank at most . Conversely, if is positive semidefinite of rank , write with of size , from an eigenvalue decomposition. Put and let be column of . Then , so and . These points lie in . Finally, a positive semidefinite matrix has rank at most exactly when all of its principal minors of order vanish, which is the condition for .
The proof is also the algorithm used in practice: build , take an eigenvalue decomposition, and read off coordinates. This is classical multidimensional scaling, which on noisy data keeps the largest eigenvalues.
Examples and non-examples
All values are exact.
- A segment. For and , and .
- The 3, 4, 5 triangle. For , and , the squared sides are , and . Then and , so . The area is 6.
- Tetrahedra. The tetrahedron , , , has volume and . The tetrahedron , , , has volume 4, Gram determinant , and .
- Flat simplices. Points on a line have squared distances , and . The four corners of the unit square give , as does any set of five points in , since their simplex has no 4-dimensional volume.
- Lengths that are not a triangle. The lengths break the triangle inequality. The squared lengths give , so has no real solution and no triangle has these sides. For three points the sign condition of the realizability theorem is exactly the triangle inequality.
- A distance constraint from a determinant. Take the rectangle , , , and forget . The other five squared distances are , , , and . Four points in the plane need , which as a function of is
with roots and . The root 25 is the rectangle. The root belongs to the other placement of , its mirror image in the diagonal , which keeps and . This is the two-solution choice of a circle-circle intersection, written without coordinates, and the choice between the roots is the root identification problem. For strictly between the roots, , which is of a real tetrahedron: the triangle turned out of the plane about .
- Non-example: unsquared distances. The determinant must be formed from squared distances. With the plain lengths in place of the identity fails, since the matrix entries enter the volume formula through the Gram matrix, which is linear in the squares.
- Non-example: one sign condition is not enough. Take five points with squared distances , , , , , , , , and . The Gram matrix has , so has the sign of a real 4-simplex. Yet the face has lengths , which break the triangle inequality, and its determinant is . A symmetric matrix with a positive determinant can have negative principal minors, which is why the theorem asks for the sign condition on every subset.
Related definitions
- Gram matrix and distance matrix. The map with and its inverse convert between squared distances and inner products. Classical multidimensional scaling uses the centred form of the same map.
- Distance geometry problem. When only some of the distances are given, realizability asks for values of the missing entries that make all the Cayley-Menger conditions hold. The missing entries enter the determinants as unknowns, so the conditions become polynomial equations and inequalities. Deciding them is NP-hard already on a line.
- Rigidity matrix. The rigidity matrix is the derivative of the squared lengths with respect to coordinates. The Cayley-Menger approach drops the coordinates and works with the squared lengths themselves as unknowns.
- Distance constraint solving. For a bar-and-joint framework built by adding one point at a time, as in constructive constraint solving, each new point in the plane lies on a triangle, and each in space on a tetrahedron, whose Cayley-Menger determinant gives the new distances in closed form.
- Semidefinite relaxation. Realizability in some dimension is the positive semidefiniteness of , a linear matrix inequality in the unknown squared distances, so it can be handled by semidefinite programming. The rank condition for is not convex, and dropping it is the usual relaxation.
References
- Arthur Cayley, On a theorem in the geometry of position, Cambridge Mathematical Journal 2, 267 to 271, 1841, the determinant relation between the ten distances of five points in space and the six of four points in a plane
- Karl Menger, Untersuchungen über allgemeine Metrik, Mathematische Annalen 100, 75 to 163, 1928, the bordered determinant of squared distances and the characterization of subsets of Euclidean space by distances alone
- I. J. Schoenberg, Remarks to Maurice Fréchet's article "Sur la définition axiomatique d'une classe d'espaces distanciés vectoriellement applicable sur l'espace de Hilbert", Annals of Mathematics 36(3), 724 to 732, 1935, a symmetric matrix with zero diagonal is a matrix of squared Euclidean distances if and only if the derived Gram matrix is positive semidefinite
- Leonard M. Blumenthal, Theory and Applications of Distance Geometry, Oxford, Clarendon Press, 1953, the chapters on Cayley-Menger determinants and on the embedding of semimetric spaces in Euclidean space
- Leo Liberti, Carlile Lavor, Nelson Maculan and Antonio Mucherino, Euclidean distance geometry and applications, SIAM Review 56(1), 3 to 69, 2014, the sections on Cayley-Menger determinants, Gram matrices and realizability
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag T3G9B4 Edit this page History Report an error Markdown