How to prove that $\frac{x}{1+x^2}$ is not injective? By looking at graph of $f(x) = \frac{x}{1+x^2}$ I can clearly see that there are at least 2 points $x_1$, $x_2$ where: $$f(x_1) = f(x_2), \quad x_1 \neq x_2$$
How can I prove this function is not injective?
Problem here is that in contrast with function for example $f(x) = x^2$ you can check with negative $x$ to prove non injectivity, but in this case both $x_1$, $x_2$ are either positive or negative.


You start with $f(x)=f(y)$. Thus
$$yx^2-(1+y^2)x+y=0.$$
It's a second degree polynomial in $x$. You can easily see that $$\Delta = (y^2-1)^2.$$
So the two solutions for $x$ (if $y\neq 0$, otherwise the unique solution is $x=0$) are
$$\frac{1+y^2\pm (y^2-1)}{2y},$$
ie $x=y$ or $x=1/y$.
You can thus remark that the only points which have only one antecedent are $f(-1),f(0)$ and $f(1)$, ie $-1/2,0$ and $1/2$.
