Docsity

Real Analysis - Introduction to Analysis - Lecture Notes | MATH 104, Study notes of Mathematics

Toggle sidebar
bg1
Real Analysis
July 10, 2006
1 Introduction
These notes are intended for use in the warm-up camp for incoming Berkeley Statistics
graduate students. Welcome to Cal! The real analysis review presented here is intended to
prepare you for Stat 204 and occasional topics in other statistics courses. We will not cover
measure theory topics and some other material that you should be very familiar with if you
intend to take Stat 205. If you have never taken a real analysis course, you are strongly
encouraged to do so by taking math 104 (or the honors version of it). Math 105 (usually of-
fered in the spring) will provide you with necessary measure-theoretical background essential
for Stat 205. The presentation follows closely and borrows heavily from ’Real Mathematical
Analysis’ by C.C. Pugh, the standard textbook for honors version of math 104. The empha-
sis is on metric space concepts and the pertinent results on the reals are presented as specific
cases of more general results, and a lot of them are presented together as exersises in section
3.8. We do not expect you to be familiar with the metric space concepts but we do expect
you to be familiar with specific results on real line, as that is usually the approach taken in
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a

Partial preview of the text

Download Real Analysis - Introduction to Analysis - Lecture Notes | MATH 104 and more Study notes Mathematics in PDF only on Docsity!

Real Analysis

July 10, 2006

1 Introduction

These notes are intended for use in the warm-up camp for incoming Berkeley Statistics graduate students. Welcome to Cal! The real analysis review presented here is intended to prepare you for Stat 204 and occasional topics in other statistics courses. We will not cover measure theory topics and some other material that you should be very familiar with if you intend to take Stat 205. If you have never taken a real analysis course, you are strongly encouraged to do so by taking math 104 (or the honors version of it). Math 105 (usually of- fered in the spring) will provide you with necessary measure-theoretical background essential for Stat 205. The presentation follows closely and borrows heavily from ’Real Mathematical Analysis’ by C.C. Pugh, the standard textbook for honors version of math 104. The empha- sis is on metric space concepts and the pertinent results on the reals are presented as specific cases of more general results, and a lot of them are presented together as exersises in section 3.8. We do not expect you to be familiar with the metric space concepts but we do expect you to be familiar with specific results on real line, as that is usually the approach taken in

most real analysis courses. We hope that you find these notes helpful! Go Bears!

2 Some Definitions

We will denote by R, Q, Z, and N the sets of all real numbers, rational numbers, integers and positive integers, respectively. We will take for granted the familiarity with notions of finite, countably infinite and uncountably infinite sets. Given a set S⊂ R, M∈ R is an upper bound for S if ∀s ∈ S it is true that s ≤ M. S is said to be bounded above by M. M ∗^ is said to be the least upper bound (or l.u.b) for S if for all upper bounds M it is true that M ∗^ ≤ M (note that it implies that l.u.b. is unique). The lower bounds and the greatest lower bound (g.l.b) are defined similarly. For example, if S=[0,1], then 1 and 4 are upper bounds, and 0, -4 are lower bounds with 0 and 1 being g.l.b and l.u.b, respectively. A set is said to be bounded if it is bounded from above and below. A set S is said to be unbounded from above if ∀N ∃s ∈ S s.t. s > N. The definition of a set unbounded below is similar. A set is unbounded if it’s either unbounded from above or below. The supremum (sup) of a set S ⊂ R is defined to be l.u.b for S if S is bounded from above, and to be +∞ otherwise. The infinum (inf) is defined to be g.l.b for a set bounded form below and to be −∞ otherwise.The following results will be assumed about R (proofs can be looked up in any analysis textbook):

  1. If S ⊂ R is bounded from above/below then the l.u.b/g.l.b for S exists and is unique
  2. Triangle Inequality: |x + y| ≤ |x| + |y|
  3. -principle: If x,y ∈ R , and ∀ > 0, x ≤ y +  then x ≤ y. Also if ∀ > 0, |x − y| ≤ ,
  1. Any metric space (for ex. R or N) with the discrete metric: d(x,y)=1 if x 6 = y, d(x,y)=0 otherwise. This metric makes the distance from a point to itself be 0 and the distance between any two distinct points be 1.

