Bourbaki

6. Continuous and semi-continuous real-valued functions

1. Continuous real-valued functions

Besides the general properties of continuous functions with values in an arbitrary topological space (Chapter I, § 2), continuous real-valued functions have the following two fundamental properties:

Theorem 1 (Weierstrass)

Let ff be a continuous real-valued function defined on a non-empty quasi-compact space XX. Then there is at least one point a∈Xa \in X such that f(a)=sup⁡x∈X(f(x))f(a) = \sup_{x \in X} (f(x)), and at least one point b∈Xb \in X such that f(b)=inf⁡x∈Xf(x)f(b) = \inf_{x \in X} f(x). For f(X)f(X) is compact (Chapter I, § 9, no. 4, Theorem 2) and therefore closed in R‾\overline{\mathbf{R}}; hence f(X)f(X) contains its bounds.

This theorem is often stated in the form that a continuous real-valued function on a non-empty quasi-compact space attains its bounds.

Corollary

If a real-valued function defined on a non-empty quasi-compact space XX is continuous and finite on XX, then it is bounded in XX.

Theorem 2 (Bolzano)

Let ff be a continuous real-valued function defined on a connected space XX. If aa and bb are any two points of XX, and if α\alpha is a real number belonging to the closed interval whose end-points are f(a)f(a) and f(b)f(b), then there is at least one point x∈Xx \in X such that f(x)=αf(x) = \alpha.

For f(X)f(X) is connected (Chapter I, § 11, no. 2, Proposition 4) and is therefore an interval of R‾\overline{\mathbf{R}} (§ 4, no. 2, Proposition 5); hence it contains the closed interval with end-points f(a)f(a) and f(b)f(b).

This theorem is often expressed in the form that a continuous real-valued function on a connected space cannot pass from one value to another without passing through all intermediate values.

This property is by no means characteristic of continuous functions; there are examples of functions defined on a connected space and discontinuous at every point which have this property (Exercise 2).

2. Semi-continuous functions

Let ff be a real-valued function defined on a topological space XX. For ff to be continuous at a point a∈Xa \in X it is necessary and sufficient that: (i) given any real number h<f(a)h < f(a), there exists a neighbourhood VV of aa such that at each point x∈Vx \in V we have h<f(x)h < f(x); (ii) given any real number k>f(a)k > f(a), there exists a neighbourhood WW of aa such that at each point x∈Wx \in W we have k>f(x)k > f(x).

Functions which satisfy only one of these conditions play an important part in analysis. To be precise, we make the following definition:

Definition 1

A real-valued function ff, defined on a topological space XX, is said to be lower semi-continuous* (resp. upper semi-continuous) *at a point a∈Xa \in X, if for each h<f(a)h < f(a) [resp. each k>f(a)k > f(a)] there is a neighbourhood VV of aa such that h<f(x)h < f(x) [resp. k>f(x)k > f(x)] for each x∈Vx \in V.

A real-valued function is said to be lower semi-continuous (resp. upper semi-continuous) on XX if it is lower semi-continuous (resp. upper semi-continuous) at every point of XX.

A real-valued function ff is therefore continuous at a point aa if and only if it is both upper and lower semi-continuous at aa.

If ff is lower semi-continuous at a point, then −f-f is upper semi-continuous at this point, and conversely; hence we may restrict ourselves in what follows, to considering properties of lower semi-continuous functions.

It is clear that a function which is lower semi-continuous on XX is also lower semi-continuous on every subspace of XX.

Example 1

If ff has a relative minimum at a point aa, that is to say if there is a neighbourhood VV of aa such that, for each x∈Vx \in V, we have f(a)≤f(x)f(a) \leq f(x), then ff is lower semi-continuous at aa. In particular, if f(a)=−∞f(a) = -\infty, ff is lower semi-continuous at aa.

Example 2

Define a real-valued function ff on R\mathbf{R} by putting f(x)=0f(x) = 0 if xx is irrational, and f(x)=1/qf(x) = 1/q if xx is rational and equal to the irreducible fraction p/qp/q (q>0q > 0). For each integer n>0n > 0, the set of rational numbers p/qp/q such that q<nq < n is closed, and its points are isolated; hence for every irrational xx there is a neighbourhood VV of xx such that f(y)≤1/nf(y) \leq 1/n for all y∈Vy \in V, which shows that ff is continuous at xx; and on the other hand, ff has a relative maximum at every rational point xx. Hence ff is upper semi-continuous on R\mathbf{R}.

