I'm trying to figure out whether the following statement is true:
If $f$ is a measurable function on $E$ and is finite almost everywhere on $E$ (i.e. $|f(x)|<\infty$) then $f$ is bounded a.e.
I used this statement in a proof but it was marked incorrect. I'm having trouble producing a counterexample.
Consider the function $f(x) = x\sin(x)$ (or even $f(x) = x$).