The Euclidean distance between is
Let , let be the unit sphere in Euclidean space, and let be a nonempty subset of . For each ,
The reverse triangle inequality gives the lower bound, and the radial point attains it when ; when , every point of the sphere is at distance . Taking the infimum gives
If a surface lies outside the sphere, meaning for all , this becomes the title formula . Minimizing the squared norm is then equivalent when a minimizer exists. The word minimum requires attainment: it follows, for example, when is compact. In , the surface has distance from the sphere, but no point of attains that distance.
For a line with , its unit normal is . Choose any point on the line and project the displacement to onto this normal. The absolute value of that projection gives the title formula. This is the shortest Euclidean distance, because any displacement to a different point on the line has the same normal component and an additional orthogonal tangential component.
For distinct points , the cross product in the numerator has magnitude twice the area of the triangle with third vertex . The same double area is the base length times the perpendicular height from , proving the displayed Euclidean distance. Equivalently, let and project onto the line direction. The squared distance is ; Lagrange's identity gives the same cross-product formula.
For two planes and with linearly independent normal vectors, put , , and . Their intersection is a line parallel to . Its closest point to the origin is orthogonal to that direction, hence has the form . The constraints give , , so
For every other point , orthogonality gives squared distance , proving the global minimum and its uniqueness. The positive determinant also proves that an intersection exists for every real . Parallel normals require a separate consistency check and do not define a unique intersection line.
With fixed positive scale estimates , this is Euclidean distance in standardized coordinates. It removes marginal units but ignores correlations. Small estimated variances can greatly amplify measurement noise; a zero scale must be handled separately.

Ancestors (6)

  1. Metric space
  2. Topological analysis
  3. Analysis
  4. Area of mathematics
  5. Mathematics
  6. Home

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

Euclidean distance is a measure of the straight-line distance between two points in Euclidean space. It is one of the most common distance metrics used in various applications, such as clustering, classification, and spatial analysis.