Let $f:M\to N\times N$ continuous with $M,N$ metric spaces and $\triangle\subset N\times N$ a diagonal. Prove that $f^{-1}(N\times N-\Delta)$ is a union of open ball in M.
If f is continuous, then for all open set $V\subset N\times N$, $f^{−1}(V)$ is open in M. So, I should proof that , $N\times N-\Delta$ is an open set. If I take $(x,y)\notin N\times N-\triangle$ this mean, $x\neq y$, and define $r=\dfrac{d(x,y)}{2}>0$, then $(x,y)\in B((x,y),r)\subset N\times N-\triangle$, but this open ball is up or down the diagonal $\Delta$ (I see this replacing N by $\mathbb{R}$). I'm not sure if this means $N\times N-\Delta$ is open, because the open ball isn't entirely contained .