Let $P(a,b,c)$ be a point and let a line pass through $(x_1,y_1,z_1)$ with direction ratios $(d,m,n)$. If $\vec{AP}=(a-x_1,\; b-y_1,\; c-z_1)$ where $A=(x_1,y_1,z_1)$, then the perpendicular distance from $P$ to the line is
A$\dfrac{|(a-x_1)d+(b-y_1)m+(c-z_1)n|}{\sqrt{d^2+m^2+n^2}}$
B$\sqrt{(a-x_1)^2+(b-y_1)^2+(c-z_1)^2}$
C$\sqrt{(a-x_1)^2+(b-y_1)^2+(c-z_1)^2-\dfrac{\left((a-x_1)d+(b-y_1)m+(c-z_1)n\right)^2}{d^2+m^2+n^2}}$
D$\dfrac{(a-x_1)^2+(b-y_1)^2+(c-z_1)^2}{d^2+m^2+n^2}$
Answer & Solution
Correct answer: C. $\sqrt{(a-x_1)^2+(b-y_1)^2+(c-z_1)^2-\dfrac{\left((a-x_1)d+(b-y_1)m+(c-z_1)n\right)^2}{d^2+m^2+n^2}}$
Let $\vec v=(a-x_1, b-y_1, c-z_1)$ and direction vector of the line be $\vec u=(d,m,n)$. The squared distance from the point to the line equals the squared length of $\vec v$ minus the squared length of the projection of $\vec v$ on $\vec u$. Therefore,
$$
\text{distance}=\sqrt{|\vec v|^2-\frac{(\vec v\cdot \vec u)^2}{|\vec u|^2}}
$$
which gives option C. Option A is the magnitude of the scalar projection, not the perpendicular distance; option B is just the distance from the given point on the line; option D has the wrong dimension.
Related questions
The angle θ between two PLANES with normals n1 and n2 satisfies:A point R divides the line joining P (position vector a) and Q (position vector b) INTERNAFor direction cosines l, m, n of any line in 3D:The Cartesian equation of a plane with intercepts 2, 3, 6 on the x, y, z axes is:The vector triple product a × (b × c) simplifies via:The scalar triple product [a b c] geometrically represents:A UNIT VECTOR in the direction of v = 3i + 4j is:Two non-zero vectors a and b are PERPENDICULAR if and only if: