Partial Euclidean Distance
Partial Euclidean Distance
Partial Euclidean Distance
Contents
1 Definition
o 1.1 One dimension
o 1.2 Two dimensions
o 1.3 Three dimensions
o 1.4 n dimensions
o 1.5 Squared Euclidean distance
2 See also
3 References
Definition[edit]
The Euclidean distance between points p and q is the length of the line
segment connecting them ( ).
In Cartesian coordinates, if p = (p1, p2,..., pn) and q = (q1, q2,..., qn) are two points
in Euclidean n-space, then the distance (d) from p to q, or from q to p is given by
the Pythagorean formula:
(
1
)
The position of a point in a Euclidean n-space is a Euclidean vector. So, p and q are
Euclidean vectors, starting from the origin of the space, and their tips indicate two
One dimension[edit]
In one dimension, the distance between two points on the real line is the absolute
value of their numerical difference. Thus if x and y are two points on the real line,
then the distance between them is given by:
which is the Euclidean distance. In higher dimensions there are other possible
norms.
Two dimensions[edit]
In the Euclidean plane, if p = (p1, p2) and q = (q1, q2) then the distance is given by
Three dimensions[edit]
In three-dimensional Euclidean space, the distance is
n dimensions[edit]
In general, for an n-dimensional space, the distance is
Squared Euclidean Distance is not a metric as it does not satisfy the triangle
inequality, however it is frequently used in optimization problems in which
distances only have to be compared.
It is also referred to as quadrance within the field of rational trigonometry.
See also[edit]
References[edit]
Deza, Elena; Deza, Michel Marie (2009). Encyclopedia of Distances.
Springer. p. 94.
"Cluster analysis". March 2, 2011.