I have the following exercise for discrete mathematics:
Show that $f(x)=x^3$ (real-valued) is a bijection. So I have to show that the function is both surjective and injective. So, I know how to do this but I was thinking about an alternative way to show these properties. Are they alright?
Injective
$f'(x)=3x^2$ whenever $x > 0$, $ \text{ } f'(x) > 0$ so it is increasing or decreasing. Whenever $x < 0, \text{ }$ $f'(x) > 0$ so its either increasing or decreasing. Only when $x = 0, f(x) = 0$. So it is impossible that a value in the image is mapped to more than once.
Surjective
$\lim_{x \rightarrow \infty} f(x) = \infty$ and $\lim_{x \rightarrow -\infty} f(x) = -\infty$ so it must be surjective, since it will reach all values in the codomain.