I was working on a proof of a homework assignment when I stumbled on an issue.
Here is the problem I was working on: Suppose that if $f$ is a nonnegative $\mathcal M$-measurable (Lebesgue measurable) function and that $E\subset \mathcal M$. Let $A$ = {${x\in E}$: $f$($x$) $>$ $0$}. Show that if $\int \limits_{\Bbb E} f d\lambda$ = $0$, then $\lambda (A)$ = $0$.
So far, this is what I have:
Note that $0$ $<$ $f\chi_A$ $\le$ $f\chi_E$. So, we have,
$0$ $\le$ $\int \limits_{\Bbb R} f \chi_{A} \,d\lambda$ $\le$ $\int \limits_{\Bbb R} f \chi_{E} \,d\lambda$.
By our assumption that $\int \limits_{\Bbb E} f d\lambda$ = $0$, we further see
$0$ $\le$ $\int \limits_{\Bbb R} f \chi_{A} \,d\lambda$ $\le$ $\int \limits_{\Bbb R} f \chi_{E} \,d\lambda$ = $0$.
This is where I got stuck.
I want to say that $\int \limits_{\Bbb R} f \chi_{A} \,d\lambda$ = $\lambda$($A$). However, I was told that this does not hold in general.
So my question is: Why does it not hold in general? Under what conditions does it hold?