You should check for yourself that the metrics above satisfy the 3 conditions.

3.2 Sequences

We will use the notation (xn) for the sequence of points x 1 , x 2 ,... , xn,... in metric space M. The members of a sequence are not assumed to be distinct, thus 1,1,1,1,... is a legit- imate sequence of points in Q. A sequence (yk) is a subsequence of (xn) if there exists sequence 1 ≤ n 1 < n 2 < n 3 <... s.t. yk = xnk. Some subsequences of the sequence 1,1,2,1,2,3,1,2,3,4,1,2,3,4,5,... are:

  1. twos: 2,2,2,2,2,...
  2. odds: 1,3,5,7,9,...
  3. primes: 2,3,5,7,11,...
  4. original sequence with duplicates removed: 1,2,3,4,5,6,7,...
  5. the previous subsequence with first 3 elements removed: 4,5,6,7,... A sequence (xn) of points in M is said to converge to the limit x in M if ∀ > 0 ∃ N s.t. n ≥ N =⇒ d(xn, x) < . We then say that xn → x. Notice that if our metric space is R, then replacing d(xn, x) by the usual metric |xn −x| gives the familiar definition of a limit.

Theorem: The limit of a sequence, if it exists, is unique

Proof: Let (xn) be a sequence in M that converges and suppose its limit is not unique. Let x,y denote two (of possibly even more) limits. Let  > 0 be given. Then ∃N 1 s.t. n ≥ N 1 =⇒ d(xn, x) < /2. Similarly ∃N 2 s.t. n ≥ N 2 =⇒ d(xn, y) < /2. Let N = max(N 1 , N 2 ), and let n ≥ N. Then by the 3rd property of metric function:

d(x, y) ≤ d(x, xn) + d(xn, y) < /2 + /2 = .

Since this is true for every  we have x=y by the -principle

Theorem: Every subsequence of a convergent sequence converges, and it converges to the same limit as the original sequence.

Proof: Easy.

A sequence (xn) in M is said to be Cauchy if ∀ > 0 ∃N s.t. n, m ≥ N =⇒ d(xn, xm) < . In other words a sequence is Cauchy if eventually all the terms are all very close to each other.

Theorem: Every convergent sequence is Cauchy

Proof: Suppose xn → x in M. Let  > 0 be given. Then ∃N s.t. n ≥ N =⇒ d(xn, x) < /2. Let n, m ≥ N. Then

S = {s ∈ [−L, L] : ∃ infinitely many n ∈ N, for which an ≥ s}

Obviously, −L ∈ S and S is bounded from above by L. We then know that the l.u.b for S exists (call it b). We will show that an → b. Let  > 0 be given. Then since (an) is Cauchy, ∃N 2 s.t. m, n ≥ N 2 =⇒ |an − am| < /2. Since ∀s ∈ S, s ≤ b, we have that b + / 2 ∈/ S. That means that an exceeds b + /2 only finitely often and ∃N 3 ≥ N 2 s.t. n ≥ N 3 =⇒ an ≤ b + /2. Since b is the least upper bound for S we have that b − /2 is not an upper bound for S and therefore ∃s ∈ S s.t. s > b − / 2 and an ≥ s > b − /2 infinitely often. In particular that gurantees that there exists some N 4 ≥ N 3 s.t. aN 4 > b − /2. Moreover, since N 4 ≥ N 3 we have aN 4 ∈ (b − / 2 , b + /2]. And since N 4 > N 2 , we get n ≥ N 4 =⇒

|an − b| ≤ |an − aN 4 | + |aN 4 − b| < /2 + / 2 < 

and therefore an → b.

It is an easy exersise to show that every discrete metric space (for example, N with dis- crete metric) is complete.

3.3 Open and Closed Sets

Let M be a metric space and let S be a subset of M. We say that x ∈ M is a limit(point) of S (note that S is not a sequence here, but a subset of M) if there exists a sequence (xn) in S s.t. xn → x. For example, let M = R and S=Q. Then 2 is an example of a limit point of S

