Indicator function

A function that equals 1 on a set and 0 outside it.
Indicator function

An indicator function of a subset AXA\subseteq X is the function 1A:X{0,1}\mathbf 1_A:X\to\{0,1\} defined by 1A(x)=1\mathbf 1_A(x)=1 for xAx\in A and 1A(x)=0\mathbf 1_A(x)=0 for xAx\notin A.

Indicator functions translate set operations into algebraic ones and are the basic building blocks of . In a (X,Σ)(X,\Sigma), 1A\mathbf 1_A is exactly when AA is a (with {0,1}\{0,1\} carrying its power-set sigma-algebra).

Examples:

  • On (R,B(R))(\mathbb R,\mathcal B(\mathbb R)), the indicator function 1(0,1)\mathbf 1_{(0,1)} of the open (0,1)(0,1) is measurable.
  • If NN is a in a measure space, then 1N\mathbf 1_N equals 00 .