Given,
N be the foot of perpendicular from the pointP(1,−2,3) on the line passing through the points (4,5,8) and (1,−7,5),
Now finding direction ratio of line L we get,
(4−1,5+7,8−5)≡(3,12,3)≡(1,4,1)
Hence, the equation of Line will be,
L:1x−1=4y+7=1z−5=r
Now let point N≡(r+1,4r−7,r+5)
And given P≡(1,−2,3)
So, direction ratio of PN(r,4r−5,r+2)
Since, PN⊥L so by perpendicular condition we get,
r+4(4r−5)+(r+2)=0
⇒r=1
Hence, N≡(2,−3,6)
Now finding, distance of N(2,−3,6) from plane 2x−2y+z+5=0 we get,
Distance=∣4+4+14+6+6+5∣=7