((xn) = 2, 2 , 2 , 2 , 2 ,... or (xn) = 1, 1 + 1/ 2 , 1 + 2/ 3 , 1 + 3/ 4 ,.. .) that belongs to S, and π is a an example of a limit point of S ((xn) = 3, 3. 1 , 3. 14 , 3. 141 , 3. 1415 ,.. .) that does not belong to S (of course, it still belongs to M). A set is said to be closed (in underlying metric space M) if it contains all of its limits. For example, a singleton set x is closed in M (assuming M is non-empty), since the only possible sequence is (xn) = x, x, x,... → x. Clearly, M is a closed subset of itself. A set S is said to be open (in underlying mertric space M) if ∀x ∈ S ∃r > 0 s.t. d(x, y) < r =⇒ y ∈ S. The set of points {y ∈ M : d(x, y) < r} is called (open) r-neighborhood of x and is denoted Br(x) (for example, B 2 (5) in R is simply the open interval (3, 7)). Thus a set S is open (in M) if for every point in S there exists some small neighborhood of that point in M contained entirely in S. It’s easy to see that interval (a,b) is an open set in R, and clearly every metric space M is an open subset of itself (since every r-neighborhood of x is still in M). The following theorem provides a connection between open and closed sets:

Theorem: The compliment of an open set is closed and the compliment of a closed set is open.

Proof:Suppose S ⊂ M is open. Suppose xn → x in M , and moreover xn ∈ Sc^ ∀n. We need to show that x ∈ Sc. Suppose not, then x ∈ S. Since S is open, ∃r > 0 s.t. d(x, y) < r =⇒ y ∈ S. Now, since xn → x ∃N s.t. n ≥ N =⇒ d(xn, x) < r =⇒ xn ∈ S. That is clearly impossible since no point could be in both S and Sc, and we have reached a condtradiction. Therefore Sc^ is closed. Now suppose that S ⊂ M is closed. Suppose Sc^ is not open, then ∃x ∈ Sc^ s.t. ∀rn > 0 ∃xn

Notice that the infinite intersection of open sets is not necessarily open. For example, it’s easy to see that Uk = (− 1 /k, 1 /k) is an open subset of R, but ∩Uk = { 0 } is clearly not open in R.

Theorem:Arbitrary intersection of closed sets is closed. Also, finite union of closed sets is closed.

Proof: We’ll use DeMorgan’s Laws: (∪Uk)c=∩(Ukc). Let {Kα} be a collection of closed sets in M. Then ∩Kα = (∪Kαc)c^ and since each Kαc^ is open, their union is open and it’s complement is closed. The proof of the second part of the theorem is similar.

Notice that the infinite union of closed sets is not guaranteed to be closed. For example, even though each Kk = [0, 1 − 1 /k] is closed in R, the intersection ∪Kk = [0, 1) is not.

Theorem:Let M be a complete metric space, N ⊂ M be closed. Then N is complete as a metric space in its own right.

Proof: Let (xn) be a Cauchy sequence in N. Since (xn) is also a Cauchy sequence in M , and M is complete, we have xn → x ∈ M. But N is closed in M , therefore x ∈ N and we conclude that N is complete. Let lim S denote the set of all limit points of S in M. It is pretty clear that x ∈ lim S ⇐⇒ ∀r > 0, Br(x) ∩ S 6 = ∅ (you can easily prove it as an exersise). We can also show that lim S is a closed set. Let  > 0 be given and let (yn) be a sequence of points in lim S s.t.

yn → y in M. Then ∃N s.t. n ≥ N =⇒ d(yn, y) < /2. Since each yn ∈ lim S, ∃xn ∈ S s.t. d(yn, xn) < / 2 ∀n. Then we have n ≥ N =⇒

d(xn, y) ≤ d(xn, yn) + d(yn, y) < /2 + /2 = 

Therefore xn → y and y ∈ lim S. We conclude that lim S is closed.

We can also show that Br(x) is an open subset of M as follows: let y ∈ Br(x). Let s = r − d(x, y) > 0. Then d(y, z) < s =⇒

