
Given a line $y = \alpha x$ and a point $(a, b)$ in $\mathbb{R}^2$,
I derived the distance formulas for the $L^1$, $L^2$, and $L^\infty$ norms in closed form as follows:
$L^1$ distance: $\space \space d_{L^1} = |a \alpha - b|\cdot \min(1,\frac{1}{|\alpha|})$
$L^2$ distance: $\space \space d_{L...