In this previous question, I defined $L^p$ derivatives of functions in $L^p(\mathbb{R}^n)$. I've been struggling for a while now to prove the following:
If $f \in L^2(\mathbb{R})$, then $f$ is $L^2$-differentiable if and only if $\xi\widehat{f} \in L^2(\mathbb{R})$, where $\widehat{f}$ is the Fourier transform of $f$. When this happens, then $\widehat{f^{\prime}}(\xi) = 2\pi{}i\xi{}\widehat{f}(\xi)$.
Here's my problem. Say that we're first trying to show that if $f'$ exists, then $\xi{}\widehat{f} \in L^2(\mathbb{R})$. Under this assumption, we know that $\widehat{f'}$ exists and is in $L^2$, so it would suffice to show that it equals $2\pi{}i\xi{}\widehat{f}$. The naive approach would be to compute
$$\widehat{f'}(\xi) = \int_{\mathbb{R}}f'(x)e^{\large -2\pi{}ix\xi}dx = ({2\pi{}ix\xi})\int_{\mathbb{R}}f(x)e^{\large -2\pi{}ix\xi}dx = ({2\pi{}ix\xi})\widehat{f}(\xi),$$ and we're done.
But I believe (and please correct me if I'm wrong!) that there are two fundamental mistakes here:
$1$) The Fourier transform of an $L^2$ function $f$ is not given by the formula above, but rather by a limit of Fourier transforms (in the above formula) of (say) $L^1 \cap L^2$ functions which converge (in $L^2$) to $f$.
$2$) The integration by parts above only holds when the other function, namely $e^{\large -2\pi{}ix\xi}$, has compact support.
Then I tried approximating $f'$ or $f$ by convolutions and the like, but I always arrive at a double integral which does not converge absolutely, and I'd have to interchange the order of integration.
Please help me!