d(z, x) ≤ d(x, y) + d(y, z) < d(x, y) + (r − d(x, y)) = r

=⇒ z ∈ Br(x). Thus if y ∈ Br(x) ∃s s.t. Bs(y) ⊂ Br(x), and therefore Br(x) is open.

Theorem: Every open set U ⊂ R can be expressed as a countable disjoint union of open intervals of the form (a, b), where a is allowed to take on the value −∞ and b is allowed to take on the vaule +∞.

Proof:If U = ∅ = (0, 0), then the statement is vacuously true. If U is not empty, ∀x ∈ U define ax = inf {a : (a, x) ⊂ U }, bx = sup{b : (x, b) ⊂ U }. Then Ix = (ax, bx) is a (possibly unbounded) open interval, containing x. It is maximal in the following sense: suppose bx ∈ U , then by construction above ∃J ⊂ U , an open interval s.t. bx ∈ J. You can prove for yourself that the union of two open intervals with non-empty intersection is in fact, an open interval (you just have to take care of a number of base cases for endpoints).

points of S, thus lim S ⊂ S¯. We conclude that S¯ = lim S.

You may check for yourself at this point that every subset of a discrete metric space M (for example, N with discrete metric) is clopen (why would it suffice to show that a singleton {x} is open?) and that therefore ∀S ⊂ M , int(S) = S = S¯ and ∂S = ∅.

A subset S of a metric space M is said to cluster at point x ∈ M if ∀r > 0 Br(x) contains infinitely many points of S. S is said to condense at x, if each Br(x) contains uncountably many points of S. For example if M=R, then every point of S = [a, b] is a condensation point (also a cluster point), and no other point is a cluster point. If S={ 1 /n : n ∈ N}then the only cluster point is 0 ∈/ S, and no point is a condensation point (no point could have uncountably many members of S in its r-neighborhood, since S itself is count- able). If S=Q, then x is a cluster point of S ∀x ∈ R. An open interval (a, b) is an example of a subset of R that contains some but not all of its cluster/condensation points. Finally, N with either discrete metric or with the metric it inherits as subset of R has no cluster points. We emphasize that if x is a cluster point of S, each r-neighborhood of x must contain infinitely many distinct points of S. It is easy to see that x is a cluster point of S iff ∃(xn), a sequence of distinct points in S, s.t. xn → x. We denote the set of all cluster points of S by S′.

Theorem: S ∪ S′^ = S¯. S is closed iff S′^ ⊂ S.

Proof: We already know that S ⊂ S¯. Moreover, by above we have that a cluster point is a limit point and therefore S′^ ⊂lim S = S¯. Thus S ∪ S′^ ⊂ S¯. Also, if x ∈ S¯ = lim S, then

either x ∈ S or ∃(xn), a sequence of distinct points in S, s.t. xn → x, but that would make x a cluster point. So we have S¯ ⊂ S ∪ S′^ and we conclude that S ∪ S′^ = S¯. Now, we know that S is closed iff S = S¯ = S ∪ S′^ iff S′^ ⊂ S.

We notice here that if S ⊂ R is a bounded from above/below, then it’s l.u.b/g.l.b are its cluster points (you can check it for yourself), and therefore by above theorem belong to the closure of S. Thus a closed and bounded subset of R contains both its l.u.b and g.l.b.

