Let $(X, \mathcal{B}, \mu)$ be a measure space and $f$ a measurable function on $X$ and suppose that $\forall E \in \mathcal{B}$ we have that $\int_E f = 0$. Then I want to show that $f = 0$ almost everywhere (a.e.).
- Suppose for sake of contradiction that $f \ne 0$ a.e.
- Then $\not\exists E \in \mathcal{B}$ s.t. $\mu(E) = 0$ and $f(x) = 0$, $\forall x \in X - E$
Then $\{x : f(x) \ne 0\} = A$ is not measure zero so that either $\mu(A) > 0$ or $A \notin \mathcal{B}$.
Now if $\mu(A) > 0$ then it is easy to see that $\int_A f \ne 0$ so that we have a contradiction of our original hypothesis that $\forall E \in \mathcal{B}, \int_E f = 0$.
But if on the other hand $A \notin \mathcal{B}$, I cannot no longer appeal to $\int_A f \ne 0$ since $\int_A f$ is non-sense. So I'm having trouble with this part of the argument.