The correct option is C 2(p2+q2+r2)
Given p,q,r are projections of AB on coordinate axes.
d1,d2,d3 are coordinate planes then d21+d22+d23
Let A be the origin and B be the point in plane (x,y,z)
Formula: Projection of point (x,y,z) on X-axis is (x,0,0)
On Y-axis is (0,y,0)
On Z-axis is (0,0,z)
Projection of point (x,y,z) on XY plane is (x,y,0)
On YZ plane is (0,y,z)
On ZX plane is (x,0,z)
In this case
p=x(4)q=y(5)z=r(6)d1=√x2+y2(1)d2=√y2+z2(2)d3=√x2+z2(3)
Squaring and adding (1),(2),(3) equations
d21+d22+d23=x2+y2+y2+z2+x2+z2=2(x2+y2+z2)(1)
From (4),(5),(6)
d21+d22+d23=2(p2+q2+r2)