Hey guys I noticed this question was posted on this site earlier so I tried to work it out myself.
Let f:R→R be a bounded Lebesgue measurable function such that $\int_{[a,b]} f=0$ for all real a,b. Show that $\int_{E} f=0$ for each subset E of R of finite Lebesgue measure.
I was able to prove this is true for any non negative measurable function and did not even need that f be bounded. Is my proof correct and how would you extend it for any f not necessarily non negative? Thanks!
proof)By contradiction, assume there is an E measurable set of finite measure such that integral of f over E is strictly bigger than 0. Now E measurable implies that given any fixed epsilon there exists an open set O containing E s.t. m(O)$ \leq $m(E) + $\epsilon$ Hence O has finite measure as well. Now O contains E which implies $\int_{O} f \geq \int_{E} f$ . Now O open means we can write O as disjoint union of open intervals, say $O= \bigcup\limits_{i=1}^{\infty} (a_i,b_i)$ . This implies $\int_{\bigcup\limits_{i=1}^{\infty} (a_i,b_i)} f$>0 which implies $\int_R f \sum_{i=1}^\infty 1_{[a_i,b_i]} (x) dx = \sum_{i=1}^\infty \int_{[a_i,b_i]} f(x) dx > 0$ (since integrand is non negative, we can exchange infinite sum and integral)
But this implies since f is non negative that there is at least one i such that $\int_{[a_i,b_i]} f >0$ which is a contradiction.
Is my proof correct and is there a way to extend it to the general f case? I am thinking we might need to use dominated convergence? Thanks