Improper Integrals Lecture Notes
Improper Integrals Lecture Notes
C
Applied Mathematics II
Lecture Note
For Technology Faculty Students, AAU
1. Improper Integrals
Definition: An integral
b
a
f ( x ) dx
is called an improper integral if either the limit of integration is infinite or when the integrand f (x) is
singular (discontinuous) somewhere in the range a x b.
I. Suppose f (x) is continuous on the interval [a, b] except at the point c where a c b, then
b d
b
a
f ( x ) dx = lim
d c a
f ( x ) dx + lim
g c g
f ( x ) dx .
b
a
f ( x ) dx = lim
b
a
f ( x ) dx .
b b
f ( x) dx = lim
a a
f ( x ) dx .
b c
f ( x) dx = lim
b
c
f ( x ) dx + lim
a a
f ( x ) dx , for some cR usually 0.
In each case, if the limit exists, then the improper integral is said to converge, otherwise the improper
integral is said to diverge.
1
Eg1. Check if ln x dx is convergent or divergent.
0
This improper integral represents an unbounded area, as illustrated by Fig. 0.1. Hence if the
improper integral is convergent, then the area is finite; else if the improper integral diverges, then the
area is infinite.
1
= lim x ln x x
b0 b
= lim (-1 – b lnb + b)
b0
= -1.
Hence the improper integral converges. Here one has to use LHopital’s rule to evaluate
lim b lnb, which is equivalent to
b0
1
lim ln1 b = lim b
1
= lim -b = 0.
b0 b0 b0
b b2
y = ln x
(1,0)
Fig.0.1 : Unbounded area above the graph of ln x and below the x – axis on the interval [0, 1].
b
b
1 dx = lim 1 = lim ( 1 + 1) = 1.
Eg2. 1 dx = lim
1 x2 b 1 x2 b
x 1 b b
b
b
1 dx = lim ln x = lim (lnb – ln1) = .
Eg3. 1 dx = lim
1 x b 1 x b
b
1
Notice the difference between the improper integrals in the above examples, Eg2 is converges where
as Eg3 diverges. The following example is a general case of the above examples and it is called the
p - integral.
2
1 , if p 1
1 dx = p 1
Eg4. xp
.
( diverges) , if p 1
1
b
1 dx = lim x p 1 = lim
b
b
1 dx = lim 1
b p 1
xp 1 ( p 1) x
b p b 1 p
x 1
1 1
1 , if p 1
p 1
= .
, if p 1
If the limit of integration is changed to [0, 1], then the condition for convergence posed on the value
of p will switch as given by Eg5. below.
( diverges ), if p 1
1
1 dx =
Eg5. xp
1
, if p 1
.
1 p
0
Proof: Exercise!
4
1. 1 dx 2. 1 dx
0 ( x 1) 2 0 x 4 2
4. ln x dx
1
3. 1 dx
0 x 1 x
5. e x dx
1 e 2 x
Comparison Test.
Theorem 1.1:
b
Assume that the proper integral a
f ( x ) dx exists for each b a and suppose that f (x) 0 for a11
x a. Then a
f ( x ) dx converges if and only if there is a constant M > 0 such that:
b
a
f ( x ) dx M for every b a.
This theorem forms the basis for the following comparison tests.
3
Theorem 1.2:
Suppose that f and g are continuous functions and 0 f (x) g (x) for all x [a, ).
a) If g( x) dx converges, then f ( x) dx converges.
a a
b) If f ( x ) dx diverges, then g ( x ) dx diverges.
a a
Eg: Evaluate 1 dx .
1
1 x 3
Solution:
1 1 1 .
3
1 x 3 x3 x2
But
1
1
3
x2
dx
ln x
2. Find the values of for which the improper integral 1 x
dx converges, and evaluate the
4
2. Sequences and Infinite Series
2.1. Sequences
Definition: A sequence is a function whose domain is the set of non - negative integers.
Definition: (Limit of a sequence.) A number L is called the limit of a sequence an nm if and
only if
for very > 0 there is N such that
nN an L .
In this case we write
lim an L .
n
an nm
Definition: We say a sequence converges if lim an L R. (i.e. if the limit exists). On
n
the other hand the sequence is said to be divergent if the limit does not exit.
1n n1 .
Eg2. Consider lim 1n 0 , since Given > 0 we can choose N > 1 from which we get
n
nN 1 1
n N
1 1 < (since N > 1 )
n N
1 <
n
1 0 ( since n > 0, 1
1
)
n n
n
Thus the sequence converges to 0.
1 for n even
Proof: (-1)n = .
1 for n odd
5
We proceed by proof by contradiction. Assume that lim( 1) n exists, say L; then by definition of
n
limit:
for =1 there exists an N such that
(1) n L 1 L 1 ,
which is contradicts ( * ).
(1) n L 1 L 1
In either case we arrive at a contradiction. This implies that our assumption was wrong. Therefore
lim( 1) n does not exist and hence the sequence ( 1) n n1 diverges.
n
c n
1. n
for c > 0. 2. n
3. ln n
2
n 1 n 1 n n 1
6. (1 n2 )n
n
4. e
n 5. 8n
2 n 3 n 1
n 1 n 1
7. (1 )
1 n
3n
(Hint: Apply L’Hopital’s rule to find the limit)
n 1
an bn n1 ,
an bn n1
6
and
where limbn 0
an
bn n 1 n
converge.
The proof is a direct application of the limit sum, product, quotient and scalar multiple theorem.
an n1
By the above note we are saying that all the properties of the sequence holds true if we re-
an nm . an nm
index it as in the form Observe here that the terms the sequence are
am , am1 , am2 ,
Bounded Sequences:
Definition: A sequence an n1 is said to be bounded if there exists a non-negative number M such
that
an M for each n = 1, 2, 3, . . .
Theorem 2.2:
a) If a sequence a n n 1 converges, then it is bounded.
b) If a sequence a n n 1 diverges, then it is unbounded.
Proof:
The two statements are equivalent. It then suffices to prove (a).
Suppose lim an L , then
n
nN an L .
which is equivalent to
nN an L an L .
which is equivalent to
nN an L .
which is equivalent to
nN L an L .
which implies
a N L , a N 1 L , a N 2 L ,
7
Now choose M = max a1 , a2 , , a N 1 , L .
Then we get that
an M for each n = 1, 2, 3, . . .
Remark: The converse of the above theorem doesn’t hold true. That is a bounded sequence might
diverge. For example consider (1)n
which is bounded by 1 but does not converge.
n 1
Monotonic Sequences
c) (1)n
a) 1 1n n 1 Sin 1n n1
b)
n 1
Sinn n1
3n 1 n3 1
d) 4n 5 e) f) n
n 1 n 1
n2
g) 2n
h) n
3n 1
n 1 n 1
8
Proof: The case when the sequence an n 1 is increasing and bounded has been proved. The proof
of the case when the sequence is decreasing and bounded follows immediately by just
considering an n 1 .
In this regard suppose an n 1 is increasing and bounded. Then there is an upper bound for the
sequence, by least upper bound axiom the sequence has a least upper bound say B. By the property
of least upper bound
Given > 0 B - can not be upper bound for the sequence. That is to mean
B aN an B < B whenever n N.
Which implies
B an < B if n N.
That is equivalent to
nN an B .
We then conclude that lim an B , and hence the sequence converges.
n
2n
Eg1: Use the above theorem to prove that the sequence n! is convergent.
n 1
2n 2n 1
Solution: The terms of the sequence are 2, 2, 4
3 , 2
3 ,..., n! , ( n 1)! ,…
We show the sequence is decreasing. That is:
2n 1
( n 1)! 2n
n! ,
equivalently
9
2 (n+1)
a0 0 and an 1 an 2 1
4 converges.
a
nk k 1
nk nk 1 , for each k, (that is let be an increasing sequence). Then nk is called a
k 1
Eg1. Consider the sequence 1n n1 . If we let nk 2k for each positive integer, then 21k 21n is
the corresponding subsequence of 1n n 1 . Note that the terms of this subsequence are 12 , 14 , 16 , …
Remark: 1.One can also prove that 31n n1 1n n1 . And 61n n1
is a subsequence of is a
subsequence of 31n n 1 . In this case 61n n 1 can be called a sub-subsequence of 1n n 1 .
an n1
2. Since for nk k , nk k k 1 nk 1 , every sequence is trivially a subsequence of
itself.
an n1 an n1
Theorem 2.4: If a sequence converges to L then every subsequence of converges
to L.
nk k 1
Since the sequence of positive integers is increasing, n1 1 n2 n1 1 i.e. n2 2 and
an n1
hence by induction nk k for each positive integer k. From the fact that converges to L,
10
given 0 there exits a natural number N such an L whenever n N . Thus, whenever
nk k > N, we have a nk L . Hence the subsequence ank converges to L.
k 1
Corollary 2.4.a. If the sequence an n 1 has two subsequences which converges to different limits,
Corollary 2.4.b. If the sequence an n1 has a subsequences which diverges then, the sequence
an n1 diverges.
Eg2. Consider the sequence a n n 1 = ( 1) n n1 and its subsequences a 2 n n 1 = 1 n 1 and
a
2 n 1 n 1 = 1 n 1 . a 2 n n 1 converges to 1 and a 2 n 1
n 1
converges to -1. Thus by corollary
2.4.a. the sequence ( 1)
n
n 1
diverges.
Eg3. Let an sin( n4 ) for each natural number n. Let nk 4k 2 for each natural number k. Then
the subsequence a
nk k 1 = a
4 k 2 k 1 = sin( 4 k 2 )
4
k 1
= (1) n
n 1
. Therefore by corollary
2.4.b. the sequence sin( n4 )n1 divergent since it has a divergent subsequence.
Definition: (Limit Point)
Let a n n 1 be a sequence. The number a is called a limit point of a n n 1 if and only if there is a
subsequence of a n n 1 converging to a.
Eg4. Given a n n 1 = 1n n1 . 1n n1 is a subsequence of itself and since it converges to 0, 0 is a
limit point of 1n n1 .
Eg5. Consider the sequence a n n 1 = ( 1) n (1 1n ) n1 . The limit points of this sequence are 1 and
-1. Since the subsequence a2n n1 converges to 1. ( i.e. lim a2 n lim(1 21n ) 1 ) and
n n
subsequence a 2 n 1
n 1
converges to -1. ( i.e. lim a2 n 1 lim( 1)(1
n
1
2n 1 ) 1) .
n
11
2.2. Infinite Series
Let a n n 1 be a sequence. The expression a n or a1 + a 2 + a 3 + … + a n + … is called a
a 1
The sums
S1 = a1 (the first partial sum)
S 2 = a1 + a 2 (the second partial sum)
S 3 = a1 + a 2 + a 3
S n = a1 + a 2 + a 3 + … + a n (the nth partial sum)
are called partial sums. The sequence S n n 1 is called the sequence of partial sums.
Definition: Given the infinite series a n .If the sequence of partial sums S n n 1 converge to a
a 1
a
a 1
n = L. (The number L is called the sum of the series.)
If the sequence of partial sums diverges, then the series a
a 1
n is said to be divergent.
Remark: 1. Note that the sum of the series is not a sum in ordinary sense. It is a limit.
2. For the series a
am
n , the partial sums are
S1 = am
S2 = a m + a m1
S3 = a m + a m1 + a m 2
Sn = a m + a m1 + a m 2 + … + a m n 1
Eg.1: Show that
n 1
1
2n
converges.
Solution:
12
This implies that
2 Sn = 1 + 1
2 + 1
22
+…+ 1
2 n 1
= 1 + ( 12 + 1
22
+…+ 1
2 n 1
+ 1
2n
)- 1
2n
= 1 + Sn - 1
2n
.
2 Sn = 1 + Sn - 1
2n
Sn = 1 - 1
2n
Hence
n 1
1
2n
= 1.
Eg2. Show that 2n diverges.
n 1
Solution:
m 1 m 1
The mth partial sum S m = 2 + 2 2 + 2 3 + 1… + 2 2 And since lim 2 m 1 the
n
sequence of partial sums diverge or lim S m does not exist. Therefore the series
m
2n diverges.
n 1
Eg3. Show that the telescoping series
n 1
1
n( n 1) 1
1 2 1
23 1
3 4 1
n n 1 converges and
Solution:
1
n( n 1) 1
n 1
n 1 .
Which implies that
S m = (1 - 1
2 ) + ( 12 - 13 ) + ( 13 - 1
4 ) + … + ( m1 1
m 1 ) =1 1
m 1 .
Thus
lim S m lim(1 1
m 1 ) 1.
m m
Therefore
13
n 1
1
n ( n 1) 1.
Exercises 3.1:
a. Show that
i.
n 1
1
n ( n 1)( n 2 ) 1
4 ii.
n 1
1
n ( n 1)( n 2 )( n 3 ) 1
18 iii.
n 1
1
( 2 n 1) 2 n 1 1
2
c. Let a n n 1 be a sequence, and S m be the mth partial sum of the series (a n an 1 ) .
n 1
i. Show that S m = a1 am 1 .
ii. Show that the series a n converges if and only if the sequence a n n 1 converges.
n 1
iii. Incase the series converges find its sum.
Eg4. The Harmonic Series
n 1
1
n diverges.
Indeed S 21 = S 2 = 1 + ( 12 )
1
2
S 22 = S 4 = 1 + 1
2 + 1
3 + 1
4 1+ 1
2 + 4 14 = 1 + 2( 12 )
1
1 1
2
2
S 23 = S 8 = 1 + 1
2 + 1
3 + 1
4 + 1
5 + 1
6 + 1
7 + 1
8 1+ 1
2 + 4 4 + 8 8 18 18 = 1 + 3( 12 )
1 1 1 1
and
= 1 + m( 12 ) .
But
14
lim S2m lim 1 m( 12 ) , and hence by corollary 2.4.b. lim S n does not exist.
m m n
REMARK: Let m k . The series a
am
n converges if and only if the series a
ak
n converges.
Exercise 3.2: Show that
n5
1
n
diverges.
Theorem 2.4: If a
n 1
n converges, then lim an 0 .
n
Proof: For n 1 a n = ( a1 + a 2 + a 3 + … + a n 1 + a n ) – ( a1 + a 2 + a 3 + … + a n 1 )
= S n - S n 1
Since by hypothesis a
n 1
n converges lim S n and lim S n 1 exist and are equal.
n n
Hence
lim a n = lim( S n S n 1 ) = lim S n - lim S n 1 = 0.
n n n n
Corollary: If lim a n is not 0 (which includes limit does not exist), then
n
a
n 1
n diverges.
Theorem 2.5: Let r be any number and let c 0 and m 0. Then the geometric series
cr
m
n
= cr (i.e. converges) if and only if |r|<1.
nm
1 r
Proof: If |r| 1, then |c r n | |c| for all n m , then the limit of the terms is not zero. Hence
by the above corollary the series diverges.
1 + r + r 2 + … + r n - 1 = 1 r
n
1 r
15
from which we get the nth partial sum is
= c r m (1 + r + r 2 + … + r n – 1 ) = cr m (1 r ) .
n
S n = c r m + c r m + 1 + c r m + 2 + … + c r m+ n-1
1 r
Thus
lim S n cr m lim(1 r n ) = cr m since for r < 1 lim r m 0
n 1 r n 1 r n
5( 109 )
Eg: 5( 109 ) n is a geometric series with r =
n 1
9
10 . Hence it converges to
1 109
45 .
Exercise 3.3:
1. Prove the following.
a.
n 1
2
3n 1
3 b.
n2
1
n2 1
3
4
2n 3n n 1 n
c. 6n
2
3 d. 1
n2 n
n2 n 1
a.
n 1
2n 1
3 n b.
n 1
5
2
n 1 c. ln
n 1
n
n 1 d. (
n 1
1
2n
1
3n
)
3. A ball is dropped from a height of 12m. Each time it strikes the ground, it bounces back to a
height of three-fourth of the distance from which it fell. Find the distance traveled by the ball before
it comes to rest.
and
(a
n 1
n bn ) = a
n 1
n b
n 1
n
b. If a
n 1
n converges and c is any number, then c a
n 1
n converges and
16
c a
n 1
n = c an .
n 1
Nonnegative series is a series whose terms are nonnegative. The sequence of partial sums S n n1
of a nonnegative series is increasing. That is S n 1 S n for all n 1.
Here after we will study different tests for convergence or divergence of nonnegative series and
alternating series.
The following Integral Test compares a nonnegative series with an improper integral.
Integral Test
Theorem 2.6: Let a
n 1
n be a nonnegative sequence and f be continuous decreasing function
Since f is decreasing and f (n) = a n comparing f with the appropriate step functions we see that
n
0 a 2 + a3 + … + a n f ( x) dx
1
for n 2. (1)
and
n
f ( x) dx
1
a1 + a 2 + a 3 + … + a n 1 for n 2. (2)
17
From (1) a
n2
n converges if the integral f ( x) dx converges and hence a
1
n 1
n converges if the
integral f ( x) dx .
1
From (2) a
n 1
n diverges if the integral f ( x) dx
1
diverges. Which completes the proof.
Eg1. Using integral test show that Harmonic Series
n 1
1
n diverges.
Solution:
Consider the function f (x) = 1
x for all x [1, ) and from figure 3.2. below we have that
n
1
1 x
dx
i 1
1
i for all n 1.
3.2
But 1
1 x
dx diverges so by integral test
i 1
1
i diverges.
Eg2. Show that the p-series n 1
1
np
converges if and only if p > 1.
Exercises 3.4: Use integral test to determine whether the series converges or diverges.
18
a.
n 1
1
n ln(1 ) 1
n b.
n2
1
n2 1
c.
n 1
n3
n4 1
n
n
ln n
d. n2
e. 10
e2
n2 n2
f. For what value of does the series
n2
1
n (ln n )
converge?
Comparison Test.
Theorem 2.7: a. If bn converges and 0 a n bn for all n 1, then
n 1
a
n 1
n converges and
an
n 1
b
n 1
n .
b. If an diverges and 0 a n bn for all n 1, then
n 1
b
n 1
n diverges.
Proof: (a)
Let S m be the mth partial sum of an and S m be the mth partial sum of
n 1
b
n 1
n .
Since b n converges lim S m L (exists). Moreover since 0 a n bn , both S m m1 and
m
n 1
S m
m 1
are increasing sequences and 0 S m S m < L for all m 1. ( Verify! )
Also an lim S m L = lim S m = b n ( Verify! )
m m
n 1 n 1
Proof (b):
If a
n 1
n diverges and 0 a n bn for all n 1. Assume b
n 1
n converges, then by part (a) above
a
n 1
n converges, which is in contradiction to our hypothesis. Therefore the assumption was wrong
i.e. b
n 1
n diverges.
19
Eg1. Show that
n 1
1
2n 1
converges.
Solution:
1
2n 1
1
2n
for all n 1
and
n 1
1
2n
is a geometric series which converges, and hence by the comparison test
n 1
1
2n 1
converges.
Exercise: 3.5:
1. Prove the following:
a.
n 1
1
2 n 1
diverges. b.
n 1
1
2n 1
converges
c.
n 1
1
n! converges ( Hint: compare it with
n 1
1
2n 1
)
a.
n 1
1
2n
-
k 10
1
2k
b.
n 1
1
22 n
a. If lim abnn L 0 , then the two series either both converge or both diverge.
n
b. If lim abnn 0 and
n
bn converges, then
n 1
a
n 1
n converges.
c. If lim abnn and
n
bn diverges, then
n 1
a
n 1
n diverges.
Proof:
Since lim abnn L and L > 0 for L
2 there exists N such that
n
20
|abnn L| L
2 for n N
Equivalently
L
2 an
bn 3L
2 for n N .
diverges, then a
n 1
n diverges.
Ratio Test
a r ( possibly ).
an 1
Theorem 2.9: Let n be a positive series and let lim an
n
n 1
a. If 0 r < 1, then a
n 1
n converges.
b. If r > 1, then a
n 1
n diverges.
Proof: (a)
an 1
Let c R such that r < c < 1. Since lim an r , by the definition the limit given = c – r > 0
n
0 cr
an 1
an r whenever n N ,
equivalently
21
c r r c whenever n N (i.e. n N , n N 1 , n N 2, ) .
an 1
0 an
That is
a N 1 ca N
a N 2 ca N 1 c(ca N ) c 2 a N
aN k c k aN
ca N
But the series c
k 1
k
a N converges to
1 c
since it is a geometric series with c < 1. Thus by
comparison test the series a N k converges. Consequently
k 1
a
n 1
n converges.
Proof: (b)
an 1
From lim an r > 1 there exists N such that
n
an 1
an 1 whenever n N . ( Verify! )
That is
a N 1 a N
a N 2 a N 1 a N
aN k aN
lim a n 0 . And hence the corollary of theorem 3.1, the series
n
a
n 1
n diverges.
1 , the test for convergence and divergence fails. For this consider the p – series
an 1
When lim an
n
1
an 1 ( n 1) p
1
np
: lim an lim 1
lim( n n 1 ) p 1 . Where as the p – series converges for p 1
n n n
n 1 np
Eg1.
n 1
n
10n
.
22
n 1
10n 1 n 1 1 1n
r lim
an 1
an lim n
lim 10n lim 10 1
10 1.
n n n n
10n
Hence by the ratio test the series converges.
Eg2: Apply ratio test to the series n 1
nn
3n n !
( n 1)n 1
r lim
n
an 1
an lim
n
3n 1 ( n 1 )!
nn lim
n
( n 1)n
3n n
lim 13
n
n 1 n
n e
3 1.
3n n!
n
Exercises 3.6:
1. Use the ratio test.
a.
n 1
2n
n! b.
n 1
2n
n2
c.
n 1
n!
nn
d.
n 1
( 2 n )!
( n!)2
e.
n 1
2 n n!
( 2 n )! f.
n0
n3
n! g.
n0
( n 1)!
n!5 n
e. For what value of does the series
n 1
n! n
nn
converge?
11 1
2 1
3 1
5 18
converge or diverge?
Root Test
Theorem 2.10: Let a
n 1
n be a nonnegative series and that lim a n r ( possibly ).
n
a. If 0 r < 1, then a
n 1
n converges.
23
b. If r > 1, then a
n 1
n diverges.
If r = 1, then no conclusion can be drawn about the convergence or divergence of the series from
this test alone.
Proof (a): Assume that 0 r < 1 and let s be any number such that r < s < 1.
Since lim a n r < s there is an integer N such that for every n N we have
n
a n s which is equivalent to an s n .
But s
n 1
n
converges since s < 1 and hence by comparison test a
n 1
n converges.
Eg: Apply root test to the series
n 1
n
10n
.
Solution: r lim n lim 10n 1 . Therefore by root test the series converges.
n
n 1
n 10n n
10
a. n( )
n 1
4
n
b. (
n 1
nn
)
n! n
c.
n 1
ln n
en
An alternating series consists of positive terms but has a changing or alternating sign:
a1 - a 2 + a 3 - a 4 + a 5 - … = (1)
a 1
n 1
an ,
with
a n > 0.
Convergence of an alternating series is established under set of conditions stated in the following
theorem.
24
and lim an 0 . (2)
n
Then the alternating series (1)
a 1
n 1
a n converges. Furthermore the sum S and the sequence of
|S S k | ak 1 . (3)
Proof: Let S k k 1 be the sequence of partial sums. We will show S 2 k k 1 is bounded and
increasing whereas S 2 k 1
k 1
is bounded and decreasing.
Now, we consider the difference of consecutive terms of the sequence S 2 k k 1 ,
S 2( k 1) - S 2 k = S 2 k 2 - S 2 k
= ( a1 - a 2 + a 3 - a 4 + … - a 2 k + a 2 k 1 - a 2 k 2 ) - ( a1 - a 2 + a 3 - a 4 + … - a 2 k )
= a 2 k 1 - a 2 k 2 0. by (1)
And
0 0 0 0
S 2k = a1 a2 a3 a4 a5 a 2 k 2 a2 k 1 a2 k
This implies that
S 2 k a1 for each k = 1,2, 3, …
Now
S 2 k 1 - S 2 k = ( a1 - a 2 + a 3 - a 4 + … - a 2 k + a 2 k 1 ) - ( a1 - a 2 + a 3 - a 4 + … - a 2 k )
= a 2 k 1 .
Thus
lim S 2 k 1 - lim S 2 k = lim( S 2 k ! S 2 k ) = lim a 2 k 1 = 0 , by (2)
k k k k
25
which implies
lim S 2 k 1 = lim S 2 k .
k k
Consequently lim S k exists and lim S k = lim S 2 k = lim S 2 k 1 . ( Prove! this statement
k k k k
Therefore (1)
a 1
n 1
a n converges.
Next let S be the sum of the series (1) n 1
a n . Since S 2 k k 1 is increasing we have
a 1
S - S 2 k 0.
And since
S
2 k 1 k 1 is decreasing with limit S
S 2 k 1 - S 0,
and
S 2 k 1 - S 2 k S - S 2 k .
0 S - S 2 k S 2 k 1 - S 2 k = a 2 k 1 . (5)
(5) proves the inequality for the case of an even index where as (6) proves the case of an odd index. .
theorem the series n 1
( 1)n
n converges.
a. (1)n
n 1
n2
n ( n 1) b. (1)n
n 1
2
3n
c. (1)
n 1
n 1 ln n
n .
26
Definition: The infinite series a n is said to be absolutely convergent if the series
n 1
| a
n 1
n | is
convergent.
Eg: Consider the series (1)
n 1
n 3
4n
= 34 + 163 643 + … + (1)n 3
4n
+….
| (1)n
n 1
3
4n
|=
n 1
3
4n
= 3
4 + 163 3
64 +…+ 3
4n
+…
converges absolutely.
b. Generalized Limit Comparison Test: lim
n
|an|
|bn| L 0 and |b | converges, then a
n 1
n
n 1
n
converges absolutely.
c. Generalized Ratio Test: Suppose that an 0 for all n 1 and that lim r (possibly ):
an
an 1
n
If r < 1, then a
n 1
n converges absolutely.
If r > 1, then an 1
n diverges.
If r = 1, then no conclusion can be drawn about the convergence of the series form this test
alone.
27
d. Generalized Root Test: suppose that lim n |an| r (possibly ):
n
If r < 1, then a
n 1
n converges absolutely.
If r > 1, then a
n 1
n diverges.
If r = 1, then no conclusion can be drawn about the convergence of the series form this test
alone.
(1)
n n
n 1 2 x
Eg1: For what value of x does the series n 3n
converge?
n 1
Solution:
For the given series,
2n x n 2n 1 x n 1
a n ( 1)n 1 n 3n
and a n 1 ( 1) n 2 ( n 1)3n 1
.
So
2n 1 x n 1 n 3n
lim lim ( n 1)3n 1 2n x n = lim 23 | x| n n 1 = |x|.
an 2
an 1 3
n n n
Therefore the series is absolutely convergent when 23 |x| < 1or equivalently |x| < 32 . The series is
divergent when 23 |x| > 1 or equivalently |x| > 32 . When 23 |x| = 1 (i.e. when x = 32 ratio test
fails. When x = 32 , the given series becomes
1
1 1
2 1
3 1
4 15 (1) n 1 1n ,
2n 3n
And when x = - 32 the terms of the series become (1) n 1 n3n (1) n 2n (1) 2n 1 n n where
1 1
the series is
11 12 13 14 15 1n ,
which is divergent.
Therefore the series is absolutely convergent when - 32 < x < 32 and is conditionally convergent for
x = 32 . If x - 32 or x > 32 the series diverges. ( i.e for | x | > 32 or x = - 32 ).
cos 13 n
Eg2: Determine if the series n2
is convergent or divergent.
n 1
Solution:
|cos 13 n |
n2
1
n2
for all positive integers n.
28
cos 13 n
1
n2
is a p – series which converges. So by generalized comparison test n2
is
n 1 n 1
cos 13 n
convergent. Thus n2
is absolutely convergent.
n 1
Theorem 2.13: If the series a
n 1
n is absolutely convergent, then it is convergent and
an
n 1
|a
n 1
n |.
Proof:
Consider the series an ,
n 1
|an | , and
n 1
(a
n 1
n | a n |) ; and let their sequences of partial sums
be S n n 1 , Tn n1 , and Rn n1 respectively. For any positive integer n an | an | is either 0 or
2| a n |.
So
0 an | an | 2| a n | (1)
Since |a
n 1
n | is convergent it has a sum say T , and since Tn is increasing
0 Tn T
So
0 Rn 2 Tn 2T (2)
a
n 1
n is convergent since it is a difference of two convergent series and let S be its sum, then
S= an =
n 1
n 1
an | an | | an | = (an | an |) -
n 1
|a
n 1
n | = R – T.
But also
S = R – T 2T – T = T (3)
Since a n is a convergent series
n 1
( a
n 1
n ) is also a convergent series and
( a n ) = -
n 1
a
n 1
n = - S.
29
And
| an | =
n 1
|a
n 1
n | = T.
an
n 1
|a
n 1
n |.
Exercises:
1. Determine if the following series is absolutely convergent, conditionally converge or divergent.
a. (1)n
n 1
2
n!
n 1 b. (1)n 1 sin n
n 1
c. (1)
n 1
n nn
n!
(1)
( 1) n 2 n 100 n
( 1)n
n
d. n ( 1) n e. 3n 1 f. n
n
n2 n 1 n 1
2. Prove that if a n is absolutely convergent and an 0 for all n, then
n 1
n 1
1
| an | is divergent.
3. Prove that if a n is absolutely convergent, then
n 1
a
n 1
n
2
is convergent.
30
31
3. Power series
c ( x a)
n 1
n
n
= c0 c1 ( x a) c2 ( x a) 2 cn ( x a) n
c
n 1
n x n = c0 c1 x c2 x 2 cn x n
Eg1. The geometric series cx
n 1
n
, where c 0 is an example of a power series that converges for
Eg2. If r 0 the power series cr
n 1
n
xn = c(rx)
n 1
n
is a geometric series for each value of x and it
Eg3. Show that n! x
n0
n
= 1 x 2 x 2 6 x 3 24 x 4
Solution: If x 0, then
( n 1) x n 1
lim n! x n
= lim ( n 1)x .
n n
Hence by Generalized Ratio Test the series diverges. How about when x = 0?
Eg4. Show that
n0
xn
n! .
Solution: If x 0, then
xn 1
lim ( n 1) !
xn
= lim 1
n 1 x 0.
n n! n
Thus by Generalized Ratio Test the series converges for all x 0. Therefore the series converges
for any x
32
Lemma 3.1:
a. If cn s n converges, then
n 1
c
n 1
n x n converges absolutely for | x | < | s |.
b. If c s
n 1
n
n
diverges, then c
n 1
n x n diverges for | x | > | s |.
Proof: (a) Let | x | < | s |, and rewrite c
n 1
n x n as
c
n 1
nx
n
= c s
n 1
n
n x n
s .
But from hypothesis c s
n 1
n
n
converges and hence by theorem 2.4. lim cn s n 0 . Consequently
n
Theorem 3.1: Let c
n 1
n x n be a power series. Then exactly one of the following conditions holds.
a. c
n 1
n x n converges only if x = 0.
b. c
n 1
n x n converges for all x.
c. There is a number R > 0 such that c
n 1
n x n converges for | x | < R and diverges for | x | > R.
is the only value of x that the series converges then condition (a) holds.
33
Suppose that the given series is convergent for x = s where s 0. Then it follows from Lemma 3.1.
that the series is absolutely convergent for all values of x for which | x | < | s |. Now if in addition
there is no value of x for which the series diverges, then this is condition (b).
If the given series is convergent for x = s where s 0 and is divergent for x = t where | t | > | s | .
From Lemma 3.1, the series is divergent for all values of x for which | x | > | t | . Hence | t | is an
upper bound for the set of all values for | x | for which the series is absolutely convergent. Therefore
by axiom of completeness this set of numbers has a least upper bound, which is R of condition (c).
The set values of x for which a given power series is convergent is called the interval of convergence
of the power series. The number R of condition (c) of theorem 3.1 is called the radius of
convergence. Moreover from the above the interval of convergence takes one and only one of the
following forms.
Eg1. Determine the interval of convergence of the power series n ( x 2) .
n 1
Thus the given series is absolutely convergent whenever |x – 2| < 1 that is -1 < x -2 < 1
equivalently, 1 < x < 3.
For x = 1, the series is (1)
n 1
n
n which diverges, since lim a2n lim 2n and lim a2 n 1 =
n n n
For x = 3, the series is n which also diverges.
n 1
n 1
xn
2 n2
= x
2 12
+ x2
2 22
+ x3
2 32
+ … + xn
2 n2
+ xn 1
2 ( n 1)2
+ …
34
For x = 1 the series is n 1
1
2 n2
which converges by either using comparison test or limit comparison
test with
n 1
1
n2
.
And for x = -1 the series is n 1
( 1)n
2 n2
which is absolutely convergent, as we just have seen it above
Exercise3.1: Determine the interval of convergence for each of the following power series.
1 3 5 ( 2 n 1)
1.
n 1
n! x n
nn
2.
n 1
2 4 6 ( 2n )
x 2n 1 3. (1)
n 1
n 1 ( n 1) x
n!
4. (1)n 1
n 1
( x 2 )n
n 5.
n 1
( x 2 )n
( n 1) 2 n 6. (1)
n 1
n 1 xn 1
( 2 n 1)!
7.
n 1
2n x n
n2
8. Prove that if the radius of convergence of the power series c x
n 1
n
n
is r , then the radius of
convergence of the series c x
n 1
n
2n
is r.
9. If a and b are positive integers, then find the radius of convergence of the power series
n 1
( n a )!
n!( n b )! xn .
Taylor’s Polynomial
Theorem 3.2: Let f be a function such that f and its first n derivatives are continuous on the closed
interval [a., b]. Furthermore let f (n +1)(x) exists for all x in the open interval (a, b). Then there is a
number t in the open interval(a, b) such that
f ( a ) f ( a ) f (n)(a) f ( n 1) ( t )
f (b) f (a) 1! (b a) 2! (b a)2 n! (b a)n ( n 1)! (b a)n 1 … (1)
Note: If n = 0 (1) becomes f (b) f (a) f (t )(b a) which is the mean value theorem..
Proof: Let F and G be two functions defined by
35
f ( x ) f ( x ) f ( n 1) ( x ) f (n) ( x)
F ( x) f (b) f ( x) 1! (b x) 2! (b x)2 ( n 1)! (b x)n 1 n! (b x)n … (2)
and
( b x )n 1
G( x) ( n 1)! … (3)
f ( x ) f ( x ) 3 f ( x )
F ( x) f ( x) f ( x) f ( x) (b x) 2 2!
(b x) 2!
(b x)2 3!
(b x)2
( n 1)
f ( n 1) ( x )
f ( 4) ( x )
3! (b x)3 ( n 1)( nf1)! ( x ) (b x)n 2 f ( n) ( x)
( n 1)! (b x)n 1 n f ( n) ( x)
n! (b x)n 1 n! (b x) n
Combining terms we see that the sum of every odd numbered term with the following even
numbered term is zero; so only the last term remains.
( n 1)
Therefore F ( x) f n! ( x ) (b x)n … (4)
Differentiation in (3) we obtain
G( x) 1
n! (b x )
n
… (5)
Checking the hypothesis of Cauchy’s Mean Value Theorem:
F (a) f ( n 1) ( t )
n!
(b t )n ( b n!t )n ( b a )n 1
( n 1)!
f ( n 1) ( t )
F (a) ( n 1)! (b a ) n 1 …. (7)
If x = a in (2), we obtain
36
f ( a ) f ( a ) f (n)(a) f ( n 1) ( t )
f (b) f (a) 1! (b a) 2! (b a)2 n! (b a)n ( n 1)! (b a)n 1 ,
which is the desired result.
f ( a ) f ( a ) f (n)(a) f ( n 1) ( t )
f ( x) f (a) 1! ( x a) 2! ( x a)2 n! ( x a )n ( n 1)! ( x a)n 1 (9)
Pn (x) is called the nth degree Taylor Polynomial of the function f at the number a, and Rn (x) is
called the remainder (Lagrange form of the remainder) named after the French Mathematician
Joseph L. Lagrange.
Eg1. Find the third degree Taylor polynomial of the cosine function at 4
.
Solution:
cos 4 ) cos( 4 )
P3 ( x) cos( 4 ) cos( 4 ) ( x 4 ) 2! ( x 4 ) 2 3! ( x 4 )3
2
2
2
2
( x 4 ) 4
2
( x 4 )2 2
12 ( x 4 )3 .
And
cos( 4 ) ( t )
R3 ( x) 4! ( x 4 )4 1
24 ( x 4 )4 where t is between
4 and x .
f ( a ) f ( a ) f (n)(a) f ( n 1) ( t )
f ( x) f (0) 1! ( x 0) 2! ( x 0)2 n! ( x 0)n ( n 1)! ( x 0)n 1 (10)
where t is between 0 and x .
37
x
Rn ( x) 1
n! a
( x t ) f ( n 1) (t ) dt
Proof: Exercise.
x
n 1
n
defines a function
f : (-1,1) R by f (x) = 1
1 x if |x| 1 , that is 1 + x + x2 + x3 + … + xn + … = 1
1 x .
Thus f (- x) = 1
1 x , that is 1 - x + x2 - x3 + … + (-1)nxn + … = 1
1 x ;
f ( x2 ) = 1
1 x2
, that is 1 + x2 + x4 + x6 + … + x2n + … + … = 1
1 x2
and
f ( -x2 ) = 1
1 x2
, that is 1 - x2 + x4 - x6 + … + (-1)nx2n + … + … = 1
1 x2
Theorem3.4: If the series cn x n has a radius of convergence R > 0, then the series
n 1
nc x
n 1
n
n 1
Solution: Let x and s be real numbers such that –R < x < R and |x| < |s| < R . Since |s| < R
c s
n 1
n
n
is convergent, which implies that lim cn s n = 0 . Thus for = 1 there is an N such that
n
lim
n
an 1
an lim
n
n 1
n
xn sn
xn 1 s n 1
x
s lim nn1
n
x
s 1.
38
Thus by Generalized Ratio Test nc x
n 1
n
n 1
converges absolutely on (-R , R). So if R is the radius
of convergence of convergence of nc x
n 1
n
n 1
R can not be lass than R i.e. R R (*)
To complete the proof we show that R is not greater then R. i.e we show that R R .
convergent.
For any natural number n cn t n n cn t n = ncn t n and hence by comparison test
n 1
cn t n is
convergent. This contradicts (1). Hence our assumption was wrong. Therefore R = R.
Corollary: If the radius of convergence of the power series c x
n0
n
n
is R then the radius of
convergence of n(n 1)c x
n2
n
n2
is also R.
Proof: Apply the above theorem for nc x
n 1
n
n
.
If R is the radius of convergence of the power series that defines a function f, then f is differentiable
on the open interval (-R, R). And the derivative of f can be obtained by differentiating the power
series term by term as stated by the following theorem.
Theorem 3.5: Let c x
n0
n
n
be a power series with radius of convergence R > 0. Then
d c x n
dx n 0 n nc x n
n 1
dx
d (c x
n
n
) for |x| < R.
n 1 n0
From this formula with f ( x) x n it follows that for every natural number n
n( n 1) n 2
x n a n na n 1 ( x a) 2! t n ( x a)2 where tn is between a and x for every n. … (i)
39
f ( x ) f ( a ) c n x c n a c0 c n x c 0
n n n
c a n
n
c (x n
n
an )
n0 n0 n 1 n 1 n 1
Dividing by (x – a) since x a and substituting for x by the expression shown in equation (i) we get
n
f ( x) f (a)
1 cn ( x n a n ) 1 cn na n 1 ( x a ) 12 n( n 1)t n n 2 ( x a )2 .
xa x a n 1 x a n 1
And so
f ( x) f (a)
ncn a n 1 xa
n(n 1) c t n2
… (ii)
xa n 1
2
n 1
n n
Because a is in (-R, R) it follows that nc a
n 1
n
n 1
is absolutely convergent.
Because bath x and a are in (-R, R) there is k > 0 such that |a| < k < R and | x | < k < R and
n(n 1) c k
n 1
n
n2
. Then because n( n 1) cnt n n 2 n(n 1) cn k n 2 for each tn , … (iii)
n(n 1) c t
n 1
n n
n2
is absolutely convergent.
It follows from (ii) and applying the inequality in theorem 2.13 that
f ( x) f (a)
f ( x) f (a)
Because the series in the right of (v) is absolutely convergent the limit of the right side as x
approaches a is zero. Therefore from (v) and the squeezing theorem it follows that
lim f ( xx) af ( a )
x
nc a
n 1
n
n 1
,
or equivalently
f ( a ) nc a
n 1
n
n 1
.
And because a may be any number in the open interval (-R, R) the theorem is proved.
40
Solution: 1
(1 x ) x
n0
n
for |x| < 1.
x
d 1 d n
d
(1 x x 2 x 3 x n )
dx (1 x ) dx dx
n0
1
(1 x )2
0 1 2 x 3x nx 2 n 1
) nx
n 1
n 1
n! 2! 3!
n0
Solution:
n 0
xn
n! is absolutely convergent for any value of x i.e. the interval of convergence is (-,
).
If f ( x )
n0
xn
n! then by theorems 3.3. and 3.4 f is differentiable on (-, ) and
xn
f ( x ) d n! nxn 1
xn 1
xn
f ( x) . … (*)
dx n0 n! ( n 1)! n!
n 1 n 1 n0
Eg3. Find the sum of the series
n0
1
n! .
Solution: By the result in example 2, e e1
n0
1
n! . Hence the sum of n0
1
n! is e.
41
e x 1
Eg4. Find a power series representation for x , and by differentiating the power series term
e 1 x
x x2
2! x3
3! xn
n!
n 1
xn
n! .
Hence for all x ≠ 0 we have that
ex 1
x 1 x
2! x2
3! xn 1
n! n 1
xn 1
n! .(*)
Notice here that the series
n 1
x n 1
n! is convergent for all x. ≠ 0. Differentiating both sides of (*)
we obtain
d e 1
dx
x
x
1 d
dx
x
2! x2
3! x n!
n 1
for all x ≠ 0.
n2
xe x ( e x 1)
x 2 1
2! 2x
3! ( n 1n) !x = ( n 1) x n 2
n!
n2
( n 1)
1
1 2 n 1 n
2! 3! n! = n! = ( n 1)!
n2 n 1
Therefore
n 1
n
( n 1)! 1.
Theorem 3.6: Let c
n0
n x n be a power series with radius of convergence R > 0 and let. Then for
all x (-R, R)
cn x n dx cn x dx ncn 1 x n 1 .
x x
n
n0
0 0
n0 n0
Moreover the radius of convergence of the series
n0
cn
n 1 x n is R.
42
Proof: Let f ( x) c
n0
n x n
and g ( x)
n0
cn
n 1 x n 1
. Because the terms
n0
cn
n 1 x n are
derivatives of the terms of
n0
cn
n 1 x n 1 f(x) and g(x) gave the same radius of convergence and by
Theorem 3.3
Because f(x) is differentiable on (-R, R) f(x) is continuous on (-R, R) consequently f(x) is continuous
on every closed interval of (-R, R). Thus by Fundamental Theorem of Calculus
x
0
f (t ) dt g ( x) g (0)
or equivalently
cn x n dx
x
x n 1
cn
n 1
n0
0
n0
x
e t dt .
2
Eg1. Find a power series representation of
0
Solution: Since e 1 x
x2
x3
xn!
n
x xn
2! 3! n!
n0
e t 1 t 2 (1) n (t 2 ) n
2
t4 t6
2! 3! n! for values of t
(1)
n
n t2
= n!
n0
x (1) n x2 n 1
.
x x
n
x3 x5 x7
e t dt = (1) n
2
t2
n! dt = 3 2! 5 3! 7 n!( 2 n 1)
0 0
n0
43
x x
1
01t
dt
n0
0
(1) n t n dt if | x | 1
Therefore
xn 1
ln(1 x) x x2
2 x3
3 x4
4 (1) n n 1 if | x | 1
or equivalently
ln(1 x) (1)
n0
n 1 x n
n if | x | 1
Solution: If | x | 1
1
1 x2
1 x 2 x 4 x 6 (1) n x 2 n (*)
Therefore
tan 1x = (1)
n0
n x2n 1
2n 1 if | x | 1
1
If we substitute x = , then we get
3
1 2 n 1
tan 1
6 1 1
33 1
95 271 7 (1)n 1
3
1
2n 1
3
i.e. (1)
n0
n
3
1
2 n 1
2n 1
.
6 .
44
Taylor Series
whose radius of convergence is R > 0, it follows from successive application of Theorem 3.4 and
3.5 that f has derivatives of all orders on (-R, R). Such a function is said to be infinitely
differentiable on (-R, R).
f (0) c0 and
f ( 0 )
we get that f (0) 2c2 and so c2 2
;
(n)
In general cn f
n!
( 0)
for every positive integer n.
Thus substituting cn f n(!0) in (1) we get the following series called Taylor series expansion of
f(x) or the Maclaurin series
f ( 0 ) f ( 0 )
f ( x) f (0) f (0) x 2! x2 3! x3 f ( n ) ( 0)
n! xn
f ( a ) f ( a )
f ( x) f (a) f (a)( x a) 2! ( x a) 2 3! ( x a) 3 f ( n) (a)
n! ( x a) n
f ( x) e x = 1 x x2! x3!
2 3
xn
n!
Eg2. Find the Taylor (Maclaurin) series expansion of sin x.
45
Solution: sin x
n0
( 1) n x 2 n 1
( 2 n 1)! x x3
3! x5
5!
Solution: cos x
n0
( 1)n x 2 n
(2 n )!
1 x2
2!
x4
4!
x6
6!
46
Applied Mathematics Lecture Note
FOURIER SERIES
Definition: A function f (x) is said to be periodic if there exists 0 (called the period of f (x) )
such that
f ( x ) = f (x) , for all values of x in the domain of f
Eg: Since
sin( x 2 ) sin x for all x R
cos( x 2 ) cos x for all x R .
The Sine and Cosine functions are periodic with period 2 .
Exercise 1:
a. Show that if f (x) is periodic with period then for any integer n, f ( x n ) = f (x) ,
for all
values of x.
b. If f (x) is periodic with period 2 show that
b b 2
i) a
f ( x) dx a 2
f ( x) dx ( Hint: use the substitution x = t - 2 )
a 2
ii)
f ( x) dx a
f ( x) dx
Trigonometric Series
is called a trigonometric series and the constants a0 , an , bn are called the coefficients of the series.
47
If the series (*) converges to a function f (x) for all x [-, ], then in view of the periodicity of
the trigonometric functions, the sum of the series f (x) is defined for all x and periodic with period
2 and
f (x) = 1 a0
2 (a
n 1
n cos nx bn sin nx ) .
Similarly one determine the coefficients a n = 1 f ( x) cos nx dx and bn =
f ( x) sin nx dx .
1
48
0 , x 0
Eg1. Determine the Fourier Series of f ( x ) 1 , 0 x
0 , x
We obtain the Fourier coefficients:
a0 = 1 f ( x ) dx = 1 dx = 1
0
a n = 1 f ( x) cos nx dx = 1 cos x dx = 0 , for all n 1
0
0, if n is even
bn = 1 f ( x) sin nx dx = 1 sin x dx = 2 , for all n 1.
0 , if n is odd
49
50
51
52
2
53
3
54
3
55
4
56
4
57
1
58