Indicator function
Encyclopedia : I : IN : IND : Indicator function
In mathematics, an indicator function or a characteristic function is a function defined on a set [X] that indicates membership of an element in a subset [A] of [X].
Remark. The term "characteristic function" has an unrelated meaning in probability theory. For this reason, probabilists use the term indicator function for the function defined here almost exclusively, while mathematicians in other fields are more likely to use the term characteristic function to describe the function which indicates membership in a set.
The indicator function of a subset [A] of a set [X] is a function
- [\mathbf_A : X \to \lbrace 0,1 \rbrace \,]
- [\mathbf_A(x) = \left\ 1 &\mbox\ x \in A, \\0 &\mbox\ x \notin A.\end\right.]
- [\chi_A(x)] or [\mathbf_A(x)] or even [A(x).]
The Iverson bracket allows the notation [[x in A]].
Warning. The notation [\mathbf_A ] may signify the identity function.
Basic properties
The mapping which associates a subset [A] of [X] to its indicator function [\mathbf_A] is injective; its range is the set of functions [f : X \to \].
If [A] and [B] are two subsets of [X], then
- [\mathbf_ = \min\_A,\mathbf_B\} = \mathbf_A \mathbf_B,\,]
- [\mathbf_ = \max\ (-1)^
>
\mathbf_ = \sum_} (-1)^ \mathbf_ ] where [|F|] is the cardinality of [F]. This is one form of the principle of inclusion-exclusion. As suggested by the previous example, the indicator function is a useful notational device in combinatorics. The notation is used in other places as well, for instance in probability theory: if [X] is a probability space with probability measure [\mathbb] and [A] is a measurable set, then [\mathbf_A] becomes a random variable whose expected value is equal to the probability of [A:]
- [E(\mathbf_A)= \int_ \mathbf_A(x)\,dP = \int_ dP = P(A).\quad ]
References
- Folland, G.B.; Real Analysis: Modern Techniques and Their Applications, 2nd ed, John Wiley & Sons, Inc., 1999.
- Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. Introduction to Algorithms, Second Edition. MIT Press and McGraw-Hill, 2001. ISBN 0262032937. Section 5.2: Indicator random variables, pp.94–99.
See also
This article incorporates material from on PlanetMath, which is licensed under the [Text of the GNU Free Documentation LicenseGFDL].
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
