Prove that the following function: $$r:x \mapsto \begin{cases} e^{-{1\over (1-x^2)}}, & \text{if $|x|<1$} \\ 0, & \text{if $|x| \ge 1$} \end{cases}$$ is $C^{\infty}$
I found this problem on internet and i was interested to find a proof but i did't find any otheρ similar with this exercise.It would be very nice if we can have a proof for this.
Consider $f(x) = e^{-\frac{1}{(1 - x^2)}}$
Then note that if $f^{n}(x) = \frac{P(x)}{Q(x)}f(x)$ then $f^{n+1}(x) = \frac{P'(x) Q(x) - P(x)Q'(x)}{Q(x)^2} + (-\frac{1}{1 - x^2})'f(x) = \frac{\hat{P}(x)}{\hat{Q}(x)}f(x)$. Where $f^n$ is the n th derivative of $f$ and $P,Q, \hat{P}, \hat{Q}$ are polinomials.
Note that $Q(x) = \bigg(\frac{1}{1-x^2}\bigg)^k$ for some $k$
Now we just have to prove that $\frac{P(x)}{Q(x)} e^{-\frac{1}{(1 - x^2)}}$ is a $C^\infty$ function. On the interval $(-1,1)$ it certainly is $C^{\infty}$ outside $[-1,1]$ it is the constant fuction $0$ so it is $C^{\infty}$.
We will show that $\lim_{x \to 1} \frac{P(x)}{Q(x)} e^{-\frac{1}{(1 - x^2)}} = 0$ for general $P,Q$ and therefore the result will follow:
note that $x^2 \to 1$ is equivalent to $1 - x^2 = \delta \to 0$ ($\delta >0$ since $x \in(-1,1)$ )
$$ e^{-1/\delta} = \frac{1}{e^{1/\delta}} = \frac{1}{\sum_{l = 1}^\infty(1/\delta)^l} \leq \frac{1}{(1/\delta)^{k+ 1}} $$
$P(x) = \sum_{i = 0}^n a_i x^i \leq \sum_{i = 0}^n |a_i| = A_P$
$Q(x) = \bigg(\frac{1}{\gamma}\bigg)^k$
therefore
$$\bigg|\frac{P(1 - \delta)}{Q(1 - \delta)} e^{-\frac{1}{(1 - x^2)}} \bigg| \leq A_P \bigg(\frac{1}{\delta}\bigg)^k \frac{1}{e^{1/\delta}} \xrightarrow[\delta \to 0]{} 0$$
Hope this helps