Let $(f_n)_{n=1}^{\infty}$ be a sequence of real-valued functions defined on an open interval $I \subset \mathbb{R}$. Suppose that each $f_n$ is differentiable on $I$, and that:
- The sequence $(f_n)$ converges pointwise to a function $f$ on $I$.
- The sequence of derivatives $(f_n')$ converges pointwise on $I$ to a function $g$.
Question:
Under what additional assumptions (if any) can we conclude that:
- $f$ is differentiable on $I$, and
- $f'(x) = \lim_{n \to \infty} f_n'(x)$ for all $x \in I$?
I’m aware that uniform convergence of $(f_n')$ is sufficient (by the classical theorem on differentiating under the limit), but is pointwise convergence enough under some weaker conditions — perhaps boundedness, equicontinuity, or dominated convergence-style integrability?
Example of context:
Consider:
$$ f_n(x) = \begin{cases} x^n \sin\left( \frac{1}{x} \right) & x \in (0,1] \\ 0 & x = 0 \end{cases} $$
Then $f_n \to 0$ pointwise on $[0,1]$, and $f_n'$ converges pointwise as well — but the limit function $f$ is not differentiable at $0$.
So what are the minimal "reasonable" conditions to ensure that taking the derivative commutes with taking the limit?
Any counterexamples references are appreciated.