Indicator function of a set
The extended-real function that is 0 on Ω and ∞ outside Ω
Indicator function of a set
Let be a vector space and let be nonempty. The indicator function of is the extended-real-valued function defined by
Its domain is , and its epigraph is .
Context. Indicator functions encode constraints as penalties: minimizing is equivalent to minimizing subject to .
Convexity. is convex if and only if is a convex set .
Examples:
- If is a subspace, then is convex.
- If is a nonconvex set (e.g., two disjoint balls), then is not convex.