If either vector is zero, both sides vanish. Otherwise let be the angle between them. The magnitudes of the cross product and dot product are described bySquaring and using proves Lagrange's identity:
Assume the two line-defining points are distinct. Put and . The triangle formed by the three points has area . The same area is half the base length times the perpendicular height from the third point to the line. Hence the distance from a point to a line in three dimensions isThis remains valid when the nearest point lies outside the segment, since the base line is infinite. If all three points are collinear, the numerator and distance are both zero.
Use as an anchor. Two directions in the required plane areTheir cross product is , so a normal vector is . The Cartesian equation of a plane isDirect substitution verifies all three given points. The independent direction vectors ensure the plane is uniquely determined.
Articles by others on the same topic
There are currently no matching articles.