In the book of Analysis on Manifolds by Munkres, at page 70, as a part of the question, it is asked to show that
$f: \mathbb{R}^n \to \mathbb{R}^n $ defined by $$f(x) = ||x||^2 \cdot x$$ is one-to-one on $B(0,1)$.
However, I'm having trouble showing this. Could you provide some hint please ?
Hint: If $f(x)=f(y)$, then $\bigl\|f(x)\bigr\|=\bigl\|f(y)\bigr\|$.