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 be a continuous real-valued function defined on a non-empty quasi-compact space . Then there is at least one point such that , and at least one point such that . For is compact (Chapter I, § 9, no. 4, Theorem 2) and therefore closed in ; hence 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 is continuous and finite on , then it is bounded in .
Theorem 2 (Bolzano)
Let be a continuous real-valued function defined on a connected space . If and are any two points of , and if is a real number belonging to the closed interval whose end-points are and , then there is at least one point such that .
For is connected (Chapter I, § 11, no. 2, Proposition 4) and is therefore an interval of (§ 4, no. 2, Proposition 5); hence it contains the closed interval with end-points and .
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 be a real-valued function defined on a topological space . For to be continuous at a point it is necessary and sufficient that: (i) given any real number , there exists a neighbourhood of such that at each point we have ; (ii) given any real number , there exists a neighbourhood of such that at each point we have .
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 , defined on a topological space , is said to be lower semi-continuous* (resp. upper semi-continuous) *at a point , if for each [resp. each ] there is a neighbourhood of such that [resp. ] for each .
A real-valued function is said to be lower semi-continuous (resp. upper semi-continuous) on if it is lower semi-continuous (resp. upper semi-continuous) at every point of .
A real-valued function is therefore continuous at a point if and only if it is both upper and lower semi-continuous at .
If is lower semi-continuous at a point, then 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 is also lower semi-continuous on every subspace of .
Example 1
If has a relative minimum at a point , that is to say if there is a neighbourhood of such that, for each , we have , then is lower semi-continuous at . In particular, if , is lower semi-continuous at .
Example 2
Define a real-valued function on by putting if is irrational, and if is rational and equal to the irreducible fraction (). For each integer , the set of rational numbers such that is closed, and its points are isolated; hence for every irrational there is a neighbourhood of such that for all , which shows that is continuous at ; and on the other hand, has a relative maximum at every rational point . Hence is upper semi-continuous on .
The condition for to be lower semi-continuous at may be expressed by saying that, for each , the set must be a neighbourhood of .
It is enough that this condition should be satisfied for an increasing sequence of real numbers which tend to .
Endow with the topology in which the open sets are and all open intervals of unbounded on the right (that is, all intervals for finite , and the interval ). Then the real-valued function is lower semi-continuous at if and only if it is continuous at when considered as a mapping into endowed with this topology.
Proposition 1
A real-valued function on a topological space is lower semi-continuous if and only if, for each finite real number , [the set of all such that ] is an open set in [or, equivalently, is a closed set in ].
For this condition shows that is a neighbourhood of each of its points.
For to be lower semi-continuous on it is sufficient that is open in for all real numbers belonging to a dense subset of .
Corollary
A subset of a topological space is open (resp. closed) in if and only if its characteristic function (*) is lower (resp. upper) semi-continuous on .
For is empty for , is equal to for and is equal to for .
Theorem 3
Let be a lower semi-continuous function on a non-empty quasi-compact space . Then there is at least one point such that (in other words, attains its greatest lower bound in ).
For each , consider the set . These sets are non-empty and form a filter base on ; since they are closed by Proposition 1, they have at least one common point [axiom (C'') for quasi-compact spaces]. For each we have therefore , and the theorem follows.
(*) We recall (Set Theory, Chapter III, § 5, no. 5) that the characteristic function of a subset of a set is the function defined on such that for all , and for all .
Corollary
Let be a lower semi-continuous function on a non-empty quasi-compact space . If for all , then is bounded below in .
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 and be two real-valued functions, lower semi-continuous at a point . Then the functions and are lower semi-continuous at ; so is whenever it is defined, and so is if and are and the product is defined.
We give the proof for ; the argument is analogous in the other cases. The result is clear if either or is equal to ; if not, then . Every finite number can be written as , where and are finite [it is enough to take so that ]; by hypothesis, there is a neighbourhood of such that, for each , we have , and a neighbourhood such that for each we have ; therefore for all points of the neighbourhood .
In the same way we see that, if is lower semi-continuous at a point , and if , then is upper semi-continuous at .
Theorem 4
The upper envelope of a family of functions which are lower semi-continuous at a point is lower semi-continuous at .
Let be the upper envelope. For each there is an index such that , and a neighbourhood of such that for all ; hence fortiori for all .
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 is any rational number, let denote the function which is equal to 0 at and equal to 1 for all real numbers ; the lower envelope of the is the function 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 is lower semi-continuous on .
In Chapter IX, § 1, no. 6, Proposition 5, we shall show that the converse of this proposition is true if 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 if and only if* [or, equivalently, if and only if ].
The condition is necessary. For, given any , there is a neighbourhood V of such that for all ; therefore
Proposition 4
Let f be any real-valued function defined on a dense subset A of a topological space X. If, for each , we put* , then g is lower semi-continuous on X.
For, given any , there is an open neighbourhood V of such that, for all , we have ; now V is a neighbourhood of each of its points ; thus we have for all , and the result follows.
The function is called the lower semi-continuous regularization of . We define the upper semi-continuous regularization of similarly.
We may also define as the greatest of the lower semi-continuous functions on X which are such that for all . If is lower semi-continuous on A, then is an extension of to X, by Proposition 3.
Exercises
See the exercises for § 6.