Let, point A is (1,2,4) and any general point on the line is B(λ+2,2λ+7,−λ+3) , AB→=(λ+1)i^+(2λ+5)j^+(−λ−1)k^
and a vector parallel to the line is b→=i^+2j^−k^ AB→⋅b→=0⇒λ+1+4λ+10+λ+1=0 ⇒λ=−2
The length of the perpendicular =∣∣AB→∣∣ =(−2+1)2+(−4+5)2+(2−1)2=3 units