This page will be about the indicator function. When I was a mathematics and statistics student, this topic was somewhat covered in an Introduction to Stochastic Calculus course. Not everyone has had a course in Stochastic Calculus so I will share some things that I know.

One should have a basic knowledge of calculus, set theory and introductory probability and statistics before reading ahead.

** Definition**

Let (Omega) be a set with as an outcome of a random variable . Let be a subset of . Denote the indicator function of the set A as and define it as:

**Properties**

The proofs of these properties are not too difficult.

** Example One (Heaviside Step Function)**

Having the set as the positive half-line makes the indicator function into the (right-continuous) Heaviside step function.

**Example Two – Changing Integral Bounds Examples**

Let be any (non-random) function.

The integral becomes .

The second case involves the integral being equal to .

This integral becomes .

And the integral becomes .

Note that the integral at a single point is zero. So using versus for example does not really matter.

**More Properties**

Here are a few more properties of the indicator functions.

since the max function is at least 0.

But can also be expressed as which is equal to:

With the max function, if A is greater than B then the indicator function is a 1 and we choose which is greater than . Otherwise the indicator is 0 since A is less than B which makes (A-B) less than 0 and we choose a maximum of 0.

With the min function, if B is less than A then the indicator function is a 1 and we choose which is less than 0. Otherwise the indicator is 0 since B is greater than A and we choose a minimum of 0.

The negative in front of the was needed to match the function.

**Applications**

All I can think of is that indicator functions (characteristic functions) are used in (Graduate) probability theory, and in financial mathematics (Options Pricing).

Indicator functions provide conveniences in notation. These functions are also found in pure math topics such as real analysis and measure theory. Indicator functions can also be found in statistical factorial designs.

The featured image is from https://commons.wikimedia.org/wiki/File:Indicator_function_2D.svg.