Skip to content

Indicator function (convex analysis)

An extended-real function that is zero on a selected set and positive infinity outside it, encoding membership as a hard optimization constraint.

Version
v2 · 2026-09-19 · History
Domain-specific #
5013
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Convex Analysis → Mathematics

Core Idea

The convex-analysis indicator differs from a zero-one characteristic function; it is convex exactly when the set is convex and turns constrained minimization into unconstrained minimization of an extended-real objective. Adding the function leaves feasible points' objective unchanged and makes infeasible points infinitely costly, while conjugation converts it into the set's support function. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.

How would you explain it like I'm…

The Infinite-Cost Fence

Imagine a playground with a fence around it. Standing inside the fence costs nothing. Stepping outside costs so much that nobody could ever pay it. So if you are looking for the cheapest spot, you will always stay inside the fence.

Zero-Inside, Infinity-Outside Rule

In math, you often want the best answer while staying inside some allowed region. The indicator function of that region gives 0 to every point inside it and 'infinity' to every point outside. If you add it to the thing you are trying to make small, points inside keep their usual score, and points outside become hopeless. That turns a 'stay inside the rules' problem into a plain 'find the smallest' problem. It is different from a function that just gives 1 inside and 0 outside.

Infinite-Penalty Constraint Function

For a set C in a vector space, the convex-analysis indicator function equals 0 on C and +∞ off C. It therefore takes values in the extended reals, not just 0 and 1, which distinguishes it from the characteristic function of a set. Adding it to an objective f converts 'minimize f over C' into 'minimize f + indicator over everything'. Feasible points keep their value, and infeasible points get infinite cost. The indicator is a convex function exactly when C is a convex set. Its convex conjugate is the support function of C.

 

Given a set C in a real vector space X, the indicator function δ_C : X → ℝ ∪ {+∞} is defined by δ_C(x) = 0 if x ∈ C and +∞ otherwise. This is the convex-analysis convention, distinct from the 0/1 characteristic function used in measure theory. Its key use is reformulating constraints: min_{x∈C} f(x) is equivalent to min_{x∈X} f(x) + δ_C(x). Infeasible points become infinitely costly, so the extended-real objective encodes the constraint. δ_C is convex if and only if C is convex, and it is lower semicontinuous exactly when C is closed. Its Fenchel conjugate is the support function: δ_C*(y) = sup_{x∈C} ⟨y, x⟩. The ambient space, the set, the extended-real codomain, and any convexity or closure assumptions should all be stated explicitly.

Scope of Application

Indicator function (convex analysis) belongs to convex analysis and is useful where the analyst can specify the typed convex analysis carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, then evaluate the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions are explicit. The scope is broad within that domain but bounded by the need for the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions are explicit. The entry records a descriptive analytical identity; practical use requires the governing domain's evidence, standards, and safety obligations.

Clarity

The abstraction clarifies a crowded vocabulary by making the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions are explicit the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test. A bare label is insufficient because the name Indicator function (convex analysis) can be used for a formal identity, an implementation, or a neighboring result unless carrier and convention are stated.

Manages Complexity

Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Indicator function (convex analysis). Indicator function (convex analysis) compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.

Abstract Reasoning

  1. Identify the carrier. State what the elements, states, objects, or observations are: the typed convex analysis carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets. Reject examples whose alleged carrier belongs to a different problem.
  2. Lock the constitutive rule. Express the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions are explicit independently of one notation or implementation.

Knowledge Transfer

Knowledge transfers strongly among subfields of convex analysis because they reuse the typed convex analysis carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, Adding the function leaves feasible points' objective unchanged and makes infeasible points infinitely costly, while conjugation converts it into the set's support function., and type the carrier, state every parameter and convention in the definition, test that the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions are explicit, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.

Relationships to Other Abstractions

Local relationship map for Indicator function (convex analysis)Parents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Indicator function(convex analysis)DOMAINPrime abstraction: Constraint — is a kind ofConstraintPRIME

Current abstraction Indicator function (convex analysis) Domain-specific

Parents (1) — outgoing typed relations

  • Indicator function (convex analysis) is a kind of Constraint Prime

    It remains its own entry because its identity is fixed by the ambient vector space and set, extended-real codomain, zero-inside and positive-infinity-outside convention and any convexity or closure assumptions.

Hierarchy path (1) — routes to 1 parentless root

  • Indicator function (convex analysis) → is a kind of Constraint

Neighborhood in Abstraction Space

Indicator function (convex analysis) sits in a crowded region of the domain-specific corpus (9th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Convex Analysis & Optimization Structures (8 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-25