
Indicator function
    
    Overview
    Mathematics
Mathematics  is the study of quantity, space, structure, and change.  Mathematicians seek out patterns and formulate new conjectures. Mathematicians resolve the truth or falsity of conjectures by mathematical proofs, which are arguments sufficient to convince other mathematicians of their validity...
, an indicator function or a characteristic function is a function
Function (mathematics)
In mathematics, a function associates one quantity, the argument of the function, also known as the input, with another quantity, the value of the function, also known as the output.  A function assigns exactly one output to each input.  The argument and the value may be real numbers, but they can...
defined on a set
 that indicates membership of an element in a subsetSubset
In mathematics, especially in set theory, a set A is a subset of a set B if A is "contained" inside B. A and B may coincide. The relationship of one set being a subset of another is called inclusion or sometimes containment...
 of 
, having the value 1 for all elements of A and the value 0 for all elements of X not in A.The indicator function of a subset
 of a set 
 is a function
defined as

The Iverson bracket allows the equivalent notation,
, to be used instead of 
The function
 is sometimes denoted 
 or 
 or even just 
.
    Unanswered Questions
    
