In the field of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
known as
convex analysis
Convex analysis is the branch of mathematics devoted to the study of properties of convex functions and convex sets, often with applications in convex optimization, convex minimization, a subdomain of optimization (mathematics), optimization theor ...
, the characteristic function of a set is a
convex function
In mathematics, a real-valued function is called convex if the line segment between any two distinct points on the graph of a function, graph of the function lies above or on the graph between the two points. Equivalently, a function is conve ...
that indicates the membership (or non-membership) of a given element in that set. It is similar to the usual
indicator function
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , then the indicator functio ...
, and one can freely convert between the two, but the characteristic function as defined below is better-suited to the methods of convex analysis.
Definition
Let
be a
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
, and let
be a
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of
. The characteristic function of
is the function
:
taking values in the
extended real number line
In mathematics, the extended real number system is obtained from the real number system \R by adding two elements denoted +\infty and -\infty that are respectively greater and lower than every real number. This allows for treating the potential ...
defined by
:
Relationship with the indicator function
Let
denote the usual indicator function:
:
If one adopts the conventions that
* for any
,
and
, except
;
*
; and
*
;
then the indicator and characteristic functions are related by the equations
:
and
:
Subgradient
The subgradient of
for a set
is the
tangent cone of that set in
.
Bibliography
* {{cite book
, last = Rockafellar
, first = R. T.
, authorlink = R. Tyrrell Rockafellar
, title = Convex Analysis
, publisher = Princeton University Press
, location = Princeton, NJ
, year = 1997
, origyear = 1970
, isbn = 978-0-691-01586-6
Convex analysis