Continuous function between a lower semi-continuous function and an upper semi-continuous function.

continuitymetric-spacesreal-analysissemicontinuous-functions

Let $X$ be a compact metric space, $u: X \to [0, 1]$ an upper semi-continuous function and $l: X \to [0, 1]$ a lower semi-continuous function such that $u(x) < l(x)$ for each $x \in X$.

Does there exist a continuous function $f: X \to [0, 1]$ such that $u(x) < f(x) < l(x)$ for each $x \in X$?

Best Answer

It is true. See the book

Engelking, Ryszard. "General topology."

On p.428 5.5.20 you find the following result as an exercise:

A $T_1$-space $X$ is normal and countably paracompact if and only if for each pair $f,g$ of real-valued functions on $X$, where $f$ is upper semicontinuous and $g$ is lower semicontinuous such that $f(x) < g(x)$ for all $x \in X$, there exists a continuous $h : X \to \mathbb R$ such that $f(x) < h(x) < g(x)$ for all $x$.

You will also find references to papers containing proofs, for example

Miroslav Katětov, On real-valued functions in topological spaces, Fundamenta Mathematicae 38 (1951), 85–91

as quoted in Dave L. Renfro's link.