The condition for ff to be lower semi-continuous at aa may be expressed by saying that, for each h<f(a)h < f(a), the set f‾([h,+∞])\overline{f}([h, +\infty]) must be a neighbourhood of aa.

It is enough that this condition should be satisfied for an increasing sequence (hn)(h_n) of real numbers <f(a)< f(a) which tend to f(a)f(a).

Endow R‾\overline{\mathbf{R}} with the topology in which the open sets are ∅\varnothing and all open intervals of R‾\overline{\mathbf{R}} unbounded on the right (that is, all intervals ]a,+∞[]a, +\infty[ for finite aa, and the interval [−−∞,+∞]=]←,→[][--\infty, +\infty] = ]\leftarrow, \rightarrow[]). Then the real-valued function ff is lower semi-continuous at aa if and only if it is continuous at aa when considered as a mapping into R‾\overline{\mathbf{R}} endowed with this topology.

Proposition 1

A real-valued function ff on a topological space XX is lower semi-continuous if and only if, for each finite real number kk, f‾([k,+∞])\overline{f}([k, +\infty]) [the set of all x∈Xx \in X such that f(x)>kf(x) > k] is an open set in XX [or, equivalently, f‾([−∞,k])\overline{f}([-\infty, k]) is a closed set in XX].

For this condition shows that f‾([k,+∞])\overline{f}([k, +\infty]) is a neighbourhood of each of its points.

For ff to be lower semi-continuous on XX it is sufficient that f−1([k,+∞])f^{-1}([k, +\infty]) is open in XX for all real numbers kk belonging to a dense subset of R\mathbf{R}.

Corollary

A subset AA of a topological space XX is open (resp. closed) in XX if and only if its characteristic function (*) φA\varphi_A is lower (resp. upper) semi-continuous on XX.

For f‾A([k,+∞])\overline{f}_A([k, +\infty]) is empty for k≥1k \geq 1, is equal to AA for 0≤k<10 \leq k < 1 and is equal to XX for k<0k < 0.

Theorem 3

Let ff be a lower semi-continuous function on a non-empty quasi-compact space XX. Then there is at least one point a∈Ea \in E such that f(a)=inf⁡x∈Xf(x)f(a) = \inf_{x \in X} f(x) (in other words, ff attains its greatest lower bound in XX).

For each k∈f(X)k \in f(X), consider the set Ak=f‾([−∞,k])A_k = \overline{f}([-\infty, k]). These sets are non-empty and form a filter base on XX; since they are closed by Proposition 1, they have at least one common point aa [axiom (C'') for quasi-compact spaces]. For each x∈Xx \in X we have therefore f(a)≤f(x)f(a) \leq f(x), and the theorem follows.

(*) We recall (Set Theory, Chapter III, § 5, no. 5) that the characteristic function φA\varphi_A of a subset AA of a set XX is the function defined on XX such that φA(x)=1\varphi_A(x) = 1 for all x∈Ax \in A, and φA(x)=0\varphi_A(x) = 0 for all x∈∁Ax \in \complement_A.

Corollary

Let ff be a lower semi-continuous function on a non-empty quasi-compact space XX. If f(x)>−∞f(x) > -\infty for all x∈Xx \in X, then ff is bounded below in XX.

Note that this theorem and the corresponding theorem for upper semi-continuous functions include Weierstrass's theorem as a particular case (no. 1, Theorem 1).

Proposition 2

Let ff and gg be two real-valued functions, lower semi-continuous at a point a∈Xa \in X. Then the functions inf⁡(f,g)\inf(f, g) and sup⁡(f,g)\sup(f, g) are lower semi-continuous at aa; so is f+gf + g whenever it is defined, and so is fgfg if ff and gg are ≥0\geq 0 and the product fgfg is defined.

