Professional Documents
Culture Documents
Contents
1 Countability
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
8 Sequences and Series of Functions
8.1 Pointwise and Uniform Convergence
8.2 Normed Vector Spaces . . . . . . . .
8.3 Equicontinuity . . . . . . . . . . . .
8.3.1 Arzela-Ascoli Theorem . . . .
.
.
.
.
19
19
19
21
21
9 Connectedness
9.1 Relative Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2 Connectedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3 Path Connectedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
21
21
23
24
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
11 Integration
26
11.1 Riemann Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
11.2 Existence of Riemann Integral . . . . . . . . . . . . . . . . . . . . . . . . 27
11.3 Fundamental Theorem of Calculus . . . . . . . . . . . . . . . . . . . . . 27
12 Differentiation
12.1 R R . . . . . . . . . . . . . .
12.1.1 The Derivative of a Real
12.1.2 Rolles Theorem . . . .
12.1.3 Mean Value Theorem .
12.2 R Rm . . . . . . . . . . . . .
12.3 Rn Rm . . . . . . . . . . . .
12.3.1 Chain Rule . . . . . . .
12.3.2 Mean Value Theorem .
f
f
12.3.3 x
( y ) = y
( x ) . . . .
12.4 Taylors Theorem . . . . . . . .
12.5 Lagrange Multipliers . . . . . .
. . . . . .
Function
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
30
30
30
30
30
31
31
34
35
36
37
40
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
41
41
41
44
46
Countability
injection f : S , T surjection g : T S.
Theorem. Q is countable.
Proof. Need to show that there is a bijection f : N Q.
Since N Q, card N card Q, and therefore, f that is injective.
To show card N card Q, construct the following map. The set of all rational numbers
can be displayed in a grid with rows i = 1, 2, 3, . . . and columns j = 0, 1, 1, 2, 2, 3, 3, . . ..
Each aij , the ijth entry in a table, would be represented as ji . Starting from a11 , and
assigning it n = 1, move from each subsequent row diagonally left-down, updating n.
This would give a map g : N Q, which will count all fractions, some of them more
than once. Therefore, card N card Q, and so g is surjective. Thus, card N = card Q,
and Q is countable.
Theorem. R is not 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
2
Problem (F01, #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. 1) Let A be a countable subset of S, and let A consist of the sequences s1 , s2 , . . ..
We construct the sequence s as follows. If the nth digit in sn is 1, let the nth digit of
s be 0, and vice versa. Then the sequence s differs from every member of A in at least
one place; thus s
/ A. However, s S, so that A is a proper3 subset of S.
Thus, every countable subset of S is a proper subset of S, and therefore, S is not
countable.
Proof. 2) Suppose there exists a f : N S that is injective. We can always exhibit an
injective map f : N S by always picking a different sequence from the set of sequences
that are already listed. (One way to do that is to choose a binary representation for
each n N).
Suppose f : N S is surjective. Then, all sequences in S could be listed as
s1 , s2 , . . .. We construct the sequence s as follows. If the nth digit in sn is 1, let the
nth digit of s be 0, and vice versa. Then the sequence s differs from every member of
the list. Therefore, s is not on the list, and our assumption about f being surjective is
false. Thus, there does not exist f : N S surjective.
Theorem. card (A) < card (P (A))4 .
Proof. card (A) card (P (A)), since A can be injectively mapped to the set of oneelement 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.
Proof. Let E = {x [0, 1] : f is discontinuous at x}. Given any x E, we know that
limtx f (t) < limtx+ f (t)
and, using this fact, we choose r(x) Q such that limtx f (t) < r(x) < limtx+ f (t).
We have defined a 1 1 function r : E Q.
3
T
S
Proof. Let A = ( E )c and B = ( Ec ). If x
A, then x
/ E , hence x
/ E for
T
any , hence x Ec for every , so that x Ec . Thus A B.
S
Conversely, ifSx B, then x Ec for every , hence x
/ E for any , hence x
/ E ,
so that x ( E )c . Thus B A.
Theorem.
a) For any
b) For any
c) For any
d) For any
S
collection G of open sets, T G is open.
collection F of closed sets, F is closed.
T
finite collection G1 , . . . , Gn of open sets, Sni=1 Gi is open.
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,
[
\
\
[
(2.1)
( F )c = (Fc ) ( F )c = (Fc ),
T
and Fc 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.
T
S
d) By taking complements, d) follows from c): ( ni=1 Fi )c = ni=1 (Fic ).
Theorem.
S M X.
T
S = U M.
S open relative to M
U X open.
xS
T
T
It is clear T
that S U M . By T
our choice of Nrx (x), we have Nrx (x) M S, x S
so that U M S S = U MT.
If U is open
T in X and S = U M , every x S has a neighborhood Nrx (x) U .
Then Nrx (x) M S so that S is open relative to M .
K V1
Vn .
>
0,
N
:
|
n
k=n ak | if m n N .
P
P
The series
an is said to converge absolutely if
|an | converges.
P
Problem (S03, #2). If a1 , a2 , a3 , . . . is a sequence of real numbers with
j=1 |aj | <
PN
P
P
, then limN j=1 aj exists. (
an converges absolutely
an converges).
P
Proof. If sn = nj=1 aj is a partial sum, then for m n we have
|sn sm | = |
n
X
j=1
aj
m
X
aj | = |
j=1
n
X
j=m
aj |
n
X
|aj |
j=m
P
Since
|aj | converges, given > 0, N , s.t. m, n N (m n), then nj=m |aj | < .
P
Thus {sn } is a Cauchy sequence in R, and converges. limN N
j=1 aj exists.
Problem (F01, #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
a(n) = .
n=1
Proof. an = (1)n n1 a1 = 1, a2 = 12 , a3 = 13 , a4 = 14 , . . ..
a
n = 1, 2, . . . P
2n > 0, a2n1 < 0, P
P
1 P 1
1
1
(positive terms) =
n=1 n diverges, and limn 2n =
n=1 2n = 2
n=1 a2n =
0.
P
P
P
1
a2n1 =
(negative terms) =
diverges by comparison with
n=1 2n1
n=1
P 1
1
n=1 2n , and limn 2n1 = 0.
Claim:
R, there is a one-to-one and onto mapping : N N such that
P
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,
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 , . . .} .
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+1
an | < 1,
b) diverges if | an+1
|
1
for
all
n n0 , where n0 is some fixed integer.
an
Alternating Series. Suppose
(a) |a1 | |a2 | . . . ;
(b) a2m1 0, a2m 0, m = 1, 2, 3, . . . ;
(c) limP
n an = 0.
Then
an converges.
Geometric Series. |x| < 1 :
xk =
k=0
P roof :
1
.
1x
Sn = 1 + x + x2 + + xn
2
~
n+1
xSn = x + x + x + + x
n+1
~ } = (1 x)Sn = 1 x
n
X
1 xn+1
xk =
Sn =
1x
k=0
10
11
prove that
4
= 1 x2 + x4 x6 + x8
= 1
1 1 1 1
+ + .
3 5 7 9
Justify carefully all the steps (especially taking the limit as x 1 from below).
Proof. Geometric
1
1 + x2
Z
dx
1 + x2
Z 1
dx
2
0 1+x
Z 1
dx
2
0 1+x
Z
dx
1 + x2
||fn f || 0
Z b
f (x)dx
Series:
=
1 x2 + x4 x6 + x8 ;
tan1 (x) = x
=
=
x3 x5 x7 x9
+
+
.
3
5
7
9
Z b
Z b
Z b
fn (x)dx
|f (x) fn (x)|dx
||f fn || dx = (b a)||f fn || .
|x| < 1.
S is a uniform limit of SN =
N
X
(1)n x2n .
n=1
|S(x) SN (x)|
X
X
(1 )2(N +1)
(1 )2
N +1
N +1
N +1
X (1)n x2n+1
2n + 1
Alternating series test right side converges.
X (1)n
1 1 1 1
=
= 1 + + .
4
2n + 1
3 5 7 9
|x| < 1.
12
log(1 + x) =
0
dt
1+t
= 1 x + x x + =
(1)n xn
n=0
= x
x2
2
x3
3
x4
4
+ =
(1)n+1
n=1
xn
n
log(1 + x) is not
|x| > 1, or x < 1. Claim: If x = 1, the series converges
P valid for
n1 xn is uniformly convergent for x [0, 1], since the sum
to log 2. Proof:
(1)
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.
Binomial Series. |x| < 1 :
(1 + x)
= 1+
X
( 1) ( n + 1)
n=1
n!
x = 1 + x +
( 1) 2 ( 1)( 2) 3
x +
x +
2!
3!
x + +
xn +
= 1 + x +
n
1
n
converges as
1 n
1 n(n 1) 1
n(n 1)(n 2) 1
n(n 1)(n 2) 1 1
2+
3 + +
n
1+
= 1+n +
n
n
2!
n
3!
n
n!
n
n
X 1
1
1
1
=
e, as n .
1 + 1 + + + +
2! 3!
n!
k!
k=0
13
Notes
4.1
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 (F02, #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 }kn . 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
14
Completeness
15
||vn || <
n=1
vn < ,
n=1
K
X
(vnk+1 vnk ) = vnK+1 vn1
k=1
vnk+1 converges
vn converges.
16
Compactness
n
[
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
for all nk sufficiently large, which is impossible for nk > m (since xnk M \G1
We have reached a contradiction. So there must be a finite subcovering.
Gnk ).
K,
x
/
F
.
S
K xK B dx (x). Since K is compact, x1 , . . . , xn K, n < , such that
2
S
T
K nk=1 B dx (xk ), and B dxk (xk ) F = . Since mink {dxk } > 0, we have
2
0 < inf{d(x, y) : x K, y F }.
17
Continuity
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
8
7.1
18
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,
lim ynk = lim f (xnk ) = f (s)
Hence, the given sequence {yn } has a convergent subsequence which converges in f (X).
f (X) is compact.
Problem (F01, #1). Let K R be compact and f (x) continuous on K. Then f
has a maximum on K (i.e. there exists x0 K, such that f (x) f (x0 ) for all x K).
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.
Theorem. Let f : [a, b] R be continuous function. Then:
1) f is bounded;
2) f assumes its max and min values;
3) f (a) < p < f (b) x : f (x) = p.
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.
Theorem. f : X Y continuous and X compact. Then f is uniformly continuous.
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
8
8.1
19
(x E).
x E.
x E
nN
Thus, |f (x) f (p)| |f (x) fn (x)| + |fn (x) fn (p)| + |fn (p) f (p)| < 3 + 3 + 3 = .
Hence, given any , , s.t. |x p| < |f (x) f (p)| < , and f is continuous at
p.
8.2
Problem (F03, #7). C 0 [a, b] with the metric d(f, g) supx[0,1] |f (x) g(x)|
= ||f g|| is complete.
0
Proof. Let {n }
1 be a Cauchy sequence of elements of C [a, b]. Given > 0, choose
N such that m, n N
||m n || <
(sup norm).
Then, in particular, ||m (x) n (x)|| < /2 for each x [a, b]. Therefore {n (x)}
1
is a Cauchy sequence of real numbers, and hence converges to some real number (x).
It remains to show that the sequence of functions {n } converges uniformly to ; if so,
it will imply that is continuous on [a, b], i.e. C 0 [a, b].
Claim: For n N , (N same as above, n fixed), |(x) n (x)| < for all x [a, b].
To see this, choose m N sufficiently large (depending on x) s.t. |(x)m (x)| < /2.
|(x)n (x)| |(x)m (x)|+|m (x)n (x)| < /2+||m n || < /2+/2 = .
Since x [a, b] was arbitrary, it follows that ||n || < as desired.
20
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
0
|fn (x) f (x)| =
fn
g + |fn (a) f (a)|
|fn0 g| + |fn (a) f (a)|
a
x[a,b]
is complete.
1
Proof. Let {n }
1 be a Cauchy sequence of elements of C [a, b]. Since
x[a,b]
(C 1 norm),
x[a,b]
(C 1 norm),
(sup norm),
(sup norm)
x[a,b]
x[a,b]
and
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.
8.3
21
Equicontinuity
Arzela-Ascoli Theorem
Connectedness
9.1
Relative Topology
9.2
Connectedness
22
9.3
23
Path Connectedness
10
24
space X. Then n=1 En has empty interior. (In a complete metric space, no nonempty
open subset can be expressed as a union of countable collection of nowhere dense sets.)
Proof. T
We apply the Baire Category Theorem to the dense open sets Un = X \ E n .
Then,
n=1 Un is dense in X.
Un =
n=1
(X \ E n ) = X \
n=1
Therefore, X \
empty interior.
[
n=1
n=1 E n
is dense,
En
S
n=1 En
is nowhere dense
n=1 En
has
[
nN
Fn
{q}
Thus R can be expressed as the countable union of closed sets. By (corollary to) the
Baire Category Theorem, since R is a nonempty open subset, one of these closed sets
has a nonempty interior. It cannot be one of qs, and since any nonempty interval
contains rational numbers, it cannot be one of Fn s. Contradiction.
Problem (S02, #2; F02, #3). The set Q of rational numbers is not the countable
intersection of open sets of R (not a G set).
Show that there is a subset of R which is not the countable intersection of open subsets.
T
Proof. We take complements in the preceding theorem. Suppose Q = Gn , where
each Gn open. Then,
\
[
I=R\Q=R\(
Gn ) =
(R \ Gn ),
nN
nN
25
Problem (S03, #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.
Let
A
[0,
1]
not
F
,
B
[2,
3]
not
G
A
B is neither F nor G .
S
S
S
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
If A
B is G , say A
B=
Gn
|{z}
open
B=A
\ 3 7
\
\ 3 7
\
\ 3 7
( , )=
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).
Proof. Since any neighborhood (q , q + ) of a rational q contains irrationals, Q has
no inner points. Q is not open. Since every irrational number i is the limit of a
sequence of rationals Q is not closed. Since every one-point-set {x} R is closed
and Q is countable, say (qn ) is a sequence of all rational numbers, we find that
[
Q=
{qn }
nN
26
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.
Problem. The set of irrational 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, semiinfinite, 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
11.1
Integration
Riemann Integral
4xi = xi xi1 .
n
X
f (xi )4xi ,
xi1 xi xi .
i=1
11.2
27
Z b
Z b
|S1 S2 | = S1
f (x)dx S2
f (x)dx < + = .
2
2
a
a
> 0, > 0 such that S1 (P, f ), S2 (P, F ), P with max(4xi ) < |S1 S2 | < .
For n = 1, 2, . . ., choose S (n) (P, f ), P with max(4xi ) < 1/n. Then,
> 0, N > 0 ( = 1/N ), such that |S (n) S (m) | < , n, m N S (n) is a Cauchy
sequence of real numbers S (n) converges to some A R |S (N ) A| < , 1/N < .
Thus for any S(P, f ), P with max(4xi ) < , we have
|S A| |S S (N ) | + |S (N ) A| < 2.
Theorem. If f is continuous on [a, b] then f is integrable on [a, b].
Proof. Since f is uniformly continuous on [a, b], > 0, > 0 such that x, z
[a, b], |x z| < |f (x) f (z)| < ~. If P is any partition of [a, b] with
max(4xi ) < , then ~ implies that Mi mi , i = 1, . . . , n, and therefore
n
n
X
X
U (P, f ) L(P, f ) =
(Mi mi )4xi
4xi = (b a).
i=1
i=1
11.3
xx0
Rx
a
F (x) F (x0 )
= f (x0 ).
x x0
R x
R x
F (x) F (x0 )
a f (t)dt ax0 f (t)dt
x0 f (t)dt
f (x0 ) =
f (x0 ) =
f (x0 )
x x0
x x0
x x0
Rx
R x
R x
Rx
f (t)dt
|f (t) f (x0 )|dt
f (x0 )dt x0 (f (t) f (x0 ))dt
=
x0
= x0
x0
~
x x0
x x0
x x0
|x x0 |
Since f is continuous at x0 , given > 0, , such that x [a, b], |x x0 | <
|f (x) f (x0 )| < . Then for any t between x and x0 , we have |f (t) f (x0 )| < .
Rx
dt
~ < x0
= .
|x x0 |
Thus F 0 (x0 ) = f (x0 ).
28
Rx
Rx
d
Proof.
Since
(
f
(t)dtF
(x))
=
f
(x)f
(x)
=
0,
(x) is constant. Thus
dx
a
a f (t)dtF
Rx
Ra
some c R. In particular, 0 = a f (t)dt = F (a) + c, so that
a f (t)dt = F (x) + c, for
Rx
Rb
c = F (a). Therefore, a f (t)dt = F (x) F (a). Hence, a f (t)dt = F (b) F (a).
Integration by Parts. Suppose f and g are differentiable functions on [a, b], f 0 , g 0
R. Then
Z b
Z b
0
f (x)g (x)dx = f (b)g(b) f (a)g(a)
f 0 (x)g(x)dx.
a
Proof. Let h(x) = f (x)g(x) and apply the Fundamental Theorem of Calculus to h and
its derivative.
Z b
h0 (x)dx = h(b) h(a)
a
Z b
(f 0 (x)g(x) + f (x)g 0 (x))dx = f (b)g(b) f (a)g(a).
a
Note that h0 R.
Mean Value Theorem for Integrals. If f : [a, b] R is continuous, then
f (c)(b a) for some c [a, b].
Rb
a
f (x)dx =
FTC
Rb
a
MV T
FTC
Generalized Mean Value Theorem for Integrals. If f, g : [a, b] R are continuous and g(x) > 0 for all x [a, b], then there exists c [a, b] such that
Z b
Z b
f (x)g(x)dx = f (c)
g(x)dx.
a
Rb
Proof. Since g(x) > 0 for all x [a, b] and since g is continuous, a g(x) > 0.
Suppose f (x) attains its maximum M at x2 and minimum m at x1 .
Then m = f (x1 ) f (x) f (x2 ) = M for x [a, b], and
Z b
Z b
Z b
m
g(x)dx
f (x)g(x)dx M
g(x)dx,
a
and hence
m
Rb
a
f (x)g(x)dx
M.
Rb
a g(x)dx
Rb
a
f (x)g(x)dx
Rb
.
a g(x)dx
29
Uniform Convergence and Integration. Let {fn } be a sequence of continuous functions on [a, b] and fn f uniformly on [a, b]. Then
Z
fn (x)dx.
f (x)
f (x) fn (x)
,
x [a, b]
ba
ba
Z b
(f (x) fn (x))dx
or
Z b
Z b
f (x)dx
fn (x)dx .
The last inequality holds for all n > N , and therefore, limn
Rb
a
fn (x)dx =
Rb
a
f (x)dx.
lim fn
= lim fn
n
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].
12
30
Differentiation
12.1
RR
12.1.1
xx0
f (x) f (x0 )
x x0
xx0
xx0
f (x) f (x0 )
lim (x x0 ) = f 0 (x0 ) 0 = 0.
xx0
x x0
f (x)f (c)
xc
> 0 > 0:
f (x)f (c)
(x
xc
f (x)f (c)
xc
Rolles Theorem
Theorem. Let f be continuous on [a, b], differentiable on (a, b), and f (a) = f (b). Then
c (a, b) : f 0 (c) = 0.
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.
12.1.3
Theorem. Let f be continuous on [a, b], differentiable on (a, b). Then c (a, b):
f 0 (c) =
f (b) f (a)
.
ba
f (b)f (a)
(x a). Then g(a) = g(b)
ba
(a)
.
that 0 = g 0 (c) = f 0 (c) f (b)f
ba
31
= f (a). By Rolles
12.2
R Rm
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
L = dfc = f 0 (c) =
f1
x1
fm
x1
f1
xn
fm
xn
x=c
t0
f (c + tv) f (c)
t
provided that the limit exists. In particular, the partial derivatives of f at c are
f (c + tej ) f (c)
f (c1 , . . . , cj + t, . . . , cn ) f (c1 , . . . , cj , . . . , cn )
f
(c) = Dej f (c) = lim
= lim
t0
t0
xj
t
t
32
t0
f (c + tv) f (c)
i
1 h
lim
dfc (v) = 0,
||v|| t0
t
f (c + tv) f (c)
= dfc (v).
t
i.e. Dv f (c) exists, and equals to dfc (v).
i
h
fi
.
xj (c)
lim
t0
Den f (c) =
f
x1 (c)
mn
f
=
xn (c)
fi
xj
dfc = f 0 (c) =
33
xj
i
(c) .
(i.e.
fi
continuous f dif f erentiable).
xj
n
X
[f (c + hj ) f (c + hj1 )].
j=1
f
(c1 + h1 , . . . , cj1 + hj1 , cj + t, cj+1 , . . . , cn ) hj
xj
f
(dj ) hj ,
xj
n
X
f
f (c + h) f (c) =
(dj ) hj
xj
j=1
h1
f
f
Also considering f 0 (c) h = x
(c) x
(c) ... , we have
n
1
hn
Pn f
f
X f
f
lim
(dj )
(c) = 0,
h0
xj
xj
h
j=1
f
xj
is continuous at c.
34
Chain Rule
In terms of derivatives
H 0 (a) = G0 (F (a)) F 0 (a)
(matrix multiplication)
(h) =
Define
and
(12.1)
(k) =
The fact that F and G are differentiable at a and F (a), respectively, implies that
lim (h) = lim (k) = 0.
h0
k0
Then
H(a + h) H(a) = G(F (a + h)) G(F (a)) = G(F (a) + (F (a + h) F (a))) G(F (a))
(a + h) 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
) + (h) (F
(a + h) F (a))
= dGF (a) dFa (h) + ||h||dGF (a) ((h)) + ||h||dFa (
||h||
(a + h) F (a))
= dGF (a) ((h)) + dFa (
) + (h) (F
||h||
||h||
dGF (a) is linear continuous, and limh0 (h) = 0 limh0 dGF (a) ((h)) = 0.
(a + h) F (a)) = 0.
Since F is continuous at a and limk0 (k) = 0 limh0 (F
dFa is linear continuous bounded M, ||dFa (x)|| M ||x||.
Therefore, the limit of the entire expression above 0 dHa = dGF (a) dFa .
35
w
r
h
=
w
x
w
y
Example 2. f (x, y, z) = 0,
For example, can solve for
f
x
z
+ f
z x .
f f
z
x = x / z .
x
r
y
r
f
z 6=
z
x :
12.3.2
w
x
w
y
i
=
w
r
x
r
y
r
x
0 = x
f (x, y, h(x, y)) = f
x x + y x +
y
x
and
f z
z x
Rule =
f
x ( y )
36
f
y ( x )
f
Theorem. Let f : U Rn R. If f, f
x , y exist and are continuous on U and
2f
2f
xy , yx
f
f
=
x y
y x
on U.
g
f
= M V T = h (x, y + h) = h
(x + h, y + h)
(x, y + h) =
y
y
y
f
= M V T = h2
(x + h, y + h)
x y
where 0 < , < 1.
Let r(x, y) = f (x, y + h) f (x, y). Then,
Sh (x, y) = f (x + h, y + h) f (x + h, y) f (x, y + h) + f (x, y) = r(x + h, y) r(x, y) =
f
f
r
(x + 0 h, y + h)
(x + 0 h, y) =
= M V T = h (x + 0 h, y) = h
x
x
x
f
= M V T = h2
(x + 0 h, y + 0 h)
y x
where 0 < 0 , 0 < 1.
f
f
0
0
For each small enough h > 0, x
(x
+
h,
y
+
h)
=
y
y x (x + h, y + h).
Since the
partial derivatives
are continuous at a = (x, y), let h 0
mixed
f
f
(x,
y)
=
(x,
y).
x
y
y x
12.4
37
Taylors Theorem
(h = x a)
f (n) (a) n
h
n!
R0 (h)
t
h
(0) = (h) = 0
R0 (h)
R0 (h)
= f 0 (a + c)
h
h
f (n+1) () n+1
h
.
(n + 1)!
f (a + h) = f (a) + f 0 (a)h + +
Proof. Need to show: Rn (h) =
Pn (t), and note that
f (n+1) () n+1
.
(n+1)! h
(12.3)
(12.4)
(n+1)
since Pn
(t) 0 because Pn (t) is a polynomial of degree n.
Define : [0, h] R by
(t) = Rn (t)
Rn (h) n+1
t
hn+1
(0) = (h) = 0
(12.5)
38
Rn (h)
(n + 1)!
(12.6)
hn+1
Therefore, we can apply Rolles theorem to 0 on [0, c1 ] to obtain c2 (0, c1 ) such that
00 (c2 ) = 0.
By (12.5), 00 satisfies the hypothesis of Rolles theorem on [0, c2 ], so we can continue
in this way. After n + 1 applications of Rolles theorem, we obtain cn+1 (0, h)
(n+1) (t) = f (n+1) (a + t)
f (n+1) () n+1
(n+1)! h
where
Problem (F03, #5). Assume f : R2 R is a function such that all partial derivatives 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
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.
Proof. Taylor expand f (x, y) around (0, 0):
1 2
x fxx (0, 0) + 2xyfxy (0, 0) + y 2 fyy (0, 0)
2!
1 3
2
+
x fxxx (0, 0) + 3x yfxxy (0, 0) + 3xy 2 fxyy (0, 0) + y 3 fyyy (0, 0) + O(x4 )
3!
1
Note that |x3 |, |x2 y|, |xy 2 |, |y 3 | (x2 + y 2 ) 2 . Also, since 3rd order partial derivatives
are continuous, C1 R s.t. max{fxxx , 3fxxy , 3fxyy , fyyy } < C41 in some nbd of (0, 0).
Thus,
3
3
|f (x, y) P2 (x, y)| | 3!1 (x2 + y 2 ) 2 C1 | C(x2 + y 2 ) 2 .
39
(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.
f
Proof. (a) Since | f
x | A, | y | A, by the Mean Value Theorem,
1
A(|x x0 | + |y y0 |) A 2(|x x0 |2 + |y y0 |2 ) 2
1
A(|x x0 | + |y y0 |) A 2(|x x0 |2 + |y y0 |2 ) 2
1
2A|x x0 | A 2(2|x x0 |2 ) 2
2A|x x0 | 2A|x x0 |
Problem (F03, #2). Let f : R R be infinitely differentiable function. Assume
that x [0, 1], m > 0, such that f (m) (x) 6= 0.
Prove that M such that the following stronger statement holds:
x [0, 1], m > 0, m M such that f (m) (x) 6= 0.
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 < ):
0 < = x0 < x1 < . . . < xn = 1 < 1,
such that x0 = , xi = x0 + i, i = 1, . . . , n. Thus [0, 1] is covered by finitely many
overlapping intervals [xi , xi + ]. For each xi , i = 1, . . . , n, mi > 0 such that
f (mi ) (xi ) 6= 0 on [xi , xi + ]. Take M = max0in (mi ). Thus, x [0, 1], m >
0, m M such that f (m) (x) 6= 0.
40
Problem (S03, #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(xy) 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
x
2F
x2
=
=
and similarly
df
dg
df
dg
df
=
1+
1=
d x d x
d
d
d
2
2
df
dg
d f
d g
+
= 2
+ 2
=
x d d
d x d x
F
df
dg
2F
d2 f
d2 g
=
, and
=
+
,
y
d d
x2
d 2
d 2
dg
,
d
d2 g
d2 f
+
,
d 2
d 2
2F
2F
and thus ,
=
.
x2
y 2
12.5
= 2ax + by
2F
= 2a,
x2
Lagrange Multipliers
a b
x
x
x0
=
, and
is an eigenvector of this matrix.
b c
y
y
y0
13
41
13.1
Contraction Mappings
x, y C.
If
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
.
13.2
a, b Br ,
(13.3)
The left-hand inequality shows that f is 1-1 on Br . The right-hand inequality (with
a = 0) shows f (Br ) B(1+)r .
17
18
Problem F01, # 6.
f : U Rn Rm is C 1
42
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)
Therefore, lim|h|0
||g(h)h||
||h||
||f (b)|| =
||h||
1
1
= 0, with g 0 (0) = I.
f or x U,
f (g(y)) = y
f or y V. )
bijection.
Lets compute f 1 :
Let y = T f(x a) + f (a)
T f(x a) = y f (a)
f(x a) = T 1 (y f (a))
x a = f1 (T 1 (y f (a))) = g(T 1 (y f (a)))
f 1 (y) = x = g(T 1 (y f (a))) + a
(f 1 )0 (y) = (
g )0 (T 1 (y f (a))) T 1
(f 1 )0 (b) = (
g )0 (0) T 1 = T 1 = f 0 (a)1 .
43
44
Problem (S02, #7; W02, #7; F03, #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 function 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.
13.3
(x, y) = (x1 , . . . , xm , y1 , . . . , yn )
Theorem. Suppose G : Rm+n Rn is C 1 . G(a, b) = 0 for some point (a, b). Partial
derivative matrix G
y (a, b) is invertible.
Then there exist open sets U of a in Rm and W of (a, b) in Rm+n and a C 1 mapping
h : U Rn , such that y = h(x) solves the equation G(x, y) = 0 in W .
Example. f (x, y, z) = 0, f
z 6= 0 can solve for z = h(x, y), f (x, y, h(x, y)) 0.
d
Example. m = n = 1. G(x, y) = 0, y = h(x) G(x, h(x)) = 0 dx
G(x, h(x)) = 0
G
G 0
G G
G
0
x + h h (x) = 0 h (x) = x / h , h =
6 0.
2
2
2
2
Say G(x, y) = x + y 1, x + y 1 = 0 y = 1 x2 , problem at (1, 0).
G
h cannot be equal to 0.
F =
x
g
x
h
x
y
g
y
h
y
z
g
z
h
z
F = (f, g, h).
f
x 0 0
0 0 1
and F = F (f (x, y, z), z, y).
0 1 0
45
Similarly, we can find a set of functions g, h by choosing a matrix in each of the other
f
two cases, i.e. when f
y (0) 6= 0 and z (0) 6= 0.
Problem (F02, #6). Suppose F : R3 R2 is C 1 . Suppose for some v0 R3 and
x0 R2 that F (v0 ) = x0 and F 0 (v0 ) : R3 R2 is onto. Show that there is a C 1
function : (, ) R3 for some > 0, such that
(i)
0 (0) 6= 0 R3 ,
and
f1
x1
f2
x1
f1
x2
f2
x2
f1
x3
f2
x3
.
v0
13.4
46
f
y
exists on
f (x, y)dx.
F (y) =
a
d
dy
f
(x, y)dx.
y
Z
f (x, y)dx =
b
f
(x, y)dx.
y
Proof.
Z bh
Z b
i
F (y + h) F (y)
f
f (x, y + h) f (x, y) f
(x, y)dx =
(x, y) dx
h
h
y
a y
a
Z b
f (x, y + h) f (x, y) f
dx ~
(x,
y)
h
y
a
(x0 , y 0 )||
f
y
0 0
| f
y (x , y )
f
y (x, y)|
ba
Z b
Z b
f
f
dx = (b a)
= .
~ =
y (x, y + ch) y (x, y)dx
ba
a
a ba