Question
Question: A line with positive direction cosines passes through the point \(P\left( 2,-1,2 \right)\) and makes...
A line with positive direction cosines passes through the point P(2,−1,2) and makes equal angles with the coordinate axes. The line meets the plane 2x+y+z=9 at point Q. The length of the line segment PQ equals
A. 1
B. 2
C. 3
D. 2
Solution
In this problem we need to calculate the length of the given segment according to the given geometric conditions. In the question we have given that the line has positive directional cosines and makes equal angles with the coordinate system. So, the directional cosines of the line will become l=m=n=31. Now we have the point P(2,−1,2) and the directional cosines, so we can write the equation of the line as lx−x1=my−y1=nz−z1=r. From this we can write the equation of the line and calculate the coordinates of the point Q which lies on the calculated line. Now in the problem they have mentioned that the point Q also lies on the plane 2x+y+z=9. So, we will substitute the coordinates of the point Q and calculate the value of r. From this we can simply find the distance between two points by using the formulad=(x2−x1)2+(y2−y1)2+(z2−z1)2.
Complete step by step answer:
Given that, A line with positive direction cosines passes through the point P(2,−1,2).
If a line is making equal angle with the all the coordinate axis, then the directional cosines of the line will be (l,m,n)=(±31,±31,±31). But in the problem, they have mentioned that the given line has positive directional cosines, then the dc’s of the line will be
l=m=n=31.
Now the equation of the line having the directional cosines as l=m=n=31 and passes through the point P(2,−1,2) from the know formula lx−x1=my−y1=nz−z1=r is
31x−2=31y+1=31z−2=r⇒x−2=y+1=z−2=r
Where r is a constant.
Now the coordinates of the point Q which lies in the above line is given by
Q=(r+2,r−1,r+2)
But the point Q also lies in the plane 2x+y+z=9, then we can write
2(r+2)+(r−1)+(r+2)=9⇒2r+4+r−1+r+2=9⇒4r+5=9⇒4r=4⇒r=1
From the value of r the coordinates of the point Q will be
Q=(1+2,1−1,1+2)⇒Q=(3,0,3)
Now the distance between the two points P(2,−1,2) and Q(3,0,3) from the formula d=(x2−x1)2+(y2−y1)2+(z2−z1)2 is given by
d=(3−2)2+(0+1)2+(2−3)2⇒d=3
Hence the distance between the points P(2,−1,2) and Q(3,0,3) is 3 units.
Note: We can also simplify solve this problem by assuming the coordinates of the point Q as (2+3d,−1+3d,2+3d) where d is the distance between the two points. Now on substituting the point Q in the plane 2x+y+z=9 we will get
2(2+3d)+(−1+3d)+(2+3d)=9⇒4+32d−1+3d+2+3d=9⇒34d=4⇒d=3
From both the methods we got the same result.