I was wondering if I had correctly proved this problem: Let $f$ be a nonnegative $\mathcal M$-measurable function. Define $\mu_f$ on $\mathcal M$ by $\mu_f$($E$) $=$ $\int_E f\,d\lambda$. Prove that $\mu_f$ is a measure on $\mathcal M$.
Here is my solution:
Condition (1): Since $f$ is nonnegative, $f$ $\ge$ $0$. Also since $f$ is $\mathcal M$-measurable function, we get for each $E$ $\in$ $\mathcal M$ that $\int_E f\,d\lambda$$\ge$ $0$. Hence, $\mu_f$($E$) $\ge$ $0$ for each $E$ $\in$ $\mathcal M$.
Condition(2): Let $E$ $=$ $\emptyset$. Since $\lambda$($E$) $=$ $0$, we have that $\int_E f\,d\lambda$ $=$ $0$. So, $\mu_f$($\emptyset$) = $0$.
Condition (3): Let $\{E_n\}_{n=1}^{\infty}$ be a sequence of pairwise disjoint sets in $\mathcal M$. Now because we also have that $E_n$ $\in$ $\mathcal M$ for each $n$ $\in$ $\Bbb N$, and $f$ is a nonnegative $\mathcal M$-measurable function, we have that $\int_{\bigcup_{n=1}^{\infty}E_n}f{\rm d}\lambda$ $=$ $\sum_{n=1}^{\infty}\int_{E_n}f$. Hence, $\mu_f$(${\bigcup_{n=1}^{\infty}E_n}$) $=$ $\sum_{n=1}^{\infty}$($\mu_f$($E_n$))