The Euclidean distance between is
If a surface lies outside a sphere centered at the origin, its minimum distance to the sphere is its minimum radial distance minus the sphere radius. For each surface point, the triangle inequality gives that lower bound, and the radial point on the sphere attains it. Thus minimizing the squared norm on the surface suffices.
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.