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 , , soFor 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.