For this function: $f: \mathbb{R} \rightarrow \mathbb{R}$, $f(x)=(x-1)\cdot(x-2)\cdot(x-3)\cdot(x-4)$ , proof that $f'(x)$ (the first derivate) have 3 distinct real roots.
How can I solve this without brute force? (open parentheses). $f$ is polynomial function with degree 4. After derivation, it will have degree 3 so $f'$ it will have 3 roots (because $f'$ have degree 3), but no 100% distincts or real.
Also, I could use Rolle theorem on $f'(x)$ but in this way I need to open parentheses and then would be a lot of work. Is there an easy way to solve this problem?
HINT
Since $f(1) = 0 = f(2)$, by Rolle's Theorem, $f'$ must have a root on $(1,2)$. Similarly, argue $f'$ must have a root on $(2,3)$ and $(3,4)$. Since the intervals are disjoint, so are the roots distinct.