Real Analysis
Andrew Kobin Fall 2012 Contents Contents
Contents
1 Introduction 1 1.1 The Natural Numbers ...... 1 1.2 The Rational Numbers ...... 1 1.3 The Real Numbers ...... 6 1.4 A Note About Infinity ...... 8
2 Sequences and Series 9 2.1 Sequences ...... 9 2.2 Basic Limit Theorems ...... 12 2.3 Monotone Sequences ...... 16 2.4 Subsequences ...... 19 2.5 lim inf and lim sup ...... 22 2.6 Series ...... 23 2.7 The Integral Test ...... 28 2.8 Alternating Series ...... 30
3 Functions 32 3.1 Continuous Functions ...... 32 3.2 Properties of Continuous Functions ...... 35 3.3 Uniform Continuity ...... 37 3.4 Limits of Functions ...... 41 3.5 Power Series ...... 44 3.6 Uniform Convergence ...... 46 3.7 Applications of Uniform Convergence ...... 49
4 Calculus 52 4.1 Differentiation and Integration of Power Series ...... 52 4.2 The Derivative ...... 54 4.3 The Mean Value Theorem ...... 57 4.4 Taylor’s Theorem ...... 61 4.5 The Integral ...... 63 4.6 Properties of Integrals ...... 67
i 1 Introduction
1 Introduction
These notes were compiled from a semester of lectures at Wake Forest University by Dr. Sarah Raynor. The primary text for the course is Ross’s Elementary Analysis: The Theory of Calculus. In the introduction, we develop an axiomatic presentation for the real numbers. Subsequent chapters explore sequences, continuity, functions and finally a rigorous study of single-variable calculus.
1.1 The Natural Numbers
The following notation is standard.
N = {1, 2, 3, 4,...} the natural numbers Z = {..., −3, −2, −1, 0, 1, 2, 3,...} the integers n p o Q = q | p, q ∈ Z, q 6= 0 the rational numbers R ? the real numbers Note that N ⊂ Z ⊂ Q ⊂ R. We begin with a short axiomatic presentation of the natural numbers N. The five axioms below are called the Peano Axioms. (1) There is a special element 1 ∈ N, so N is nonempty. (2) Every element of N has a successor which is also in N. For n ∈ N, its successor is denoted n + 1.
(3) 1 is not the successor of any element of N. (4) Suppose S ⊆ N is a subset. If 1 ∈ S and for all n ∈ S, n + 1 ∈ S as well, then S = N. This is called the Axiom of Induction.
(5) If the successors of some m, n ∈ N are the same, then m and n are the same. In other words, m + 1 = n + 1 =⇒ m = n. Remark. Any set that satisfies all five Peano Axioms is isomorphic to the natural numbers.
1.2 The Rational Numbers
Q is the arithmetic completion of N, i.e. the rationals are closed under +, −, × and ÷. 2 However, there are issues with√Q. For example, try finding roots of the polynomial x −2 = 0. The only solutions are x = ± 2, but it turns out that these are not rational numbers: √ Theorem 1.2.1. 2 is irrational.
2 p Proof. Suppose x = 2 and x ∈ Q. Then x = q for some p, q ∈ Z, q 6= 0. We may assume p p and q have no common factors, i.e. q is reduced. Consider p2 x2 = = 2 =⇒ p2 = 2q2. q2
1 1.2 The Rational Numbers 1 Introduction
Then p2 is even, so p must be even, i.e. there is some integer k such that p = 2k. This means 2 2 2 2 2 2 p = 4k = 2q =⇒ q = 2k . Thus q is even, so q is even.√ This shows that 2 is a common factor of p and q, which contradicts our assumption. Hence 2 is irrational. So it’s clear that the rational numbers are missing some ‘stuff’ that should be there.
Definition. A number x is algebaic if there are integers a0, a1, . . . , an, with an 6= 0 and n n−1 n ≥ 1, such that anx + an−1x + ... + a1x + a0 = 0. √ p √ Example 1.2.2. 2 is algebraic since it is a root of x2 − 2 = 0. Is 2 + 2 algebraic? To p √ see that it is, let x = 2 + 2 and consider √ x2 = 2 + 2 (x2 − 2)2 = 2 x4 − 4x2 + 2 = 0.
So a4 = 1, a2 = −4 and a0 = 2 shows that x is algebraic. Proposition 1.2.3. Every rational number is algebraic.
p Proof. Let x = q for p, q ∈ Z and q 6= 0. We can rewrite this as qx − p = 0 so x is algebraic. √ The converse is false: note that every algebraic number is rational (see 2 above).
Definition. The algebraic completion of Q is the set Q of all algebraic numbers. p Theorem 1.2.4 (Rational Roots Theorem). Let r ∈ Q with r = q such that p and q have n no common factors. If anr + ... + a1r + a0 = 0 with n ≥ 1, an 6= 0 and a0 6= 0, then q | an and p | a0. Proof. Plug in:
pn p a + ... + a + a = 0 n q 1 q 0 n n−1 n n anp + ... + a1pq + a0q = 0 · q = 0 n n−1 n−1 n anp = −an−1p q − ... − a1pq − a0q .
n Since q divides everything on the right, q must be a factor of anp . But q and p share no common factors, so q divides an. Likewise p divides a0. Example 1.2.5. The rational roots theorem is particularly effective for showing that a 4 2 polynomial has no rational roots. For example, consider x − 4x + 2 = 0. Note that a0 = 2 and a4 = 1, so all possible rational roots are ±1, ±2. But none of these are roots, so all roots of x4 − 4x2 + 2 are irrational.
2 1.2 The Rational Numbers 1 Introduction
Are all real numbers algebraic? In other words, does Q = R? It turns out that the answer is no. Examples include π, e, sin(1), etc. but these are hard to prove. In fact, it wasn’t until 1844 that Liouville proved the existence of such numbers, called transcendental numbers. It has since been shown that Q is a subset of the complex numbers C. This means that not all real numbers are algebraic and not all algebraic numbers are real. Next we detail an axiomatic presentation of the rationals, similar to the Peano Axioms in Section 1.1. First, there are special numbers 0, 1 ∈ Q with 0 6= 1, so Q is nonempty. Define the binary operations +, · : Q × Q → Q that satisfy the following axioms for all a, b, c ∈ Q: (1)( a + b) + c = a + (b + c) (additive associativity). (2) a + b = b + a (additive commutativity). (3) a + 0 = a (additive identity). (4) For every a there exists an element −a such that a + (−a) = 0 (additive inverse). (5) a(bc) = (ab)c (multiplicative associativity). (6) ab = ba (multiplicative commutativity). (7) a · 1 = a (multiplicative identity).
1 1 (8) For every a there exists an element a such that a · a = 1 (multiplicative inverse). (9) a(b + c) = ab + ac (distribution).
Any set that satisfies (1) – (9) is called a field. Q is an example of a field, however this set of axioms is not a unique presentation of Q. Proposition 1.2.6. Some algebraic rules regarding a, b, c ∈ Q are: (a) If a + c = b + c then a = b. (b) a · 0 = 0. (c) (−a)b = −(ab). (d) (−a)(−b) = ab. (e) If ac = bc and c 6= 0 then a = b. (f) If ab = 0 then either a = 0 or b = 0. Proof. All of these may be proven from axioms (1) – (9). We will prove (a), (b) and (e) and leave the rest for exercise. (a) If a + c = b + c for a, b, c ∈ Q then (a + c) + (−c) = (b + c) + (−c) a + (c + −c) = b + (c + −c) by axiom (1) a + 0 = b + 0 by axiom (4) a = b by axiom (3).
3 1.2 The Rational Numbers 1 Introduction
(b) Take a ∈ Q and consider a · 0. By axiom (3) we can write 0 + 0 = 0, so a · 0 = a(0 + 0) =⇒ a · 0 = a · 0 + a · 0 by axiom (9). By axiom (4), there exists an element −(a · 0) ∈ Q such that (a · 0) + −(a · 0) = 0, so 0 = a · 0 + −(a · 0) = (a · 0 + a · 0) + −(a · 0) = a · 0 + (a · 0 + −(a · 0)) by association = a · 0 + 0 by additive inverse = a · 0 by additive identity.
1 (e) Let a, b, c ∈ Q with c 6= 0 and suppose ac = bc. Then there exists some element c ∈ Q 1 such that c · c = 1. Then 1 1 (ac) · = (bc) · c c 1 1 a c · = b c · by association c c a · 1 = b · 1 by multiplicative inverse a = b by multiplicative identity.
To further develop the rational numbers, we state the five Order Axioms: for a, b, c ∈ Q, we have
(10) Either a ≤ b or b ≤ a (comparability).
(11) If a ≤ b and b ≤ a then a = b (antisymmetry).
(12) If a ≤ b and b ≤ c then a ≤ c (transitivity).
(13) If a ≤ b then a + c ≤ b + c.
(14) If a ≤ b and c ≥ 0 then ac ≤ bc.
Note that (10) – (12) endow Q with a total ordering, so that the 14 axioms together mean that Q is a totally ordered field. There are other examples of ordered fields, such as R.
? Example 1.2.7. C is not an ordered field: 3 + i ≤ 2 + 2i — these can’t be ordered. Proposition 1.2.8. Some properties of an ordered field:
(g) If a ≤ b then −b ≤ −a.
(h) If a ≤ b and c ≤ 0 then bc ≤ ac.
(i) If a ≥ 0 and b ≥ 0 then ab ≥ 0.
(j) a2 ≥ 0 for all a.
4 1.2 The Rational Numbers 1 Introduction
(k) 0 < 1.
1 (l) If a > 0 then a > 0. 1 1 (m) If 0 < a < b then 0 < b < a . Proof. As before, these can all be shown using the Order Axioms, as well as the first 9 axioms where necessary. We will show (i) – (k). (i) Let a, b ∈ Q with a, b ≥ 0. Then a · b ≥ 0 · b, and Proposition 1.2.6(b) says that b · 0 = 0, so ab ≥ 0. (j) If a ≥ 0 then this is implied by (i). On the other hand, if a < 0 then 0 · a ≤ a · a by (8). Thus 0 ≤ a2. (k) By (j) we have 0 ≤ 12. And by multiplicative identity, 1 · 1 = 1. Thus 0 ≤ 1, and since they are not equal, 0 < 1.
Definition. For a rational number a, we define the absolute value of a to be ( a a ≥ 0 |a| = −a a < 0.
Definition. For any two rational numbers a, b, we define the distance from a to b as d(a, b) = |b − a|.
Theorem 1.2.9. Let a, b ∈ Q. Then (1) |a| ≥ 0.
(2) |ab| = |a| |b|.
(3) |a + b| ≤ |a| + |b| (the triangle inequality).
Proof. (1) Suppose a ≥ 0. Then |a| = a ≥ 0. Conversely, if a < 0 we have |a| = −a and by Proposition 1.2.8(g), −a > −0 = 0. Hence |a| ≥ 0 in all cases. (2) There are three cases. First suppose a, b ≥ 0. Then ab ≥ 0·0 = 0, so |ab| = ab = |a| |b| by definition. Next suppose a ≥ 0 and b < 0. Then ab ≤ a·0 = 0 by axiom (14) and property (b). So |ab| = −ab. Then we have
|a| |b| = a(−b) by property (c) = (−b)a by multiplicative commutativity = −(ba) by (c) again = −(ab) by commutativity again = −ab = |ab|.
The case when a < 0 and b ≥ 0 is identical. Finally, suppose a, b < 0. Then ab ≥ 0 · 0 = 0 by properties (h) and (b), so |ab| = ab. And by (d) we have |a| |b| = (−a)(−b) = ab, so in all cases |ab| = |a| |b|.
5 1.3 The Real Numbers 1 Introduction
(3) If a and b are either both positive or both negative, the proof is trivial. The interesting cases are when a and b have different signs. Suppose without loss of generality that a ≥ 0 and b < 0. If a + b ≥ 0 then
|a + b| = a + b ≤ a + 0 by axiom (13) = a by additive identity = |a| since a ≥ 0 ≤ |a| + |b| since |a|, |b| ≥ 0.
On the other hand, if a + b ≤ 0 then
|a + b| = −(a + b) = (−1)(a + b) by property (c) = (−1)a + (−1)b by distribution = −a + −b by (c) again ≤ 0 + −b because − a ≤ 0 = −b by additive identity = |b| ≤ |a| + |b|.
Remark. As a corollary to the triangle inequality, we have |a − c| ≤ |a − b| + |b − c| for all a, b, c ∈ Q.
1.3 The Real Numbers
In this section we give an axiomatic presentation of R. The real numbers satisfy all 14 axioms presented in the last section, but one additional axiom is needed to single out R from among all ordered fields. Before stating this axiom, we need some definitions.
Definition. If S is a nonempty subset S ⊆ R and s ∈ S such that s ≥ t for all t ∈ S, then s is the maximum of S. The minimum of S is defined similarly.
Examples.
1 Consider a finite set such as S = {1, 2, 3, 4, 5}. The max is 5 and the min is 1.
2 For a closed interval [a, b] = {x ∈ R | a ≤ x ≤ b}, the max is b and the min is a. For a half-open interval (a, b] = {x ∈ R | a < x ≤ b}, the max is b but this has no minimum. Finally, an open interval (a, b) = {x ∈ R | a < x < b} has neither a max nor a min.
3 The natural numbers N have a minimum value at 1, but N does not have a maximum.
1 1 1 1 4 The set 1, 2 , 3 , 4 ,..., n ,... has a maximum value of 1, but has no minimum value because the elements get closer and closer to 0, but 0 is not in the set.
6 1.3 The Real Numbers 1 Introduction
Definition. If S ⊆ R is a nonempty subset, then M is an upper bound of S if for all s ∈ S, s ≤ M. In this case we say S is bounded above.
Definition. Similarly, m is a lower bound if for all s ∈ S, s ≥ m, in which case S is said to be bounded below.
Remark. If S is bounded above and below, we simply say that S is bounded. For example, 1 1 1 in 4 above, the set 1, 2 , 3 , 4 ,... is bounded: above by 1 and below by 0. Definition. If S ⊆ R is bounded above, a number r is the supremum of S if r is an upper bound of S, and r is greater than or equal to any other upper bound of S. In other words, r is the least upper bound.
Definition. Similarly, if S is bounded below, r is the infimum of S if r is the greatest lower bound of S.
Proposition 1.3.1. If S has a maximum value, then sup S = max S.
Proof. If s = max S then s ≥ t for all t ∈ S. So s is an upper bound. If ` is any other upper bound, then ` ≥ s because s ∈ S. Thus s is the supremum of S.
Proposition 1.3.2. If S has a supremum, it is unique.
Proof omitted.
The Completeness Axiom. Every nonempty subset S ⊆ R which is bounded above has a supremum in R. The real numbers are the unique set that satisfies all 15 axioms presented so far (axioms (1) – (9), the Order Axioms and the Completeness Axiom).
Example 1.3.3. Consider S = {x ∈ Q | x2 ≤ 2}. S is nonempty since for example 0, 1 ∈ S. S is also bounded above: e.g. 4 ≥ x for all x ∈ S. However S does not have a supremum p in Q. To prove this, take any upper bound of S that is a rational number, say q . Then p2 √ p2 p2 q2 ≥ 2, but since 2 is not rational, q2 > 2. Thus there’s a gap between q2 and 2, and we can always find a slightly smaller rational that’s greater than 2. On the other hand, the Completeness Axiom states that S has a supremum in R. In other words, there√ is some smallest real number whose square is at least 2, which implies the existence of 2.
The Completeness Axiom allows one to fill in all the gaps in Q. Another way of saying this is that R has no gaps: it is complete. In fact, every real number r can be represented as the supremum of the set {x ∈ Q | x ≤ r}. For example, π = sup{x ∈ Q | x ≤ π} = {3, 3.1, 3.14, 3.141,...}.
Corollary 1.3.4. Every nonempty subset S ⊆ R which is bounded below has an infimum in R.
7 1.4 A Note About Infinity 1 Introduction
Proof. Let S be such a set and define T = {−x | x ∈ S}. Then T is nonempty since S is nonempty. Say c is a lower bound of S. Then −c is an upper bound of T by property (g). By the Completeness Axiom, T has a supremum in R, say t. We claim −t is the infimum of S. Since t is an upper bound of T , then as above, −t is a lower bound of S. Let ` be any lower bound of S. Then −` is an upper bound of T and since t = sup T , t ≥ −`. By (g) again, −t ≥ −(−`) = ` so −t is the greatest lower bound of S. In particular, inf S exists.
Theorem 1.3.5 (The Archimedean Property). For every r ∈ R, there is a natural number 1 n such that n > r. Furthermore, for every r > 0 there exists an n ∈ N such that n < r. Proof. Suppose r ∈ R such that n ≤ r for all n ∈ N. Then r is an upper bound for N, so by Completeness, N has a supremum, say m. Because m is the least upper bound, m − 1 is not an upper bound of N, so there is some n ∈ N such that n > m − 1. By the Peano Axioms, n + 1 ∈ N and n + 1 > m − 1 + 1 = m, but this shows that m is not an upper bound, a contradiction. Hence for every r ∈ R, there exists a natural number such that n > r. 1 To obtain the second statement, use the first part with r and the Order Axioms. Theorem 1.3.6 (Density of the Rationals in the Reals). For every a, b ∈ R such that a < b, there exists a rational number r such that a < r < b.
1 Proof. Since b−a > 0, by the Archimedean Property there is some n ∈ N such that b−a > n . This can be written (b − a)n > 1 =⇒ bn > 1 + an. By the Archimedean Property again, there is some k > max{|an|, |bn|}. Let S = {m ∈ Z | −k ≤ m ≤ k and an < m}. S is bounded and nonempty (e.g. k ∈ S). In particular, S is bounded below so it has an infimum, say p. Since p is the greatest lower bound of S, p + 1 is not a lower bound of S, so there is some j ∈ S such that j < p + 1. And since j ∈ S, we have p ≤ j < p + 1. By construction, an is also a lower bound of S, so an ≤ p ≤ j < p + 1. This implies j − 1 < p =⇒ j − 1 6∈ S so j − 1 ≤ an ≤ j, and j < bn − 1 =⇒ j + 1 < bn. Thus an < j + 1 < bn. If we let m m = j + 1, this gives us a < n < b.
1.4 A Note About Infinity
Positive and negative infinity are not real numbers. They cannot be added, subtracted, multiplied or divided with each other or with real numbers. However, they are useful in inequalities:
−∞ < x < +∞ for all real numbers x. In other words, (−∞, ∞) = R.
[a, ∞) = {x ∈ R | a ≤ x < ∞}.
(−∞, b) = {x ∈ R | −∞ < x < b}.
We may rewrite the Completeness Axiom to say that any any nonempty subset S ⊆ R has a supremum, where if S is not bounded above, we denote sup S = +∞. Likewise, if S is not bounded below then inf S = −∞. For example, the natural numbers are not bounded above so sup N = +∞.
8 2 Sequences and Series
2 Sequences and Series
2.1 Sequences
Definition. A sequence of real numbers is a function a : N → R. In general terms, a sequence is just a list of numbers. Normally we write the function val- ues: (a1, a2, a3, . . . , an,...). Order matters in this notation, so a sequence is an ordered list. Repeats are allowed, so a sequence is not a set.
Examples.
n 1 Consider the sequence (an) defined by an = (−1) . This can be written (−1, 1, −1, 1,...). As a set, this would just be {−1, 1}, which is not the same as (an). Thus the domain of a allows us to keep track of where we are in the sequence. 1 2 Consider a = . The first five values are 1, 1 , 1 , 1 and 1 . n n2 4 9 16 25