I have this problem, and I don't know what to do... I don't find a counterexample and I start thinking that this fact could be true... But the only idea I have to prove this fact is that $f$ must converge to $0$ as $x\to\infty,$ and I don't see a way to go on...
2026-03-24 22:01:41.1774389701
Is the set of continuous function that are also $\mathcal{L}^1(\mathbb{R})$ a subset of $\mathcal{L}^2(\mathbb{R})$
52 Views Asked by user479251 https://math.techqa.club/user/user479251/detail At
2
Inspired by @N. S., let $\phi\in C_{0}^{\infty}({\bf{R}})$ be such that $0\leq\phi\leq 1$, $\text{supp}(\phi)\subseteq\{|x|<1\}$, $\phi=1$ on $\{|x|<1/2\}$, and $f(x)=\displaystyle\sum_{n=1}^{\infty}n^{3/2}\chi_{I_{n}}(x)\phi(4n^{2}(x-n))$, where $I_{n}=[n-1/(4n^{3}),n+1/(4n^{3})]$, then $f\in C^{\infty}({\bf{R}})\cap L^{1}({\bf{R}})$ but $f\notin L^{2}({\bf{R}})$.