Normalize the normal vector , whose Euclidean norm is . The plane has the form
The scalar is the signed perpendicular distance from the origin in the chosen unit normal direction; the unsigned distance is . The nearest point is .
Subtracting the first equation from the third gives . The second equation then becomes , and the third fixes . The linear system has the following three consistency cases:
The first case is a unique solution, the second is an affine line in a vector space of solutions, and the third is an inconsistent linear system.
The common real variable gives the parametric equation of the line:
Write and . The point closest to the origin is orthogonal to , so . Its position is . The distance from a point to a line in three dimensions is therefore
The characteristic polynomial of the Hermitian matrix is
Solving the two eigenvector equations and using the Hermitian inner product to normalize gives
Indeed and both norms equal one. Multiplication of either eigenvector by any unit phase factor gives an equally valid normalized choice.
Where and , the separable differential equation gives
The requested point selects the implicit solution . The two real branches approaching that point are
There is an important initial value problem qualification: the differential equation as printed has no classical solution through the specified initial point. Its right side is undefined at , and these branches have an infinite one-sided derivative as . They satisfy the differential equation on and extend continuously to the requested point. Multiplying by the vanishing denominator produces an implicit differential equation with a larger domain; it does not repair the original initial value problem.

There are unlisted articles, also show them or only show them.