Real Analysis and Multivariable Calculus: Graduate Level Problems and Solutions
Real Analysis and Multivariable Calculus: Graduate Level Problems and Solutions
1
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 2
Contents
1 Countability 5
4 Notes 13
4.1 Least Upper Bound Property . . . . . . . . . . . . . . . . . . . . . . . . 13
5 Completeness 14
6 Compactness 16
7 Continuity 17
7.1 Continuity and Compactness . . . . . . . . . . . . . . . . . . . . . . . . 18
9 Connectedness 21
9.1 Relative Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
9.2 Connectedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
9.3 Path Connectedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
11 Integration 26
11.1 Riemann Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
11.2 Existence of Riemann Integral . . . . . . . . . . . . . . . . . . . . . . . . 27
11.3 Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . . . 27
12 Differentiation 30
12.1 R → R . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
12.1.1 The Derivative of a Real Function . . . . . . . . . . . . . . . . . 30
12.1.2 Rolle’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
12.1.3 Mean Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . 30
12.2 R → Rm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
12.3 Rn → Rm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
12.3.1 Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
12.3.2 Mean Value Theorem . . . . . . . . . . . . . . . . . . . . . . . . 35
∂ ∂f ∂ ∂f
12.3.3 ∂x ( ∂y ) = ∂y ( ∂x ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
12.4 Taylor’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
12.5 Lagrange Multipliers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 4
1 Countability
The number of elements in S is the cardinality of S.
S and T have the same cardinality (S ' T ) if there exists a bijection f : S → T .
card S ≤ card T if ∃ injective1 f : S → T .
card S ≥ card T if ∃ surjective2 f : S → T .
S is countable if S is finite, or S ' N.
Theorem. Q is countable.
Proof. It is enough to prove that [0, 1) ⊂ R is not countable. Suppose that the set of all
real numbers between 0 and 1 is countable. Then we can list the decimal representations
of these numbers (use the infinite expansions) as follows:
a1 = 0.a11 a12 a13 . . . a1n . . .
a2 = 0.a21 a22 a23 . . . a2n . . .
a3 = 0.a31 a32 a33 . . . a3n . . .
and so on. We derive a contradiction by showing there is a number x between 0 and
1 that is not on the list. For each positive integer j, we will choose jth digit after the
decimal to be different than ajj :
x = 0.x1 x2 x3 . . . xn . . ., where xj = 1 if ajj 6= 1, and xj = 2 if ajj = 1.
For each integer j, x differs in the jth position from the jth number on the list, and
therefore cannot be that number. Therefore, x cannot be on the list. This means the
list as we chose is not a bijection, and so the set of all real numbers is uncountable.
(Need to worry about not allowing 9 tails in decimal expansion: 0.399 . . . = 0.400 . . .).
1
injective = 1-1: f (s1 ) = f (s2 ) ⇒ s1 = s2 .
2
surjective = onto: ∀t ∈ T, ∃s ∈ S, s.t. f (s) = t.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 6
Problem (F’01, #4). The set of all sequences whose elements are the digits 0 and 1
is not countable.
Let S be the set of all binary sequences. We want to show that there does not exist
a one-to-one mapping from the set N onto the set S.
Proof. card (A) ≤ card (P (A)), since A can be injectively mapped to the set of one-
element sets of A, which is a subset of P (A).
We need to show there is no onto map between A and P (A). So we would like to find a
thing in P (A) which is not reached by f . In other words, we want to describe a subset
of A which cannot be of the form f (a) for any a ∈ A.
Suppose |A| = |P (A)|. Then there is a 1-1 correspondence f : A → P (A). We
obtain a contradiction to the fact that f is onto by exhibiting a subset X of A such
that X 6= f (a) for any a ∈ A.
For every a ∈ A, either a ∈ f (a), or a ∈/ f (a). Let X = {a ∈ A : a ∈
/ f (a)}.
Consider a ∈ A. If a ∈ f (a), then a ∈ / X, so f (a) 6= X.
If a ∈
/ f (a), than a ∈ X, so f (a) 6= X. Therefore, X 6= f (a), ∀a ∈ A, a contradiction.
Therefore, card (A) < card (P (A)).
Theorem. Suppose that f : [0, 1] → R is an increasing function. Show that f can have
at most a countable number of discontinuities.
Theorem. S
a) For any collection Gα of open sets, Tα Gα is open.
b) For any collection Fα of closed sets, α Fα is closed. T
c) For any finite collection G1 , . . . , Gn of open sets, Sni=1 Gi is open.
d) For any finite collection F1 , . . . , Fn of closed sets, ni=1 Fi is closed.
S
Proof. a) Put G = α Gα . If x ∈ G, then x ∈ Gα for some α. Since x is an interior
point of Gα , x is also an interior point of G, and G is open.
b) By theorem above,
[ \ \ [
( Fα )c = (Fαc ) ⇒ ( Fα )c = (Fαc ), (2.1)
α α α α
T
and Fαc is open. Hence a) implies that the right equation of (2.1) is open so that α Fα
is closed. T
c) Put H = ni=1 Gi . For any x ∈ H, there exists neighborhoods Nri of x, such that
Nri ⊂ Gi (i = 1, . . . , n). Put r = min(r1 , . . . , rn ). Then Nr (x) ⊂ Gi for i = 1, . . . , n, so
that Nr (x) ⊂ H, and H is open. S T
d) By taking complements, d) follows from c): ( ni=1 Fi )c = ni=1 (Fic ).
Theorem.
T S ⊂ M ⊆ X. S open relative to M ⇔ ∃ open U ⊂ X such that
S = U M.
Problem (F’01, #2). Let N denote the positive integers, let an = (−1)n n1 , and let
α be any real number. Prove there is a one-to-one and onto mapping σ : N → N such
that
∞
X
aσ(n) = α.
n=1
0.
P P∞ P
(negative terms) = n=1 a2n−1 = − ∞ 1
n=1 2n−1 diverges by comparison with
P∞ 1 1
− n=1 2n , and limn→∞ 2n−1 = 0.
Claim:
P∞ ∀α ∈ R, there is a one-to-one and onto mapping σ : N → N such that
n=1 aσ(n) = α, where σ(n) is the rearrangement of indices of the original series.
Given α, choose positive terms in sequential order until their sum exceeds α. At this
switch point, choose negative terms until their sum is less than α. Repeat the process.
Note: This process never stops because no matter how many positive and negative
terms are taken, there are still infinitely many both positive and negative terms left;
the sum of positive terms is ∞, the sum of negative terms is −∞. P
Let the sum of terms at the N th step be denoted by SN , SN = N n=1 aσ(n) . At switch
point, |α − SN | is bounded by the size of the term added:
|α − SN | → 0, N →∞
All terms {an } will eventually be added to the£ sum (σ : N ³ N is surjective (onto)) ¤ at
different steps (σ : N ,→ N is injective (1-1)). σ : {1, 2, 3, . . .} → {n1 , n2 , n3 , . . .} .
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 10
P p
Root Test. P Given an , put α = lim supn→∞ n |an |. Then
a) if α < 1, P an converges;
b) if α > 1, an diverges;
c) if α = 1, the test gives no information.
P
Ratio Test. The series an
a) converges if lim supn→∞ | an+1an | < 1,
b) diverges if | an+1
an | ≥ 1 for all n ≥ n0 , where n0 is some fixed integer.
P roof : Sn = 1 + x + x2 + · · · + xn ~
2 3 n+1
xSn = x + x + x + · · · + x }
n+1
~ − } = (1 − x)Sn = 1 − x
Xn
1 − xn+1
⇒ Sn = xk =
1−x
k=0
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 11
log(1 + x) is not
P∞ valid for |x| > 1, or x < −1. Claim: If x = 1, the series converges
to log 2. Proof: (−1)n−1 xn is uniformly convergent for x ∈ [0, 1], since the sum
n=1 n
of any number of consecutive terms starting with the nth has absolute value at most
xn 1
n ≤ n , since for 0 < x < 1 we have alternating series.
4 Notes
4.1 Least Upper Bound Property
An ordered set S is said to have the least upper bound5 property if:
E ⊂ S, E is not empty, and E is bounded above, then sup E exists in S.
Completeness axiom: If E is a nonempty subset of R that is bounded above, then
E has a least upper bound.
Problem (F’02, #2). Show why the Least Upper Bound Property (every set bounded
above has a least upper bound) implies the Cauchy Completeness Property (every Cauchy
sequence has a limit) of the real numbers.
Proof. Suppose {xn } Cauchy. The problem is to show that {xn } converges.
We first show that {xn } is bounded. Fix ² > 0 and let N be such that |xn − xm | < ²
if n, m > N . Then for any fixed n > N , the entire sequence is contained in the closed
ball of center xn and radius max{d(xn , x1 ), d(xn , x2 ), . . . , d(xn , xN ), ²}. Thus {xn } is
bounded.
Define zn = sup{xk }k≥n . Since {xn } is bounded, each zn is a finite real number and is
bounded above in absolute value by M . If m > n, then zm is obtained by taking the
sup of a smaller set than is zn ; hence {zn } is decreasing. By the greatest lower bound
property, Z = {zn |n ∈ N} has an infimum. Let x = inf Z. We claim that xn → x.6
For each ² > 0 there is a corresponding integer N such that x ≤ zN ≤ x+². Since {xn } is
Cauchy, by taking a larger N if necessary, we know that k ≥ N ⇒ xk ∈ [xN −², xN +²].
It follows that zN ∈ [xN − ², xN + ²]. Hence for k ≥ N ,
|xk − x| ≤ |xk − xN | + |xN − zN | + |zN − x| ≤ ² + ² + ² = 3².
5
least upper bound of E ≡ sup E.
6
Idea: Since {xn } is Cauchy, the terms of this sequence would approach one another. {zn } also
approaches {xn }. Since zn → x, {zn } approaches x. It follows that {xn } approaches x.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 14
5 Completeness
A metric space X is complete if every Cauchy sequence of elements of X converges to
an element of X.
|xn − xm | ≤ |xn − x| + |x − xm | ≤ 2²
Proof. Let ² > 0. Since xn is Cauchy ⇒ choose k > 0 so large that |xn − xm | < ²
whenever n, m ≥ k. Since xnk → x ⇒ choose l > 0 so large (i.e. nl large) that
|xnj − x| < ² whenever j ≥ l. Set N = max(k, nl ). If m, nj > N , then
|xm − x| ≤ |xm − xnj | + |xnj − x| < ² + ² = 2².
Proof. Let xn be a Cauchy sequence in [a, b]. Let xnk be a monotone subsequence.
Since a ≤ xnk ≤ b, xnk converges (by the Least Upper Bound). ⇒ xnk → c. Since
[a, b] is closed, c ∈ [a, b]. ⇒ Any xn that is Cauchy in [a, b], converges in [a, b]. ⇒
[a, b] is complete.
Theorem. R is complete.
Proof. If a sequence xn contains only finitely many distinct points, the conclusion is
trivial and obvious. Otherwise we are dealing with a bounded infinite set, to which
the Bolzano-Weierstrass theorem applies, giving us a limit point x. If, for each integer
k ≥ 1, xnk is a point of the sequence such that |xnk − x| ≤ 1/k, then it is clear that
xnk is a convergent subsequence.
6 Compactness
M is (sequentially) compact if for any sequence xn ∈ M , there is a subsequence
xnk → c, c ∈ M . S
M is (topologically) compact if any open cover of M , M ⊆ Gα , Gα open, contains
a finite subcover.
Problem (W’02, #2). [a, b] is compact.
Proof. Let xn be a sequence in [a, b]. Let xnk be a monotone subsequence ⇒ a ≤
xnk ≤ b ⇒ xnk → c. Since [a, b] is closed, c ∈ [a, b]. ⇒ [a, b] is (sequentially)
compact.
Lemma. If M is compact, every open cover of M has a countable subcover.
Theorem. If M is sequentially compact, then it is topologically compact.
S S
Proof. Say that M ⊆ G1 G2S · · · has a countable subcover. Need to show that there
is a finite subcover, i.e. M ⊆ nk=1 Gk for some n.
Suppose that fails for every n; then for every n = 1, 2, . . ., there would exist
n
[
xn ∈ M \ Gk .
k=1
That sequence would have a convergent subsequence {xnk }. Let x be its limit, xnk → x.
Then x would be contained in Gm for some m, and thus
xnk ∈ Gm
S S
for all nk sufficiently large, which is impossible for nk > m (since xnk ∈ M \G1 ··· Gnk ).
We have reached a contradiction. So there must be a finite subcovering.
Problem (S’02, #3). If M is topologically compact, then it is sequentially com-
pact.
Proof. Let xn ∈ M and E be the range of {xn }. If E is finite, then there is x ∈ E and
a sequence {ni }, with n1 < n2 < . . ., such that
xn1 = xn2 = · · · = x
The subsequence {xni } converges to x.
If E is infinite, E has a limit point x in M (as an infinite subset of a compact
set). Every neighborhood of x contains infinitely many points of M . For each k, B 1 (x)
k
contains infinitely many xn ’s. Select one and call it xnk , such that, nk > nk−1 > . . ..
We have a subsequence {xnk } so that d(x, xnk ) < k1 → 0. ⇒ xnk → x.
Problem (F’02, #1). LetTK be a compact subset and F be a closed subset in the
metric space X. Suppose K F = φ. Prove that
0 < inf{d(x, y) : x ∈ K, y ∈ F }.
Proof. Given x ∈ K, x ∈ / F , dx = d(x, F )T> 0. Then, the ball centered at that x with
radius dx /2, i.e. B dx (x), satisfies B dx (x) F = φ. Since x was taken arbitrary, this is
2 2
true ∀x
S ∈ K, x ∈
/ F .
K ⊂ x∈K B dx (x). Since K is compact, ∃x1 , . . . , xn ∈ K, n < ∞, such that
S 2 T
K ⊂ nk=1 B dx (xk ), and B dxk (xk ) F = φ. Since mink {dxk } > 0, we have
2 2
0 < inf{d(x, y) : x ∈ K, y ∈ F }.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 17
7 Continuity
Limits of Functions: limx→p f (x) = q if:
∀² > 0, ∃ δ such that ∀x ∈ E 0 < |x − p| < δ ⇒ |f (x) − q| < ².
A function f is continuous at p: limx→p f (x) = f (p) if:
∀² > 0, ∃ δ such that ∀x ∈ E |x − p| < δ ⇒ |f (x) − f (p)| < ².
Negation: f is not continuous at p if:
∃ ² > 0, ∀δ such that ∃x ∈ E |x − p| < δ ⇒ |f (x) − f (p)| > ².
f is uniformly continuous on X if:
∀² > 0, ∃ δ such that ∀x, z ∈ X |x − z| < δ ⇒ |f (x) − f (z)| < ².
Negation: f is not uniformly continuous on X if:
∃ ² > 0, ∀δ such that ∃x, z ∈ X |x − z| < δ ⇒ |f (x) − f (z)| > ².
Examples: f (x) = x1 on (0, 1] and f (x) = x2 on [1, ∞) are not uniformly continuous.
Theorem. f : X → Y is continuous ⇔ f −1 (V ) is open in X for every open set V in
Y.
Proof. 7 ⇒ Suppose f is continuous on X. Let V be an open set in Y . We have
to show that every point of f −1 (V ) is an interior point of f −1 (V ). Let x ∈ f −1 (V ).
Choose ² such that B² (f (x)) ⊂ V . Since f is continuous8 , ∃ δ > 0 such that f (Bδ (x)) ⊂
B² (f (x)) ⊂ V . Hence, Bδ (x) ⊆ f −1 (V ). Since f −1 (V ) contains an open ball about
each of its points, f −1 (V ) is open.
⇐ Suppose f −1 (V ) is open in X for every open set V in Y . Let x ∈ X and let
² > 0. Then f −1 (B² (f (x))) is open in X. Hence, ∃ δ such that Bδ (x) ⊂ f −1 (B² (f (x))).
Applying f , we obtain f (Bδ (x)) ⊂ B² (f (x)), and so f is continuous.
Problem (S’02, #4; S’03, #1). A function f : (0, 1) → R is the restriction to (0, 1)
of a continuous function F : [0, 1] → R ⇔ f is uniformly continuous on (0, 1).
Proof. ⇐ We show that if f : (0, 1) → R is uniformly continuous, then there is a
continuous F : [0, 1] → R with F (x) = f (x) for all x ∈ (0, 1).
Let xn be a sequence in (0, 1) converging to 0. Since f is uniformly continuous,
given ² > 0, ∃δ, s.t. |x − y| < δ ⇒ |f (x) − f (y)| < ². Therefore, we have
|f (xn ) − f (xm )| < ²
for n, m large enough. f (xn ) is a Cauchy sequence, so it converges to some ξ. Define
F (0) = limn→∞ f (xn ) = ξ. We want to show that this limit is well defined. Let yn
be another sequence, s.t. yn → 0, so f (yn ) is Cauchy by the same argument. Since
the sequence (f (x1 ), f (y1 ), f (x2 ), f (y2 ), . . .) is Cauchy by still the same argument, and
that there is a subsequence f (xn ) → ξ, then the entire sequence converges to ξ. Thus,
F (0) = limn→∞ f (xn ) = ξ is well defined.
By the same set of arguments, F (1) = η. The function F : [0, 1] → R given by
f (x) for x ∈ (0, 1),
F (x) = ξ for x = 0,
η for x = 1.
is the unique continuous extension of f to [0, 1].
⇒ F : [0, 1] → R is continuous, and [0, 1] is compact. Therefore, F is uniformly
continuous on [0, 1]. Thus, f = F |(0,1) : (0, 1) → R is uniformly continuous.
7
Gamelin, Green, p. 26; Edwards, p. 51.
8
f continuous at x ⇒ ∀² > 0, ∃ δ such that z ∈ Bδ (x) ⇒ f (z) ∈ B² (f (x)), or f (Bδ (x)) ⊂ B² (f (x)).
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 18
Proof. 1) Let {Vα } be an open cover of f (X), (Vα ⊂ Y ). Since f is continuous, f −1 (Vα )
is open. Since X is compact, there are finitely many α1 , . . . , αn , such that
[ [
X ⊂ f −1 (Vα1 ) . . . f −1 (Vαn ).
⇒ f (X) is compact.
Proof. 2) Let {yn } be a sequence in the image of f . Thus we can find xn ∈ X, such
that yn = f (xn ). Since X is compact the sequence {xn } has a convergent subsequence
{xnk } with limit s ∈ X. Since f is continuous,
Hence, the given sequence {yn } has a convergent subsequence which converges in f (X).
⇒ f (X) is compact.
Proof. By theorem above, the image f (K) is closed and bounded. Let b be its least
upper bound. Then b is adherent to f (K). Since f (K) is closed ⇒ b ∈ f (K), that is
∃x0 ∈ K, such that b = f (x0 ), and thus f (x0 ) ≥ f (x), ∀x ∈ K.
Proof. 1) f is continuous ⇒ f ([a, b]) is compact ⇒ f ([a, b]) is closed and bounded.
2) φ 6= f ([a, b]) ≤ M . Let M0 = sup f ([a, b]) ⇒ M0 ∈ closure(f ([a, b])) = f ([a, b]) ⇒
∃x0 ∈ [a, b] : f (x0 ) = M0 .
3) [a, b] is connected ⇒ f ([a, b]) is connected ⇒ f ([a, b]) is an interval.
Proof. 9 Suppose that f is not uniformly continuous. Then there exist ² > 0 and
(setting δ = 1/k in the definition) points xk , zk ∈ X 10 such that |xk − zk | < 1/k while
|f (xk ) − f (zk )| ≥ ². Passing to a subsequence, we can assume that xk → x ∈ X.11
Since |xk − zk | → 0, we also obtain zk → x. Since f is continuous, f (xk ) → f (x)
and f (zk ) → f (x), so that |f (xk ) − f (zk )| ≤ |f (xk ) − f (x)| + |f (x) − f (zk )| → 0, a
contradiction.
9
Gamelin, Green, p. 26-27; Rudin, p. 91.
10
See the technique of negation in the beginning of the section.
11
Since {xk } is Cauchy, and the convergent subsequence can be constructed, xk → x.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 19
From this and the Uniform Convergence and Integration theorem, we obtain
Z x
f (x) = lim fn (x) = lim fn (a) + lim fn0 ,
n→∞ n→∞ n→∞ a
Z x
f (x) = f (a) + g.
a
Another application of the Fundamental Theorem yields f 0 = g as desired.
To see that convergence of fn → f is uniform, note that
¯Z x Z x ¯ Z x
¯ 0 ¯
|fn (x) − f (x)| = ¯ fn − g ¯ + |fn (a) − f (a)| ≤ |fn0 − g| + |fn (a) − f (a)|
a a a
≤ (b − a)||fn0 − g||∞ + |fn (a) − f (a)|.
The uniform convergence of fn therefore follows from that of fn0 .
is complete.
the uniform convergence of ϕn and ϕ0n implies that ϕn → ϕ with respect to the C 1 -norm
of C 1 [a, b]. Thus every Cauchy sequence in C 1 [a, b] converges.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 21
8.3 Equicontinuity
A family F of functions f defined on a set E ⊂ X is equicontinuous on E if:
∀² > 0, ∃ δ, such that |x − y| < δ, x, y ∈ E, f ∈ F ⇒ |f (x) − f (y)| < ².
9 Connectedness
9.1 Relative Topology
Define the neighborhood of a point in Rn as N² (x) = {y : |x − y| < ²}. Consider the
subset of Rn , M ⊆ Rn . If all we are interested in are just points in M , it would be more
natural to define a neighborhood of a point x ∈ M as NM,² = {y ∈ M : |x − y| < ²}.
Thus, the relative neighborhood is just a restriction of the neighborhood in Rn to M .
Relative interior points and relative boundary points of a set, as well as a relative open
set and a relative closed set, can be defined accordingly.
Alternative definitions: T
S ⊆ M (⊆ Rn ) is open relative to M if there is an open set U in Rn such that S = U M .
S ⊆ M n n
T(⊆ R ) is closed relative to M if there is a closed set V in R such that
S = V M.
Example: A set S = [1, 4) is open T relative to M = [1, 10] ⊆ R since for the open set
U = (0, 4) in R, we have S = U M . S
Example: A set S = [1, 3] is open relative
T to M = [1, 3] [4, 6] ⊆ R since for the open
set U = (0, 4) in R, we have S = U M .
9.2 Connectedness
X is connected if it cannot be expressed as a disjoint12 union of two nonempty subsets
that are both open and closed.
S i.e. T
M is connected if M = A B, such Fthat A, B open and A B = φ, then A or B is
empty; or, M is connected if M = A B, A, B open ⇒ A = φ or B = φ.
Fact: X is connected ⇔ X and φ are the only subsets which are clopen.
SX is disconnected
T if there are closed and open subsets A and B of X such that
A B = X, A B = φ, A 6= φ, B 6= φ.
Another way of phrasing: X is disconnected if there is a closed and open U ⊂ X,
such that U 6= φ and U 6= X. If there is such a U , then the complement V = X \ U
of U is also both closed and open and X is the disjoint union of the nonempty sets U
and V .
A subset of a space is a connected subset if it is connected in the relative topology.
12 T
A B = φ, then A and B are disjoint.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 22
Note: Since [a, b) and (a, b) can be expressed as the union of an increasing sequence
of compact intervals, these are also connected.
T S
Theorem. Let Sα ⊆ M , Sα connected. Suppose Sα 6= φ. Then Sα is connected.
S F S
Proof. Let S T
= Sα = G H, T G,F H areTopen in Sα .
Choose x0 ∈T Sα . Sα = (ST α G) (Sα H). Assume S x0 ∈TG. Since Sα is connected
S
and x0 ∈ Sα G, we get Sα H = φ, ∀α. Therefore, ( Sα ) H = φ. Since H ⊆ Sα
⇒ H = φ. Therefore, S is connected.
Corollary. R is connected.
S T
Proof. Let R = n∈N [−n, n], 0 ∈ [−n, n]. Therefore, R is the union of connected
subsets. By the theorem above, R is connected.
Proof. Let fθ (t) = t(cos θ, sin θ), −1 < t < 1. We have fθ : (−1, 1) → (t cos θ, t sin θ).
Since fθ is continuous and (−1, 1) is connected, fθ ((−1,
S 1)) is connected. The unit ball
can be expressed as {(x, y) ∈ R2 : x2 + y 2 < 1} = 0≤θ<π S fθ (t). We know that the
origin is contained in the intersection of fθ ’s. Therefore, 0≤θ<π fθ (t) is connected by
the theorem above.
13 S T c
If M =SG H, G H = φ and G, H are open, then G is closed and open, S since G = H .
MT= [0, 1] [2, 3] is not connected because if G = [0, 1], H = [2, 3], M = G H, G, H are clopen in M ,
G H = φ, and G, H 6= φ.
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 23
Proof. If a, b belong to an interval (of any kind), then γ(t) = (1 − t)a + tb, 0 ≤ t ≤ 1,
defines a path from a to b in the interval.
Problem (S’03, #3). Find S ⊂ R such that both (i) and (ii) hold for S:
(i) S is not the countable union of closed sets (not Fσ );
(ii) S is not the countable intersection of open sets (not Gδ ).
S
Proof.
S Let A ⊆ [0, 1] not
S FσS, B ⊆ [2, 3] not Gδ ⇒ A B is neither Fσ nor Gδ .
If A B is Fσ , say A B = Fn ⇒
|{z}
closed
[ \ [ \ [ \
A=A B [0, 1] = Fn [0, 1] = (Fn [0, 1]) ≡ Fσ set ⇒ contradiction.
| {z }
closed
S S T
If A B is Gδ , say A B= Gn ⇒
|{z}
open
[ \ 3 7 \ \ 3 7 \ \ 3 7
B=A B ( , )= Gn ( , ) = (Gn ( , )) ≡ Gδ set ⇒ contradiction.
2 2 2 2 | {z2 2 }
open
Problem. Q is not open, is not closed, but is the countable union of closed sets (Fσ
set).
Problem. The set of isolated points of a countable complete metric space X forms a
dense subset of X.
Proof. For each point x ∈ X that is not an isolated point of X, define Ux = X \ {x}.
Each such Ux is open and dense in X, and the intersection of the Ux ’s consists precisely
of the isolated points of X. By the Baire Category Theorem, the intersection of the
Ux ’s is dense in X.
Problem. Suppose that F is a subset of the first category in a metric space X and E
is a subset of F . Prove that E is of the first category in X. Show by an example that
E may not be of the first category in the metric space F .
S S T
Proof.
T If F = Fn , where each Fn is nowhere dense, then E = (E Fn ),2 and each
E Fn is nowhere dense. For example, note the R is of first category in R , but R is
not of first category in itself.
Problem. Any countable union of sets of the first category in X is again of the first
category in X.
Problem. a) If a, b ∈ R satisfy a < b, then there exists a rational number q ∈ (a, b).
b) The set Q of rational numbers is dense in R.
Proof. If i is any irrational number, and if q is rational, then q + i/n is irrational, and
q + i/n → q.
Problem. Regard the rational numbers Q as a subspace of R. Does the metric space
Q have any isolated points?
Proof. The rationals have no isolated points. This does not contradict the above, i.e.
”The set of isolated points of countable complete metric space X forms dense subset of
X”
because the rationals are not complete.
Problem. Every open subset of R is a union of disjoint open intervals (finite, semi-
infinite, or infinite).
Proof. For each x ∈ U , let Ix be the union of all open intervals containing x that are
contained in U . Show that each Ix is an open interval (possibly infinite or semi-infinite),
any two Ix ’s either coincide or are disjoint, and the union of the Ix ’s is U .
11 Integration
11.1 Riemann Integral
Let [a, b] be a given interval. A partition P of [a, b] is a finite set of points x0 , . . . , xn :
so that S(P, f ) is bounded. This shows that Riemann sums are defined for every
bounded function f .
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 27
Proof. See the section on “Sequences and Series of Functions: Normed Vector Spaces”
where the weaker statement is proved, i.e. {fn } ∈ C 1 , fn → f pointwise on [a, b].
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 30
12 Differentiation
12.1 R→R
12.1.1 The Derivative of a Real Function
Let f : (a, b) → R, x0 ∈ (a, b). f is differentiable at x0 if
f (x) − f (x0 )
f 0 (x0 ) = lim
x→x0 x − x0
Proof.
f (x) − f (x0 )
lim (f (x) − f (x0 )) = lim · lim (x − x0 ) = f 0 (x0 ) · 0 = 0.
x→x0 x→x0 x − x0 x→x0
Lemma. If f 0 (c) > 0, then f is locally strictly increasing at c, i.e., ∃δ > 0 such that:
c − δ < x < c ⇒ f (x) < f (c),
c < x < c + δ ⇒ f (c) < f (x).
f (x)−f (c) f (x)−f (c)
Proof. limx→c x−c > 0 ⇒ ∃δ > 0: x−c > 0 whenever 0 < |x − c| < δ.
f (x)−f (c)
Thus since f (x) − f (c) = (x
− c), (x 6= c), we have
x−c
c − δ < x < c ⇒ f (x) − f (c) < 0,
c < x < c + δ ⇒ f (x) − f (c) > 0.
Corollary. If f has a max (or a min) at c ∈ (a, b), i.e. f (x) ≤ f (c) (or f (x) ≥ f (c))
for all x, then f 0 (c) = 0.
Proof. Say f 0 (c) 6= 0. Say f 0 (c) > 0. Then x > c ⇒ f (x) ≤ f (c) (since f has a max
at c), contradicting the lemma above. Proofs of other conditions are similar.
Proof. Let M = sup{f (x) : x ∈ [a, b]}, m = inf{f (x) : x ∈ [a, b]}.
Then m ≤ f (a) = f (b) ≤ M . If M = m ⇒ f (x) = f (a), ∀x ⇒ f 0 (c) = 0, ∀c ∈ (a, b).
Say f (a) = f (b) < M ~. Then choose c ∈ [a, b] : f (c) = M . From ~, c ∈ (a, b). We
have from corollary, f 0 (c) = 0.
Similarly, say m < f (a) = f (b) }. Then choose c ∈ [a, b] : f (c) = m. From },
c ∈ (a, b). We have from corollary, f 0 (c) = 0.
f (b) − f (a)
f 0 (c) = .
b−a
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 31
f (b)−f (a)
Proof. Let g(x) = f (x) − b−a (x − a). Then g(a) = g(b) = f (a). By Rolle’s
Theorem, ∃c ∈ (a, b), such that 0 = g 0 (c) = f 0 (c) − f (b)−f
b−a
(a)
.
12.2 R → Rm
f : R → Rm is differentiable at c ∈ R if there exists a linear map L : R → Rm such
that
||f (c + h) − f (c) − L(h)||
lim = 0.
h→0 ||h||
f10 (c)
..
in which case L is defined by L = dfc = f 0 (c) = . .
0
fm (c)
The linear mapping dfc : R → Rm is called the differential of f at c. The matrix of
the linear mapping f 0 (c) is the derivative. The differential is the linear mapping whose
matrix is the derivative.
12.3 Rn → Rm
Let U ⊆ Rn open, c ∈ U . f : U → Rm is differentiable at c if there exists a linear
map L : Rn → Rm such that
∂f1 ∂f1
∂x1 ··· ∂xn
L = dfc = f 0 (c) = · ··· ·
∂fm ∂fm
∂x1 ··· ∂xn x=c
f (c + tv) − f (c)
Dv f (c) = lim
t→0 t
provided that the limit exists. In particular, the partial derivatives of f at c are
∂fi
Theorem16 . If ∂xj exist and are continuous on G, then at each c ∈ G,
h ∂f i ∂fi
i
dfc = f 0 (c) = (c) . (i.e. continuous ⇒ f dif f erentiable).
∂xj ∂xj
16
Edwards, Theorem 2.5
Real Analysis and Multivariable Calculus Igor Yanovsky, 2005 34
In terms of derivatives
The fact that F and G are differentiable at a and F (a), respectively, implies that
H(a + h) − H(a) = G(F (a + h)) − G(F (a)) = G(F (a) + (F (a + h) − F (a))) − G(F (a))
= [k=F (a+h)−F (a) in (12.2)]= dGF (a) (F (a + h) − F (a)) + ||F (a + h) − F (a)|| · ψ̃(F (a + h) − F (a))
¯¯ ¯¯
= (12.1) = dGF (a) (dFa (h) + ||h||ϕ(h)) + ¯¯dFa (h) + ||h||ϕ(h)¯¯ · ψ̃(F (a + h) − F (a))
¯¯ h ¯¯
¯¯ ¯¯
= dGF (a) ◦ dFa (h) + ||h||dGF (a) (ϕ(h)) + ||h||¯¯dFa ( ) + ϕ(h)¯¯ · ψ̃(F (a + h) − F (a))
||h||
£ ¤ h i· ∂x ∂x ¸ h i £ ¤
· ∂x ∂x ¸−1
∂w ∂w ∂w ∂w ∂r ∂θ ∂w ∂w ∂w ∂w ∂r ∂θ
∂r ∂θ = ∂x ∂y ∂y ∂y ⇒ ∂x ∂y = ∂r ∂θ ∂y ∂y
∂r ∂θ ∂r ∂θ
∂f
Example 2. f (x, y, z) = 0, ∂z 6= 0 ⇒ z = h(x, y), f (x, y, h(x, y)) ≡ 0.
For example, can solve for ∂z
∂x :
∂
0 = ∂x f (x, y, h(x, y)) = ∂f ∂x ∂f ∂y
∂x ∂x + ∂y ∂x +
∂f ∂z
∂z ∂x =
∂f
∂x + ∂f ∂z
∂z ∂x .
∂z ∂f ∂f
⇒ ∂x = − ∂x / ∂z .
∂y ∂x ∂ ∂
Similarly, can solve for ∂z and ∂y , from ∂z f (x, y(x, z), z) and ∂y f (x(y, z), y, z),
∂x ∂y ∂z
respectively, and show ∂y ∂z ∂x = −1.
Proof. Define γ : [0, 1] → [a, b] as γ(t) = a + t(b − a) = (1 − t)a + tb, t ∈ [0, 1].
Then γ 0 (t) = b − a. Let g = f ◦ γ. R →γ Rn →f R
Since g : [0, 1] → R, then by single-variable MVT, ∃ξ ∈ [0, 1], such that g(1) − g(0) =
g 0 (ξ). If c = γ(ξ), then
∂ ∂f ∂ ∂f
12.3.3 ∂x ( ∂y ) = ∂y ( ∂x )
Theorem. Let f : U ⊆ Rn → R. If f, ∂f ∂f
∂x , ∂y exist and are continuous on U and
∂2f ∂2f
∂x∂y , ∂y∂x exist on U and are continuous at a, then
∂ ³ ∂f ´ ∂ ³ ∂f ´
= on U.
∂x ∂y ∂y ∂x
f (n) (a) n
Pn (h) = f (a) + f 0 (a)h + · · · + h
n!
Mean Value Theorem (R → R, Revisited). f : [a, b] → R. Suppose that f 0 exists
on [a, b]. h = b − a. Then ∃ξ between a and b such that
R0 (h) = f 0 (ξ)h
R0 (h)
ϕ(t) = R0 (t) − t ⇒ ϕ(0) = ϕ(h) = 0
h
⇒ By Rolle’s theorem, ∃c ∈ (0, h) such that
R0 (h) R0 (h)
0 = ϕ0 (c) = R00 (c) − = f 0 (a + c) −
h h
⇒ For ξ = a + c, R0 (h) = f 0 (ξ)h.
Taylor’s Theorem (R → R). f : [a, b] → R. Suppose that f (n+1) exists on [a, b].
h = b − a. Then ∃ξ between a and b such that
Rn (h) n+1
ϕ(t) = Rn (t) − t ⇒ ϕ(0) = ϕ(h) = 0
hn+1
⇒ By Rolle’s theorem, ∃c1 ∈ (0, h) such that ϕ0 (c1 ) = 0.
It follows from (12.3) and (12.4) that
Rn (h)
ϕ(n+1) (t) = f (n+1) (a + t) − (n + 1)! (12.6)
hn+1
Therefore, we can apply Rolle’s theorem to ϕ0 on [0, c1 ] to obtain c2 ∈ (0, c1 ) such that
ϕ00 (c2 ) = 0.
By (12.5), ϕ00 satisfies the hypothesis of Rolle’s theorem on [0, c2 ], so we can continue
in this way. After n + 1 applications of Rolle’s theorem, we obtain cn+1 ∈ (0, h)
f (n+1) (ξ) n+1
such that ϕ(n+1) (cn+1 ) = 0. From (12.6) we obtain Rn (h) = (n+1)! h where
ξ = a + cn+1 .
Problem (F’03, #5). Assume f : R2 → R is a function such that all partial deriva-
tives of order 3 exist and are continuous. Write down (explicitly in terms of partial
derivatives of f ) a quadratic polynomial P (x, y) in x and y such that
3
|f (x, y) − P (x, y)| ≤ C(x2 + y 2 ) 2
for all (x, y) in some small neighborhood of (0, 0), where C is a number that may depend
on f but not on x and y. Then prove the above estimate.
(b) What is the smallest value of M (in terms of A) for which this always works?
(c) Give an example where that value of M makes the inequality an equality.
Proof. There are uncountably many xα ’s in [0, 1], and for each xα ∈ [0, 1], ∃mα > 0
such that f (mα ) 6= 0 for [xα − ²α , xα + ²α ], for some ²α > 0 (since f (mα ) is continuous).
Let ² = minα (²α ). Partition [0, 1] into n = 1/² subintervals (since ² > 0, n < ∞):
Problem (S’03, #4). Consider the following equation for a function F (x, y) on R2 :
∂2F ∂2F
= ~
∂x2 ∂y 2
(a) Show that if a function F has the form F (x, y) = f (x+y)+g(x−y) where f : R → R
and g : R → R are twice differentiable, then F satisfies the equation ~.
(b) Show that if F (x, y) = ax2 + bxy + cy 2 , a, b, c ∈ R, satisfies ~ then
F (x, y) = f (x + y) + g(x − y) for some polynomials f and g in one variable.
Proof. (a) Let ξ(x, y) = x + y, η(x, y) = x − y, so F (x, y) = f (ξ(x, y)) + g(η(x, y)). By
Chain Rule,
∂F df ∂ξ dg ∂η df dg df dg
= · + · = ·1+ ·1= + ,
∂x dξ ∂x dη ∂x dξ dη dξ dη
µ ¶
∂2F ∂ df dg 2
d f ∂ξ 2
d g ∂η d2 f d2 g
= + = 2 · + 2· = + ,
∂x2 ∂x dξ dη dξ ∂x dη ∂x dξ 2 dη 2
∂F df dg ∂2F d2 f d2 g ∂2F ∂2F
and similarly = − , and = + , and thus , = .
∂y dξ dη ∂x2 dξ 2 dη 2 ∂x2 ∂y 2
(b) Suppose F (x, y) = ax2 + bxy + cy 2 , a, b, c ∈ R satisfies ~, then
∂F ∂2F ∂F ∂2F
= 2ax + by ⇒ = 2a, = 2cy + bx ⇒ = 2c ⇒ a = c.
∂x ∂x2 ∂y ∂y 2
(x + y)2 + (x − y)2 (x + y)2 − (x − y)2
F (x, y) = ax2 + bxy + ay 2 = a(x2 + y 2 ) + bxy = a +b .
2 4
∇f (p) = λ∇g(p)
Problem (S’03, #5). Consider the function F (x, y) = ax2 + 2bxy + cy 2 on the set
A = {(x, y) : x2 + y 2 = 1}.
(a) Show that F has a maximum and minimum on A.
(b) Use Lagrange multipliers to show that if the maximum of F µ on A occurs
¶ at a point
a b
(x0 , y0 ), then the vector (x0 , y0 ) is an eigenvector of the matrix .
b c
Proof. (a) Since F is continuous and the circle is closed and bounded, F attains both
a maximum and minimum values on the unit circle g(x, y) = x2 + y 2 − 1 = 0.
(b) Applying the above theorem, we obtain the three equations (for x, y, λ)
Ifx∗∗ were another fixed point of ϕ, we would have |x∗ − x∗∗ | = |ϕ(x∗ ) − ϕ(x∗∗ )| ≤
k|x∗ − x∗∗ |. Since k < 1, it follows that x∗ = x∗∗ , so x∗ is the unique fixed point of
ϕ.
ϕ(x) = x − f (x) + y.
We want to show that ϕ is a contraction mapping of Br ; its unique fixed point will
then be the desired point x ∈ Br such that f (x) = y.
To see that ϕ maps Br into itself:
This will prove that g 0 (0) = I. Applying (13.2) with a = 0, b = g(h), h = f (b), we
get
² ²
||g(h) − h|| ≤ ²||b|| ≤ by (13.3) ≤ ||f (b)|| = ||h||
1−² 1−²
||g(h)−h||
Therefore, lim|h|→0 ||h|| = 0, with g 0 (0) = I.
g(f (x)) = x f or x ∈ U,
f (g(y)) = y f or y ∈ V. )
Proof. Fix a ∈ U and let b = f (a). Put T = f 0 (a), a matrix / linear map. Define
f˜(h) = T −1 (f (a + h) − b) = T −1 (f (a + h) − f (a))
Problem (S’02, #7; W’02, #7; F’03, #6). Suppose F : R2 → R2 is C 1 and that
the Jacobian matrix of F is everywhere nonsingular. Suppose that F (0) = 0 and that
||F (x, y)|| ≥ 1 for all (x, y) with ||(x, y)|| = 1. Denote U = {(x, y) : ||(x, y)|| < 1}.
Prove that F (U ) ⊃ U . T
Hint: Show that F (U ) U is both open and closed in U .
T T
Proof. Since TU is connected, clopenness of F (U ) U in U implies that either F (U ) U =
U or F (U ) U =Tφ. Since there exists a point, namely 0 such that it T is inside both U
and F (U ), F (U ) T U cannot be empty, and thus clopenness of F (U ) U in U would
imply that F (UT ) U = U (which would mean U ⊆ F (U )).
1) Show F (U ) U is open in U .
F (U ) is open in R2 . Say y0 ∈ F (U ), y0 = F (x0 ), F 0 (x0 ) invertible. By inverse func-
tion thm, F maps open set T U0 onto open set V0 ; x0 ∈ U0 ⇒ y0 = F (x0 ) ∈ V0 .
y0 ∈ V0 ⊆ F (U )T⇒ F (U ) U is open in U .
2) Show F (U ) T U is closed in U .
Say xn ∈ F (U ) U , xn → x∗ ∈ U .
xn = F (yn ), yn ∈ U ⊂ U .
There is a subsequence ynk → y ∈ U .
Since F is continuous, F (ynk ) → F (y) = x∗ .
||y|| = 1 ⇒ ||F (y)|| ≥ 1 ⇒ F (y) = x∗ ∈ / U . Contradiction.
Similarly, we can find a set of functions g, h by choosing a matrix in each of the other
two cases, i.e. when ∂f ∂f
∂y (0) 6= 0 and ∂z (0) 6= 0.
Proof. Since F 0 (v0 ) is onto, the matrix F 0 (v0 ) has rank 2. So, 2 of the 3 columns of
F 0 (v0 ) are linearly independent.
" #
∂f1 ∂f1 ∂f1
F 0 (v0 ) = ∂x1
∂f2
∂x2
∂f2
∂x3
∂f2 .
∂x1 ∂x2 ∂x3 v0
f (x, y + h) − f (x, y) ∂f
= (x, y + ch).
h ∂y