Problem.
Let $(X,d_X)$ and $(Y,d_Y)$ be two metric spaces and let $U\subseteq X$ and $V\subseteq Y$ such that $U$ and $V$ are respectively open in $X$ and $Y$. Show that $U\times V$ is open in $(X\times Y,d_{X\times Y})$. Where $d_{X\times Y}((x_1,y_1),(x_2,y_2))=\max \{d_X(x_1,x_2),d_Y(y_1,y_2)\}$ for all $(x_1,y_1), (x_2,y_2)\in X\times Y$.
Proof.
Since $U\subseteq X$ and $U$ is open, for all $x\in U$ we can say that there exists $r_x>0$ such that the set $B_{d_X}(x,r_x)\subseteq U$ will be an open ball in $U$. Similarly the set $B_{d_Y}(y,r_y)\subseteq V$ will be an open ball in $V$.
Let $r=\min\{r_x,r_y\}$. Now we observe that,
\begin{align}(x_0,y_0)\in B_{d_{X\times Y}}((x,y),r)\cap (U\times V)&\implies d_{X\times Y}((x,y),(x_0,y_0))<r\\&\implies \max\{d_X(x,x_0),d_Y(y,y_0)\}<r\\&\implies (d_X(x,x_0)<r) \land (d_Y(y,y_0)<r)\\&\implies (x_0\in B_{d_X}(x,r))\land (y_0\in B_{d_Y}(y,r))\\&\implies (x_0,y_0)\in B_{d_X}(x,r)\times B_{d_Y}(y,r)\end{align}
So it follows that, $$B_{d_{X\times Y}}((x,y),r)\cap (U\times V)\subseteq B_{d_X}(x,r)\times (B_{d_Y}(y,r)\subseteq U\times V$$Now since $B_{d_{X\times Y}}((x,y),r)\cap (U\times V)$ is an open ball (this follows from the definition of an open ball) in $U\times V$ (it is easy to show that $B_{d_{X\times Y}}((x,y),r)\cap (U\times V)\subseteq U\times V$) we can say that $U\times V$ is open in $X\times Y$ and we are done.
Would there be any problem if we take $r=\max\{r_x,r_y\}$?