Definition
Let be a non-negative, real-valued measurable function defined on a measure space . Define
then we have
which is called the layer cake representation of .
By applying the Fubini-Tonelli theorem (see here), there is
For any for , by with the change of variables and , we have