\(\DeclarePairedDelimiterX{\Set}[2]{\{}{\}}{#1 \nonscript\;\delimsize\vert\nonscript\; #2}\) \( \DeclarePairedDelimiter{\set}{\{}{\}}\) \( \DeclarePairedDelimiter{\parens}{\left(}{\right)}\) \(\DeclarePairedDelimiterX{\innerproduct}[1]{\langle}{\rangle}{#1}\) \(\newcommand{\ip}[1]{\innerproduct{#1}}\) \(\newcommand{\bmat}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\barray}[1]{\left[\hspace{2.0pt}\begin{matrix}#1\end{matrix}\hspace{2.0pt}\right]}\) \(\newcommand{\mat}[1]{\begin{matrix}#1\end{matrix}}\) \(\newcommand{\pmat}[1]{\begin{pmatrix}#1\end{pmatrix}}\) \(\newcommand{\mathword}[1]{\mathop{\textup{#1}}}\)
Needs:
Natural Numbers
Set Powers
Needed by:
Knapsack Problems
Rectangular Functions
Simple Functions
Links:
Sheet PDF
Graph PDF

Characteristic Functions

Why

We want to indicate membership in a set by a function.1

Definition

The characteristic function (or indicator function) of a set $X$ is a function from $X$ to $\set{0,1}$ which is $1$ if the argument is in $A$ and 0 otherwise.

The function which assigns to each subset $A$ of $X$ to characteristic function of $A$ is a one-to-one function from $\powerset{X}$ onto $2^{X}$.

Notation

Let $A$ be a non-empty set and $B \subset A$. We denote the characteristic function of $B$ in $A$ by $\chi _{B}: A \to R$. The Greek letter $\chi $ is a mnemonic for “characteristic”.

The subscript indicates the set on which the function is one. In other words, for all $B \subset A$, $\chi _{B}^{-1}(\set{1}) = B$.2


  1. Future editions will elaborate, perhaps with forward-looking connections to Rectangular Functions. ↩︎
  2. Another notation used is $1_{B}: A \to \set{0, 1}$ or $\mathbf{1}_B$. In the second notation here, the 1 is bold. ↩︎
Copyright © 2023 The Bourbaki Authors — All rights reserved — Version 13a6779cc About Show the old page view