I want to formally prove the following property:
The shortest distance between two differentiable non-intersecting curves is along their common normal.
I looked at the discussion on this on Quora, (Link: https://www.quora.com/How-can-I-show-that-the-shortest-distance-between-2-non-intersecting-curves-always-lies-along-their-common-normal), but the proofs were not formal there.
My approach: Let the curves be denoted by f and g respectively. And let AB be a line segment with A lying on f and B lying on g. WLOG, take A as the origin of the coordinate axis, and the tangent to f at A to be the x-axis. Let $B \equiv (b,g(b))$, $A = (0,0)$. Let the angle AB makes with the x-axis be $\theta \in (0,\pi)$. Let 2 rays from A making an angle of $\theta + \epsilon$ and $\theta - \epsilon$ ($\epsilon > 0$) with the x-axis intersect $y = g(x)$ at $B_1$ and $B_2$ respectively.
I wish to show that $\theta \neq \frac{\pi}{2} \Leftrightarrow |AB| > \min\{|AB_1|, |AB_2| \}$.
Suppose $\theta \neq \frac{\pi}{2} $. Then let $B_1 \equiv (b_1,g(b_1))$ and $B \equiv (b_2,g(b_2))$.Then \begin{align} g(b) &= b\tan(\theta)\\ g(b_1) &= b_1\tan(\theta + \epsilon)\\ g(b_2) &= b_2\tan(\theta - \epsilon) \\ \Rightarrow |AB| &= |b \sec(\theta) | \\ |AB_1| &= |b_1 \sec(\theta + \epsilon) | \\ |AB_2| &= |b_2 \sec(\theta - \epsilon) | \end{align} I wanted to relate $b_1$ and $b_2$ to $b$ using the continuity of $g$. However I am not able to do so. How do I proceed from here? - or is there an easier formal approach?