Let $f\colon \mathbb R^2 \to \mathbb R^2$ be a continuous function such that $|f(p)-f(q)|\geq a|p-q|,\quad \forall p,q\in\mathbb R^2$ and $a>0$. Show that $f$ is injective and surjective (therefore has inverse) and that its inverse is continuous.
This is a problem from a metric space topology test that I did. The most important contents of the test were uniform convergence, equicontinuity, Arzelà-Ascoli Theorem, iterated functions, Stone-Weierstrass Theorem etc. The exercise is very simple and I believe it is possible to solve it by more elementary concepts.
I already showed that $f$ is injective so my problem is surjectivity. For surjectivity i've tried something like this: since $f$ is injective it follows that $\exists g \colon \mathbb R^2 \to \mathbb R^2$ such that $\left(g\circ f\right)(x)=x$. On the other hand $f$ is a right inverse for $g$ which implies that $g$ is surjective. I was trying to show that $g$ is injective but i did not get anything.
I have also shown that $f^{-1}$ is continuous (assuming $ f $ is surjective).
Thank you very much!