We are asked to find a plane P which (i) contains the line given by the simultaneous equations x+2y+3z+1=0 and x−y−z−6=0 and (ii) is perpendicular to the plane −2x+y+z+8=0. Finally, we must decide which of the listed points lies on that plane.
First, recall that all planes passing through a given line can be written as a linear combination of the two plane‐equations that define the line. Hence the general equation of any plane through our line is
(x+2y+3z+1)+k(x−y−z−6)=0,
where k is a real parameter. Expanding and collecting like terms we obtain
(1+k)x+(2−k)y+(3−k)z+(1−6k)=0.
This is the family of planes containing the required line. Let us denote the normal vector of this plane by
n1=(1+k,2−k,3−k).
Next, the given plane −2x+y+z+8=0 has normal vector
n2=(−2,1,1).
The condition for two planes to be perpendicular is that their normals are perpendicular, i.e. their dot product must vanish. Stating the formula, for vectors a=(a1,a2,a3) and b=(b1,b2,b3) we have
a⋅b=a1b1+a2b2+a3b3.
Applying this here we set
n1⋅n2=0.
So we compute
(1+k)(−2)+(2−k)(1)+(3−k)(1)−2(1+k)+(2−k)+(3−k)−2−2k+2−k+3−k3−4k=0,=0,=0,=0.
Solving the last equation gives
k=43.
Substituting this value of k back into the coefficients of the plane we find
1+k2−k3−k1−6k=1+43=47,=2−43=45,=3−43=49,=1−6(43)=1−418=−27.
Hence the required plane P is
47x+45y+49z−27=0.
To clear the denominators we multiply the entire equation by 4, obtaining
7x+5y+9z−14=0.
Now we test each option by substituting the coordinates into this equation.
Option A: (2,−1,1) gives 7(2)+5(−1)+9(1)−14=14−5+9−14=4=0. So it is not on P.
Option B: (0,1,1) gives 7(0)+5(1)+9(1)−14=0, hence this point does satisfy the plane equation.
Option C: (−1,1,2) gives 7(−1)+5(1)+9(2)−14=−7+5+18−14=2=0.
Option D: (1,0,1) gives 7(1)+5(0)+9(1)−14=2=0.
Only Option B satisfies the plane equation.
Hence, the correct answer is Option 2.