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}$$
Kanishak Aggarwal, AIR 72, 2025
RHD.
$\lim_{h\to 0^+} \frac{f(0+h)-f(0)}{h}$
Case I $h=\frac{1}{2^n}$
$\lim_{n\to\infty} \frac{f\left(\frac{1}{2^n}\right)}{\frac{1}{2^n}} = \frac{1}{2}$
LHD
$\lim_{h\to 0^+} \frac{f(-h)}{-h} = \frac{f\left(\frac{-1}{2^n}\right)}{-\frac{1}{2^n}} = \frac{0}{-\frac{1}{2^n}}$
$\Rightarrow$ Not differentiable