A simple function on a measurable space (X,Σ)(X,\Sigma) is a s:X→Rs:X\to \mathbb R (or into [0,∞][0,\infty]) that takes only finitely many distinct values; equivalently, ss can be written as s=∑k=1nak 1Aks=\sum_{k=1}^n a_k\,\mathbf 1_{A_k} for some real numbers aka_k and some Ak∈ΣA_k\in\Sigma.

Simple functions are the standard starting point for defining integration (they are finite linear combinations of ). More complicated measurable functions are often approximated by increasing sequences of simple functions.

Examples
  • A step function on R\mathbb R that is constant on finitely many and zero elsewhere is a simple function (with respect to the Borel sigma-algebra).
  • If A,BA,B are measurable sets in (X,Σ)(X,\Sigma), then 2 1A−3 1B2\,\mathbf 1_A - 3\,\mathbf 1_B is a simple function.