Prove that $x^3 - 3x + c$ has at most one root in $[0,1]$, no matter what $c$ may be.
$f(x)$ is a decreasing function in the interval $[0,1]$ is evident by substituting the values of $0$ and $1$.
$f(0) = c \quad f(1) = c-2$
But my doubt is the values which $f'(x) = 3x^2 - 3$ takes are increasing.
$f'(0) = -3$
$f'(1/4) = -2.812$
$f'(1/2) = -2.25$
$f'(1) = 0$
This means the slope of $f'(x)$ is increasing in the interval $[0,1]$. Doesn't this mean $f'(x)$ is an increasing function in the interval $[0,1]$?
How is this possible? If $f(x)$ is decreasing then $f'(x)$ should be a decreasing, right? This is not happening in the above case. Please suggest some hints or point out where am I going wrong.
No. $f(x)$ is strictly decreasing$^1$ if $f'(x) < 0$.
In your problem, we have $f'(x) = 3x^2-3 = 3(x^2-1)$ which satisfies $f'(x) < 0$ for $x\in [0,1)$, so $f$ is strictly decreasing there and thus injective. This actually holds for the closed interval $[0,1]$ even though $f'(1)=0$, due to the same grain of salt.
$^1$ With a grain of salt: $f(x)$ might be strictly decreasing even if $f'(x) = 0$, for example if $f'(x)=0$ only for isolated points like with $f(x) = -x^3$ and $f'(x) = -3x^2$.