Finally, we extend the definition to any measurable function f.
We can decompose any function f into its positive and negative parts:
f+(x)=max{f(x),0}(Positive part)
f−(x)=−min{f(x),0}=max{−f(x),0}(Negative part)
Note that both f+ and f− are non-negative measurable functions (so Step 3 applies to them).
Key identities:
- f=f+−f−
- ∣f∣=f++f−
Since ∣f∣=f++f−, by linearity (Property 3 for non-negative functions):
∫∣f∣dμ=∫f+dμ+∫f−dμ
Thus, f is integrable if and only if both ∫f+dμ<∞ and ∫f−dμ<∞.