# Is every integrable function on the real line with compact support also square integrable?

I wonder that whether every integrable function on the real line with compact support is also square integrable ? In other words, is $L^1_c(\mathbb R)\subseteq L^2(\mathbb R)$ holds true? Thanks in advance for any hints.

-
If $f\in L^2[a,b]$ for some $a,b\in\mathbb R$, then $f\in L^1[a,b]$. ${}\qquad{}$ –  Michael Hardy Apr 27 '14 at 3:04

Consider $x \mapsto 1/ \sqrt x$
or any function $x^a$ for $-1\lt a\le-\frac12$. (+1) –  robjohn Apr 27 '14 at 9:39