I am actually analyzing the behavior of the function $$f(x)=\frac{x}{1+x^2}$$
we have $f$ is Continuous and Differentiable over $\mathbb{R}$
Also
$$\lim_{x \to -\infty} f(x)=\lim_ {x \to \infty}f(x)=0$$
So by Rolle's Theorem in $(-\infty \:,\: \infty)$ we have there exists atleast one $c$ in $(-\infty \:,\: \infty)$ such that $$f'(c)=0$$ $\implies$
$$\frac{1-c^2}{(1+c^2)^2}=0$$
$$c=\pm1$$
Is this application of Rolle's theorem correct?
The statement is correct. That is, if $f\colon\mathbb{R}\longrightarrow\mathbb{R}$ is differentiable and $\lim_{x\to\pm\infty}f(x)=0$, then there is a real number $c$ such that $f'(c)=0$. However, this is not Rolle's theorem, although it is similar to it.