Suppose is a set with typical element , and let be a subset of . The indicator function of , denoted by , is defined by
That is, indicates the set . Some properties of the indicator function are listed.
The following example shows a use for indicator functions.
Suppose random variable has pdf given by