Let $g(x)= \begin{cases} e^{-1/x^2} & x\neq0 \\ 0 & x=0 \\ \end{cases}$
Additionally, show that $g(x)$ is differentiable for all $x\in\mathbb R$ with $g'(0)=0$.
Let $g(x)= \begin{cases} e^{-1/x^2} & x\neq0 \\ 0 & x=0 \\ \end{cases}$
Additionally, show that $g(x)$ is differentiable for all $x\in\mathbb R$ with $g'(0)=0$.
HINT
To show it's continuous at zero you need to show that $$\lim_{x\to 0}g(x) = \lim_{x\to 0 } e^{-1/x^2}=g(0) = 0.$$
To show it's differentiable at zero you must show that $$\lim_{x\to 0} \frac{g(x)-g(0)}{x} = \lim_{x\to 0} \frac{e^{-1/x^2}}{x}$$ exists. (And that it equals $0$ in order to show $g'(0) = 0.$)