$$ \begin{array}{ll} \underset {x, y} {\text{minimize}} & f(x,y) := | a x - b y | \\ \text{subject to} & 0 \le x \le C_1 \\ & 0 \le y \le C_2 \end{array} $$
What is the minimum? I found a similar question, Minimum of $|az_x-bz_y|$, but their $x$ and $y$ are integers. Thus, I guess the question is very different.
I started by computing partials: \begin{align} \frac{df}{dx}=\frac{a(ax-by)}{|ax-by|}=a\, {\mathrm{sign}(ax-by)}\\ \frac{df}{dy}=\frac{b(by-ax)}{|ax-by|}= b\, {\mathrm{sign}(by-ax)}\\ \end{align}
Having difficulty proceeding further with the Lagrange method. Is there a simpler way?