Indicator function (convex analysis)

In the field of mathematics known as convex analysis, the indicator function of a set is a convex function that indicates the membership (or non-membership) of a given element in that set. It is similar to the indicator function used in probability, but assigns +∞ instead of 0 to the outside elements.

Each field seems to have its own meaning of an "indicator function", as in complex analysis for instance.

Definition

Let X be a set, and let A be a subset of X. The indicator function of A is the function

ιA:X→ℝ∪{+∞}

taking values in the extended real number line defined by

ιA(x):={0,x∈A;+∞,x∉A.

Properties

This function is convex if and only if the set A is convex.

This function is lower-semicontinuous if and only if the set A is closed.

For any arbitrary sets A and B, it is that ιA+ιB=ιA∩B.

For an arbitrary non-empty set its Legendre transform is the support function.

The subgradient of ιA(x) for a set A and x∈A is the normal cone of that set at x.

Its infimal convolution with the Euclidean norm ||⋅||2 is the Euclidean distance to that set.