Worked examples · Sheet 2
Integrals of simple functions
Theory used:Measurability and integration of simple functions
Go to: Exercise 1Exercise 2
Exercise 1
Compute .
Let be the function in the integral. The sets and are measurable and disjoint, since their common endpoint belongs only to . On the indicator of is zero, so takes the value . On the indicator of is zero, so the value of is . Outside both indicators vanish.
In the integral of a nonnegative simple function, each level contributes its value times the measure of the corresponding set. The zero level contributes zero even when its set has infinite measure. The level one contributes the length of . The level two contributes twice the length of . The figure shows the two contributions as areas of rectangles whose bases have lengths two and three, respectively.
Exercise 2
Compute .
The two functions and are constant on the same intervals, but take different values there. On the new value exceeds the earlier one by one. The same holds on , while outside their union the difference is zero. Since and are disjoint, the sum of their indicators equals the indicator of , including the point separating the intervals.
Both functions are bounded and vanish outside a set of finite measure, so they are integrable and linearity applies. The preceding calculation gives an integral of eight for . The increase is the integral of a function of height one over the entire interval and equals five. The integral of can also be computed directly from the two products and , giving the same value.