<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Indicator_function</id>
	<title>Indicator function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Indicator_function"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Indicator_function&amp;action=history"/>
	<updated>2026-06-18T02:32:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Indicator_function&amp;diff=163625&amp;oldid=prev</id>
		<title>2604:2D80:4D89:9800:FC03:B86C:9084:2CC8: Changed a &quot;maps to&quot; arrow to a typical right arrow in a &quot;domain, right arrow, codomain&quot; format of a function definition. This was in the definition of the indicator function on a subset A.</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Indicator_function&amp;diff=163625&amp;oldid=prev"/>
		<updated>2025-09-11T02:42:17Z</updated>

		<summary type="html">&lt;p&gt;Changed a &amp;quot;maps to&amp;quot; arrow to a typical right arrow in a &amp;quot;domain, right arrow, codomain&amp;quot; format of a function definition. This was in the definition of the indicator function on a subset A.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Mathematical function characterizing set membership}}&lt;br /&gt;
{{About|the 0&amp;amp;ndash;1 indicator function|the 0&amp;amp;ndash;infinity indicator function|characteristic function (convex analysis)}}&lt;br /&gt;
{{More footnotes|date=December 2009}}&lt;br /&gt;
{{Use American English|date = March 2019}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Indicator function illustration.png|right|thumb|A three-dimensional plot of an indicator function, shown over a square two-dimensional domain (set {{mvar|X}}): the &amp;quot;raised&amp;quot; portion overlays those two-dimensional points which are members of the &amp;quot;indicated&amp;quot; subset ({{mvar|A}}).]]&lt;br /&gt;
In [[mathematics]], an &amp;#039;&amp;#039;&amp;#039;indicator function&amp;#039;&amp;#039;&amp;#039; or a &amp;#039;&amp;#039;&amp;#039;characteristic function&amp;#039;&amp;#039;&amp;#039; of a [[subset]] of a [[Set (mathematics)|set]] is a [[Function (mathematics)|function]] that maps elements of the subset to one, and all other elements to zero. That is, if {{mvar|A}} is a subset of some set {{mvar|X}}, then the indicator function of {{mvar|A}} is the function &amp;lt;math&amp;gt;\mathbf{1}_A&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;\mathbf{1}_{A}\!(x) = 1&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;x \in A,&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{1}_{A}\!(x) = 0&amp;lt;/math&amp;gt; otherwise. Other common notations are {{math|𝟙{{sub|&amp;#039;&amp;#039;A&amp;#039;&amp;#039;}}}} and &amp;lt;math&amp;gt;\chi_A.&amp;lt;/math&amp;gt;{{efn|name=χαρακτήρ}}&lt;br /&gt;
&lt;br /&gt;
The indicator function of {{mvar|A}} is the [[Iverson bracket]] of the property of belonging to {{mvar|A}}; that is, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\mathbf{1}_{A}(x) = \left[\ x\in A\ \right].&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, the [[Dirichlet function]] is the indicator function of the [[rational number]]s as a subset of the [[real number]]s.&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
Given an arbitrary set {{mvar|X}}, the indicator function of a subset {{mvar|A}} of {{mvar|X}} is the function&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\mathbf{1}_A \colon X \rightarrow \{ 0, 1 \}&amp;lt;/math&amp;gt;&lt;br /&gt;
defined by&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot; qid=&amp;quot;Q371983&amp;quot;&amp;gt;\operatorname\mathbf{1}_A\!( x ) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
1 &amp;amp; \text{if } x \in A \\&lt;br /&gt;
0 &amp;amp; \text{if } x \notin A \,.&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Iverson bracket]] provides the equivalent notation &amp;lt;math&amp;gt;\left[\ x\in A\ \right]&amp;lt;/math&amp;gt; or {{nobr|{{math|⟦&amp;amp;thinsp;&amp;#039;&amp;#039;x&amp;#039;&amp;#039; ∈ &amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;amp;thinsp;⟧}},}} that can be used instead of &amp;lt;math&amp;gt;\mathbf{1}_{A}\!(x).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The function &amp;lt;math&amp;gt;\mathbf{1}_A&amp;lt;/math&amp;gt; is sometimes denoted {{math|𝟙{{sub|&amp;#039;&amp;#039;A&amp;#039;&amp;#039;}}}}, {{mvar|I&amp;lt;sub&amp;gt;A&amp;lt;/sub&amp;gt;}}, {{mvar|&amp;amp;chi;&amp;lt;sub&amp;gt;A&amp;lt;/sub&amp;gt;}}{{efn|name=χαρακτήρ|&lt;br /&gt;
The [[Greek alphabet|Greek letter]] {{mvar|&amp;amp;chi;}} appears because it is the initial letter of the Greek word {{lang|grc|{{math|χαρακτήρ}}}}, which is the ultimate origin of the word &amp;#039;&amp;#039;characteristic&amp;#039;&amp;#039;.&lt;br /&gt;
}} or even just {{mvar|A}}.{{efn|&lt;br /&gt;
The set of all indicator functions on {{mvar|X}} can be identified with the set operator &amp;lt;math&amp;gt;\mathcal{P}(X),&amp;lt;/math&amp;gt; the [[power set]] of {{mvar|X}}. Consequently, both sets are denoted by the conventional [[abuse of notation]] as &amp;lt;math&amp;gt;2^X,&amp;lt;/math&amp;gt; in analogy to the relation for the count of elements in the powerset and the original set. This is a special case &amp;lt;math&amp;gt;\left(Y = \{0,\, 1\}\right)&amp;lt;/math&amp;gt; of the notation &amp;lt;math&amp;gt;Y^X&amp;lt;/math&amp;gt; for the set of all functions &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f: X \mapsto Y \,.&amp;lt;/math&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Notation and terminology==&lt;br /&gt;
The notation &amp;lt;math&amp;gt;\chi_A&amp;lt;/math&amp;gt; is also used to denote the [[Characteristic function (convex analysis)|characteristic function]] in [[convex analysis]], which is defined as if using the [[Multiplicative inverse|reciprocal]] of the standard definition of the indicator function.&lt;br /&gt;
&lt;br /&gt;
A related concept in [[statistics]] is that of a [[dummy variable (statistics)|dummy variable]]. (This must not be confused with &amp;quot;dummy variables&amp;quot; as that term is usually used in mathematics, also called a [[free variables and bound variables|bound variable]].)&lt;br /&gt;
&lt;br /&gt;
The term &amp;quot;[[characteristic function (probability theory)|characteristic function]]&amp;quot; has an unrelated meaning in [[probability theory|classic probability theory]]. For this reason, [[List of probabilists|traditional probabilists]] use the term &amp;#039;&amp;#039;&amp;#039;indicator function&amp;#039;&amp;#039;&amp;#039; for the function defined here almost exclusively, while mathematicians in other fields are more likely to use the term &amp;#039;&amp;#039;characteristic function&amp;#039;&amp;#039; to describe the function that indicates membership in a set.&lt;br /&gt;
&lt;br /&gt;
In [[fuzzy logic]] and [[Many-valued logic|modern many-valued logic]], predicates are the [[characteristic function (probability theory)|characteristic functions]] of a [[probability distribution]]. That is, the strict true/false valuation of the predicate is replaced by a quantity interpreted as the degree of truth.&lt;br /&gt;
&lt;br /&gt;
==Basic properties==&lt;br /&gt;
The &amp;#039;&amp;#039;indicator&amp;#039;&amp;#039; or &amp;#039;&amp;#039;characteristic&amp;#039;&amp;#039; [[function (mathematics)|function]] of a subset {{mvar|A}} of some set {{mvar|X}} [[Map (mathematics)|maps]] elements of {{mvar|X}} to the [[codomain]] &amp;lt;math&amp;gt;\{0,\, 1\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This mapping is [[surjective]] only when {{mvar|A}} is a non-empty [[proper subset]] of {{mvar|X}}. If &amp;lt;math&amp;gt;A = X,&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\mathbf{1}_A \equiv 1.&amp;lt;/math&amp;gt; By a similar argument, if &amp;lt;math&amp;gt;A = \emptyset&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\mathbf{1}_A \equiv 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; are two subsets of &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; then&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\begin{align}&lt;br /&gt;
\mathbf{1}_{A\cap B}(x) ~&amp;amp;=~ \min\bigl\{\mathbf{1}_A(x),\ \mathbf{1}_B(x)\bigr\} ~~=~ \mathbf{1}_A(x) \cdot\mathbf{1}_B(x), \\&lt;br /&gt;
\mathbf{1}_{A\cup B}(x) ~&amp;amp;=~ \max\bigl\{\mathbf{1}_A(x),\ \mathbf{1}_B(x)\bigr\} ~=~ \mathbf{1}_A(x) + \mathbf{1}_B(x) - \mathbf{1}_A(x) \cdot \mathbf{1}_B(x)\,,&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the indicator function of the [[Complement (set theory)|complement]] of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; i.e. &amp;lt;math&amp;gt;A^\complement&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\mathbf{1}_{A^\complement} = 1 - \mathbf{1}_A.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More generally, suppose &amp;lt;math&amp;gt;A_1, \dotsc, A_n&amp;lt;/math&amp;gt; is a collection of subsets of {{mvar|X}}. For any &amp;lt;math&amp;gt;x \in X:&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=block&amp;gt; \prod_{k \in I} \left(\ 1 - \mathbf{1}_{A_k}\!\left( x \right)\ \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is a product of {{math|0}}s and {{math|1}}s. This product has the value {{math|1}} at precisely those &amp;lt;math&amp;gt;x \in X&amp;lt;/math&amp;gt; that belong to none of the sets &amp;lt;math&amp;gt;A_k&amp;lt;/math&amp;gt; and is 0 otherwise. That is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=block&amp;gt; \prod_{k \in I} ( 1 - \mathbf{1}_{A_k}) = \mathbf{1}_{X - \bigcup_{k} A_k} = 1 - \mathbf{1}_{\bigcup_{k} A_k}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expanding the product on the left hand side,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\mathbf{1}_{\bigcup_{k} A_k}= 1 - \sum_{F \subseteq \{1, 2, \dotsc, n\}} (-1)^{|F|} \mathbf{1}_{\bigcap_F A_k} = \sum_{\emptyset \neq F \subseteq \{1, 2, \dotsc, n\}} (-1)^{|F|+1} \mathbf{1}_{\bigcap_F A_k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;|F|&amp;lt;/math&amp;gt; is the [[cardinality]] of {{mvar|F}}. This is one form of the principle of [[inclusion-exclusion]].&lt;br /&gt;
&lt;br /&gt;
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 {{mvar|X}} is a [[probability space]] with probability measure &amp;lt;math&amp;gt;\mathbb{P}&amp;lt;/math&amp;gt; and {{mvar|A}} is a [[Measure (mathematics)|measurable set]], then &amp;lt;math&amp;gt;\mathbf{1}_A&amp;lt;/math&amp;gt; becomes a [[random variable]] whose [[expected value]] is equal to the probability of {{mvar|A}}:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\operatorname\mathbb{E}_X\left\{\ \mathbf{1}_A(x)\ \right\}\ =\ \int_{X} \mathbf{1}_A( x )\ \operatorname{d\ \mathbb{P} }(x) = \int_{A} \operatorname{d\ \mathbb{P} }(x) = \operatorname\mathbb{P}(A).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This identity is used in a simple proof of [[Markov&amp;#039;s inequality]].&lt;br /&gt;
&lt;br /&gt;
In many cases, such as [[order theory]], the inverse of the indicator function may be defined. This is commonly called the [[generalized Möbius function]], as a generalization of the inverse of the indicator function in elementary [[number theory]], the [[Möbius function]]. (See paragraph below about the use of the inverse in classical recursion theory.)&lt;br /&gt;
&lt;br /&gt;
==Mean, variance and covariance==&lt;br /&gt;
Given a [[probability space]] &amp;lt;math&amp;gt;\textstyle (\Omega, \mathcal F, \operatorname{P})&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;A \in \mathcal F,&amp;lt;/math&amp;gt; the indicator random variable &amp;lt;math&amp;gt;\mathbf{1}_A \colon \Omega \rightarrow \mathbb{R}&amp;lt;/math&amp;gt; is defined by &amp;lt;math&amp;gt;\mathbf{1}_A (\omega) = 1 &amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt; \omega \in A,&amp;lt;/math&amp;gt; otherwise &amp;lt;math&amp;gt;\mathbf{1}_A (\omega) = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;[[Mean]]: &amp;lt;math&amp;gt;\ \operatorname\mathbb{E}(\mathbf{1}_A (\omega)) = \operatorname\mathbb{P}(A)\ &amp;lt;/math&amp;gt; (also called &amp;quot;Fundamental Bridge&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
;[[Variance]]: &amp;lt;math&amp;gt;\ \operatorname{Var}(\mathbf{1}_A (\omega)) = \operatorname\mathbb{P}(A)(1 - \operatorname\mathbb{P}(A)).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;[[Covariance]]: &amp;lt;math&amp;gt;\ \operatorname{Cov}(\mathbf{1}_A (\omega), \mathbf{1}_B (\omega)) = \operatorname\mathbb{P}(A \cap B) - \operatorname\mathbb{P}(A) \operatorname\mathbb{P}(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Characteristic function in recursion theory, Gödel&amp;#039;s and Kleene&amp;#039;s representing function==&lt;br /&gt;
[[Kurt Gödel]] described the &amp;#039;&amp;#039;representing function&amp;#039;&amp;#039; in his 1934 paper &amp;quot;On undecidable propositions of formal mathematical systems&amp;quot; (the symbol &amp;quot;{{math|¬}}&amp;quot; indicates logical inversion, i.e. &amp;quot;NOT&amp;quot;):&amp;lt;ref name=Martin-1965&amp;gt;{{cite book |pages=41–74 |editor-link=Martin Davis (mathematician) |editor-first=Martin |editor-last=Davis |year=1965 |title=The Undecidable |publisher=Raven Press Books |place=New York, NY}}&amp;lt;/ref&amp;gt;{{rp|page=42}} &lt;br /&gt;
&lt;br /&gt;
{{blockquote|1=There shall correspond to each class or relation {{mvar|R}} a representing function &amp;lt;math&amp;gt;\phi(x_1, \ldots x_n) = 0&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;R(x_1,\ldots x_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\phi(x_1,\ldots x_n) = 1&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;\neg R(x_1,\ldots x_n).&amp;lt;/math&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
[[Stephen Kleene|Kleene]] offers up the same definition in the context of the [[primitive recursive function]]s as a function {{mvar|φ}} of a predicate {{mvar|P}} takes on values {{math|0}} if the predicate is true and {{math|1}} if the predicate is false.&amp;lt;ref name=Kleene1952&amp;gt;{{cite book |last=Kleene |first=Stephen |author-link=Stephen Kleene |year=1971 |orig-year=1952 |title=Introduction to Metamathematics |page=227 |publisher=Wolters-Noordhoff Publishing and North Holland Publishing Company |location=Netherlands |edition=Sixth reprint, with corrections}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, because the product of characteristic functions &amp;lt;math&amp;gt;\phi_1 * \phi_2 * \cdots * \phi_n = 0&amp;lt;/math&amp;gt; whenever any one of the functions equals {{math|0}}, it plays the role of logical OR: IF &amp;lt;math&amp;gt;\phi_1 = 0\ &amp;lt;/math&amp;gt; OR &amp;lt;math&amp;gt;\ \phi_2 = 0&amp;lt;/math&amp;gt; OR ... OR &amp;lt;math&amp;gt;\phi_n = 0&amp;lt;/math&amp;gt; THEN their product is {{math|0}}. What appears to the modern reader as the representing function&amp;#039;s logical inversion, i.e. the representing function is {{math|0}} when the function {{mvar|R}} is &amp;quot;true&amp;quot; or satisfied&amp;quot;, plays a useful role in Kleene&amp;#039;s definition of the logical functions OR, AND, and IMPLY,&amp;lt;ref name=Kleene1952 /&amp;gt;{{rp|228}} the bounded-&amp;lt;ref name=Kleene1952 /&amp;gt;{{rp|228}} and unbounded-&amp;lt;ref name=Kleene1952 /&amp;gt;{{rp|279 ff}} [[mu operator]]s and the CASE function.&amp;lt;ref name=Kleene1952 /&amp;gt;{{rp|229}}&lt;br /&gt;
&lt;br /&gt;
==Characteristic function in fuzzy set theory==&lt;br /&gt;
In classical mathematics, characteristic functions of sets only take values {{math|1}} (members) or {{math|0}} (non-members). In &amp;#039;&amp;#039;[[fuzzy set theory]]&amp;#039;&amp;#039;, characteristic functions are generalized to take value in the real unit interval {{closed-closed|0, 1}}, or more generally, in some [[universal algebra|algebra]] or [[structure (mathematical logic)|structure]] (usually required to be at least a [[partially ordered set|poset]] or [[lattice (order)|lattice]]). Such generalized characteristic functions are more usually called [[membership function (mathematics)|membership function]]s, and the corresponding &amp;quot;sets&amp;quot; are called &amp;#039;&amp;#039;fuzzy&amp;#039;&amp;#039; sets. Fuzzy sets model the gradual change in the membership [[degree of truth|degree]] seen in many real-world [[predicate (mathematics)|predicate]]s like &amp;quot;tall&amp;quot;, &amp;quot;warm&amp;quot;, etc.&lt;br /&gt;
&lt;br /&gt;
==Smoothness==&lt;br /&gt;
{{See also|Laplacian of the indicator}}&lt;br /&gt;
In general, the indicator function of a set is not smooth; it is continuous if and only if its [[support (math)|support]] is a [[connected component (topology)|connected component]]. In the [[algebraic geometry]] of [[finite fields]], however, every [[affine variety]] admits a ([[Zariski topology|Zariski]]) continuous indicator function.&amp;lt;ref&amp;gt;{{Cite book|title=Course in Arithmetic|last=Serre|pages=5}}&amp;lt;/ref&amp;gt; Given a [[finite set]] of functions &amp;lt;math&amp;gt;f_\alpha \in \mathbb{F}_q\left[\ x_1, \ldots, x_n\right]&amp;lt;/math&amp;gt; let &amp;lt;math&amp;gt;V = \bigl\{\ x \in \mathbb{F}_q^n : f_\alpha(x) = 0\ \bigr\}&amp;lt;/math&amp;gt; be their vanishing locus. Then, the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathbb{P}(x) = \prod\left(\ 1 - f_\alpha(x)^{q-1}\right)&amp;lt;/math&amp;gt; acts as an indicator function for &amp;lt;math&amp;gt;V.&amp;lt;/math&amp;gt; If &amp;lt;math&amp;gt;x \in V&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\mathbb{P}(x) = 1,&amp;lt;/math&amp;gt; otherwise, for some &amp;lt;math&amp;gt;f_\alpha,&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;f_\alpha(x) \neq 0&amp;lt;/math&amp;gt; which implies that &amp;lt;math&amp;gt;f_\alpha(x)^{q-1} = 1,&amp;lt;/math&amp;gt; hence &amp;lt;math&amp;gt;\mathbb{P}(x) = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although indicator functions are not smooth, they admit [[weak derivative]]s.  For example, consider [[Heaviside step function]] &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;H(x) \equiv \operatorname\mathbb{I}\!\bigl(x &amp;gt; 0\bigr)&amp;lt;/math&amp;gt;  The [[distributional derivative]] of the Heaviside step function is equal to the [[Dirac delta function]], i.e. &amp;lt;math display=block&amp;gt;\frac{\mathrm{d}H(x)}{\mathrm{d}x}= \delta(x)&amp;lt;/math&amp;gt;&lt;br /&gt;
and similarly the distributional derivative of &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;G(x) := \operatorname\mathbb{I}\!\bigl(x &amp;lt; 0\bigr)&amp;lt;/math&amp;gt; is &amp;lt;math display=block&amp;gt;\frac{\mathrm{d}G(x)}{\mathrm{d}x} = -\delta(x).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus the derivative of the Heaviside step function can be seen as the &amp;#039;&amp;#039;inward normal derivative&amp;#039;&amp;#039; at the &amp;#039;&amp;#039;boundary&amp;#039;&amp;#039; of the domain given by the positive half-line. In higher dimensions, the derivative naturally generalises to the inward normal derivative, while the Heaviside step function naturally generalises to the indicator function of some domain {{mvar|D}}. The surface of {{mvar|D}} will be denoted by {{mvar|S}}. Proceeding, it can be derived that the inward [[normal derivative]] of the indicator gives rise to a &amp;#039;&amp;#039;[[surface delta function]]&amp;#039;&amp;#039;, which can be indicated by &amp;lt;math&amp;gt;\delta_S(\mathbf{x})&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math display=block&amp;gt;\delta_S(\mathbf{x}) = -\mathbf{n}_x \cdot \nabla_x \operatorname\mathbb{I}\!\bigl(\ \mathbf{x}\in D\ \bigr)\ &amp;lt;/math&amp;gt;&lt;br /&gt;
where {{mvar|n}} is the outward [[Normal (geometry)|normal]] of the surface {{mvar|S}}. This &amp;#039;surface delta function&amp;#039; has the following property:&amp;lt;ref&amp;gt;{{cite journal |last=Lange |first=Rutger-Jan |year=2012 |title=Potential theory, path integrals and the Laplacian of the indicator |journal=Journal of High Energy Physics |volume=2012 |issue=11 |pages=29–30 |arxiv=1302.0864 |bibcode=2012JHEP...11..032L |doi=10.1007/JHEP11(2012)032|s2cid=56188533 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=block&amp;gt;-\int_{\R^n}f(\mathbf{x})\,\mathbf{n}_x\cdot\nabla_x  \operatorname\mathbb{I}\!\bigl(\ \mathbf{x}\in D\ \bigr) \; \operatorname{d}^{n}\mathbf{x} = \oint_{S}\,f(\mathbf{\beta}) \; \operatorname{d}^{n-1}\mathbf{\beta}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By setting the function {{mvar|f}} equal to one, it follows that the [[Laplacian of the indicator#Dirac surface delta function|inward normal derivative of the indicator]] integrates to the numerical value of the [[surface area]] {{mvar|S}}.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Div col|colwidth=15em}}&lt;br /&gt;
* [[Dirac measure]]&lt;br /&gt;
* [[Laplacian of the indicator]]&lt;br /&gt;
* [[Dirac delta]]&lt;br /&gt;
* [[Extension (predicate logic)]]&lt;br /&gt;
* [[Free variables and bound variables]]&lt;br /&gt;
* [[Heaviside step function]]&lt;br /&gt;
* [[Identity function]]&lt;br /&gt;
* [[Iverson bracket]]&lt;br /&gt;
* [[Kronecker delta]], a function that can be viewed as an indicator for the [[Equality (mathematics)|identity relation]]&lt;br /&gt;
* [[Macaulay brackets]]&lt;br /&gt;
* [[Multiset]]&lt;br /&gt;
* [[Membership function (mathematics)|Membership function]]&lt;br /&gt;
* [[Simple function]]&lt;br /&gt;
* [[Dummy variable (statistics)]]&lt;br /&gt;
* [[Statistical classification]]&lt;br /&gt;
* [[Zero-one loss function]]&lt;br /&gt;
*[[Subobject classifier]], a related concept from [[Topos theory|topos theory]].{{div col end}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{notelist}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist|25em}}&lt;br /&gt;
&lt;br /&gt;
==Sources==&lt;br /&gt;
{{refbegin|25em}}&lt;br /&gt;
* {{cite book |last=Folland |first=G.B. |title=Real Analysis: Modern Techniques and Their Applications |publisher=John Wiley &amp;amp; Sons, Inc. |year=1999 |isbn=978-0-471-31716-6 |edition=Second}}&lt;br /&gt;
* {{cite book |last1=Cormen |first1=Thomas H. |title=Introduction to Algorithms |title-link=Introduction to Algorithms |last2=Leiserson |first2=Charles E. |last3=Rivest |first3=Ronald L. |last4=Stein |first4=Clifford |publisher=MIT Press and McGraw-Hill |year=2001 |isbn=978-0-262-03293-3 |edition=Second |pages=[https://archive.org/details/introductiontoal00corm_691/page/n116 94]–99 |chapter=Section 5.2: Indicator random variables |author-link=Thomas H. Cormen |author-link2=Charles E. Leiserson |author-link3=Ronald L. Rivest |author-link4=Clifford Stein}}&lt;br /&gt;
* {{cite book |editor-last=Davis |editor-first=Martin |editor-link=Martin Davis (mathematician) |year=1965 |title=The Undecidable |publisher=Raven Press Books |place=New York, NY}}&lt;br /&gt;
* {{cite book |last=Kleene |first=Stephen |author-link=Stephen Kleene |year=1971 |orig-year=1952 |title=Introduction to Metamathematics |publisher=Wolters-Noordhoff Publishing and North Holland Publishing Company |location=Netherlands |edition=Sixth reprint, with corrections}}&lt;br /&gt;
* {{Cite book |last1=Boolos |first1=George |title=Computability and Logic |last2=Burgess |first2=John P. |last3=Jeffrey |first3=Richard C. |publisher=Cambridge University Press |year=2002 |isbn=978-0-521-00758-0 |location=Cambridge UK |author-link=George Boolos |author-link2=John P. Burgess |author-link3=Richard C. Jeffrey}}&lt;br /&gt;
*{{cite q | Q25938993 |last1=Zadeh |first1=L.A. | author-link1 = Lotfi A. Zadeh | | journal = [[Information and Computation|Information and Control]] | doi-access = free }}&lt;br /&gt;
* {{cite journal |last=Goguen |first=Joseph |author-link=Joseph Goguen |year=1967 |title=&amp;#039;&amp;#039;L&amp;#039;&amp;#039;-fuzzy sets |journal=Journal of Mathematical Analysis and Applications |volume=18 |issue=1 |pages=145–174 |doi=10.1016/0022-247X(67)90189-8 |hdl-access=free |hdl=10338.dmlcz/103980}}&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Measure theory]]&lt;br /&gt;
[[Category:Integral calculus]]&lt;br /&gt;
[[Category:Real analysis]]&lt;br /&gt;
[[Category:Mathematical logic]]&lt;br /&gt;
[[Category:Basic concepts in set theory]]&lt;br /&gt;
[[Category:Probability theory]]&lt;br /&gt;
[[Category:Types of functions]]&lt;/div&gt;</summary>
		<author><name>2604:2D80:4D89:9800:FC03:B86C:9084:2CC8</name></author>
	</entry>
</feed>