Closed Convex Function — Definition, Formula & Example
A closed convex function is a convex function that never jumps up at a point. Its value at each point is no larger than the values it approaches nearby, so the region on and above its graph contains all of its edge points.
A proper convex function is closed if its epigraph is a closed set. Equivalently, is lower semicontinuous: every sublevel set is closed. Some authors, such as Rockafellar, also count the improper constant functions and as closed. This page covers only proper functions.
Key Formula
Where:
- = A convex function. It may take the value outside its domain.
- = Any point in , including boundary points of the domain.
- = The smallest value that approaches as gets close to .
Worked Example
Problem: Define for , , and for . This function is convex, because raising the endpoint values only raises the chords that start there. Is closed? If not, find the closed function that agrees with on .
Step 1: Find the value approaches as moves toward the boundary point from inside the domain.
Step 2: Compare this limit with the assigned value. Since , the condition fails, so is not lower semicontinuous at . You can also see this in the epigraph. The point lies in because . The points with all lie in , but their limit does not, because .
Step 3: Close by lowering each boundary value to its limit. The result is the closure , whose epigraph is the closure of . The same fix applies at .
Answer: is convex but not closed, because it jumps up to at while approaching there. Its closure equals on and elsewhere, and this function is closed and convex.
Why It Matters
In convex optimization, closedness guarantees that a convex function with a bounded nonempty sublevel set actually attains its absolute minimum. A sequence of better and better guesses then cannot converge to a point where the value suddenly jumps up. Closedness is also the exact hypothesis of the Fenchel–Moreau theorem: a proper convex satisfies (it equals its double convex conjugate) if and only if is closed. That fact underlies duality in linear programming and machine learning.
Common Mistakes
Mistake: Assuming every convex function is automatically closed because convex functions are continuous.
Correction: A convex function is guaranteed to be continuous only on the interior of its domain. Closedness can fail only at boundary points of the domain, as at in the example. A convex function that is finite on all of is continuous everywhere, so it is closed.