We give the proof for f+gf + g; the argument is analogous in the other cases. The result is clear if either f(a)f(a) or g(a)g(a) is equal to −∞-\infty; if not, then f(a)+g(a)>−∞f(a) + g(a) > -\infty. Every finite number h<f(a)+g(a)h < f(a) + g(a) can be written as h=r+sh = r + s, where r<f(a)r < f(a) and s<g(a)s < g(a) are finite [it is enough to take ss so that h−f(a)<s<g(a)h - f(a) < s < g(a)]; by hypothesis, there is a neighbourhood VV of aa such that, for each x∈Vx \in V, we have r<f(x)r < f(x), and a neighbourhood WW such that for each x∈Wx \in W we have s<g(x)s < g(x); therefore h=r+s<f(x)+g(x)h = r + s < f(x) + g(x) for all points xx of the neighbourhood V∩WV \cap W.

In the same way we see that, if ff is lower semi-continuous at a point aa, and if f≥0f \geq 0, then 1/f1/f is upper semi-continuous at aa.

Theorem 4

The upper envelope of a family (fi)(f_i) of functions which are lower semi-continuous at a point a∈Xa \in X is lower semi-continuous at aa.

Let gg be the upper envelope. For each h<g(a)h < g(a) there is an index ii such that h<fi(a)≤g(a)h < f_i(a) \leq g(a), and a neighbourhood VV of aa such that h<fi(x)h < f_i(x) for all x∈Vx \in V; hence aa fortiori h<g(x)h < g(x) for all x∈Vx \in V.

It follows from Proposition 2 that the lower envelope of a finite number of lower semi-continuous functions is again lower semi-continuous; but this is not in general true for the lower envelope of an infinite family of lower semi-continuous functions. For example, if rr is any rational number, let frf_r denote the function which is equal to 0 at rr and equal to 1 for all real numbers x≠rx \neq r; the lower envelope of the frf_r is the function gg which is equal to 0 for every rational number and 1 for every irrational number ("Dirichlet's function"), and this function is not lower semi-continuous at irrational points.

Corollary

The upper envelope of a family of continuous real-valued functions on a space XX is lower semi-continuous on XX.

In Chapter IX, § 1, no. 6, Proposition 5, we shall show that the converse of this proposition is true if XX is uniformizable (and only in this case): every lower semi-continuous function on a uniformizable space is the upper envelope of a family of continuous functions.

Proposition 3

A real-valued function f, defined on a topological space X, is lower semi-continuous at a point a∈Xa \in X if and only if* lim inf⁡x→af(x)=f(a)\liminf_{x \to a} f(x) = f(a) [or, equivalently, if and only if lim inf⁡x→af(x)≥f(a)\liminf_{x \to a} f(x) \geq f(a)].

The condition is necessary. For, given any h<f(a)h < f(a), there is a neighbourhood V of aa such that h<f(x)h < f(x) for all x∈Vx \in V; therefore

h≤inf⁡x∈Vf(x)≤lim inf⁡x→af(x) h \leq \inf_{x \in V} f(x) \leq \liminf_{x \to a} f(x)
(§ 5, no. 6, formulae (12)), and so f(a)≤lim inf⁡x→af(x)f(a) \leq \liminf_{x \to a} f(x). The condition is sufficient; for if it is satisfied, then for each h<f(a)h < f(a) there is a neighbourhood V of aa such that h≤inf⁡x∈Vf(x)h \leq \inf_{x \in V} f(x), and therefore ff is lower semi-continuous at aa.

Proposition 4

Let f be any real-valued function defined on a dense subset A of a topological space X. If, for each x∈Xx \in X, we put* g(x)=lim inf⁡y→x,y∈Af(y)g(x) = \liminf_{y \to x, y \in A} f(y), then g is lower semi-continuous on X.

For, given any h<g(x)h < g(x), there is an open neighbourhood V of xx such that, for all z∈V∩Az \in V \cap A, we have h<f(z)h < f(z); now V is a neighbourhood of each of its points yy; thus we have lim inf⁡z→y,z∈Af(z)=g(y)≥h\liminf_{z \to y, z \in A} f(z) = g(y) \geq h for all y∈Vy \in V, and the result follows.

The function gg is called the lower semi-continuous regularization of ff. We define the upper semi-continuous regularization of ff similarly.

We may also define gg as the greatest of the lower semi-continuous functions φ\varphi on X which are such that φ(x)≤f(x)\varphi(x) \leq f(x) for all x∈Ax \in A. If ff is lower semi-continuous on A, then gg is an extension of ff to X, by Proposition 3.

Exercises

See the exercises for § 6.

Transcribed from the printed volume. Not translated.