Write the line lying in 2x+3y-z+1=0 , making a minimal angle…
Write the line lying in $2x+3y-z+1=0$, making a minimal angle with $\tfrac{x-3}1=\tfrac{y-3}2=\tfrac z1$, and at minimal distance from the origin.
Explanation of Method
Among the lines of minimal angle, the one closest to the origin.
Step 1: Solution
The direction is $\{0,1,3\}$, as in Problem 276. Parametrise the lines by $x=a$: through $P(a,y_0,2a+3y_0+1)$, \[d^2=\frac{|\overrightarrow{OP}\times\vec u|^2}{|\vec u|^2}=\frac{14a^2+4a+1}{10}\ \Longrightarrow\ a=-\tfrac17,\quad d_{\min}=\frac{1}{\sqrt{14}} .\]
\[x=-\frac17,\qquad \frac{y}{1}=\frac{z-\frac57}{3}\]
Geometric view: $d_{\min}=\tfrac1{\sqrt{14}}$ is exactly the distance from $O$ to the plane. So the optimal line passes through the foot $N=-\tfrac1{14}\{2,3,-1\}=\left(-\tfrac17,-\tfrac3{14},\tfrac1{14}\right)$, which indeed lies on it ($t=-\tfrac3{14}$).
- $276:\ x=0,\ \tfrac y1=\tfrac{z-1}3$
- $277:\ x=-\tfrac17,\ \tfrac y1=\tfrac{z-5/7}{3}$
Result
\[\boxed{\,x=-\frac17,\qquad \frac{y}{1}=\frac{z-\frac57}{3}\,}\]