Any point on the line can be written in parametric form as
(2λ−1,3λ+3,−λ+1)Assuming this as the foot of perpendicular from (5,4,2), we can equate the dot product of this vector and the line direction to zero.
∴((2λ−1−5)^i+(3λ+3−4)^j+(−λ+1−2)^k).(2^i+3^j−^k)=0
⇒(2λ−6)×2+(3λ−1)×3+(−λ−1)×(−1)=0
⇒4λ−12+9λ−3+λ+1=0
⇒14λ−14=0
⇒λ=1
The coordinates of the point are thus (1,6,0)
The length of the perpendicular can be found out by √(5−1)2+(4−6)2+(2−0)2=√16+4+4=√24
The foot of perpendicular would be the midpoint of P and the image of P in the line.
∴(5^i+4^j+2^k)+(x^i+y^j+z^k)=2×(^i+6^j)
⇒x=2−5=−3,y=12−4=8,z=0−2=−2
The image of point P is thus (−3,8,−2)