If P1(x1,y1,z1) and P2(x2,y2,z2) are any two points, the the vector joining P1 and P2 is the vector P1P2.
Joining the points P1 and P2 with the origin O and applying triangle law, from the triangle OP1P2 we have OP1+P1P2=OP2
Using the properties of vector addition, the above equation becomes P1P2=OP2−OP1
i.e., P1P2=(x2i^+y2j^+z2k^)−(x1i^+y1j^+z1k^) =(x2−x1)i^+(y2−y1)j^+(z2−z1)k^
The magnitude of vector P1P2 is given by P1P2=(x2−x1)2+(y2−y1)2+(z2−z1)2
So, option (d) is correct.