If we try solving it by finding $f''(x)$ then it is very long and difficult to do, so my teacher suggested a way of doing it, he said find nature of all the roots of $f(x) =f'(x)$, and on finding nature of the roots we got them to be real(but not all distinct) and then he said as all the roots of $f(x) = f'(x)$ are real so all the roots of $f'(x)= f''(x)$ are real and distinct. I did not understand how to prove that if all the roots of $f(x) = f'(x)$ are real so all the roots of $f'(x)= f''(x)$ are real and distinct.Can anyone please help me to prove this?
Is this statement (all roots of $f(x) = f'(x)$ are real so all roots of $f'(x)= f''(x)$ are real and distinct) true only for this question or is it true in general for all function $f(x)$ whose all roots of $f(x) = 0$ are real?
If instead of $f(x) = (x-a)^3(x-b)^3$ we had $f(x) = (x-a)^4(x-b)^4$ then would we say that as all roots of $f(x) = f'(x)$ are real so all the roots of $f'(x)= f''(x)$ are real and distinct or rather we would say that as all roots of $f(x) = f'(x)$ are real so all roots of $f'(x)= f''(x)$ are real.
If anyone has any other way of solving this question $f(x) = (x-a)^3(x-b)^3$ then what is the nature of the roots of $f''(x) = f'(x)$ please share it.