Math 320-2: Final Exam Practice Solutions Northwestern University, Winter 2015

Similar documents
Math 320-2: Midterm 2 Practice Solutions Northwestern University, Winter 2015

Real Analysis Math 131AH Rudin, Chapter #1. Dominique Abdi

Course 212: Academic Year Section 1: Metric Spaces

Metric Spaces Lecture 17

Connectedness. Proposition 2.2. The following are equivalent for a topological space (X, T ).

Analysis Finite and Infinite Sets The Real Numbers The Cantor Set

Math 320-3: Lecture Notes Northwestern University, Spring 2015

Notes on the Point-Set Topology of R Northwestern University, Fall 2014

Math General Topology Fall 2012 Homework 13 Solutions

Math 320-1: Midterm 2 Practice Solutions Northwestern University, Fall 2014

Analysis Comprehensive Exam Questions Fall F(x) = 1 x. f(t)dt. t 1 2. tf 2 (t)dt. and g(t, x) = 2 t. 2 t

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

Introduction to Topology

CLASS NOTES FOR APRIL 14, 2000

x 0 + f(x), exist as extended real numbers. Show that f is upper semicontinuous This shows ( ɛ, ɛ) B α. Thus

MT804 Analysis Homework II

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

Iowa State University. Instructor: Alex Roitershtein Summer Homework #5. Solutions

MATH 51H Section 4. October 16, Recall what it means for a function between metric spaces to be continuous:

Economics 204 Fall 2012 Problem Set 3 Suggested Solutions

The Heine-Borel and Arzela-Ascoli Theorems

HOMEWORK ASSIGNMENT 6

MAS3706 Topology. Revision Lectures, May I do not answer enquiries as to what material will be in the exam.

Problem Set 2: Solutions Math 201A: Fall 2016

Exercises from other sources REAL NUMBERS 2,...,

CHAPTER 5. The Topology of R. 1. Open and Closed Sets

Definition 6.1. A metric space (X, d) is complete if every Cauchy sequence tends to a limit in X.

converges as well if x < 1. 1 x n x n 1 1 = 2 a nx n

ON SPACE-FILLING CURVES AND THE HAHN-MAZURKIEWICZ THEOREM

Exam 2 extra practice problems

Metric Spaces and Topology

1. Simplify the following. Solution: = {0} Hint: glossary: there is for all : such that & and

Math 5210, Definitions and Theorems on Metric Spaces

MAT 544 Problem Set 2 Solutions

Maths 212: Homework Solutions

HW 4 SOLUTIONS. , x + x x 1 ) 2

Spaces of continuous functions

Math 421, Homework #9 Solutions

1 Topology Definition of a topology Basis (Base) of a topology The subspace topology & the product topology on X Y 3

Math 140A - Fall Final Exam

Some Background Material

Metric Spaces. Exercises Fall 2017 Lecturer: Viveka Erlandsson. Written by M.van den Berg

Economics 204 Fall 2011 Problem Set 2 Suggested Solutions

SOLUTIONS TO SOME PROBLEMS

CHAPTER 7. Connectedness

Contents Ordered Fields... 2 Ordered sets and fields... 2 Construction of the Reals 1: Dedekind Cuts... 2 Metric Spaces... 3

7. Let X be a (general, abstract) metric space which is sequentially compact. Prove X must be complete.

Homework 5. Solutions

P-adic Functions - Part 1

Math 421, Homework #6 Solutions. (1) Let E R n Show that = (E c ) o, i.e. the complement of the closure is the interior of the complement.

Math 118B Solutions. Charles Martin. March 6, d i (x i, y i ) + d i (y i, z i ) = d(x, y) + d(y, z). i=1

Math 300: Foundations of Higher Mathematics Northwestern University, Lecture Notes

Week 5 Lectures 13-15

Introduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION

Continuity. Chapter 4

Immerse Metric Space Homework

Math 361: Homework 1 Solutions

MATH 202B - Problem Set 5

ANALYSIS WORKSHEET II: METRIC SPACES

Analysis III. Exam 1

Math LM (24543) Lectures 01

Continuity. Chapter 4

Walker Ray Econ 204 Problem Set 3 Suggested Solutions August 6, 2015

Sample Problems for the Second Midterm Exam

