Week 4 Exercises — solutions

Version 2024/11/26. These exercises in PDF To other course material

  • Exercise 4.1 (basic test of openness). Suppose that B is a base of a topology on X, and call the subsets of X which are members of B basic open sets.

    Let A be a subset of X. Prove that the following are equivalent:

    • 1. A is open in X.

    • 2. A is a union of a collection of basic open sets.

    • 3. For each point xA, there exists a basic open set U such that xU and UA.

Answer to E4.1. [These exercises without answers]

1.2. by definition of a base.

Proof that 2.3.: assume that A=C where C is a collection of basic open sets. Let xA. By definition of union of a collection of sets, x is contained in at least one set in the collection C; call this set U. The choice of U ensures that

  • xU;

  • UC, and C is a collection of basic open sets, so U is a basic open set;

  • UC, and C=A, so UA.

We have proved that 3. holds.

Proof that 3.2.: assume that 3. holds. For each point xA, 3. allows us to choose a basic open set Ux such that xUxA.

We claim that the union of the collection {Ux}xA of basic open sets is A. Indeed,

  • for all yA, we have yUy by the choice of Uy, hence yxAUx; this proves that AxAUx;

  • for each xA, UxA, and so xAUxA.

Thus xAUx=A, and so 2. holds.

  • Exercise 4.2 (the Euclidean topology has a countable base). Consider the Euclidean space R2, and let Q be the (countable) collection of all open squares in R2 where the coordinates of all four vertices are rational numbers. Prove that Q is a base for the Euclidean topology.

    Deduce that the collection of all open sets in the Euclidean space R2 has cardinality (continuum), whereas the collection of all subsets of R2 has cardinality 2.

Answer to E4.2. [These exercises without answers]

Denote by Q(a,b)s×s the square of size s×s whose bottom left corner is the point (a,b) in R2.

1. First, we show that every square Q(a,b)s×s with a,b,s real is a union of some collection {Q(an,bn)sn×sn}n1 of squares with an,bn,sn rational.

Indeed, let (an) be a sequence of rational numbers such that ana and limnan=a. Also, let (sn) be a sequence of rational numbers such that limsn=s and an+sna+s. (It is not difficult to show that such sequences of rational numbers exist.)

Then Q(an,bn)sn×snQ(a,b)s×s for all n, and n1{Q(an,bn)sn×sn}=Q(a,b)s×s. See the Figure for illustration.

(a dashed square with nested muticolored dashed squares inside)

Every square with sides parallel to the axes is a union of a collection of squares with rational coordinates

2. Now we argue that every set which is open in the Euclidean plane R2 is a union of some open squares. Recall that an open square plays the role of d-open ball where the metric d on R2 is defined by

d((x1,x2),(y1,y2))=max(|x1y1|,|x2y2|),

see the discussion after Proposition 2.3. Specifically, Q(a,b)s×s is the open ball Brd((a+s2,b+s2)) where r=s2.

By definition of metric topology, open balls form a base of topology so it follows that every d-open set in R2 is a union of squares, and by 1., a union of rational squares.

It remains to recall that “d-open” is the same as “Euclidean open”, because the metric d is Lipschitz equivalent to the Euclidean metric d2, see Proposition 2.3.

  • Exercise 4.3 (subbase). Let (Y,T) be a topological space. A subbase of T is a collection S of open sets such that finite intersections of sets from S form a base of T.

    It is worth noting that, given any set Y (without topology) and any collection S of subsets of Y, we can construct a topology TS on X by using S as a subbase. That is, TS consists of arbitrary unions of finite intersections of members of S. It is not difficult to show that this collection TS is a topology.

    Prove that the collection of all open rays in the real line, i.e., sets of the form (,a) and (b,+), is a subbase of the Euclidean topology.

Answer to E4.3. [These exercises without answers]

Let S be the collection of all open rays in R. By taking intersections of just two sets from S, we can generate all open bounded intervals in R:

(b,a)=(,a)(b,+).

Since the open intervals (b,a), where a,bR, form a base of the Euclidean topology on R, the topology TS generated by the subbase S contains the Euclidean topology.

On the other hand, every set in S is open in the Euclidean topology, hence so are unions of finite intersections of sets from S. Therefore, the topology TS is contained in the Euclidean topology.

We conclude that TS is equal to the Euclidean topology, as claimed.

  • Exercise 4.4 (subbasic test of continuity). Let X, Y be topological spaces, f:XY be a function, and S be a subbase of topology on Y. Prove that the following are equivalent:

    • 1. f is continuous.

    • 2. The preimage of every subbasic set in Y is open in X (meaning: VS, f1(V) is open in X.)

Answer to E4.4. [These exercises without answers]

1.  2.: by definition of subbase, S is a subcollection of the topology on Y, i.e., every subbasic set in is open in Y. By definition of “continuous”, the preimage of an open set is open, and so the preimages of subbasic sets must be open in X, proving 2.

2.  1.: a base B of topology on Y consists of sets of the form V1Vn, where n0 and V1,,VnS. The preimage of intersection is the intersection of preimages, so we have

f1(V1Vn)=f1(V1)f1(Vn),

and, since f1(Vi) is open in X by 2., and a finite intersection of open sets is open, we conclude that f1(V) is open in X for all VB.

Finally, every open set in Y is a union of sets from B, and the preimage of a union is the union of preimages. We conclude that f1(open set in Y) is open in X, hence, by definition of “continuous”, f is continuous, proving 1.

  • Exercise 4.5. (a) Let X be a topological space and let f:XR be a function. Prove: f is continuous iff for all a,bR, the sets Xf<a={xX:f(x)<a} and Xf>b={xX:f(x)>b} are open in X.

    (b) Let X be a topological space and let f,g:XR be continuous functions. Prove that the function f+g:XR is continuous. Hint: use (a).

Answer to E4.5. [These exercises without answers]

(a) Note that Xf<a=f1((,a)) and Xf>b=f1((b,+)). The sets (,a) and (b,+) form a subbase of the Euclidean topology on R (see an earlier exercise). Hence by the subbasic test of continuity (see the previous exercise), f is continuous iff all the sets Xf<a and Xf>b are open.

(b) We need to prove that the sets Xf+g<a, Xf+g>b are open for all a,bR. Note that

f(x)+g(x)<atR: f(x)<t, g(x)<at.

Indeed, is obvious, and to see , take t to be any real number in the interval (f(x),ag(x)). The above rewrites in terms of sets as

Xf+g<a=tRXf<tXg<at.

Since f,g are continuous, by (a) the sets Xf<t and Xg<at are open in X; the intersection of two open sets is open, and the union of any collection of open sets is open, which shows that Xf+g<a is open.

It is shown in the same way that Xf+g>b is an open subset of X, for all bR. We now use (a) again to conclude that f+g is a continuous function.

Version 2024/11/26. These exercises in PDF To other course material