I'm trying to do this problem but, using the definition I'm given, I cannot get the solution.
I'm asked to show that the equation
$$ f(x) = \cos(x) - x^3 -2x = 0$$
has a unique solution in $[0,1]$. I have the following definition for contractive functions:
Let $g \in C^1[a,b]$ have the following properties
$$g([a,b]) \subset [a,b]$$
$$ |g'(x)| < 1 \hspace{5mm} \forall x\in[a,b] $$
then $g$ is contractive. But the first property doesn't hold here?
$$ f(0) = 1 \hspace{5mm} f(1) \approx-2 $$
What am I doing wrong?