What is the shortest distance between the helix with parametric equations: $$x = \cos u, \quad y = \sin u, \quad z = \tfrac{2}{\sqrt{\pi}}u\qquad \text{ for }u \in\mathbb{R}$$ and the line $$x + y = \sqrt{2},\quad z = −\sqrt{\pi}$$
What are the steps that should be followed in solving this problem or other similar ones?
Here's an outline of a solution:
Find a general formula for the shortest distance (i.e., perpendicular distance) between a given point $(a, b, c)$ and the line $x+y = \sqrt{2}$, $z = -\sqrt{\pi}$.
Assume further that your point $(a, b, c)$ lies on the helix, so it has the form $\left(\cos u, \sin u, \frac{2}{\pi}u\right)$. This will give you a function $d:\mathbb{R}\to\mathbb{R}$ which gives you the shortest distance between $\left(\cos u, \sin u, \frac{2}{\pi}u\right)$ and the line.
Now you can use calculus techniques (i.e., the derivative of $d$) to find the minimum value of $d(u)$, and the value(s) for $u$ where the minimum occurs.