Relative positions of a straight line and a plane

To determine the relative positions of a straight line r(A;v) and a plane π(P;u,v), we express the straight line by means of its implicit equations and the plane with its general equation:

r:{A1x+B1y+C1z+D1=0A2x+B2y+C2z+D2=0π:Ax+By+Cz+D=0

Next we consider the system formed by three equations and write the matrix M and the extended matrix M associated with this system:

M=(ABCA1B1C1A2B2C2)

M=(ABCDA1B1C1D1A2B2C2D2)

According to the compatibility of the system we will determine their relative position:

Compatible system

Determined

rank(M)=rank(M)=3

Determined Compatible system. The straight line and the plane are secant.

Indeterminate

rank(M)=rank(M)=2

Indeterminate compatible system. The solutions depend on a parameter. The straight line is contained in the plane.

Incompatible system

rank(M)=2rank(M)=3

Incompatible system. The straight line and the plane are parallel.

Example

Determine the relative position of the straight line r:(x,y,z)=(2,1,0)+k(1,2,1) and the plane π:(x,y,z)=(5,0,0)+l(3,0,1)+m(4,1,1)

We start by considering the matrix which columns are the components of the three director vectors (2 of the plane and 1 of the straight line) and we find its rank:

|M|=|134201111|=0

Therefore rank(M)=2, and the straight line will be contained or it will be parallel to the plane.

To see what case we are faced with, we can take a point of the straight line P and look to see if it belongs to the plane π.

P=(2,1,0)

We substitute in π:

2=5+3l+4m1=m0=l+m

Therefore m=1,l=1, and we see that the point does not belong to the plane.

Thus, the straight line and the plane are parallel.