Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Indicator function
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Definition== Given an arbitrary set {{mvar|X}}, the indicator function of a subset {{mvar|A}} of {{mvar|X}} is the function <math display=block>\mathbf{1}_A \colon X \mapsto \{ 0, 1 \}</math> defined by <math display="block" qid="Q371983">\operatorname\mathbf{1}_A\!( x ) = \begin{cases} 1 & \text{if } x \in A \\ 0 & \text{if } x \notin A \,. \end{cases} </math> The [[Iverson bracket]] provides the equivalent notation <math>\left[\ x\in A\ \right]</math> or {{nobr|{{math|⟦ ''x'' ∈ ''A'' ⟧}},}} that can be used instead of <math>\mathbf{1}_{A}\!(x).</math> The function <math>\mathbf{1}_A</math> is sometimes denoted {{math|𝟙{{sub|''A''}}}}, {{mvar|I<sub>A</sub>}}, {{mvar|χ<sub>A</sub>}}{{efn|name=χαρακτήρ| The [[Greek alphabet|Greek letter]] {{mvar|χ}} appears because it is the initial letter of the Greek word {{lang|grc|{{math|χαρακτήρ}}}}, which is the ultimate origin of the word ''characteristic''. }} or even just {{mvar|A}}.{{efn| The set of all indicator functions on {{mvar|X}} can be identified with the set operator <math>\mathcal{P}(X),</math> the [[power set]] of {{mvar|X}}. Consequently, both sets are denoted by the conventional [[abuse of notation]] as <math>2^X,</math> in analogy to the relation for the count of elements in the powerset and the original set. This is a special case <math>\left(Y = \{0,\, 1\}\right)</math> of the notation <math>Y^X</math> for the set of all functions <math>f</math> such that <math>f: X \mapsto Y \,.</math> }}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)