I want to prove that the equation $f(x)=x^3-x-1=0$ has only one real root, which is on the intervall $[1,2]$.
$$$$
I have done the following:
$f(1)=-1<0$ and $f(2)=5>0$ so $f(1)\cdot f(2)<0$ and so from Bolzano's Theorem we have that the function has at least one root on $[1,2]$.
We suppose that there are two roots, $a$ and $b$. Then we have that $f(a)=f(b)=0$.
The function $f$ is continuous on $[a,b]$ and differentiable on $(a,b)$. So, from Rolle's Theorem there is a $c\in (a,b)$ such that $f'(c)=0 \Rightarrow 3c^2-1=0$.
How can we get a contradiction?
The solutions of $3c^2-1=0$ are $\pm1/\sqrt{3}$ outside $[1,2]$.
That gives you a contradiction with the assumption that there are two roots inside $[1,2]$.