# Plane

A plane is a flat surface with limitless area. It takes only three points to determine a plane, but they must be non-collinear, i.e., they can't all be on the same line.

Mathematically, a plane takes the form Ax + By + Cz = Ax0 + By0 + Cz0, where the point (x0, y0, z0) is in the plane, and the three-dimensional vector <A, B, C> is normal (also orthogonal or perpendicular) to the plane.

When the principle of a plane is extended into higher dimensions, it is known as a hyperplane.

## How to find the equation of a plane from three points

Consider points A(xA, yA, zA), B(xB, yB, zB), and C(xC, yC, zC). How do you find the equation of the plane defined by those three points?

First, you must find the vector normal to the plane. This is found by calculating the cross product of two vectors in the plane.
vector AB = <(xB - xA), (yB - yA), (zB - zA)>
vector BC = <(xC - xB), (yC - yB), (zC - zB)>
AB cross BC = <D, E, F>
(D, E, and F stand for the numbers found when the cross product is calculated.)

The equation of the plane is then D(x - xA) + E(y - yA) + F(z - zA) = 0
(The coordinates of points B and C could have been used instead.)