Up to this point, instead of just saying ‘S is open’ or ‘S is closed’, we often said ‘S is open in M’ or ‘S is closed in M’. We can drop the mention of M, when it is understood what the underlying metric space is, but we point out that it is essential to the openness/closedness of S. For example, both Q and the half-open interval [a, b) are clopen when considered as metric spaces in their own right. Neither one, of course, is either open or closed when treated as a subset of R. Another example is a set S = Q∩ (−π, π), a set of all rational numbers in the interval (−π, π). As a subset of metric space Q S is both closed (if (xn) is a sequence in S, and xn → x ∈ Q then x ∈ S) and open (check for yourself). As a subset of R, how- ever, it is neither open (if x ∈ S then every neighborhood of x contains some y /∈ Q) nor closed (there are sequences in S converging to π ∈ R). The following few theorems establish the relationship between being open/closed in metric space M and some metric subspace N of M that inherits its metric from M (i.e. dN (x, y) = dM (x, y). We will denote the clousre of set S in M by clM^ (S), and the closure of S in N by clN (S). Note that clN (S) = clM (S)∩N.

Theorem: If S ⊂ N ⊂ M , then S is closed in N iff ∃L ⊂ M s.t. L is closed in M and

Theorem: Let (xn) be a Cauchy sequence in M. Then S = {x ∈ M : x = xn for some n} is bounded. In other words, Cauchy sequences are bounded.

Proof: Let  = 1. Then ∃N s.t. n, m ≥ N =⇒ d(xn, xm < 1, in particular n ≥ N =⇒ d(xn, xN ) < 1. Now, let r = 1+max{d(x 1 , x 2 ), d(x 1 , x 3 ),... , d(x 1 , xN )}. Clearly ∀ 1 ≤ k ≤ N d(x 1 , xk) < r − 1 < r. For k ≥ N , d(x 1 , xk) ≤ d(x 1 , xN ) + d(xN , xk) < r − 1 + 1 = r. Thus S ⊂ Br(x 1 ) and the sequence is bounded.

As a consequence of preceding theorem, all convergent sequences are bounded (since convergence implies Cauchy).

3.4 Continuous Functions

Let M, N be two metric spaces. A function f : M → N is continous at x ∈ M if ∀ > 0 ∃δ > 0 s.t. y ∈ M and dM (x, y) < δ =⇒ dN (f (x), f (y)) < . We say that f is continuous on M if it’s continuous at every x ∈ M. Notice that a specific δ depends on both x and . If the choice of δ does not depend on x, then we have the following definition: a function f : M → N is uniformly continuous if ∀ > 0, ∃δ > 0s.t. y ∈ M and dM (x, y) < δ =⇒ dN (f (x), f (y)) < . For example, function 1/x on the interval (0, 1) is continuous (note that 0 is outside of the domain), but is not uniformly continuous (given , no matter how small we choose δ to be, there are always points x, y in the interval (0, δ) s.t. |f (x) − f (y)| > ). The following theorem provides some alternative characterizations of continous functions:

Theorem: The following definitions of continuity are equivalent:

  1. , δ definition
  2. f : M → N is continuous if for each convergent sequence xn → x in M , we have f (xn) → f (x) in N. Thus continous functions send convergent sequences to convergent sequences, preserving the limits.
  3. f : M → N is continuous if ∀ closed S ⊂ N , f −^1 (S) is closed in M. (Here f −^1 is the notation for preimage of a set in a target space).
  4. f : M → N is continuous if ∀ open S ⊂ N , f −^1 (S) is open in M. Proof: 1 =⇒ 2: Suppose f is continuous, (xn) is a sequence in M s.t. xn → x. Let  > 0 be given. By 1, we know that ∃δ > 0 s.t. dM (x, y) < 0 =⇒ dN (f (x), f (y)) < . Since xn → x ∃L s.t. n ≥ L =⇒ dM (xn, x) < δ. But that means that n ≥ L =⇒ dN (f (xn), f (x)) < , and therefore f (xn) → f (x). 2 =⇒ 3: Let S ⊂ N be closed in N , and let (xn) be a sequence in S−^1 = f −^1 (S), s.t. xn → x ∈ M. We need to show that x ∈ S−^1. By 2 and by the fact that xn → x, we know that f (xn) → f (x). Since (f (xn)) is a sequence in S and S is closed, we have f (x) ∈ S, and therefore x ∈ S−^1. 3 =⇒ 4: Let S ⊂ N be open in N. Then f −^1 (S) = (f −^1 (Sc))c, and since the latter is the complement of a closed set (by 3), it is open in M. 4 =⇒ 1: Let x ∈ M and  > 0 be given. Then we know that B(f (x)) is open in N and

uniformly continuous (why?).

Example: Consistent Estimates

In statistics, we usually estimate parameters of interest from the sample we have at hand. Suppose that θˆn is the estimate based on sample of size n, then we say that the estimate is consistent in probability if ∀  > 0, P (|θˆn − θ| > ) → 0 as n → ∞. For example, the Weak Law of Large Numbers states that if we have a sequence of IID random variables X 1 , X 2 ,... , Xn with expected value μ and variance σ^2 , then the sam- ple mean ˆμ 1 = X¯ = (^1) n ∑n i=1^ Xi^ is a consistent estimate of^ μ.^ Moreover, if we consider the sequence X 1 k, X 2 k,... , Xnk, then by applying the Weak Law again, we conclude that μˆk = Xk^ = (^1) n ∑n i=1^ Xi

k (^) is a consistent estimate of k-th moment of X, μk = E(Xk).

Theorem: Suppose θˆn is a consistent estimate of θ, and suppose that f is continuous. Then ˆρn = f (θˆn) is a consistent estimate of ρ = f (θ).

Proof: Suppose not. Then for some ∗^ > 0, P (|f (θˆn) − f (θ)| > ∗) 9 0, i.e. for some L > 0 ∃ subsequence (θˆnk ) of (θˆn) s.t. P (|f (θˆnk ) − f (θ)| > ∗) > L. Now, since f is con- tinuous, ∃ δ > 0 s.t. |θˆn − θ| ≤ δ =⇒ |f (θˆn) − f (θ)| ≤ ∗, and therefore we have that |f (θˆn) − f (θ)| > ∗^ =⇒ |θˆn − θ| > δ. Also, since θˆn is a consistent estimate of θ, we know that ∃N s.t. n ≥ N =⇒ P (| θˆn − θ| > δ) < L, in particular this holds ∀ nk ≥ N. Combining the last two results with the fact that (A =⇒ B) =⇒ (P (A) ≤ P (B)), we have nk ≥ N =⇒ L < P (|f (θˆnk ) − f (θ)| > ∗) ≤ P (|θˆnk − θ| > δ) < L, which leads to a contradiction.

Therefore we conclude that ˆρn = f (θˆn) is indeed a consistent estimate of ρ = f (θ).

This result is very useful in general and is the foundation of estimation technique known as Method of Moments. Once again, suppose we have a sequence of IID random variables X 1 , X 2 ,... , Xn with expected value μ and variance σ^2. We know that X¯ is a consistent estimate of μ and by above result we have X¯^2 is a consistent estimate of μ^2. Then you can prove yourself that X^2 − X¯^2 is a consistent estimate of σ^2 = V ar(X) (do it!). In general, if there is a continuous function θ = f (μ 1 , μ 2 ,... , μk), then θˆ = f (ˆμ 1 , μˆ 2 ,... , μˆk) is a consistent estimate of θ. Therefore if we can express a parameter of interest as a continuous function of the moments of distribution, then applying function to sample moments will give us a consistent estimate of the parameter. For example, if we are sampling from N (μ, σ^2 ) distribution and we have a sample of size n, then μ = μ 1 and σ^2 = E(X^2 ) − μ^2 = μ 2 − μ 12 , and therefore ˆμ = X¯ and ˆσ^2 =

(^1) n∑n i=1^ X i^2

− X¯^2 = (^1) n ∑n i=1^ (Xi^ −^ X¯)^2 are consistent estimates of μ and σ^2 , respectively.

3.5 Product Metrics

Let M = M 1 × M 2 be the Cartesian product of metric spaces M 1 , M 2 , i.e. M is the set of all points x = (x 1 , x 2 ) s.t. x 1 ∈ M 1 and x 2 ∈ M 2. For example, R^2 = R × R is the set of all points in the plane. How would one define a useful metric on this product space? Three of the possibilities are listed below:

  1. dM (x, y) =

dM 1 (x 1 , y 1 )^2 + dM 2 (x 2 , y 2 )^2 = dE (x, y), a Euclidean metric

  1. dM (x, y) = max{dM 1 (x 1 , y 1 ), dM 2 (x 2 , y 2 )} = dmax(x, y)