تحليل حقيقى
تحليل حقيقى
For
Department of Mathematics,
Faculty of Science, Benha University
Prepared by
2021 – 2022
1
Contents:
2
CHAPTER (1)
Remark 1.3: A non-empty subset of which has the largest number is called a finite
set. Otherwise it is called infinite set.
3
The Rational Numbers:
p
Definition 1.3: : p , q , q 0,
p and q are prime mutually
, is the set of
q
gcd ( p ,q )1
all rational numbers.
Question 1.1: Are there any rational number which satisfy equations of the form
x 2 3 0, x 2 17 0, x 3 6 0 etc. (Are 3, 17, 3 6 etc. rational
numbers?)
We prove that they are not rational numbers by using the following theorem:
4
a0q n p [an p n 1 an 1 p n 2q a1q n 1 ]
a qn
0 [an 1 p n 1 a1 pq n 2 a1q n 1 ]
p
Since R.H.S is an integer, then L.H.S is also an integer p divides anq n .
But p cannot divide q n ( p ,q mutually prime)
p divides a0 .
Problems:
1. Show that 2 is not a rational number.
Solution:
Let x 2
x 2
2
x 2
2
0
1 x 0 x 2 0
2
(a 2 x ax a0 0)
a2 1, a0 2
p
Suppose is a rational number satisfying (1). Then (by Theorem 2.1)
q
q divides a2
and
p divides a0
q divides 1
q 1
p divides 2
p 1, 2
the only possible rational numbers satisfying (1) =
p 1 2
, 1, 2
q 1 1
But if we take x 1 in (1), we get
x 2 2 0
(1) 2 2 0
1 2 0
1 0,
which is not possible (absurd)
Similarly if we take x 2 in (1), we get
5
x 2 2 0
(2) 2 2 0
42 0
2 0,
which is absurd
Hence 2 is not a rational number.
Let x (2 2) 2
x 2 2 2
x 2 2 2
(x 2 2) 2 2
(1)
x 4 4x 2 4 2
__________________
(1 x 4 0 x 3 4 x 2 0 x 2 0)
a4 1, a0 2
Suppose p/q is a rational number satisfying (1)
q divids a4
Then
p divids a0
q divides 1
q 1
p divides 2
p 1, 2.
Therefore, the only possible rational numbers satisfying (1)
p 1 2
= , 1, 2.
q 1 1
But if we take x 1 in (1) we get
x 2 4x 2 2 0
(1) 4 4(1)2 2 0
1 4 2 0
1 0,
which is absurd.
Similarly if we take x 2 in (1), we get
6
x 2 4x 2 2 0
(2) 4 4(2) 2 2 0
16 16 2 0
2 0,
which is absurd.
1
3. Show that there is a rational number between any two distinct rational numbers.
a b
Solution: Let a , b . Then is a rational number betwen a and b .
2
Homework:
1. Show that there is no rational number, which satisfies x 3 6 0 .
1
1/ 3 2
2. Show that (2 5 ) is not a rational number.
[Note: [(a b )3 a 3 3a 3b 3ab 2 b ]
7
(i ) x a x E
(ii ) if x b x E , then a b
____________________________________________________________
Always Recall
a least upour bound of E
(i) x a x E
(ii) x b x E a b
a gratest lower bound of E
(i) x a x E
(ii) x b x E a b
____________________________________________________________
Notations:
(i) Least upper bound of E is denoted by lub(E ) . It is also called the supremum of E
denoted by sup(E ) . Note: lub(E ) sup(E )
(ii) Greatest lower bound of E is denoted by glb(E ) . It is also called the infimum of
E denoted by inf(E ) . Note: glb(E ) inf(E ) .
Definition 1.8: If a set E has an upper bound, then we say E is bounded above . If a
set E has a lower bound, then we say E is bounded below.
Remark 1.5: A set E is said to be bounded if it has an upper bound and a lower bound.
Problems
Find the supremum and infimum of these sets:-
1. E {0,1, 2,3,...}
sup(E ) does not exist.
inf (E )=0 (which belongs to E )
1 1 1
2. E { : n } {1, , ,...}
n 2 3
sup(E ) 1 (which belongs to E )
inf(E ) 0 (which dose not belong to E )
8
n 1 2 3 4
3. E { : n } { , , , ,...}
n 1 2 3 4 5
sup(E ) 1 (which dose not belong to E )
1
inf(E ) (which belongs to E )
2
Exercises
1.If E is a bounded (non-empty) set prove that inf(E ) sup(E ) .
2.If S is a bounded set, prove that inf(S ) sup(S ) .
3.If S and T are bounded sets and S T , prove that
(i) sup(S ) sup(T )
(ii ) inf(S ) inf(T ).
[Note: Use definition of sup and inf]
4. If x such that 0 x n1 n . Prove that x 0
5. Prove that there is an irrational number between any two distinct real numbers
Solution (3) (i)
Let a sup(T )
t a t T
s a s S ( S T )
sup(S ) a
sup(S ) sup(T )
Theorem 1.2: In the set of rational numbers, not every subset of which has upper
bound has the least upper bound.
Proof: Consider the set A {r : 0 r 2}
A has upper bounds (for example 5, 3 are upper bounds but the least upper bound
of A is 2 which is not a rational number.
9
The Real Numbers:
Definition 1.9: The set of real numbers, denoted by , consists of the rational numbers
and those numbers such that every non-empty subset of , which has upper bounds
has the least upper bound.
Remark 1.6: In , the numbers, which are not rational numbers, are called irrational
numbers.
Remark 1.7: The elements of satisfy the following order relations:
(O 1) a,b a b or b a.
(O 2) a,b , a b and b a a b .
(O 3) a,b ,c , a b and b c a c
(O 4) a b a c b c .
(O 5) a b and 0 c ca cb .
Absolute Value of a
The absolute value of a , denoted by a , is defined by
a if a 0
a max{a, a}
a if a 0
Properties:
(i ) a 0
(ii ) a a a
2
(iii) a a 2
(iv) ab a b
( v) a b a b (Traingle inqulity)
( vi ) a b a b
10
Proof.
( vi ) Consider a (a b ) b
by(v) a b b
a b a b ______(1)
Interchange a and b in (1)
b a b a (a b )
= 1 a b
a b
b a a b
Multiply by ( 1)
a b a b ______(2)
From (1) and (2)
a b a b a b
a b a b (by (ii))
Homework: Show that, in , every non-empty subset E , which has lower bounds,
has the greatest lower bound.
[Hint: Let F { y : y x x E } { y : y is a lower bound of E }.
If a sup(F ), show that a is the glb of E , by using defination]
Problems:
1. Find the sup,inf,max and min of the sets
A {x : 0 x 2 1 2},
B {x :1 x 2 3} {x :1 x 3}
where is the positive real numbers.
11
Solution : B {x :1 x 2 3} {x :1 x 3}
sup(B ) 3
inf(B ) 1
max(B ) 3
min(B ) does not exsist.
Proof: Suppose x n
Then x n n .
or n x n .
x is an upper bound for .
lub() exists by the Completion Axiom.
Let a lub().
n a n (by Definition 1.5)
But we know that n n 1 .
12
n 1 a
n a 1
n a 1 a n
This is not possible because a least upper bound of
a 1 n n a 1 a . This is absurd.
________________________________________________________
Problems
1
1. If 0, show that there is a number n such that n.
Solution:
1
0 0
by the Archimedean Principle, there is a number n such that
1
n.
1
2. If a 0, prove that there exists a number n such that a n .
n
Solution: a 0 . Then by the Archimedean Principle, there is an integer m
such that a m _______(1)
1
Also, 0 . Then by the Archimedean Principle, there is an integer k such that
a
1
k _________(2)
a
Let n max{m , k }
Then by (1) and (2), we get
1
a n and n
a
1
or a n and a
n
1
or a and a n
n
1
a n
n
1
3. Let a , b . If a b n , show that a b .
n
13
1
Solution: Given a b n
n
To prove a b . Suppose a b
i.e. a b
a b 0
1
0
a b
by the Archimedean Principle, there is an integer n such
1
such that n
a b
1
a b
n
1
b a
n
1 1
or a b which contradicts the given: a b n
n n
1
3. If x such that 0 x n . Prove that x 0 .
n
Solution: Suppose x 0
1
Then 0 x _________(1)
n
Consider x 0
1
0
x
by Archimedean Principle there is a number n such that
1
n
x
1
x which contradicts (1)
n
Theorem 1.3: There is a rational number between any two distinct real numbers.
Solution: Let x , y , x y .
p p
We want to prove that there is a rational number such that x y .
q q
Now, x y y x 0
14
1
or 0
y x
By the Archimedean principle there is a positive integer q such that
1
q
y x
1 q ( y x )
qx 1 qy _______(1)
We can find an integer p such that p qx 1 p 1
p qx 1 and qx 1 p 1
i.e., p qx 1 and qx p
or qx p and p qx 1
qx p qx 1
or, qx p qy [by(1)]
p
x y .
q
Problems:
1. Show that there is an irrational number between two distinct real numbers.
Solution: let x , y , x y
2x 2 y
(Note that 2x and 2y are also real numbers.)
Hence (by Theorem 3), there is a rational number r
such that 2x r 2 y _____(1) . Let r 0
2
2x r 2y
2
r 2
x y (r 0)
2
2r
is an irrational number between the real numbers x and y .
2
Let r 0 then from (1) we have
2x 0 2 y _____(2)
15
2x 0 r 2 y
2x r 2 y
r
x y
2
2
x r y
2
2
r is an irrational number between the real number x and y .
2
2. Show that sup{r : r a} a for each a .
Solution: Homework.
16
CHAPTER (2)
Let
I 1 [a 1,b 1 ]
I 2 [a 2 ,b 2 ]
I 3
such that I 1 I 2 I 3
Then, there exists at least one point common to every interval i.e. I n
1
Notation: If a point p belongs to an open interval, then that
interval is denoted by S p .
Definition 2.1: let A be a set of real numbers. A point p A is called an
interior point of A if there is an open set S p A .
A is called an open set if every point of A is an interior point i.e., p A there is an
open interval S p such that S p A .
Example 2.1: A (a,b )
Let p A
Take S p (a ,b ) A .
17
Example 2.3: A
Every point in A is an interior point There is no point in A
which is not an interior point.
Here, in , there is no point, which is not an interior point.
is open set.
Example 2.4: A [a,b )
Let p a
Here S p A
A is not open set.
Theorem 2.1: (i) The union of any family of open sets is open.
(ii) The intersection of a finite number of open sets is open.
Proof: (i) Let {G } be a family of open sets.
Let H {G }
G
Sp {G }
G
or S p H H is open set.
(ii) To prove A B is also an open set
Let p A B
p A and p B
Since A and B are open sets, S p A and S p B
p S p S p A B
Clearly S p S p is an open interval
containing p . Also we have
S p S p A B (by Def. 2.1) A B
is an open set.
Remark 2.1: In (ii), we have to take finite number of open sets, because of the
following example.
18
Example 2.5: Consider I 1 (1,1)
1 1
I 2 ( , )
2 2
1 1
I 3 ( , )
3 3
1 1
I n ( , ), n
n n
1 1
We prove that ( , ) 0
n 1 n n
1 1
Let x I n ( , )
n 1 n 1 n n
1 1
x ( , ), n
n n
1 1
x , n
n n
1 1
x and x
n n
1 1
0 x and x 0
n n
0 x and x 0
x 0
Definition 2.1: (Topology on )
Let u be the family of all open sets in . Then u satisfies the conditions (i) and
(ii) of the previous theorem. u is called the usual topology on .
Accumulation Points (or, Limit Points)
Definition 2.2: Let A . A point p is called an accumulation point (or,
limit point) of A if every open set containing p contains a point of A different from
p (or, If G is an open set containing p , then A (G { p }) ) [i.e.G contain at
least point of A other than p ]
19
0 is the only limit point of A ( A {S 0 {0}} )
Example 2.7: Find the accumulation points of
(i) , the set of integer numbers.
(ii) , the set of rational number.
Solution: (i) does not have limit points.
(ii) Let p , let G (a,b ) containing p . Between a and p
(or between p and b ) there is a rational number (by Th. 1.3)
p is a limit point of .
all real numbers are limit point of .
Bolzano-Weierstrass Theorem:
Let A be a bounded infinite set of real numbers. Then A has an accumulation point
(limit point) [i.e. every bounded infinite set of real numbers has an accumulation
point)
Proof: Since A is bounded, a1 x b1 x A
x [a1 ,b1 ] x A
A [a1 ,b1 ]
a1 b1
Let I 1 [a1,b1 ] . Bisect I 1 at the point
2
a1 b1 a b
A [a1 , ] [ 1 1 ,b1 ]
2 2
Since A is infinite, one of the sub-intervals contains infinite
number of elements of A . Let that interval be denoted by I 2 ,we
write I 2 [a2 ,b2 ] .
We repeat the previous method to I 2 . Thus, we get a sequence
I 1, I 2 ,of closed interval such that I 1 I 2 I 3
By the nested interval property we have I
n 1
n , I n [an ,b n ]
Let p I n . Let S p (a ,b ) { p (a,b ) }
n 1
In particular I n0 .
We choose min( p a,b p )
20
I n0 min( p a,b p ) I n0 S p (a,b )
Closed Sets
Definition 2.3: Let A , then A is called a closed set if A c is an open set.
Example 2.8: Let A [a,b ], a,b . This is a closed set.
Reason: [a , b ]c ( , a ) (b , ) which is an open set.
Example 2.9: A
c which is an open set.
is a closed set.
Example 2.10 : A
A c c which is an open set.
is a closed set.
21
Let p A c .
We have to prove that S p A c
p is not an accumulation point of A
( A has all its accumulation points)
S p Ac
Homework:
1.Prove that the union of a finite number of closed sets is closed
2.Prove that the intersection of any family of closed sets is closed.
Solution: 1.Let A1 , A 2 , , A n be a finite number of closed sets .
i.e. A1c , A 2c ,, A 3c are open sets.
n
Aic is an open set.
n 1
n
(A )c A c
i.e. ( Ai )c is an open set (A )c A c
i 1
n
(by Def. 2.3) A
n 1
i is a closed set
H ( {B })c
c
B
H {B } is a closed set
B
Always Remember:
The neatest interval property:
If I 1 [a1,b1 ], I 2 [a2 ,b2 ],and I 1 I 2 I 3 , then I n
1
22
Theorem 2.3. (Heine-Borel Theorem)
Let I 1 [c1 , d 1 ] be a closed and bounded interval and G (a ,b ) : J a family of
open interval that covers I 1 , i.e. I 1 (a ,b ) , then G has a finite sub-family
J
n
(a1 ,b1 ),(a2 ,b 2 ),,(an ,b n ) that covers I 1 , i.e., I 1 (ai ,bi ) .
i 1
Proof: [We proof by contradiction]
n
Suppose I 1 not, i.e., I 1 (ai ,bi ) ,i.e., I 1 is not covered by a finite sub-family
i 1
of G .
c1 d1 c d c d
Bisect I 1 at the point . Let I 2 [c1, 1 1 ] or [ 1 1 , d 1 ] whichever is not
2 2 2
covered by a finite sub-family of G .We write I 2 [c 2 , d 2 ] .
c d2
Bisect I 2 at the point 2 and proceed as above, we get a sequence {I n } of
2
intervals such that I 1 I 2 I 3
And each I n is not covered by a finite subfamily of G (*)
Also, if I n is the length of I n ,
lim I n 0 (def.) I n 0 for n n 0
n
i.e., I n for n n 0
In particular, I n0 ____________(1)
(Note that I n0 is not covered by a finite sub-family of G )
By the nested interval property, I
1
n .
Let p I n
1
p I 1 , p I 2 , p I 3 , , p I n 0 , , p I n ,
Consider p I 1 {(a ,b )} (given)
J
23
Let min( p a,b p ) , then by (1),
I n 0 min( p a ,b p )
I n0 (a ,b ) which is a contradiction to (*)
24
CHAPTER 3
INFINITE SEQUENCES
Convergence of a sequence
A sequence (an ) is said to be convergent to a if a given 0 , there is a number n 0 0
such that an a for n n 0 .
We want to proof: a b
Consider
25
a b (a an ) (an b )
x y x y
a an an b
2 2
a b
Since is arbitrary, we have a b 0
a b .
1 if n odd
But an
1 if n even
lim an dose not exsist
x
26
Bounded Sequence
A sequence, which is bounded above and bounded below, called a bounded sequence.
Or, a sequence (an ) is bounded if there is a number M 0 such that
an M , n .
27
Exercise:
Let an a, b n b (as n ). Prove that:
(1) an b n a b
(2) an b n a b
(3) anb n ab
a a
(4) n , (bn 0,b 0)
bn b
(5) kan ka , k
Solution:
an a
2 for n n
(1) Given: 0
bn b
2
(an b n ) (a b ) (an a ) (b n b )
an a b n b
<
2 2
an b n a b
an a n n1
(3) Given: for n n 0
b n b n n2
anbn ab anbn anb anb ab n 0 max{n1 , n 2 }
anbn anb anb ab
an b n b b (an a )
an bn b b an a
Since an a , then (an ) is bounded. So there is M such that an M n .
anbn ab M b (M b ) c for n n 0
(where c M b )
anb n ab
28
an a anb ab n
Consider:
bn b bb n
anb ab n
b bn
(anb ab ) (ab abn )
b bn
b (an a ) a (b bn )
b bn
b an a a b b n
b bn
an a a b bn
bn b bn
an a a b bn
bn b bn
Since b n b 0 , then (b n ) is bounded. So there is M such that b n M n n 3 ,
an a
is defined at least for n n3 , and lim n exist.
bn n b
n
Let n 0 max{n1 , n 2 , n 3}.
an a a 1 a
( ) c for n n 0
bn b M b M M bM
a a
n
bn b
(5) Given: an a n n 0
Consider: kan ka k (an a )
k an a
k
kan ka k for n n 0
kan ka .
29
Remember:
{an } bounded an M n
{an } convergent to a (an a )
an a for n r
an a for n r ( x a a x a )
The Completeness Axiom: every bounded set has sup and inf.
Binomial Theorem:
n n (n 1) 2 n (n 1)(n 2) 3
(1 x )n 1 x x x x n
1! 2! 3!
1
Proof. (i) To prove: 0 for n r
np
1
or p for n r
n
1
1 p
Given 0 , we choose a number r ( )
1
1 p
For n r , we have n ( )
1
np
1
np
(ii) If a 0, a n 0 lim a n 0
n
31
Let a 0, a 1
n n ( n 1) 2 n ( n 1)( n 2) 3
x x
n
Binomial Theorem: (1 x ) n 1 x x
1! 2! 3!
1
Since a 1 ,we write a (b 0)
1 b
n 1
a
(1 b ) n
1
Inverting n
(1 b ) n
a
Use Binomial Theorem to R.H.S,
1 n n (n 1) 2
n 1 b b
a 1! 2! 9 1 6 2
1 n 96
b
a n 1!
1
Inverting an
nb
1
or 0 an 0 (as n )
nb
lim a n 0
n
lim an 0
n
32
n n (n 1) 2
a 1 Xn X n X nn
1! 2!
n
a 1 X
1!
a 1 nX n
a 1
X n
n
a 1
or 0 X n 0 (as n )
n
lim X n 0
n
1
lim (a 1) 0
n
n
1
lim a 1 0
n
n
1
lim a 1n
n
1
lim 1 1
n
an
1 1
1
1 lim
n
a n
1
lim a n
n
Problems:
1
n
(1) Show that lim n 1 .
n
Solution: Put a n in the Theorem 3.5, Part (iii).
1
(2) If an (1 )n , show that the an is convergent.
n
33
1 n
Solution: an (1 )
n
Use Binomial Theorem,
n 1 n (n 1) 1 2
an 1 ( ) ( ) ( 1 )n
1! n 2! n n
n n 1
( )
11 n n
2!
(1 1 )
an 1 1 n
2!
(1 1 )
Clearly an 2 n
2!
1 1 7 92
an 2 79
2! 3!
1 1
an 2 ( )
2! 3!
an 2 1
an 3
or 0 an 3
{an } is bounded
1
Next, an (1 )n
n
Put n 1, a1 (1 1)1 2
1
Put n 2, a2 (1 ) 2 (1.5) 2 2.25
2
{an } is an increasing monotonic sequence monotonic sequence
a bounded monotonic sequence is convergent.
34
Cauchy Sequence:
35
Subsequences:
36
( a n ) ( a1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 , a 8 , a 9 , a1 0 , a1 1 , a1 2 , a13 , )
(1, 3, 5, 7, 9,11,13,15,17 ,19, 2 1, 2 3, 25, )
n 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,
( a n k ) ( a1 , a 3 , a 5 , a 7 , a 9 , a11 , a1 3 , ) (b k ) (1, 5, 7,11,15,19, 23, )
n k 1, 3, 5, 7, 9, 11,13,
k 1, 2, 3, 4, 5, 6, 7, 8,
sequence.
another form of definition is as follows:
(i) limsup an lim k (sup n k an )
Similarly,
(ii) lim inf an lim k (inf n k an )
37
Proof: (i) Given:
lim an a an a for n k an a for n k
n
Consider: an a , an a , (n k ) an supn k an a
a an , an a , (n k ) a inf n k an an
a inf an , sup an a
a lim(inf n k an ), lim(sup n k an ) a
k k
or a liminf an , limsup an a
a liminf an limsup an a
a liminf an limsup an
limsup an a
(ii) Given:
liminf an a
sup n k an a
for k r
inf n k an a
sup an a
for n k r
inf an a
sup an a
for n r
inf an a
Consider sup an a , inf an a (n r )
sup an a , a inf an (n r )
an a , an a
an a (n r )
an a for n r
lim n an a
39
CHAPTER 4
INFINITE SERIES
Definition 4.1: a1 a2 a3
is called an infinite series (or, a series) and we write
a n a1 a2 a3 a4
n 1
Partial sums: Let S 1 a1
S 2 a1 a2
S 3 a1 a2 a3
S n a1 a2 an
Then S 1 , S 2 ,, S n , are called partial sums.
Remark 4.1: n
S n S S n 1 S S n 1 S S n p S n 1
n 1
Definition 4.3: If a n does note convergent, it is called divergent.
n 1 n p
Properties: (I) If a
n 1
n is convergent to S , and b
n 1
n is convergent to S ,
then, (a
n 1
n bn ) is converges to S S .
40
(II) If a
n 1
n is convergent to S and k is a constant, then the
(II) Let S n a a an
Given: S n S as n .
To prove: If S n ka1 ka2 kan we have to prove that
S n kS .
S n k (a1 a2 an )
k (S n ) kS .
Theorem 4.1: If a
n 1
n is convergent, then lim an 0
n
Proof: Let S n a1 a2 an
Given: S n S , (say)
( S n 1 S )
S n (a1 a2 an 1 ) an
S n (S n 1 ) an
lim S n lim S n 1 lim an
S S lim an
lim an 0
Important Note: -
a n convergent lim an 0
n
1
lim an 0 a n is not convergent
n 1
41
Example 4.1: an ( nn 12)
n 1 n 1
n 1
an
n 2
1
1
n
2
1
n
1 0
lim an 1 ( 0) a n not convergent (divergent)
n 1 0 n 1
Remark 4.2: We have proved that a converges
n lim an 0 .
n
1
But lim an 0
a n converges, as shown in the following example:
n
1
1 1 1
Example 4.2: an 1
n 1 n 1 n 2 3
1
Here an
n
lim an 0
n
But the series
1 1
1
2 3
is not convergent. (This will be proved later)
Geometric series:
a ar ar 2 ar n 1 is a geometric series.
42
(1 r )S n a (1 r n )
a (1 r n )
S n
(1 r )
a (1 lim r n )
n
lim S n
n 1 r
a (1 0)
, ( r 1)
(1 r )
a
(exists)
(1 r )
a
the geometric series converges to
1 r
a
We write a ar ar 2 , r 1.
1 r
Case (2): r 1 r 1 or r 1
When r 1, S n a a a na
lim S n lim na does not exists
the series is divergent for r=1.
When r 1 , S n a ar ar 2 ar n 1
a a a a a
0 if n even
a if n odd
lim S n does not exists
n
the series is divergent for r 1
Case (3): r 1
Series a ar ar 2 ar n 1
( a1 a2 a3 an 1 )
lim ar n 1 0 ( r 1, a 0)
n
43
1 1 2 1 3
Solution: Given series
2
() ()
2
2
( a ar ar 2 )
1 1
a , r ( 1)
2 2
1
Since r which is 1 , the geometric series is convergent.
2
1
a
Its value 2 1.
1 r 1 1
2
Lemma 4.1: Let a
1
n be a series of positive terms ( an 0 n ) and
S n M n ( M is a constant 0 ), then a
1
n is convergent to
S M.
Proof: S n a a an 0 (given)
0 S n M
the sequence (S n ) is bounded.
Next, S1 a1
S 2 a1 a2
S 3 a1 a2 a3
Since an 0 n , S 1 S 2 S 3
(S n ) is an increasing sequence (monotonic sequence)
(S n ) is a bounded monotonic sequence
(by Theorem 3.4), S n S sup(S n )
n
i.e., lim S n S (exists)
n
the series is convergent to S .
Next, given S n M n
sup{S n } M
n
S M
44
The Integral Test:
(ii) an diverges if
1
f (x )dx (infinite).
1
Proof.
f (n ) an
f (1) a1
f (2) a2
45
n
S n a1 f (x )dx S n 1
1
n n
S n a1 f (x )dx , f (x )dx S n 1
1 1
n
S n a1 f (x )dx ______(4)
1
n
f (x )dx S n 1 ______(5)
1
f (x )dx is finite
1
n
Let f (x )dx K
1
By (4), S n a1 K put a1 K M
S n M n .
(By Lemma 4.1), a
1
n converges.
1
Example 4.4: ( p series ) Show that n n 1
p
is convergent if p 1 and divergent if
p 1.
46
Solution: Case (1): p 1
1
Here an p ( f (n ))
n
1
Consider f (n ) p
n
Change n to x
1
f (x ) p x p
x
t
Use the Integral Test, 1
f (x )dx lim x p dx
t 1
t
x p 1
lim
t p 1
1
1
lim t p 1 1
1 p t
1 1 p 1
lim p 1 1
1 p t t p 1 0
1
0 1
(1 p )
1
(finite)
1 p
1
by the integral test p ( p 1) is convergent.
n 1 n
Case (2): p 1
1 1 1
n 1 2 3
n 1
1
Here an ( f (n ))
n
1
Consider f (n )
n
1
Change n to x : f ( x )
x
47
t
1
f (x )dx lim x dx
t
1 1
lim ln x 1
t
t
lim ln t ln1
t
lim(ln t )
t
1
is divergent.
n 1 n
Case (3): p 1
As in case (1),
1
f (x ) dx lim[t p 1 1]
(1 p )
t
1
1
lim[t 1 p 1] p 1
(1 p ) t
0 1 p
or 1 p 0
1
by the integral test ( p 1) is divergent.
np
1
Example 4.5: n 2
is convergent ( p 2 1)
n 1
1 3
n 3 is convergent ( p 1)
n 1
2
2
1 2
n 2 is divergent ( p 1)
n 1
3
3
1
n is divergent ( p 1)
n 1
48
Cauchy Criterion:
Consider a series an a1 a2
n 1
Let S n a1 a2 an
By Definition 4.2, a n converges lim S n S (exists)
n
n 1
the sequence (S n ) converges
(S n ) is a Cauchy sequence.
Theorem 4.3: A series a
n 1
n converges it satisfies the Cauchy Criterion)
Proof: Let S n a1 a2 a3 an
Remember:
n
49
Comparison Test:
Let a
1
n be a series with an 0 n
(i) If an converges and bn an n then bn converges.
1 1
(ii) If a
1
n and b n an n , then bn
1
n n
Proof: b
k m 1
k
k m 1
bk
n
a k ( given b n an ) a b a b
k m 1
n a b c a b c
a k ( an 0n )
k m 1
for n m r ( an convergent)
1
n
b
k m 1
k for n m r
the series b n is convergent.
n 1
(ii) Let S n a1 a2 an , S n b1 b 2 b n
Since, b n an n , S n S n
lim S n lim S n (given)
n n
lim S n
n
bn
1
1
Example 4.6: b n
1
n
n 1
2
1
To find if b
1
n converges or diverges.
1
bn 2
n 1
50
1 1
bn bn 2 an
2
n 1 n
1
Now an 2
, which is convergent ( p 2 1 )
1 1 n
1
by the Comparison Test, b n 2 is also convergent.
1 1 n 1
bn convergent b n convergent
n 1 n 1
Proof. Given: bn convergent . Put bn an
n 1
[Note that an 0 n and a
1
n converges ]
by Comparison test, b1
n converges
Remark 4.3: b n converges
b n converges
1 1
[i.e., convergenes
absolutly convergent ]
1 1 1
Example 4.7: Take b n
1
1 2 3 4
We will prove later that this series convergent.
1 1
Put bn 1
1 2 3
1
divergent .
1 n
51
Root Test:
1
Theorem 4.5: Let an a1 a2 be a series such that lim an
1
n
n L . Then
(ii) L 1
We choose such that L 1
1
From (2) , an n L 1
1
an n 1
an 1 n
lim an 0 a divergent .
n
n
1
52
(iii) L 1
1 1 1
Take an 1
1 1 n 2 3
1
Here an
n
1
1 1
an n 1
1
n n
1 and the series diverges ( p 1 )
L 1
1
Next, take a n
1
n
1
2
1
Here an
n2
1
an 2
n
1
1 1
an n 2
( 1
)2 1
1
n n and the series converges ( p 2 1 )
n n 1 n2
L 1
Ratio Test:
an 1
Theorem 4.6: Let a 1
n be a series such that lim
n an
L . Then,
(i) a
1
n converges if L 1.
(ii) a
1
n diverges if L 1
(iii) No decision if L 1 .
53
an 1
Proof: Given lim L
n an
an 1
L for n n 0
an
a
n 1 L
an
an 1
L L
an
Consider
a n 1
L _ _ _ _ _ _ (1 )
an
a n 1
and, L ______(2) fo r n n 0
an
(i) L 1
For convergence we choose n 0 1, n 1
We choose such that L 1 . Put L r (r 1)
an 1
From (1), r
an
an 1 an r
Put n 1: a2 a1 r
n 2: a3 a2 r a1 r 2
n 3: a4 a3 r a1 r 3
an a1 r n 1
n 1
a r
1
1 is a geometric series which is convergent ( r 1 )
by Comparison Test, an converges .
1
(ii) L 1
We choose such that L 1 .
54
Using (2),
an 1
L 1
an
an 1
1
an
an 1 an
Put n 1: a2 a1
n 2: a3 a2
n 3: a4 a3
a1 a2 a3
lim an 0
n
a n diverges
1
(iii) L 1
1 1 1
Take a n 1 2 3
1
n
1
1 1
an
, an 1
n n 1
an 1 ( 1n 1) n 1 1
1
1
an ( 1n ) n 1 1 n 1
and the series diverges ( p 1 )
1
Next, take an 2 (convergent)
1 1 n
1 1
an 2 , an 1
n (n 1) 2
a 1
( n 1)2 n2 1
n 1 2
1
an 1
n2
(n 1) (1 n1 ) 2
Notation: D f D ( f ) Domain of f .
f (x ) f (x 0 ) for x x 0
[ i.e., x x 0 f (x ) f (x 0 ) ]
56
Suppose f is not continuous at x 0 .
Then n , we find x n D (f ) such that
f (x ) f (x 0 ) for x n x 0
i.e., f (x n ) f (x 0 ) for x n x 0
This contradicts the given (*)
Proof. f is continuous at x 0
f (x ) f (x 0 ) for x x 0
f (x ) f (x 0 ) for - x x 0
add f (x 0 ) and add x 0
f (x 0 ) f (x ) f (x 0 ) for x 0 x x 0
f (x ) f (x 0 ) , f (x 0 ) for x (x 0 , x 0 )
f (x ) I f for x J x 0
x f 1
(I f ) for x J x 0 .
Always recall:
f is continuous at x 0 D (f )
lim f ( x ) f ( x 0 )
x x 0
f ( x ) f ( x 0 ) for x - x 0
x n x f (x n ) f (x )
Properties:
(1) f is continuous at x 0 D (f ) f is continuous at x 0 .
(2) f is continuous at x 0 D (f ) cf is continuous at x 0 (c constant) .
(3) Let f and g be continuous functions at x 0 D (f ) . Then,
57
f
f g , fg , , ( g 0) are all continuous functions at x 0 .
g
(4) x is continuous on [0, ) .
(5) x (n ) is continuous on .
n
Problems:
(1) If f and g are continuous at x 0 D (f ) . Prove that f g is continuous
at x 0 .
Solution: f is continuous at x 0 lim f (x ) f (x 0 )
x x 0
g is continuous at x 0 lim g (x ) g (x 0 )
x x 0
lim f (x ) lim g (x )
x x 0 x x 0
f (x 0 ) g (x 0 )
(f g )(x 0 )
f g is continuous at x 0 .
x 0 x 0 x 0 x 0
x 0n
x n is continuous on .
58
f (x ) f (x 0 ) for x - x 0
f (x ) is continuous at x 0
2 1
x sin( ), x 0,
(4) If f (x ) x , prove that f is continuous at 0 .
0, x 0,
Solution: Here x 0 0
To prove: Given : 0 , there is a 0 such that
f (x ) f (x 0 ) for x - x 0
i.e., f (x ) f (0) for x 0
i.e., f (x ) 0 for x
i.e., we prove that f (x ) ε by using x __(2)
(1)
1
Consider f (x ) x 2 sin( )
x
2 1
x sin sin 1
x
2 1 sin 1
x (1)
We prove that x 2 by using x
i.e., we prove that x 2 ε by using x
(3)
put
x
2
x
or x 2
which gives (3)
1 1
sin( ) , x 0,
(5) If f (x ) x x , prove that f is NOT continuous at 0 .
0 , x 0,
59
Solution: Here, x 0 0
Suppose f is continuous at 0.
Then, f (x ) f (x 0 ) for x - x 0
i.e., f (x ) f (0) for x 0
i.e., f (x ) for x
1 1
Consider f ( x ) sin( 2 )
x x
1
(1)
x
1
we have to get ε for x
x (1)
1 1
M (larg)
x
This contradiction (1)
Homework:
1
sin x , x 0,
(6) If f (x ) x , prove that f is not continuous at 0.
0 , x 0,
To prove: f is bounded.
Suppose it is not bounded. Then, f (x n k ) n k , n k
{f (x nk )} is not convergent. This contradicts (1).
60
Remark 5.2: [a , b ] must be closed (and bounded) interval.
1
Example 5.1: f ( x ) , x (0,1)
x
Clearly f is continuous on (0,1)
We prove that f is not bounded
1
f (x ) , 0 x 1
x
Choose x such that x 0
1 1
i.e., M (larg)
x
1
i.e., M
x
f (x ) M
f is not bounded.
61
Homework:
lim S n x 0
n
or, S n x 0 (as n )
Since f is continuous, f (S n ) f (x 0 )
or, lim f (S n ) f (x 0 ) ____(1)
n
S n S f (S n ) y
lim f (S n ) y
n
Using (1), we have f (x 0 ) y _____(2)
1
Let t n min( x 0 , x 0 )
n
1
x 0 tn x 0
n
62
Take limit as n
x 0 lim t n x 0
n
lim t n x 0
n
or, t n x 0 (as n )
Since f is continues, then f (t n ) f (x 0 ) or, lim f (t n ) f (x 0 ) ____(3)
n
Now, t n S ( x 0 t n ) [see figures]
f (t n ) y
i.e, f (t n ) y
lim f (t n ) y
n
Using (3), then f (x 0 ) y _____(4)
From (2),(4), we get f (x 0 ) y .
63
y 2 x 2
x 2y 2
( y x )( y x )
x 2y 2
(y x ) x a
y x [ x , y [a , ), a 0 ]
x 2y 2 y a
y x
x y 2 2 2 2l
x y y x
1 1
x y 2 2l
x y xy
1 1 x a
x y 2 2 l, ( )
a a aa y a
2
x y 3l
a
2
f (x ) f ( y ) 3 x y
a
we have to prove that
2
x y _____(1)
a3
for all x , y [a, ) and x - y
a3
Put
2
a3
x y
2
2
or, 3 x y
a
This gives (1)
Remark 5.3: uniformly continuous continuous.
1
Example 5.3: Show that f ( x ) on (0,1) is continuous but not uniformly
x
continuous.
64
Solution: Let x 0 (0,1)
1
lim f (x ) lim ( )
x x 0 x x 0 x
1
lim x
x x 0
1
x0
f (x 0 )
lim f (x ) f (x 0 )
x x 0
f is continuous at x 0 (0,1)
To prove: f is not uniformly continuous on (0,1)
We have to prove that
f (x ) f ( y ) for some x , y (0,1) and x y
Take x , y
1
x y
1
1
1
1
1 1
1
| | (1)
1
1
1
1 1
f (x ) f ( y )
x y
1 1
11
( is small)
f (x ) - f ( y )
f is not uniformly continuous on (0,1)
65
Homework: Show that f ( x ) x 2 on is continuous but not uniformly continuous.
1
(Take x n , y n )
n
Theorem 5.3: Let [a , b ] be a closed and bounded interval. If f :[a ,b ] is
continuous, then f is uniformly continuous.
y nk x 0
i.e., y nk x [ f continuous]
f ( y n k ) f (x ) _____(8)
From (5) and (8) we get
f (x nk ) f ( y nk ) 0
i.e., f (x n k ) f ( y nk )
This contradiccts (7)
66
Theorem 5.4: Let f be uniformly continuous on S . If {x n } is a Caushy sequence
in S , then f (x n ) is a Caushy sequence (in )
Proof: {x n } is a Caushy sequence in S
x n x m for n , m r _____(1)
f is uniformly continuous on S .
f (x n ) f (x m ) for every x n , x m S
f (x n ) f (x m ) for n , m r (by (1))
f (x n ) is a Cauchy sequence.
67
CHAPTER 6
DERIVATIVES
1. Differentiability
Definition 6.1: Let f : I , I is an interval of real numbers, and let c be an interior
point of I (i.e., I is neighborhood of c). f is differentiable at c if lim f ( xx)cf (c ) exists.
x c
In this case, the value of this limit is called the derivative of f at c and is denoted by
the symbol f (c ).
Remarks 6.1:
1. An equivalent form of Definition 1 is to say that f is differentiable at c if
lim f (c hh) f (c ) exists.
h 0
2. The Definition 1 can be generalized by assuming that f is defined on a domain set
A, where c is accumulation point of A, and that limit is taken as x approaches c
assuming only values in A.
3. In (2), if a function f is defined on the closed interval [a,b], we can define a one-
side derivative of f at a by lim f ( xx)af (a ) f r(a ), or a one-sided derivative of f at b by
x a
f ( x )f (a )
lim x a f l (a ). The derivative f may then be regarded as function defined for
x a
all x in the interval I.
df
4. Another symbol for the derivative of f is dx , which is the differential notation due
to Leibniz.
68
Since
x c 1 1
lim lim
x c x c x c x c 2 c
For all c 0, f is differentiable for all x 0, and f (x ) 2 1x .
Remark 6.2: The last limit in Example 3 is obtained in a typical calculus course by a
geometric argument. For Euler, who defined sin x by a power series, this fact would be
obvious, since if we start with the series expansion for sin x, divided by x, and then
take the limit as x approaches 0, we would have
x3 x5
sin x x
3! 5!
sin x x2 x4
1
x 3! 5!
sin x x2 x4
lim lim(1 ) 1
x 0 x x 0 3! 5!
In a similar way,
cos x cos0 cos x 1
c (0) lim lim
x 0 x 0 x 0 x
and this limit is proved to equal 0 by use of the identity sin 2 x cos2 x 1, and the fact
that lim sinx x 1 .
x 0
Example 6.4: Let f : be a function that satisfies the following three conditions.
1) f (x y ) f (x ) f ( y ) for all x , y R
2) f (0) 1
3) f (0) exists.
Then f (x ) exists for all x and equals f (0) f (x ) .
Solution.
f (x h ) f (x )
f ( x ) lim
h 0 h
f ( x )f ( h ) f ( x )
lim
h 0 h
69
f (h ) 1
f (x )lim
h 0 h
Therefore f (x ) exists, if lim f ( hh )1 exists. But this limit exists, because by conditions
h 0
(2) and (3), then
f (h ) f (0) f (h ) 1
f (0) lim lim .
h 0 h 0 h 0 h
Do you know any familiar function f satisfy the three conditions given in this
example? (Hint: f (x ) b x )
s (x ) 0 c (x ) 1 c (x ),
since the necessary limit are assumed to exist by condition (3).
Similarly we prove: c (x ) s (x ) .
Do you know any familiar functions s and c satisfy the three conditions given in this
example? (Hint: sin x and cos x )
Lemma 6.1: If f : I R is differentiable at an interior point c of the interval I , then
f is continuous at c .
Proof. The hypothesis implies that lim f ( xx)cf ( c ) exists, and equals the real number
x c
denoted by f (c ) . Then
f (x ) f (c )
lim f (x ) f (c ) lim (x c )
x c x c x c
f (x ) f (c )
lim lim(x c ) f (c ) 0 0
x c x c x c
70
and so f is continuous at c, since lim f ( x ) f (c ).
x c
The converse of Lemma 2 is not true.
Example 6.6: Since f ( x) x is continuous, but not differentiable at c 0.
2. Algebra of Derivatives;
Proof. We shall prove (2) and leave the others as exercises. We want to prove that fg
is differentiable at x c lim f ( x ) g ( xx)cf (c ) g (c ) exists.
x c
Since g is differentiable at c, g is continuous at c , so that
lim g (x ) g (c ).
x c
Then we have
f (x ) g (x ) f (c ) g (c ) f (x ) g (x ) f (c ) g (x ) f (c ) g (x ) f (c ) g (c )
lim lim
x c x c x c x c
f (x ) f (c ) g (x ) g (c )
lim g (x )lim lim f (c )lim
x c x c x c x c x c x c
g (c )f (c ) f (c ) g (c ).
71
Proof.
( g f )(x ) ( g f )(c )
( g f )(c ) lim
x c x c
g (f (x )) g (f (c )) f (x ) f (c )
lim
x c f (x ) f (c ) x c
g (f (x )) g (f (c )) f (x ) f (c )
lim lim g (f (c ))f (c )
x c f (x ) f (c ) x c x c
Here x c f ( x )f (c ) by the continuity of f
Example 6.7:
(a) Using dxd (sin x ) cos x , and Quotient Rule, we know that
d d 1 cos x
(csc x ) f p 2 csc x cot x .
dx dx sin x sin x
(b) dxd (sin y ) cos y , and the Chain Rule, and assuming that y arcsin x is
differentiable, we can show that
d 1
(arcsin x )
dx 1 x 2
dy dy
For if y arcsin x , x sin y , and so 1 cos y dx or dx cos1 y . Since cos y
1 sin 2 y 1 x 2 , and since the slope of the tangent line to the graph of arcsin x
is always positive, the derivation is complete.
(c) The power rule can be extended to negative integer exponent since
d n d 1 (x n )0 1(nx n 1 )
(x ) f p nx n 1.
dx dx x n x 2n
(n )
Example 6.8: If possible, find an expression for the nth derivative f (a ) of the
following functions.
(a) Let f (x ) sin x and a 0 . Then,
f (x ) cos x , so f (0) 1
f (x ) sin x , so f (0) 0
(3) (3)
f (x ) cos x , so f (0) 1
(4) (4)
f (x ) sin x , so f (0) 0
(n )
And the pattern of 1, 0, -1, 0 repeats in blocks of four. So we can express f (0) as
follows. Let f (2 n 1) (0) (1) n 1 and f (2 n ) (0) 0.
(b) Let f (x ) ln x and a 1 . Then we have
72
1
f (x )
x
1
f (2) (x ) 2
x
2
f (3) (x ) 3
x
6
f (4) (x ) 4
x
(5) 24
f (x ) 5
x
From the pattern developing in these derivatives, we conjecture that
(n 1)!
f ( n ) (x ) (1)n 1
xn
so that
f ( n ) (1) ( 1) n 1 (n 1)!
73
Proof. Assume that f has a relative minimum at the point c I . It follows that for
all x in some interval of c ,
f (x ) f (c )
0 for x c
x c
f (x ) f (c )
0 for x c
x c
Therefore, we have
f (x ) f (c )
lim 0
x c x c
f (x ) f (c )
lim 0
x c x c
Since f (c ) exists, it follows that
f (x ) f (c ) f (x ) f (c )
f (c ) lim lim
x c x c x c x c
and so f (c ) 0.
Remark 6.4: A similar proof can be given if f has a relative maximum at point c .
Theorem 6.3: (Rolle’s Theorem)
If f is continuous on [a ,b ], differentiable on (a,b ), and f (a ) f (b ) 0, then there
is some value c (a,b ) so that f (c ) 0.
Proof. We first consider the trivial case where f (x ) 0 for all x [a ,b ] . The Theorem
is true in this case because f (c ) 0 for all c (a ,b ).
Otherwise, there must be at least one x (a ,b ) where f (x ) 0 . If we assume that
f (x ) 0 for some x (a,b ), then M sup{f (x ) : x [a,b ]} is a positive finite
number, and there must be a value c (a ,b ), so that f (c ) M . Why? It then follows
from Lemma 6.2 that f (c ) 0 .
If f (x ) 0 for some x (a ,b ), then a similar argument can be used involving
m inf{f (x ) : x [a,b ]}
74
In fact, we find 3x 2 4 0 at
2 3 2 3
x c1 and x c1 .
3 3
Theorem 6.4: (Mean Value Theorem).
If f is continuous on [a , b ] and differentiable on (a,b ), then there is at least one value
c (a,b ) such that
f (b ) f (a )
f (c ) .
b a
Remark 6.5: It is fortunate that the Mean Value Theorem has a simple geometric
interpretation- namely, if the graph of f has no breaks in it and no sharp points, then
at least one tangent line to f must be parallel to the line joining the endpoints of the
graph (see Fig. ).
75
f (2) f (1)
f (c )
2 (1)
This equation becomes
3c 2 8c 7,
for which the solutions are
4 37 4 37
c 0.69 and c 3.36 .
3 3
While the tangent lines to the curve at both points are parallel to the secant line, only
the point 43 37 is in the interval (1,2) . See the next Fig.
Solution. Suppose that f has at least 2 fixed points. Let 1 [a ,b ] and 2 [a ,b ] such
that 1 2 , and f (1 ) 1 , and f (2 ) 2 . Since f is continuous on [1 , 2 ] and
differentiable on (1 , 2 ) , we know by the Mean Value Theorem that there exists
c (1 , 2 ) with
f (2 ) f (1 ) 2 1
f (c ) 1.
2 2 2 1
However, this is a contradiction because c (a ,b ) but f (x ) 1 for every x (a ,b ).
We next consider some result that can be proved as corollaries of the MVT.
76
Corollary 6.1:If f 0 on interval I , then f is an increasing function on I . The
interval I can be open or closed, finite or infinite.
Proof. Exer.
Corollary 6.2: If f 0 on interval I , then f is an decreasing function on I .
Proof. Exer.
Example 6.12: The sequence (s n ), where s n lnnn , is decreasing for all n 3. This
follows from Corollary 6.2, because the function f (x ) lnxx is decreasing for x e ,
since f (x ) 1xln2 x 0 when 1 ln x , or when x e .
Example 6.15: Use the Mean Value Theorem to find upper and lower bounds for 67.
Solution. By applying the Mean Value Theorem to f (x ) x on the interval
[64,67], we have
67 64 1
67 64 2 c
for some value c for which
77
64 c 67 81.
This leads to the following string of inequalities.
1 1 1
18 2 c 16
1 67 8 1
18 3 16
1 3
8 67 8
6 16
8.16666 67 8.1875 .
(n )
f
(a )
Define Pn (t ) f (a ) f (a )(t a ) (t a ) n
n!
Then for each value of x (a ,b ), there is some value c between a and x so that
f (x ) Pn (x ) R n (c , x )
where
f ( n 1) (c )
R n (c , x ) ( x a ) n 1.
( n 1)!
Remark 6.6:
1. R n (c , x ) is called the remainder term. Pn (x ) is the Taylor polynomial of degree n,
and it approximates the value of f (x ) with an error given by R n .
3. Special cases: (i) if n 0, Taylors Theorem becomes the Mean Value Theorem,
since
f (x ) P0 (x ) R 0 (x ) f (a) f (c ) (x a )
reduces to
f (x ) f (a )
f (c ) .
x a
78
(ii) If n 1 ,
f (c )
f (x ) f (a ) f (a )(x a ) (x a )2 .
2!
5. If f (n )
(x ) exists for all n , and for all x [a ,b ], and if lim R n (x 0 ) 0 for
n
x 0 [a ,b ], then the sequence {Pn (x 0 )} converges to f (x 0 ) , and we call
(k )
f
lim Pn (x 0 ) (x 0 a )k
n k! k 0
The Taylor series expression for f at x 0 in powers of (x 0 a ).
Example 6.16: Use Taylor’s Theorem with n 1 to find upper and lower bounds for
67. Compare the accuracy of Example 6.6 and this example.
79
This gives an approximation for 67 that is accurate to 3 decimal place, while the case
when n 0 gives only 1-decimal-place accuracy (see Example 6.6).
Exercises:
sin x
lim 1.
x 0 x
1 cos x
lim 0.
x 0 x
The limit
f (x ) f (a )
f (a ) lim
x a x a
80
form which we calculate derivative always produces the indeterminate form 0/0. Our
success in calculating derivative suggests that we might turn things around and use
derivatives to calculate limits that leads to indeterminate forms.
For example,
sin x sin x sin 0 d
lim lim (sin x ) cos 0 1.
x 0 x x 0 x 0 dx x 0
L’Hopital’s rule gives an explicit connection between derivatives and limits that lead
to the indeterminate form 0/0.
Example 6.17:
3x sin x 3 cos x
i) lim 2
x 0 x 1 x 0
1
1 x 1 2 1 x 1
ii) lim .
x 0 x 1 2
x 0
x sin x 1 cos x
iii) lim ?
x 0 x3 3x 2 x 0
Note 6.1:
What can we do about the limit in Example 1 (iii)? The first form of L’Hopital’s
Rule does not tell us what the limit is because the derivative of g (x ) x 3 is zero at
x 0 . However, there is a stronger form of L’Hopital’s Rule that says that whenever
the rule gives 0/0 we can apply it again, repeating the process until we get a different
result. With this stronger rule we can finish the work begun in Example 1 (iii)
81
Theorem 6.6: B (L’Hopital’s Rule-Stronger Form)
Suppose that
f (x 0 ) g (x 0 ) 0
and that the function f and g are both differentiable on an open interval (a,b ) that
contains the point x 0 . Suppose also that g 0 at every point in (a,b ) except possibly
x 0 . Then
f (x ) f (x )
lim lim ,
x x 0 g ( x ) x x 0 g ( x )
Proof. The proof is based on a special version of the Mean Value Theorem. It can be
found in our text book.
Example 6.18:
1 x 1 (x / 2) 0
lim ( )
x 0 x2 0
(1 / 2)(1 x ) 1/2 (1 / 2) 0
lim (Still )
x 0 2x 0
(1 / 4)(1 x ) 3/2 1
lim .
x 0 2 8
Note 6.2:
As you apply L’Hopital’s rule, look for a change from 0/0 to something else. That is
where the limit’s value is revealed.
Example 6.19:
1 cos x sin x 0
lim lim 0
x 0 x x 2 x 0 1 2 x 1
Note 6.3: If we reach a point where one of the derivative is zero and the other is not,
the limit in question is either zero, as in Example 3, or infinity, as the next example.
82
Example 6.20:
sin x 0
lim ( )
x 0 x2 0
cos x
lim .
x 0 2x
Provided the limit on the right exists. In the notation x a , a may be either finite
or infinite.
Example 6.21:
tan x sec 2 x
I) lim lim 1.
x /2 1 tan x x /2 sec 2 x
x 2x 2 1 4x 4 2
II) lim 2 lim lim .
x 3x 5x x 6x 5 x 6 3
Note 6.4: The forms 0 and can sometimes be handled by changing the
expressions algebraically to get 0 / 0 or / instead.
1
Example 6.22: The limit lim x sin
x x
leads to the form 0, but we can change it to the form 0/0 by writing x 1 / t and
letting t 0 :
1 1 sin t
lim x sin lim sin t lim 1.
x x t 0 t t 0 t
x 2 sin x1
Question: Use Limit Theorem to find lim . Can we use L’Hopital’s Theorem
x 0 sin x
to find this limit? Justify you answer.
84
CHAPTER 7
Let us define
M k sup x [ x k 1 ,x k ]{f ( x )}, m k inf x [ x k 1,x k ]{f ( x )}.
n n
Let S M k x k , s m k x k where x k x k x k 1.
k 1 k 1
S is called the Riemann upper sum and s is called the Riemann lower sum.
Now, we define
I inf {S }, J sup{s }
P P
a
f ( x )dx .
J is called the Riemann lower integral of f on [a , b ], and is denote d by
b
a
f ( x )dx
85
Important Points:
We have
M k 1, mk 0
n n
S M k x k , s m k x k
k 1 k 1
n
(1)x k 0
k 1
b a
I inf P {S } b a.
Next
J sup P {s } 0
I J
f is not riemann integrabal on [a ,b ]
86
Necessary and sufficient condition for Riemann integrability:
Since ε is arbitrary (ε 0)
We get I J 0
I J
To prove ( ): Given I J ( f is Riemann integrable)
To prove S s ε
By definition,
I inf{S }, J sup{s }
P P
ε ε
I S , J s
2 2
ε ε
S I , s J
2 2
ε
s J
2
Now,
ε
S I
2
ε
s J
2
S s I J ε
S s ε ( I J )
87
Riemann integrable as the limit of a sum:
lim f (t k ) x k f ( x )dx ,
n
k 1 a
I J S n sn ε lim (S n s n ) 0
n
I J lim S n lim s n
n n
We know that s n J I S n
lim s n J I lim S n
n n
By ,
lim S n lim s n I J
n n
Since, t k [x k 1 , x k ], we have
m k f (t k ) M k
Multiply by x k ,
m k x k f (t k )x k M k x k
n n n
m k x k f (t k )x k M k x k
k 1 k 1 k 1
n
s n f (t k )x k S n
k 1
Take limit as n
n
lim s n lim f (t k )x k lim S n
n n n
k 1
By ,
n
I J lim S n lim s n by lim S n lim s n lim f (t k )x k .
n n n n n
k 1
88
By ,
n b
Proof:
f :[a , b ] is continuous (given)
(by Theorem 5.2 in Chapter 2) f is bounded.
Also, f is uniformly continues on [a , b ]
ε
f (x ) f ( y ) for all x , y [a,b ] and x - y
b a
ε
M k mk
b a
Multiply by x k
ε
M k x k m k x k x k
b a
n n n
ε
M k x k m k x k x k
k 1 k 1 b a k 1
ε
S s b a
b a
S s ε (by Theorem 7.1) I J f is Riemman integrable.
89
Theorem 7.4: A monotonic function f on [a,b ] is Riemann integrable on [a,b ].
Proof: This follows from 7.4 and the fact that a function of bounded variation can be
expressed as two difference of two monotonic increasing function.
a
[f 1 (x ) f 2 (x )]dx f 1 (x )dx f 2 (x )dx
a a
90
Proof:
Method 1: Let x k t , then we have by Definition 5.2,
b n
a
f 1 (x ) f 2 (x ) dx nlim
f 1 (t k ) f 2 (t k )x k
k 1
t 0
n n
= lim f 1 (t k )x k lim f 2 (t k )x k
n n
t 0 k 1 t 0 k 1
b b
f 1 (x ) dx f 2 (x ) dx .
a a
Method 2: Homework.
a
cf (x )dx c f (x )dx .
a
Proof: The idea of the proof is similar to proof of the above theorem (Theorem 7.6)
a
f (x )dx f (x )dx ,
b
a
f (x )dx 0
Proof: (Homework).
Theorem 7.9: If f is bounded and Riemann integrable on [a,b ] , and c is any point
of [a,b ] , then
b c b
a
f (x )dx f (x )dx f (x )dx .
a c
Proof: (Homework).
a
f (x )dx g (x )dx
a
Proof: Let
M k(1) sup x [ x k 1 ,x k ]{f (x )}, m k(1) inf x [ x k 1 ,x k ]{f (x )},
M k(2) sup x [ x k 1 ,x k ]{g (x )}, m k(2) inf x [ x k 1 ,x k ]{g (x )}.
91
Also, let
n n
S (1) M k(1)x k , s (1) m k(1)x k ,
k 1 k 1
n n
S (2)
M (2)
k x k , s (2)
m k(2)x k .
k 1 k 1
Then, since f ( x ) g (x ),
M k(1) M k(2) , m k(1) m k(2)
S (1) S (2) , s (1) s (2) .
Let
I (1) inf{S (1) }, J (1) sup{s (1) }
P P
I (2)
inf{S (2)
}, J (2)
sup{s (2) }.
P P
Then, we have
I (1) I (2) , J (1) J (2) .
Since
b b
I (1) J (1) f (x )dx , I (2) J (2) g (x )dx , (given) ,
a a
we have
b b
a
f (x )dx g (x )dx .
a
Theorem 7.11: If f is Riemann integrable on [a,b ] and has upper and lower bounds
M and m on [a,b ] respectively, then
b
m (b a ) f (x )dx M (b a ),
a
and if is a number such that m M , then
b
a
f (x )dx (b a ) .
Proof: We have
m f (x ) M .
b b b
a
m dx f (x ) dx M dx . (by Theorem 7.10)
a a
b
or m (b a ) f (x ) dx M (b a ).
a
It follows, such that
m M ,
92
m (b a) (b a) M (b a)
b
f (x )dx (b a).
a
Solution:
/2 /2 /2
(i)
0
(x 3cos x ) dx x dx 3 cos x dx
0
0
by Theorem 5.6 and Theorem 5.7
3.
8
(ii) Since
x if x 0
x
x
if x 0
5 0 5
x dx x dx x dx
4
4 0
by Theorem 7.9
0 5
x dx x dx
4 0
1 1
[02 (4) 2 ] [52 0] 20.5
2 2
93
where
M max{f }, m min{f }
1 1
on [0,1]. Clearly M 1, m 12 and x 9 dx . Thus
0 10
9
1 1 1 x 1
( ) dx 1 ( )
2 10 0 1 x 10
Example 7.4: Show that
4
1
1 x 4 dx 7.5.
Solution: Notice that
1 x 2 x 1 x 2 x x .
Since x x for x 0, we have 1 x 2 x for 1 x 4. Thus, by Theorem 7.10,
we have
4 4 1
1 1 x 4
dx 1 x dx 2 (42 12 ) 7.5.
Example 7.5: Begin by the fact that says if f (x ) 0 on [a , b ] implies that
b
f (x ) dx 0 to show that
a
b b
a
f (x ) dx g (x ) dx for
a
f ( x ) g ( x ) on [a , b ].
a
(f g ) 0.
Then, Theorem 7.6 gives
b b b
a
f g (f g ) 0
a a
and so
b b
a
f dx g dx .
a
a
f (x )dx (b a )f (c )
94
Proof:
Given:
f is continuous on [a,b ]
f Riemann integrable on [a,b ] (by Theorem 7.3)
b
s.t. m
M
s.t.
min max
a
f (x )dx (b a )
But a continuous function takes on all values between its min and max values (Math
315) and so
c s.t. f (c ) (Math 315)
b
a
f (x )dx (b a )f (c ) (by ) .
b a a
f (c ) f (x )dx
Example 7.7: If f is continuous and the M.V. of f (x ) on [1,3] is 7 , then find the
M.V. h (x ) f (x ) 5 on [1,3].
Solution: Since f is continuous on [1,3] and f (c ) 7, then
3 3
f (c )(3 1) f (x ) dx f (x ) dx 7(2) 14
1 1
and since h ( x ) is continuous on [1,3], then
95
3 3
h (c )(3 1) h (x ) dx 2h (c ) (f (x ) 5) dx
1 1
3 3
2h (c ) f (x )dx 5dx
1 1
2h (c ) 14 5(3 1)
2h (c ) 14 10
24
h (c ) 12
2
Thus h (c ) 12 is M.V of h ( x ) on [0,3].
a
f (x )dx M (b a )
Proof: Exercise.
a
f (x )dx f (x ) dx
a
a
f (x )dx F1 (x )dx F2 (x )dx
a a
b b b
a
f (x ) dx F1 (x )dx F2 (x )dx
a a
Then we have
b b b
a
f (x ) a
F1 (x )dx a
F2 (x )dx
96
b b b
F1 (x )dx F2 (x )dx f (x ) dx .
a a a
a
f (x )dx f (x ) dx
a
if a b .
f (t
k 1
n )x k f (t n )x k f (t n ) x k
k 1 k 1
97
Theorem 7.15: If f is Riemann integrable on [a,b ] and F ( x ) ax f (u )du , then
d d x
dx a
F ( x ) F ( x ) f (u )du f (x )
dx
at each point of continuity of f (x ).
a
F (x )dx f (x )dx F (b ) F (a ) or
a
x x
a
F (u )du f (u )du F (x ) F (a )
a
a
F (x ) g (x )dx F (b )G (b ) F (a )G (a ) f (x )G (x )dx
a
b
F (x )G (x ) a f (x )G (x )dx
b
a
f (x )dx f g (u ) g (u )du .
a
98
Example 7.9: Find the derivative of the following function:
x 1
F (x ) dt
a 1 sin 2 t
1 3x 2
Thus, F (x ) h ( g (x )) g (x ) 3x 2
.
1 sin 2 x 3 1 sin 2 x 3
Example 7.11:
x 2 sin(1 / x ), x 0
(a) Prove that the derivative of F (x )
0, x 0
is given by
2x sin(1 / x ) cos(1 / x ), x 0
F ( x )
0, x 0
2/ 8
(b) Show that F (x )dx 2 .
2/
99
Improper Riemann integrals:
a
f (x )dx lim f (x )dx
b a
b b
f (x )dx lim
a a
f (x )dx
b
f (x )dx lim
a a
f (x )dx
b
If the limit in does not exist for 1 2 but does exist when 1 2 , we say that the
corresponding value of the limit is the Cauchy principle value of ba f (x )dx . Also in
such case we say that the Riemann integral of f (x ) exists in the Cauchy principle
value sense.
Note 7.1: A similar remark can be made for for which the Cauchy principle value,
if it exists, is obtained by taking a b and letting b .
100
Example 7.13: Prove that
dx 2
7 ( x 1)5/3
exists as an improper Riemann integral provided that it is taken in the Cauchy principal
value sense.
Solution: The integral 1 / (x 1)5/3 is unbounded at x 1 so that the integral is
improper. In the Cauchy principal value sense
2 dx 1 dx 2 dx
lim
7 (x 1)5/3 0 7 (x 1)5/3 1 (x 1)5/3
1 2
3 3
2/3 2/3
lim (x 1) (x 1)
0
2 7 2 1
3 3 3 3
lim ( ) 2/3 (8)2/3 (1)2/3 ( ) 2/3
0
2 2 2 2
9
.
8
Note that if we defined
2 dx 11 dx 2 dx
lim
7 (x 1)5/3 10 7 (x 1)5/3 12 (x 1)5/3
2 0
sin x
Example 7.14: Prove that 1 x
dx exists.
1 sin x
Solution: The Riemann integral 0 x
dx exists. Also, on integrating by parts
we have
b
b sin x cos x b cos x cos b b cos x
1 x
dx
x 1
1 x2
dx cos1
b
1 x 2 dx
Now,
cos x b b cos x b dx 1
1 x 2 dx 1 x 2 dx 1 x 2 dx 1 b
Then, taking the limit as b , we see that
101
b cos x cos x
lim dx 1 x 2 dx
b 1 x2
exists as a Riemann integral.
0 x dx
b 0
lim
x
dx 0 x dx 1 x dx
And then it exists.
sin x
Example 7.15: Prove that 0 x
dx
diverges, i.e., f n (x )dx is not absolutely convergent.
0
Solution: If n is any positive integer, we have
2 2 2
π 2π (n 1)π
2 1 1
(1 )
π 2 n 1
But since the limit of the last series as n is infinite, the required result follows.
π
Example 7.16: Find 0
1 sin x dx
102
Method 1. Firstly,
1 sin x 1 sin x
1 sin x ,
1 sin x
provided that x π2 . Note that 1 sin x 0, so 1 sin x is well defined. Thus,
1 sin 2 x cos 2 x cos x
1 sin x
1 sin x 1 sin x 1 sin x
cos x , x [0, π2 ]
cos x
cos x , x [ 2 , π ]
π
0 1 sin x dx lim
t π2
0 1 sin x
dx lim
s π2
0 1 sin x
dx
t π
2(1) 2(1) 4.
Method 2. We have
1 sin x (sin 2 ( x2 ) cos 2 ( x2 )) 2 sin( x2 ) cos( x2 ) (sin( x2 ) cos( x2 )) 2
Also,
x π
0 x π 0 .
2 2
Thus,
1 sin x sin( x2 ) cos( x2 ) sin( x2 ) cos( x2 ),
since sin x and cos x are nonnegative in [0, π2 ]. So,
π
103