Let $f_n(x) = - \frac{1}{n} \mathbb 1_{[0,n]} (x) $ for $n \in \mathbb N$.
(The 1 should be the indicator function.)
- The sequence converges to $-n-1$, right?
- What about the Lebesgue integral of $f_n$? Can anybody show me if it converges, and if yes, to which value?
If $x<0$, then $f_n(x)=0$ for all $n$. If $x \ge 0$, then there is $N \in \mathbb N$ such that $x \in [0,n]$ for all $n \ge N$, hence $f_n(x)= - \frac{1}{n}$ for all $n \ge N$.
Conclusion: $f_n$ converges pointwise to $0$.
Furthermore: $ \int_{\mathbb R}f_n(x) dx=- \frac{1}{n}\int_{\mathbb R}1_{[0,n}(x) dx=- \frac{1}{n} \lambda([0,n])=- \frac{1}{n}n=-1$,
where $\lambda$ is the Lebesgue measure.