Definition:Simple Function

A real function $$f:\mathbb{R} \to \mathbb{R}$$ is said to be simple if it is a linear combination of finitely many characteristic functions:
 * $$\phi(x) = \sum_{i=1}^n a_i \chi_{E_i}(x)$$

where each of the sets $$E_i \ $$ are measurable.