Solution:
Given:
The points (4,7,8),(2,3,4) and (−1,−2,1),(1,2,5).
Let us consider AB to be the line joining the points (4,7,8),(2,3,4) and CD to be the line through the points (−1,−2,1),(1,2,5).
Now,
The direction ratios, a1,b1,c1 of AB are:
(2−4),(3−7),(4−8)=−2,−4,−4
The direction ratios, a2,b2,c2 of CD are:
(1−(−1)),(2−(−2)),(5−1)=2,4,4
Then, AB will be parallel to CD, if:
a2a1=b2b1=c2c1
So,
a2a1=2−2=−1,b2b1=4−4=−1,c2c1=4−4=−1
Thus, we can say that:
a2a1=b2b1=c2c1=−1
Hence, AB is parallel to CD, where the line through the points (4,7,8),(2,3,4) is parallel to the line through the points (−1,−2,1),(1,2,5).