I am wondering whether there exists a function such that:
$$\lim_{x \rightarrow a}f(x)=\infty$$
at some point $a$ on the real axis but yet,
$$\int_{-\infty}^{+\infty}\left|f(x)\right|\ dx<\infty$$
Does the fact that a function is unbounded imply that it has no finite integral?
Consider $f(x) = \dfrac{e^{-x^2}}{|x|^{1/2}}$ or something like that.