Examine whether $f: \mathbb{R} \to \mathbb{R}$, defined as below, is differentiable at 0. $$f(x) = \begin{cases} \frac{1}{2^{n+1}} & \text{if } x = \frac{1}{2^n} \text{ for some } n \in \mathbb{N}, \\ 0 & \text{otherwise.} \end{cases}$$
Aryan Yadav, AIR 31, 2025
Assume f(x) is differentiable at x=0
$f'(0) = \lim_{x\to 0} \frac{f(x) - f(0)}{x - 0} = \lim_{x \to 0} \frac{f(x)}{x}$
Clearly if it exists $f'(0) = 0$
$\Rightarrow \lim_{x\to 0} \frac{f(x)}{x} = f'(0) = 0$ —①
$\Rightarrow \forall\ \epsilon > 0,\ \exists\ \delta > 0$ such that $\left|\frac{f(x)}{x}\right| < \epsilon \quad \forall\ |x| < \delta$
Chose $\epsilon = \frac{1}{3}$ —②
Since limit point of set $S = \{\frac{1}{2^n} : n \in N\}$ is 0
Hence Every interval around 0 contains element of S
$\Rightarrow$ For any $\delta > 0$, $|x| < \delta$ contains $x = \frac{1}{2^n}$ for some $n \in N$
Putting in ②
But $\epsilon = \frac{1}{3}$ $\Rightarrow$ $\left|\frac{f(x)}{x}\right| > \epsilon$
Hence contradiction
$\therefore$ $f(x)$ is not differentiable at $x=0$