Plane–plane intersection

Consider the two planes defined by

nA(rAr0,A)=0 and nB(rBr0,B)=0.

They may or may not intersect. In 3, there are three cases:

coplanar ()
The two planes are equal. This implies that nA=knB, meaning the normal vectors are scalar multiples of each other. It also implies that n(r0,Ar0,B)=0, where n is either of the normal vectors (a vector joining the two initial points is parallel to the plane) . There are points of intersection.
parallel (0)
The two planes are parallel, so nA=knB, but they are not coplanar. Unlike before, n(r0,Ar0,B)0. The planes never intersect.
nonparallel ()
All other systems fall into this category. The planes are nonparallel, so nAknB. There is a line of intersection—not just a point.

This case analysis is exactly analogous to the intersection of two lines in two-space. We can also derive the rules for the intersection of three planes from this. First, intersection two of the planes—any two. If they are coplanar, then it is just a two-plane intersection problem (ignore the duplicate). If they have no intersections, neither do the three. And if there is a line of intersection, find the line–plane intersection between this line and the third plane. Expanding this third case into the three line–plane cases leaves use with five cases for the intersection of three planes: all the same, all parallel, two parallel, one shared line, and one shared point.

To find the line of intersection for two nonparallel planes, we need a direction vector and a point. If the planes have normal vectors n1 and n2, then the direction vector of the line is

m=n1×n2.

Next, take the two plane equations and use elimination to produce a third equation with only two variables. Choose a value for one of these (for example, let x=0) and solve for the other. Now take both values and plug them into one of the original plane equations to get the third coordinate. The resulting point should satisfy both plane equations; you can now write the equation of the line in vector form.