# Is the set $\{f: \int_{\mathbb{R}} f \leq h\}$ closed in $L^2(\mathbb{R})$?

If the sequence $\{f_n\}$ in $L^2(\mathbb{R})$ converges to $f$ in $L^2(\mathbb{R})$ and $\int_{\mathbb{R}}f_n(t)dt\leq h$ for some $h>0$ and all $n\in \mathbb{N}$; does $f$ satisfy $\int_{\mathbb{R}}f(t)dt\leq h$?

-
It looks to me a straightforward consequence of Fatou's Lemma (but I'm far from being an expert). Have you tried it? –  Giovanni De Gaetano Aug 26 '12 at 13:09
Fatou's Lemma applies to positive functions. Here $\int f_n$ may be also $-\infty$. –  Siminore Aug 26 '12 at 13:12
@Siminore is right, or you either need a bound $f_n\geq - g$ for some non-negative integrable function. –  Nonliapunov Aug 26 '12 at 13:13

Not necessarily. Try $f_n=2\,\mathbf 1_{(0,1)}-\frac1n\mathbf 1_{(1,n+1)}$, and $f=2\,\mathbf 1_{(0,1)}$. Then the integral of $(f_n-f)^2$ is $\frac1n$ hence $f_n\to f$ in $L^2$, but the integral of $f_n$ is $1$ and the integral of $f$ is $2$.