[Math] Prove that $f$ has finite number of roots

functionsreal-analysisroots

Let $f:[0,1]\to \mathbb{R}$ be a differentiable function. If there do not exist any $x\in[0,1]$ such that $f(x)=f'(x)=0$, prove that $f$ has only finite number of zeros in $[0,1]$.

I'm not getting any idea how to proceed.

Best Answer

Combining the comments:

Assume by contradiction that $f$ has infinitely many zeroes in $[0,1]$. Then, we can find a sequence $x_n$ so that $f(x_n)=0$.

As $[0,1]$ is compact, $x_n$ has a converging subsequence. Lets call this subsequence $y_n$ and let $y=\lim_n y_n$.

Then by continuity $f(y)=0$ and $f'(y) =\lim_{x \to y} \frac{f(x)-f(y)}{x-y}=\lim_{n \to \infty} \frac{f(y_n)-f(y)}{y_n-y}=0$ contradiction.

Related Question