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 linearly 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,, are coplanar if and only if,
[(x2-x1) x (x4-x1)] ⋅ (x3-x1)=0.
(x2-x1) ⋅ [(x4-x1) x (x3-x1)]=0.
(c ⋅ \hata)\hata+(c ⋅ \hatb)\hatb=c,
where denotes the unit vector in the direction of . That is, the vector projections of on and on add to give the original .
Since three or fewer points are always coplanar, the problem of determining when a set of points are coplanar is generally of interest only when there are at least four points involved. In the case that there are exactly four points, several ad hoc methods can be employed, but a general method that works for any number of points uses vector methods and the property that a plane is determined by two linearly independent vectors.
In an -dimensional space where, a set of points
\{p0, p1, ..., pk-1\}
For example, given four points
\begin{align} X&=(x1,x2,...,xn),\\ Y&=(y1,y2,...,yn),\\ Z&=(z1,z2,...,zn),\\ W&=(w1,w2,...,wn),\end{align}
\begin{bmatrix} x1-w1&x2-w2&...&xn-wn\\ y1-w1&y2-w2&...&yn-wn\\ z1-w1&z2-w2&...&zn-wn\\ \end{bmatrix}
In the special case of a plane that contains the origin, the property can be simplified in the following way:A set of points and the origin are coplanar if and only if the matrix of the coordinates of the points is of rank 2 or less.
A skew polygon is a polygon whose vertices are not coplanar. Such a polygon must have at least four vertices; there are no skew triangles.
A polyhedron that has positive volume has vertices that are not all coplanar.