Canonical: https://knowlpedia.com/convex-analysis/domain-of-a-convex-function-is-convex/

# Domain of a convex function is convex

The effective domain of an extended-real-valued convex function is a convex set.

Let \(X\) be a real [vector space](https://knowlpedia.com/linear-algebra/vector-space/) and let \(f:X\to(-\infty,+\infty]\) be a [convex function](https://knowlpedia.com/convex-analysis/convex-function-via-epigraph/). Then its effective [domain](https://knowlpedia.com/convex-analysis/domain-and-epigraph-proper-function/)
\[
\operatorname{dom}(f)=\{x\in X:f(x)<+\infty\}
\]
is a [convex set](https://knowlpedia.com/convex-analysis/convex-set/).

## Proof

If \(x,y\in\operatorname{dom}(f)\) and \(0\le \lambda\le 1\), convexity gives
\[
f(\lambda x+(1-\lambda)y)
\le \lambda f(x)+(1-\lambda)f(y)<+\infty.
\]
Thus \(\lambda x+(1-\lambda)y\in\operatorname{dom}(f)\).
