So I have this function:
$\dfrac{x^2-2}{x^2+2x}$ and im supposed to find if it is one-one.
I've tried taking out the drivative of it and check if its $>0$ or $<0$ but im facing trouble there.
I've also heard that you can do it with a graph but I'm looking for a more algebraic approach than a geometric one?
Isn't there a sureshot way of finding out if a function is one one or not?

Consider, for example, the equation $f(x)=2$. This gives $x^{2}-2=2(x^{2}+2x)$ or $x^{2}+4x+2=0$. There are two solutions of this quadratic: $x =-2\pm \sqrt 2$. Hence $f$ is not injective. In fact, every value in the range of $f$ except $1$ is attained at exactly two points whereas the value $1$ is attained only at $x=-1$.