Euclidean distance matrix
From Wikipedia, the free encyclopedia
It has been suggested that this article or section be merged with Distance matrix. (Discuss) |
In mathematics, a Euclidean distance matrix is an n×n matrix representing the spacing of a set of n points in Euclidean space. If A is a Euclidean distance matrix and the points are defined on m-dimensional space, then the elements of A are given by
where ||.||2 denotes the 2-norm on Rm.
[edit] Properties
Simply put, the element aij describes the square of the distance between the i th and j th points in the set. By the properties of the 2-norm (or indeed, Euclidean distance in general), the matrix A has the following properties.
- All elements on the diagonal of A are zero (i.e. is it a hollow matrix).
- The trace of A is zero (by the above property).
- A is symmetric (i.e. aij = aji).
- aij1/2 is less than or equal to aik1/2 + akj1/2 (by the triangle inequality)