The distance of the point P(−2,3,1) from the line QR, through Q(−3,6,2) which makes equal angles with the axes is
QR makes equal angles with axis ±1√3
DR of QR are (±1√3,±1√3,±1√3)
DR of QR are (±1,±1,±1)
⇒QR:x+31=y−61=z−21=t
Foot of perpendicular from P be P′ (t−3,t+6,t+2)
DR's of PP′ are perpendicular to QR
DR's of PP′(t−3−1−2,t+6−3,t+2−1)
=(t−1,t+3,t+1)
−−→PP′.−−→QR=0
⇒(t−1)+t+3+t+1=0
3t+3=0
t=−1
⇒P′(−4,5,1)
|PP′|=√(−2+4)2+(3−5)2+(1−1)2=2√2