In mathematical analysis, semicontinuity (or semi-continuity) is a property of extended real-valued functions that is weaker than continuity. An extended real-valued function f is upper (respectively, lower) semicontinuous at a point x0 if, roughly speaking, the function values for arguments near x0 are not much higher (respectively, lower) than f(x0). Briefly, a function on a domain X is lower semi-continuous if its epigraph {(x,t)∈X×ℝ:t≥f(x)} is closed in X×ℝ, and upper semi-continuous if −f is lower semi-continuous. A function is continuous if and only if it is both upper and lower semicontinuous. If we take a continuous function and increase its value at a certain point x0 to f(x0)+c for some c>0, then the result is upper semicontinuous; if we decrease its value to f(x0)−c then the result is lower semicontinuous. The notion of upper and lower semicontinuous function was first introduced and studied by René Baire in his thesis in 1899.
Definitions Assume throughout that X is a topological space and f:X→ℝ‾ is a function with values in the extended real numbers ℝ‾=ℝ∪{−∞,∞}=[−∞,∞].
Upper semicontinuity A function f:X→ℝ‾ is called upper semicontinuous at a point x0∈X if for every real y>f(x0) there exists a neighborhood U of x0 such that f(x)<y for all x∈U. Equivalently, f is upper semicontinuous at x0 if and only if lim supx→x0f(x)≤f(x0) where lim sup is the limit superior of the function f at the point x0, defined as lim supx→x0f(x)=infx0∈Usupx∈Uf(x) where the infimum is over all neighborhoods of the point x0. If X is a metric space with distance function d and f(x0)∈ℝ, this can also be restated using an ε-δ formulation, similar to the definition of continuous function. Namely, for each ε>0 there is a δ>0 such that f(x)<f(x0)+ε whenever d(x,x0)<δ. A function f:X→ℝ‾ is called upper semicontinuous if it satisfies any of the following equivalent conditions:
(1) The function is upper semicontinuous at every point of its domain. (2) For each y∈ℝ, the set f−1([−∞,y))={x∈X:f(x)<y} is open in X, where [−∞,y)={t∈ℝ‾:t<y}. (3) For each y∈ℝ, the y-superlevel set f−1([y,∞))={x∈X:f(x)≥y} is closed in X. (4) The hypograph {(x,t)∈X×ℝ:t≤f(x)} is closed in X×ℝ. (5) The function f is continuous when the codomain ℝ‾ is given the left order topology. This is just a restatement of condition (2) since the left order topology is generated by all the intervals [−∞,y).
Lower semicontinuity A function f:X→ℝ‾ is called lower semicontinuous at a point x0∈X if for every real y<f(x0) there exists a neighborhood U of x0 such that f(x)>y for all x∈U. Equivalently, f is lower semicontinuous at x0 if and only if lim infx→x0f(x)≥f(x0) where lim inf is the limit inferior of the function f at point x0. If X is a metric space with distance function d and f(x0)∈ℝ, this can also be restated as follows: For each ε>0 there is a δ>0 such that f(x)>f(x0)−ε whenever d(x,x0)<δ. A function f:X→ℝ‾ is called lower semicontinuous if it satisfies any of the following equivalent conditions:
(1) The function is lower semicontinuous at every point of its domain. (2) For each y∈ℝ, the set f−1((y,∞])={x∈X:f(x)>y} is open in X, where (y,∞]={t∈ℝ‾:t>y}. (3) For each y∈ℝ, the y-sublevel set f−1((−∞,y])={x∈X:f(x)≤y} is closed in X. (4) The epigraph {(x,t)∈X×ℝ:t≥f(x)} is closed in X×ℝ. (5) The function f is continuous when the codomain ℝ‾ is given the right order topology. This is just a restatement of condition (2) since the right order topology is generated by all the intervals (y,∞].
Examples Consider the function f, piecewise defined by: f(x)={−1if x<0,1if x≥0 This function is upper semicontinuous at x0=0, but not lower semicontinuous. The floor function f(x)=⌊x⌋, which returns the greatest integer less than or equal to a given real number x, is everywhere upper semicontinuous. Similarly, the ceiling function f(x)=⌈x⌉ is lower semicontinuous. Upper and lower semicontinuity bear no relation to continuity from the left or from the right for functions of a real variable. Semicontinuity is defined in terms of an ordering in the range of the functions, not in the domain. For example the function f(x)={sin(1/x)if x≠0,1if x=0, is upper semicontinuous at x=0 while the function limits from the left or right at zero do not even exist. If X=ℝn is a Euclidean space (or more generally, a metric space) and Γ=C([0,1],X) is the space of curves in X (with the supremum distance dΓ(α,β)=sup{dX(α(t),β(t)):t∈[0,1]}), then the length functional L:Γ→[0,+∞], which assigns to each curve α its length L(α), is lower semicontinuous. As an example, consider approximating the unit square diagonal by a staircase from below. The staircase always has length 2, while the diagonal line has only length 2. A fundamental example in real analysis is Fatou's lemma. It asserts that if fn is a sequence of non-negative measurable functions, then ∫lim inffn≤lim inf∫fn where lim inf denotes the (pointwise) limit inferior. What this means, in full generality, is that if (X,μ) be a measure space and L+(X,μ) denotes the set of positive measurable functions endowed with the topology of convergence in measure with respect to μ, then the integral, seen as an operator from L+(X,μ) to [−∞,+∞] is lower semicontinuous.
Properties Unless specified otherwise, all functions below are from a topological space X to the extended real numbers ℝ‾=[−∞,∞]. Several of the results hold for semicontinuity at a specific point, but for brevity they are only stated for semicontinuity over the whole domain.
A function f:X→ℝ‾ is continuous if and only if it is both upper and lower semicontinuous. The characteristic function or indicator function of a set A⊂X (defined by 𝟏A(x)=1 if x∈A and 0 if x∉A) is upper semicontinuous if and only if A is a closed set. It is lower semicontinuous if and only if A is an open set. In the field of convex analysis, the characteristic function of a set A⊂X is defined differently, as χA(x)=0 if x∈A and χA(x)=∞ if x∉A. With that definition, the characteristic function of any closed set is lower semicontinuous, and the characteristic function of any open set is upper semicontinuous.
Binary operations on semicontinuous functions Let f,g:X→ℝ‾.
… excerpt ends here. Continue reading the full article.



