The vector joining the points P(x1,y1,z1) and Q(x2,y2,z2) can be obtained by,
→PQ= Position vector of Q− Position vector of P
=(x2−x1)^i+(y2−y1^j+(z2−z1)^k
∣∣→PQ∣∣=√(x2−x1)2+(y2−y1)2+(z2−z1)2
Hence,
the scalar components and the magnitude of the vector joining the given
points are respectively {(x2−x1),(y2−y1),(z2−z1)} and √(x2−x1)2,(y2−y1)2,(z2−z1)2.