I want to prove that $h(x)=x^3 +2x+1$ is a $1-1$ function to show that it is invertible on all of $\mathbb{R}$.
This my attempt: Let $x_1,x_2\in \mathbb{R}$ where $x_1\neq x_2$.
Suppose for contradiction $h(x_1)=h(x_2)$.
- Then $h(x_1)=x_1^3 +2x_1+1$ and $h(x_2)=x_2^3 +2x_2+1$.
- $x_1^3 +2x=x_2^3 +2x_2$
Then where do I go from here to show that $x_1=x_2$?