if $f(x)=(x-2)(x-7)(x-9)(x-12)$ how many roots is there to $f'(x)=0$ and $f''(x)=0$? without taking derivative.
What I know from Rolle's theorem that between every 2 roots of the function theres atleast 1 root of the derivative, so for example $f'(x)=0$ has atleast 3 roots.
I'm struggling to get how im supposed to know its Exactly 3 roots and not atleast without differentiating since that's what the question is asking for and I feel like im missing something.
any help is really appreciated.
$f(2)= f(7)=f(9)=f(12)=0$. By mean value theorem there exists atleast one $c$ in $(2,7)$ ,one $c'$ in $(7,9) $and one $ c''$ in $(9,12)$ such that $ f'(c)=f'(c')=f(c'')=0$. Also degree of $f'(x) $ is $3$ which implies $f'(x)$ has atmost 3 real roots. Therefore number of real roots of $ f'(x)$ is $3$. Let the roots of $f'(x) $ be $a,b,d$. As the roots of $f'(x)$ lie in distinct intervals( i.e $(2,7), (7,9), (9,12)$) so they are distinct. As $f'(a)= f'(b)= f'(d)=0$, again using mean value theorem and proceeding similarly we get $f''(x) $ has 2 real roots.