I know this is a duplicate, but none of the questions I found explained the induction. I proved the $n$th derivative of the function:
$f(x)=e^{-1/x^2}$ if $x\neq0$ , $f(0)=0$ is:
$f^n(x)=r(x)e^{-1/x^2}$
$r(x)$ is a rational function. Now I want to prove $f^n(0)=0$ for all derivatives.
I assumed $f(0)=0, f'(0)=0,.......f^{n-1}(0)=0$
Then calculate using the definition of deriviative:
$ f^n(0) =\lim_{h \to 0} \frac{f^{n-1}(x+h)-f^{n-1}(x)}{h} = \lim_{h \to 0} \frac{f^{n-1}(h)-f^{n-1}(0)}{h} = \lim_{h \to 0}\frac{r(h)e^{-1/h^2}}{h} $
But I don't figure out how to show this equals to $0$