# A derivative which is not Lebesgue integrable on any interval?

If $f=x^2\sin(x^{-2})$, then $f'$ exists everywhere (including $x=0$) but $f'$ is not Lebesgue integrable on $[0,1]$ (precisely because of the singularity at $x=0).$ I'm trying to find a function $f$ such that $f'$ exists everywhere but $f'$ is not Lebesgue integrable on any interval. Perhaps someone can recall a standard example?

• Something like taking an enumeration $(q_i)$ of $\mathbb{Q} \cap [0,1]$ then setting $$g(x) = \sum_{n=1}^\infty 2^{-i} f(x - q_i)$$ may work, but I'm not sure whether it's differentiable or not (the usual method using local uniform convergence of partial sums of derivatives clearly won't work; and I don't think it would for anything unbounded, which is neccasary!). – Matt Rigby Sep 22 '14 at 12:50

There are no such functions. Since $f$ is continuous, the derivative $$f'(x) = \lim_{n\to\infty} n(f(x+1/n)-f(x))$$ is a pointwise limit of continuous functions, i.e., a function of Baire class $1$. Functions of Baire class $1$ have many points of continuity. Every point of continuity has a neighborhood in which the function is bounded; since it's also a Borel function, it is Lebesgue integrable in such neighborhood.