Problem set 1, Real Analysis I, Spring, 2015.

Introduction to Real Analysis Alternative Chapter 1

1 Lecture 4: Set topology on metric spaces, 8/17/2012

Assignment-10. (Due 11/21) Solution: Any continuous function on a compact set is uniformly continuous.

Lecture Notes on Metric Spaces

Metric Spaces Math 413 Honors Project

Introductory Analysis I Fall 2014 Homework #9 Due: Wednesday, November 19

FOURIER SERIES OF CONTINUOUS FUNCTIONS AT GIVEN POINTS

Introduction to Real Analysis

Math 541 Fall 2008 Connectivity Transition from Math 453/503 to Math 541 Ross E. Staffeldt-August 2008

Measurable functions are approximately nice, even if look terrible.

A LITTLE REAL ANALYSIS AND TOPOLOGY

Consequences of Continuity

van Rooij, Schikhof: A Second Course on Real Functions

d(x n, x) d(x n, x nk ) + d(x nk, x) where we chose any fixed k > N

REVIEW OF ESSENTIAL MATH 346 TOPICS

g 2 (x) (1/3)M 1 = (1/3)(2/3)M.

After taking the square and expanding, we get x + y 2 = (x + y) (x + y) = x 2 + 2x y + y 2, inequality in analysis, we obtain.

Chapter 7. Metric Spaces December 5, Metric spaces

MORE ON CONTINUOUS FUNCTIONS AND SETS

Math 172 HW 1 Solutions

Math General Topology Fall 2012 Homework 11 Solutions

Math Topology I: Topological Spaces and the Fundamental Group

Introductory Analysis I Fall 2014 Homework #5 Solutions

Math General Topology Fall 2012 Homework 1 Solutions

Final Exam Solutions June 10, 2004

McGill University Math 354: Honors Analysis 3

4 Countability axioms

Mid Term-1 : Practice problems

FUNCTIONAL ANALYSIS LECTURE NOTES: COMPACT SETS AND FINITE-DIMENSIONAL SPACES. 1. Compact Sets

Set, functions and Euclidean space. Seungjin Han

M17 MAT25-21 HOMEWORK 6

MAS331: Metric Spaces Problems on Chapter 1

Topological properties

Continuity. Matt Rosenzweig

1 The topology of metric spaces

Transcription:

Math 30-: Final Exam Practice Solutions Northwestern University, Winter 015 1. Give an example of each of the following. No justification is needed. (a) A closed and bounded subset of C[0, 1] which is not compact. (b) An unbounded subset of R 3 which is not connected. (c) A continuous function f : R R which is not uniformly continuous. (d) A non-constant function f : U R, where U R is open, which has derivative zero. (e) A compact subset of C[0, 1]. Solution. (a) The closed ball of radius 1 around the zero functions works. Indeed, this is bounded and closed since closed balls are always closed in arbitrary metric spaces. But it is not compact since the sequence (f n ) defined by f n (x) = x n is in this ball but has no (uniformly) convergent subsequence. (b) The subset consisting of the union of the horizontal lines y = 0 and y = 1 works, as do plenty of other things. (c) The function f : R R defined by f(x, y) = (x, 0) works, analogous to how the function g(x) = x from R R was not uniformly continuous. (d) Take U = ( 1, 0) (1, ) and define f : U R by f(x) = 0 for x ( 1, 0) and f(x) = 1 for x (1, ). This is not constant but has zero derivative everywhere. The point here is that U is not connected. (e) Any subset consisting of a single point, say {f} where f is the function f(x) = x, is compact since finite sets are always compact.. For subsets A, B R, define the distance between A and B to be d(a, B) := inf{d(p, q) p A and q B}. Show that if A and B are compact, then there exist a A and b B such that d(a, B) = d(a, b), and that this is not necessarily true if A and B are merely closed. We looked at this problem during the Warm-Up on the last day of class, where the idea came down to showing that the function R 4 R which sends (x, y, z, w) to the distance between (x, y) and (z, w) in R was continuous. I said that I would include this problem on this set of practice problems, so here it is. However, I actually went ahead and wrote up the proof as part of the lecture notes. It s a little tricky to get everything right, so the continuity portion of this is too difficult for the final exam; the application of the Extreme Value Theorem and the asked for counterexample, however, are fair game. Solution. As mentioned, you can find a proof in the lecture notes. As for the example showing that this is not necessarily true if A and B are merely closed, take A to be the piece of the curve y = 1 x in the first quadrant and B to be the piece of the curve y = 1 x in the fourth quadrant. These are each closed in R and the distance between them as defined here is 0 since as x both curves get arbitrarily close to the x-axis, so the distance between a point on one curve and a point on the other gets closer and closer to 0. However, there do not exist points one the two curves for which this distance is exactly zero since the two curves do not intersect. 3. Suppose that K is a subset of R n with the property that every continuous function f : K R is bounded. Show that K is compact. Hint: Show that K is bounded by finding the right continuous function to apply our assumption to, and then show that if K was not closed there would exist a continuous function on K which was not bounded.

