Given cube of side 47
Angular point is P(47,47,47)
The diagonal which does not pass through angular point passes through (47,47,0) and (0,0,47)
Line equation diagonal is
x−047=y47=z−47−47(1)
To find perpendicular distance from P to line, we take arbitrary point on line
x47=y47=z−47−47=tx=47t,y=47t,z=−47t+47
Let Q(47t,47t,−47t+47)
d.r's of PQ is perpendicular to line (1)
By perpendicular property
47(47t−47)+47(47t−47)−47(47t)=0t=23
Substitute t=23 in Q point
We get Q=(47×23,47×23,+473)
Perpendicular distance =PQ=P
By distance formula
P=√(47−47×23)2+(47−47×23)2+(47×23)2
Squaring on both sides
P2=(473)2+(473)2+4×(473)2
Multiply 3 on both sides
3P2=3[6×(473)2]=2×472=4418