Let $(\Omega, \Sigma, \mu)$ be a measure space. It is easy to prove that a uniform limit $f$ of real-valued functions $f_k \in \mathcal{L}(E)$ is also integrable and $\lim \limits_{k \to \infty} \int_{E} f_k d\mu= \int_{E} f d\mu.$
Now there is an exercise in my lecture notes that asks me to prove that this fails if $\mu(E)=\infty$. To show this I am supposed to find a sequence of functions $f_k \in \mathcal{L}([1,\infty))$ such that $f_k$ converges uniformly to $f$ and $f \notin \mathcal{L}([1,\infty))$.
The lecture notes give the following hint:
$f = \frac{1}{\sqrt{x}}$
How can I show this? I don't really know how to start. To prove that $f$ is not integrable I need to show that its integral is infinite (because $f$ is continuous, hence measurable).
Can anybody help me out please?
Thanks a lot!