Proof. For a fixed p K, the function f : K R defined by f(q) = d(p, q) is continuous as shown on Problem 4 of the final homework. Thus by our given assumption, this function is bounded, say by M. But this means that d(p, q) M for all q K, so K B M+1 (p) and hence K is bounded. Now, if K is not closed there exists a sequence (p n ) in K which converges to some p / K. The function g : K R defined by g(q) = 1 d(q,p) is then continuous since the denominator is continuous and never zero on K. However, this function is unbounded since f(p n ) = 1 d(p n,p) since d(p n, p) 0. This goes against our assumption on K, so K must be closed. Thus since K is closed and bounded in R n, it is compact as claimed by the Heine-Borel Theorem. (It is actually true more generally that if K is any metric space, not necessarily assuming it is a subset of R n, with the property that any continuous function K R is bounded must be compact, although this is slightly harder to prove in general since then it is not enough to show only that K is bounded and closed inside of some larger space.) 4. Show that if f : R R is continuous and Z -valued, then f is constant. (To say that f is Z -valued means that f(p) Z Z for all p R, so that both coordinates of f(p) are integers.) Proof. Since R is connected and f is continuous, the image f(r ) of f is connected and lies inside Z. But the only connected subsets of Z are the empty set and the sets consisting of single points, so since f(r ) is nonempty we must have f(r ) = {p} for some p Z. Thus f(x) = p for all x R, so f is constant. For completeness, here is a proof that the only nonempty connected subsets of Z are those consisting of single points. Suppose that A Z is nonempty and connected, and let p A. Every subset of Z is open and closed in Z, so {p} is open and closed in A Z = A. Since A is connected, the only subsets of A which are both open and closed are the empty set and A itself, so since {p} is not empty we must have A = {p}, so that A consists of a single point as claimed. 5. Show that a function f : X Y between metric spaces (X, d X ) and (Y, d Y ) is continuous if and only if the preimage f 1 (A) of any closed subset A of Y is closed in X. Proof 1. Suppose that f is continuous and that A Y is closed. Suppose that (p n ) is a sequence in f 1 (A) which converges to some p X. Since f is continuous, f(p n ) f(p). But each f(p n ) A since p n f 1 (A), so f(p n ) is a sequence in A which converges to f(p) Y, and since A is closed in Y we must have f(p) A. Thus p f 1 (A), showing that f 1 (A) is closed in X. Conversely suppose that the preimage of any closed subset of Y is closed in X. Suppose that p n p in X. To show that f is continuous we must show that f(p n ) f(p). If this was not true, there would exist ɛ > 0 such that for any N N, there exists n N such that d Y (f(p n, ), f(p)) ɛ. Applying this to increasing values of N gives a subsequence (f(p nk )) of f((p n )) such that d Y (f(p nk ), f(p)) ɛ for all k. Now, the set A = {q Y d(q, f(p)) ɛ} is closed in Y since it is the complement of the open ball B ɛ (f(p)), so its preimage f 1 (A) is closed in X by our assumption. Since each f(p nk ) is in A, each p nk is in f 1 (A). But these p nk form a subsequence of (p n ) and so must converge to the same p as (p n ) does. Since the preimage f 1 (A) is closed in X, we must thus have p f 1 (A) meaning that f(p) A. But this is nonsense since it implies d(f(p), f(p)) ɛ > 0, so f(p n ) must have converged to f(p) to begin with, and therefore f is continuous.

