In geometry, a set of points in space are coplanar if there exists a geometric plane that contains them all. For example, three points are always coplanar, and if the points are distinct and non-collinear, the plane they determine is unique. However, a set of four or more distinct points will, in general, not lie in a single plane.
Two lines in three-dimensional space are coplanar if there is a plane that includes them both. This occurs if the lines are parallel, or if they intersect each other. Two lines that are not coplanar are called skew lines.
Distance geometry provides a solution technique for the problem of determining whether a set of points is coplanar, knowing only the distances between them.
In three-dimensional space, two independent vectors with the same initial point determine a plane through that point. Their cross product is a normal vector to that plane, and any vector orthogonal to this cross product through the initial point will lie in the plane. This leads to the following coplanarity test using a scalar triple product. Four distinct points, x1, x2, x3 and x4 are coplanar if and only if,
which is equivalent to
If three vectors a, b and c are coplanar, then if a⋅b = 0 (i.e., a and b are orthogonal) then
where denotes the unit vector in the direction of a. That is, the vector projections of c on a and c on b add to give the original c.