The problem 38, fromCalculus with Analytic Geometryby Purcell and Varberg, 5th edition, chapter 11, section 8 reads, in part:

Let

$$f(x) = \begin{cases}e^{-1/x^2}\quad x ≠ 0\\0\quad\quad\quad x = 0\end{cases}$$

(a) Show that $$f'(0) = 0$$ by using the definition of the derivative.

So I wrote:

$$f'(0) = \lim_{h \to 0}\frac{e^{-1/h^2} - 0}{h}$$

This gives a 0/0 indeterminate form, which usually calls for l'Hôpital's Rule, but that would involve determining the derivative of the function whose derivative I meant to determine by the above method.

Applying l'Hôpital's Rule gives $$\lim_{h \to 0}\frac{2e^{-1/h^2}}{h^3}$$ which makes things worse, as further application of l'Hôpital's Rule on the above will confirm.

It does work with the following adjustment:

$$f'(0) = \lim_{h \to 0}\frac{e^{-1/h^2}}{h} = \lim_{h \to 0}\frac{\frac{1}{h}}{e^{1/h^2}} = \lim_{h \to 0}\frac{-\frac{1}{h^2}}{-\frac{2}{h^3}e^{1/h^2}} = \lim_{h \to 0}\frac{h}{2}e^{-1/h^2} = 0$$

But I still don't feel like I solved the problem.