I was reading Rudin's Principles of Mathematical Analysis, and had a question about the Remark 11.23(e) on page 315:
(e) If $\mu(E)=0$, and $f$ is measurable, then $\int_E fd\mu=0.$
Is this remark still true if $f(x)=\infty$ on $E$? If so, how do we justify it? like the following?
Recall that $\int_E fd\mu\triangleq \underset{s}\sup I_E(s)$, where $s$ is a simple function, $s(x)=\sum_{i=1}^{n}c_iK_{E_i}(x)$, satisfying $0\le s\le f,$ and $I_E(s)=\sum_{i=1}^{n}c_i\mu(E\cap E_i).$ By definition (page 313), a simple function is a real-valued function with a finite range. I assume that this means $s$ is not extended real-valued, i.e. it can't take value of $\infty$. With this assumption, then, clearly $I_E(s)=0$ for any simple function $s$. As a result, $\underset{s}\sup I_E(s)=0.$
So it appears that $s$ being real-valued, but not extended real-valued, is key for $\int_E \infty d\mu=0$ to hold. Is it correct?
EDITS:
This question is related to the following post (Integral over set of measure zero.), but I want to emphasize and clarify the justification when $f(x)=\infty$ on $E$.
According to Rudin's book (definition 11.13, page 310), a measurable function is an extended real-valued function:
11.13 Definition Let $f$ be a function defined on the measurable space $X$, with values in the extended real number system. The function $f$ is said to be measurable if the set $\{x\mid f(x)>a\}$ is measurable for every real $a$.