Proof. (The previous proof is the more important one to digest since it emphasizes the relation between continuity and sequence convergence. This proof is just meant to illustrate the relation between the claimed result and the characterization of continuity we previously saw in terms of open sets. Both of these characterizations are good to know.) First recall the following set equality, which holds for any A Y : f 1 (A c ) = f 1 (A) c, so that the preimage of a complement is the complement of the preimage. You can verify this by showing an element of one side is always an element of the other, but we ll skip this verification here. (You likely did this sort of thing in Math 300.) This equality together with the fact that the complement of a closed set is open and the complement of an open set is closed, implies that the preimage image of a closed set is closed if and only if the preimage of an open set is open, which we have seen is equivalent to continuity. To flesh out the details, suppose that f is continuous and that A is closed in Y. Then A c is open in Y, so since f is continuous the preimage f 1 (A c ) is open in X. But this preimage is the same as the complement of f 1 (A), and since this complement is open we have that f 1 (A) is closed as desired. Conversely, suppose that the preimage of any closed subset of Y is closed in X and let U Y be open. Then U c is closed in Y so f 1 (U c ) is closed in X. But this preimage is the same as the complement of f 1 (U), so since this complement is closed X we have that f 1 (U) is open in X. Thus the preimage of any open subset of Y is open in X, so f is continuous. 6. Wade, 9.5.1. Identify which of the following sets are compact and which are not. If E is not compact, find the smallest compact set H (if there is one) such that E H. (a) {1/k k N} {0} (b) {(x, y) R a x + y b} for real numbers 0 < a < b (c) {(x, y) R y = sin(1/x) for some x (0, 1]} (d) {(x, y) R xy 1} Solution. (a) This is closed and bounded in R, so it is compact. To be clear, it is closed in R since a sequence in this set is either eventually constant, or is one that converges to 0, which is included. (b) This is closed and bounded in R, so it is compact. It is bounded since it is contained in the ball of radius b + 1 centered at the origin, and it is closed since it contains its boundary, which consists of the union of the circle of radius a with the circle of radius b centered at the origin. (c) This is not compact since it is not closed in R. For the sequence x n = 1 nπ in (0, 1], we have sin 1 x n = sin nπ = 0, so the points ( 1 nπ, 0) are in this set. However, these points converges to (0, 0), which is not in this set and hence this set is not closed as claimed. The smallest compact subset of R which contains this set is its closure, which is H = {the given set} {(0, y) R 1 y 1}, or in other words what you get when you take the given set and include the points on the y-axis with y-coordinate between 0 and 1. This H is a famous example known as the topologist s sine curve, and we ll look at it a bit more next quarter when talking about what it means for a set to be path connected.

(d) This set set is not compact since it is not bounded. In particular, the points (n, 1 n ) are all in this set but have x-coordinates which get arbitrarily large. In this case, there is no compact subset H of R which contains this set, since if so the boundedness of that H would imply that this given set was bounded as well. 7. Suppose that K 1, K, K 3,... are nonempty compact subsets of a metric space X such that K 1 K K 3. Show that the intersection K n of all of these is nonempty and that this is not necessarily true if we assume only that the K n are closed. You can do this with either sequences or open covers, but the sequence approach is probably simpler. Solution. Each each K n is nonempty, for each n we can pick p n K n. Since all K n are subsets of K 1, this gives a sequence (p n ) in K 1. Since K 1 is compact, this sequence has a convergent subsequence (p nk ) which converges to some p K 1. We claim that this same p is actually in all K n. All terms of (p nk ) except for the possibly the first (in the case when p n1 is just p 1 ) are in K since K nk K for n k. Since K is compact, this sequence of p nk s for k has a subsequence converging to some q K, but since this subsequence is in turn a subsequence of the original (p nk ), this subsequence will converge to the same thing as (p nk ) and hence we must have q = p, so p K. Similarly, the subsequence of (p nk ) where we start with p n3 is a sequence in K 3, so since K 3 is compact this has a convergent subsequence in K 3, which must converge to the same p as does (p nk ), so p K 3. Continuing in this manner, taking the subsequence of p nk where we start with a subsequent term at each step, will show that p K n for all n, so p K n and hence this intersection is nonempty. To show that this conclusion fails if only assume that the K n are closed and not compact, take K n = [n, ) in R. These sets are all closed in R but their intersection n [n, ) is empty since the left endpoint n gets arbitrarily large, so fro any x R eventually n is large enough to exclude x from being in the intersection. Solution using open covers. Here s a proof of the claim using the open cover approach, which is trickier to understand. I m putting it here to be complete, but you should not expect something like this on the final. Suppose for a contradiction that K n =. Then the complement of this intersection must be all of X: ( ) c Kn = K c n = X. Since each K n is compact, each K n is closed in X and hence each K c n is open. Thus the collection of complements {K c n} forms an open cover of X and hence of K 1 as well. Since K 1 is compact this has a finite subcover, say: K 1 K c n 1 K c n t where the indices n i are arranged in increasing order. Since K n1 K n K nt, we have K c n 1 K c n t so Kn c 1 Kn c t = Kn c t. Since K nt+1 is nonempty there exists p K nt+1, and then p K nt and p K 1 as well since K nt+1 is contained in each of these. But since K 1 Kn c t we also have p Kn c t, which contradicts p K nt. Thus we must have had K n to begin with.

