Let $f:\mathbb{R}\to \mathbb{R}$ be defined as $$f(x) = \begin{cases} e^{\frac{1}{x^2-1}}, & \text{if }|x|<1 \\ 0, & \text{if }|x|\geq 1. \end{cases}$$ It is not difficult to check that $f\in C^1(\mathbb{R})$ with $f(x)=0$ if $|x|>1$ and $f(x)>0$ if $|x|\leq 1$. Now I'd like to construct the similar function on the plane. Let $f:\mathbb{R}^2\to \mathbb{R}$ be defined as $$f(x,y) = \begin{cases} e^{\frac{1}{x^2+y^2-1}}, & \text{if } x^2+y^2<1 \\ 0, & \text{if }x^2+y^2\geq 1. \end{cases}$$ I want to prove that $f\in C^1(\mathbb{R}^2; \mathbb{R})$, i.e., partial derivatives of $f$ exists and continuous. It is not difficult to verify that $$\frac{\partial f}{\partial x}(x,y) = \begin{cases} -\frac{2x e^{\frac{1}{x^2+y^2-1}}}{(x^2+y^2-1)^2}, & \text{if } x^2+y^2<1 \\ 0, & \text{if }x^2+y^2\geq 1. \end{cases}$$ It shows that $\frac{\partial f}{\partial x}$ exists everywhere on $\mathbb{R}^2$. But what about continuity of $\frac{\partial f}{\partial x}$?
From the definition of $\frac{\partial f}{\partial x}$ it follows that it is continuous on $\{(x,y)\in \mathbb{R}^2: x^2+y^2<1\}\cup \{(x,y)\in \mathbb{R}^2: x^2+y^2>1\}$. But is it continuous on the boundary? I mean suppose that $(x_0,y_0)\in \mathbb{R}^2$ such that $x_0^2+y_0^2=1$. How to show that $$\lim_{(x,y)\to (x_0,y_0)}\frac{\partial f}{\partial x}(x,y)=0.$$
I have some issues to show this rigorously. Can anyone show the proof please?