Consider the following subsets of the plane:$$C_1=\Big\{(x,y)~:~x>0~,~y=\frac1x\Big\} $$and$$C_2=\Big\{(x,y)~:~x<0~,~y=-1+\frac1x\Big\}$$Given any two points $P=(x,y)$ and $Q=(u,v)$ of the plane, their distance $d(P,Q)$ is defined by$$d(P,Q)=\sqrt{(x-u)^2+(y-v)^2}$$Show that there exists a unique choice of points $P_0\in C_1$ and $Q_0\in C_2$ such that$$d(P_0,Q_0)\leqslant d(P,Q)\quad\forall ~P\in C_1~\text{and}~Q\in C_2.$$
I took the points $(x,1/x)$ in $C_1$ and $(u,1/u-1)$ in $C_2$ and tried using distance formula but couldn't work it out. Please provide hints/solutions that use highschool mathematics only.
Given the square distance $$ d^2=f(x,u)= \frac{(u-x)^2+u x \left[u x (u-x)^2+2 (u-x)+u x\right]}{u^2 x^2} $$ if we make the derivatives with respect to $x$ and $u$ we get \begin{align} \frac{\partial f}{\partial x} &= -2\ \frac{u^2 x^3-u x^4+u x+u-x}{u x^3}, \\ \frac{\partial f}{\partial u} &= +2\ \frac{u^4 x-u^3 x^2+u x+u-x}{u^3 x}, \end{align} set the numerators equal to $0$ \begin{align} & u^2 x^3-u x^4+u x+u-x = 0, \\ & u^4 x-u^3 x^2+u x+u-x = 0, \end{align} if we add and subtract these equations, we get \begin{align} & u x (u-x) \left(u^2+x^2\right)+2 (u x+u-x) = 0, \\ & u x (u-x)^2 (u+x) = 0. \end{align} Given that $u<0<x,$ the only possible solution of second equation is given by $u=-x$, and substituting in the first equation we have $$ 2 x \left(2 x^4-x-2\right)=0. $$ Again, because $x>0,$ we have to find zeroes of $$ g(x)=2 x^4-x-2. $$ It is easy to see that this function is negative and decreasing from $x=0$ to $x=1/2,$ then it is increasing, and it is positive in $x=2,$ so by the Intermediate value theorem there should be a unique zero between $1/2$ and $2,$ and its value is $$ x=1.1173490365925787\ldots. $$