go-v.orgcodex
Menu
Page tools

codex · Philosophy

Indicator function

Diagram for Indicator function
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if A is a subset of some set X, then the indicator function of A is the function 𝟏A defined by 𝟏A(x)=1 if x∈A, and 𝟏 · image: Wikimedia Commons

In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if A is a subset of some set X, then the indicator function of A is the function 𝟏A defined by 𝟏A(x)=1 if x∈A, and 𝟏A(x)=0 otherwise. Other common notations are 𝟙A and χA. The indicator function of A is the Iverson bracket of the property of belonging to A; that is, 𝟏A(x)=[ x∈A ]. For example, the Dirichlet function is the indicator function of the rational numbers as a subset of the real numbers.

Wikipedia contributors, "Indicator function", Wikipedia, revision 1310691750, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex