Let \begin{equation*} f(x) = \begin{cases} \hfill \text{exp}(-1/x^2) \hfill & \text{ if $x \neq 0$} \\ \hfill 0 \hfill & \text{ if $x = 0$} \\ \end{cases} \end{equation*} Prove $f^{(n)}(x)$ exists $\forall \ x, n$. Also show that $f^{(n)}(0) = 0$ for $\forall \ n$.
Things I've tried/considered:
For $x \neq 0$ we have $f'(x) =$ exp$(-1/x^2)*2/x^3$.
Then $f^{(2)}(x) = $exp$(-1/x^2)*(2/x^3)*(2/x^3) -$ exp$(-1/x^2)*6/x^4$ ... Which can be factored to exp$(-1/x^2)*p_2(1/x)$ where we can think about $p_2(1/x)$ being a polynomial with argument $1/x$.
In general \begin{equation} f^{(n)}(x) = \text{exp}(-1/x^2)*p_n(1/x) \hspace{0.5cm} \text{if} \ x \neq 0 \end{equation} I tried looking at the behavior of these derivatives as $x \to 0$. It looks like $\lim_{x\to\ 0} f^{(n)}(x) = 0 * \infty$. However, I think the exponential term approaches zero faster than the "polynomial" approaches infinity so the limit goes to zero (I'm not sure about this) - possibly a case of L' Hopital's Rule?
If we can prove the $lim \to 0$ as $x \to 0$ we can say $f^{(n)}(x)$ exists (I think).
I'm not sure how you would prove $f^{(n)}(0) = 0, \ \forall \ n$. Aren't we just defining it to always be zero in order for the function to be continuous.