Solution:
The direction cosines of a line joining two points P(x1,y1,z1) and Q(x2,y2,z2) are given by:
l=∣PQ∣x2−x1,m=∣PQ∣y2−y1,n=∣PQ∣z2−z1
Where ∣PQ∣ is the distance between the points P and Q, calculated as:
∣PQ∣=(x2−x1)2+(y2−y1)2+(z2−z1)2
For the points P(4,3,−5) and Q(−2,1,−8):
x2−x1=−2−4=−6,y2−y1=1−3=−2,z2−z1=−8−(−5)=−3
Now, calculate the distance ∣PQ∣:
∣PQ∣=(−6)2+(−2)2+(−3)2=36+4+9=49=7
Now, the direction cosines are:
l=7−6,m=7−2,n=7−3
Taking the line in the opposite direction (from Q to P) negates all three, so the direction cosines can equally be written as:
(76,72,73)
Answer: (A) (76,72,73)