8. Determine whether or not each of the following functions from R to R is continuous at (0, 0). (a) f(x, y) = { 3x y x +y (x, y) (0, 0) 0 (x, y) = (0, 0) (b) g(x, y) = { xy x +y (x, y) (0, 0) 0 (x, y) = (0, 0) Solution. (a) This is continuous at (0, 0). Indeed, note that if (x, y) (0, 0) we have f(x, y) = 3x y x + y 3(x + y ) y x + y = 3 y 3 x + y. Thus for ɛ > 0, setting δ = ɛ 3 gives f(x, y) f(0, 0) = f(x, y) 3 x + y < 3δ = ɛ whenever x + y < δ, showing that f is continuous at (0, 0). (b) This is not continuous at (0, 0). Consider the sequence ( 1 n, n) 1 in R. This converges to (0, 0), but ( 1 g n, 1 ) = /n n /n = 1 does not converge to g(0, 0) = 0. 9. Show that if E is a connected subset of a metric space X, then E is connected as well. The fact that if U is open in E, then U E is open in E will be useful. Proof. We prove the contrapositive: if E is not connected, then E is not connected. If E is not connected then there exist disjoint, nonempty open subsets U and V of E such that Intersecting with E gives: E = U V. E = (U E) (V E), where each of U E and V E are open in E and are still disjoint since they sit inside of the disjoint sets U and V respectively. We claim that each of U E and V E are nonempty, which will show that E is not connected. Since U and V are nonempty, there exist p U and q V. Since E = U V, these p and q are limit points of E. Hence there exist sequences (p n ) and (q n ) in E such that p n p and q n q. Since p U and U is open in E, there exists an open ball B r (p) U. Then for large enough n, p n B r (p) since p n p, and thus these p n are in U E. Similarly, there exists B s (q) V and then for large enough n, q n B s (q) since q n q, so these q n are in V E. Hence U E and V E are each nonempty, so E is disconnected as claimed. 10. For a given f C[, 5], define T f C[, 5] to be function whose value at x [, 5] is (T f)(x) = 3 + (xf(t) + e t ) dt. Show that T is continuous. Hint: Show that there exists K > 0 such that where d is the sup metric on C[, 5]. d(t f, T g) Kd(f, g) for all f, g C[, 5]

Proof. First, note that for any x [, 5]: ( ) ( (T f)(x) (T g)(x) = 3 + (xf(t) + e t ) dt 3 + Thus for x [, 5], we have: (T f)(x) (T g)(x) = ) (xg(t) + e t ) dt = x(f(t) g(t)) dt x f(t) g(t) dt 10d(f, g) dt = 10d(f, g)(x ) 30d(f, g). x(f(t) g(t)) dt. Thus the number 30d(f, g) is an upper bound for the set of all expressions (T f)(x) (T g)(x) as x varies in [, 5], so d(t f, T g) 30d(f, g). For any ɛ > 0, set δ = ɛ 30. Then if d(f, g) < δ, we have d(t f, T g) 30d(f, g) < 30δ = ɛ, so T is (uniformly) continuous as claimed. (Fun fact: by choosing an appropriate smaller interval [, k], we can guarantee that T is a contraction and hence will have a fixed-point on that smaller interval.)