Doc's Course
Doc's Course
Lecture Notes
References
• Thomas calculus.
January 01, 2018 c This document can be reproduced in its entirely for non commer-
cial use.
Contents
References 2
Chapter 1. Indefinite integrals 5
1. Antiderivatives 5
2. Integration by parts and substitution method 6
3. Integration of rational functions 9
4. Trigonometric integrals 11
5. Integral of irrational functions 13
6. Exercises 15
Chapter 2. Definite integrals 17
1. Definition of the Definite integrals 17
2. Integrable functions 19
3. The fundamental theorem of calculus 21
4. exercises 24
Chapter 3. Improper integrals 27
1. Definitions and examples 27
1.1. Infinite limitsZof integration 27
∞
dx
1.2. The integral 27
1 xp
1.3. Integrands with Vertical Asymptotes 28
2. Test for convergence and divergence of integral of type 1 28
3. Test for convergence and divergence of integral of type 2 30
4. Exercises 31
Chapter 4. Series 35
1. Infinite series 35
2. Series with positive terms 39
2.1. Comparison tests 39
2.2. The integral test 40
2.3. The ratio and root tests 41
2.4. 2n − test 43
3. Alternating series, absolute and conditional convergence test 44
4. exercises 47
3
CHAPTER 1
Indefinite integrals
1. Antiderivatives
In this section, we want to find a function F from its derivative f . If such a function
F exists, it is called an antiderivative of f and f we will the derivative of F . We will see
in the next chapter that antiderivatives are the link connecting the two major elements
of calculus: derivatives and definite integrals.
Definition 1.1. A function G is an antiderivative of f on an interval I if F 0 (x) = f (x)
for all x ∈ I.
Example 1.2. (1) Find an antiderivative for the following each functions
indeed this substitution could be done, leading to the substitution method for computing
integrals. As with differentials, when computing integrals we have
du
du =
dx.
dx
R
Example R1.8.
√ (1) Find the integral (x3 + x)5 (3x2 + 1)dx.
(2) Find 2x + 1dx
Theorem 1.9. THE SUBSTITUTION RULE. If u = g(x) is a differentiable function
whose range is an interval I, and f is continuous on I, then
Z Z
0
f (g(x))g (x)dx = f (u)du.
Proof. By the Chain Rule, F (g(x)) is an antiderivative off (g(x)).g 0 (x) whenever F
is an antiderivative of f :
d
F (g(x)) = F 0 (g(x)).g 0 (x) = f (g(x)).g 0 (x).
dx
I f we make the substitotion u = g(x), then
Z Z
0 d
f (g(x))g (x)dx = F (g(x))dx
dx
= F (g(x)) + c
= F (u) + c
Z
= F 0 (u)du
Z
= f (u)du
The Substitution Rule provides the following substitution method to evaluate the
integral
Z
f (g(x))g 0 (x)dx,
Integration by parts
Integration by parts is a technique for simplifying integrals of the form
Z
f (x)g(x)dx.
When the degree of the polynomial f (x) is less than the degree of g(x) and
g(x) = (x − r1 )(x − r2 ) · · · (x − rn )
is a product of n distinct linear factors, each raised to the first power, there is a quick way
f (x)
to expand by partial fractions. This is called the Heaviside method and given by
g(x)
(1) Write the quotient with g(x) factored:
f (x) f (x)
= .
g(x) (x − r1 )(x − r2 ) · · · (x − rn )
(2) Cover the factors (x − ri ) of g(x) one at a time, each time replacing all the
uncovered x’s by the number ri This gives a number Ai for each root ri :
f (r1 )
A1 =
(r1 − r2 ) · · · (r1 − rn )
f (r2 )
A2 =
(r2 − r2 )(r2 − r3 ) · · · (r3 − rn )
f (rn )
An = .
(rn − r1 ) · · · (rn − rn−1 )
4. TRIGONOMETRIC INTEGRALS 11
f (x)
(3) Write the partial fraction expansion of as
g(x)
f (x) A1 A2 An
= + + ··· .
g(x) (x − r1 ) (x − r2 ) (x − rn )
4. Trigonometric integrals
Trigonometric integrals involve algebraic combinations of the six basic trigonometric
functions. In principle, we can always express such integrals in terms of sines and cosines,
but it is often simpler to work with other functions, as in the integral
Z Z
2 dx
sec xdx = = tan x + c.
cos2 x
The general idea is to use identities to transform the integrals we have to f”md into
integrals that are easier to work with. Products of powers of sines and cosines
We begin with integrals of the form:
Z
sinm x cosn xdx,
where m and n are non negative integers (positive or zero). We can divide the appropriate
substitution into three cases according to m and n being odd or even.
(1) If m is odd, we write m as 2k + 1 and use the identity sin2 x = 1 − cos2 x to
obtain
sinm x = sin2k+1 x = (sin2 x)k sin x = (1 − cos2 x)k sin x.
Then we combine the single sin x with dx in the integral and set sin xdx equal to
−d(cos x).
(2) If m is even and n is odd , we write n as 2k + 1 and use the identity cos2 x =
1 − sin2 x to obtain
cosn x = cos2k+1 x = (cos2 x)k cos x = (1 − sin2 x)k cos x.
Then we combine the single cos x with dx in the integral and set cos xdx equal
to d(sin x). Z
(3) If both m and n are even in sinm x cosn xdx, we substitute
1 − cos 2x 1 + cos 2x
sin2 x = cos2 x =
2 2
to reduce the integrand to one in lower powers of cos 2x.
Here are some examples illustrating each case.
Example 1.15. Evaluate the Following integrals
Z
(1) sin3 x cos2 xdx
Z
(2) cos5 xdx
Z
(3) sin2 x cos4 xdx.
Integrals of powers of tan x and sec x We know how to integrate the tangent and
secant and their squares. To integrate higher powers, we use the identities tan2 x =
sec2 x − 1 and sec2 x = tan2 x + 1, and integrate by parts when necessary to reduce the
higher powers to lower powers
Example 1.17. Find Z
tan4 xdx
.
Z Z
4
tan xdx = tan2 x tan2 xdx
Z
= tan2 x.(sec2 x − 1)dx
Z Z
= tan x sec xdx − tan2 xdx
2 2
Z Z
= tan x sec xdx − (sec2 x − 1)dx
2 2
Z Z Z
2 2 2
= tan x sec xdx − sec dx + dx
The Bioche formula This formula is useful for the integral of rational function of
cos and sin, i.e a function of the form F (sin x, cos x) where F is a rational function. The
integral has the form Z
w(x)
where w(x) = F (cos x, sin x)dx.
(1) If w(x) is unchanged while replacing x by −x, we use the substitution t = cos x.
(2) If w(x) is unchanged while replacing x by π − x, we use t = sin x.
(3) If w(x) is unchanged while replacing x by π +x, we use the substitution t = tan x.
Example 1.19. Find the following integral
Z
dx
sin x + sin 2x
Products of sines and cosines
The integrals
Z Z Z
sin mx sin nxdx, sin mx cos nxdx, cos mx cos nxdx
arise in many applications involving periodic functions. We can evaluate these integrals
through integration by parts, but two such integrations are required in each case. It is
simpler to use the identities
1
sin mx sin nx = [cos(m − n)x − cos(m + n)x],
2
1
sin mx cos nx = [sin(m − n)x + sin(m + n)x],
2
1
cos mx cos nx = [cos(m − n)x + cos(m + n)x],
2
They give functions whose antiderivatives are easily found
Example 1.20. Evaluate Z
sin 3x cos 5xdx
6. Exercises
Exercise 1.25. Find an antiderivative of each of the following functions:
1 ln x
a. f (x) = √ p √ b. f (x) = c. f (x) = x2 ln(x)
x 1+ x x
1 1 x3
d. f (x) = 2
e. f (x) = f. f (x) =
x(x + 2x + 5) x(x + 1)2
5 (x2 + 1)3
tan x 1
c. f (x) = d. f (x) =
1 + sin2 x −5 + 13 cosh(x)
√
e. f (x) = (4x3 − 2x) cosh x f. f (x) = (2x2 + x − 1) 3 1 + x
Z
Exercise 1.28. Consider the integral In = sinn xdx, n ≥ 2. Calculate I0 and I1
then determine a recurrent relation between In and In−2 .
Z Z
ax
Exercise 1.29. Evaluate simultaneously I = e cos(bx) and J = eax sin(bx), a, b ∈
R.
sin(2x) − cos x 1
c. f (x) = d. f (x) =
cos3 x 5 cosh x + 3 sinh x + 4
sinh3 x 1
e. f (x) = f. f (x) =
cosh x(2 + sinh x) sin x + cos x + 3
16 1. INDEFINITE INTEGRALS
Exercise 1.33. Z
1 du
a. Calculate the integral of f (t) = 2 and deduce .
t (1 − t) u (1 − u2 )
3
Z Z Z
dx dx dx
b. Deduce the values of 3 , and .
sin x cos x 3
cos x sin x sin3 (2x)
Definite integrals
The definite integral is the key tool in calculus for defining and calculating quantities
important to mathematics and science, such as areas, volumes, lengths of curved paths,
probabilities, and the weights of various objects.The idea behind the integral is that we can
effectively compute such quantities by breaking them into small pieces and then summing
the contributions from each piece.
The basis for formulating definite integrals is the construction of appropriate finite sums.
Although we need to define precisely what we mean by the area ofa general region in the
plane, or the average value of a function over a closed interval, we do have intuitive ideas
of what these notions mean
1. Definition of the Definite integrals
In this section we begin our approach to integration by approximating these quantities
with finite sums. We also consider what happens when we take more and more terms in
the summation process. We also look at taking the limit of these sums as the number
of terms goes to infinity, which then leads to precise definitions of the quantities being
approximated here.
We begin with an arbitrary bounded non negative function f defined on a closed interval
[a, b].
Definition 2.1. A partition P of an interval [a, b], is a subdivision of [a, b] into
subintervals. To make the notation consistent, we denote a by x0 and b by xn , so that
x0 = a < x1 < x2 < · · · < xk < xk+1 < · · · < xn = b
where ∆xk = xk+1 − xk , 0 ≤ k ≤ n − 1. Notation: P = {x0 , x1 , · · · , xn }
b−a
Note that, in case where the subdivision is equal, we have ∆xk = .
n
Since f is bounded, then f is bounded on every subdivision [xk , xk+1 ], so let
mk = inf{f (x), x ∈ [xk , xk+1 ]} Mk = sup{f (x), x ∈ [xk , xk+1 ]}
and suppose that Sn = n−1
P Pn−1
k=0 M k ∆x k and s n = k=0 mk ∆xk .
Definition 2.2. The numbers Sn and sn are called the upper and lower Riemann
sums for the partition.
Since f is bounded, there exist real numbers m and M such that m ≤ f (x) ≤ M , for
all x ∈ [a, b]. Thus for every partition,
m(b − a) ≤ sn ≤ Sn ≤ M (b − a).
Definition 2.3. we say that f is Riemann integrable on [a, b] provided there exist a
partition of [a, b] such that Sn − sn converge to zero.
Z b
In this case, The integral of f is denoted by f (x)dx = lim Sn = lim sn .
a
17
18 2. DEFINITE INTEGRALS
Remark 2.4. Since f is continuous on a closed bounded interval, then, for each
k, there exists αk ∈ [xk , xk+1 ] such that f (αk ) = mk = and βk ∈ [xk , xk+1 ] such that
f (βk ) = Mk
Proposition 2.5. The sequence sn is increasing and the sequence Sn is decreasing.
Proof. We will prove that sn is increasing. Same proof that Sn P is decreasing. Let
n−1
P = {x0 = a, x1 , · · · , xn = b} be a partition for [a, b] and sn = k=0 mk ∆xk with
0
mk = inf{f (x), x ∈ [xk , xk+1 ]} and let P be a another partition for [a, b] such that P
(P ⊂ P 0 ) (i.e the number of subintervals in P is less than the number of subintervals in
P 0 ). Suppose that P 0 have one more subintervals, i.e. one point in the subdivision of P 0
more than in P : say x∗i ∈]xi , xi+1 [. The lower Riemann sum relative to P 0 is
n
X
s0n+1 = mk ∆xk + (x∗i − xi )m∗i,1 + (xi+1 − x∗i )m∗i,2
k=0,k6=i
where m∗i,1 = inf{f (x), x ∈ [xi , x∗i ]} and m∗i,2 = inf{f (x), x ∈ [x∗i , xi+1 ]}.
Since [xi , x∗i ] ⊂ [xi , xi+1 ] and [x∗i , xi+1 ] ⊂ [xi , xi+1 ] then
mi ≤ m∗i,1 et mi ≤ m∗i,2 .
It follows that
(x∗i − xi )m∗i,1 + (xi+1 − x∗i )m∗i,2 ≥ (x∗i − xi )mi + (xi+1 − x∗i )mi = (xi+1 − xi )mi .
Thus sn+1 ≥ sn .
Corollary 2.6. The sequences Sn and sn converg to the same limit if and only if
Sn − sn tends to zero.
Example 2.7. (1) The function f (x) = x on [1, 2] is integrable. In fact, consider
n−1
X
a subdivision of this interval by n subinterval of equal length, i.e. sn = mk ∆xk
k=0
b−a 1 k
where ∆xk = = and mk = inf{f (x), x ∈ [xk , xk+1 ]} = xk = 1 + .
n n n
Therefore
n−1 n−1
!
X k 1 1 1X1 1 1 n.(n − 1) 3
sn = 1+ = n+ = n+ . →n→∞ .
k=0
n n n n k=0 k n n 2 2
n−1
X
In the same manner, Sn = Mk ∆xk where Mk = xk+1 , we obtain that Sn
k=0
3
converge to .
2 Z 2
3
So f is integrable and xdx = .
1 2
(2) Not every bounded function is integrable. For example the function
f (x) = 1 if f is rational and 0 otherwise
is not integrable over any interval [a, b]. Proof as a exercise.
2. INTEGRABLE FUNCTIONS 19
2. Integrable functions
Not every function defined over the closed interval [a, b] is integrable there, even
if the function is bounded. That is, the Riemann sums for some functions may not
converge to the same limiting value, or to any value at all. A full development of exactly
which functions defined over [a, b] are integrable requires advanced mathematical analysis,
but fortunately most functions that commonly occur in applications are integrable. In
particular, every continuous function over [a, b] is integrable over this interval, and so is
every function having no more than a finite number of jump discontinuities on [a, b]
Proposition 2.8. When f and g are integrable over the interval [a, b], the definite
integral satisfies the rules
Z b Z b
(1) If f (x) ≤ 0 for every x, then f (x)dx = − −f (x)dx
Z a a a
(2) f (x)dx = 0
Za b Z a
(3) f (x)dx = − f (x)dx.
a
Z b b
Z b
(4) kf (x)dx = k f (x)dx
Za b a Z
b Z b
(5) (f (x) ± g(x)) = f (x) ± g(x)dx.
a a Z ab
(6) If f (x) ≥ 0 for every x, then f (x)dx ≥ 0.
a
Z b Z b
(7) If f (x) ≥ g(x) for all x, then f (x)dx ≥ g(x)dx.
Z b Z b a a
Z b
min f.(b − a) ≤ f (x)dx ≤ max f.(b − a).
a
Proof. We will prove the rule (10), similar proofs can be given to verify the other
properties .
20 2. DEFINITE INTEGRALS
Hence f is integrable.
Proof. Since f is bounded, then there exist a constant M such that f (x) ≤ M for
every x ∈ [a, b].
Let x0 ∈ [a, b] and we will prove that F is continuous at x0 . Let > 0, there exist δ = ,
2M
such that for every x ∈ [a, b], if |x − x0 | < δ,
Z x Z x0 Z x Z x
|F (x) − F (x0 )| = f (t)dt − f (t)dt = f (t)dt ≤ |f (t)dt| ≤ M |x − x0 | < .
a a x0 x0
Now we prove the differentiability of F by applying the definition of the derivative directly
to the function F (x), when x and x + h are in ]a, b[. This means writing out the difference
quotient
F (x + h) − F (x)
h
and showing that its limit as h → 0 is the number f (x) for each x in ]a, b[. Thus,
F (x + h) − F (x)
F 0 (x) = lim
h→0 h
Z x+h Z x
1
= lim f (t)dt − f (t)dt
h→0 h a a
1 x+h
Z
= lim f (t)dt
h→0 h x
According to the Mean Value Theorem for Definite Integrals, the value before taking the
limit in the last expression is one of the values taken on by f in the interval between x
and x + h. That is, for some number c in this interval
1 x+h
Z
f (t)dt = f (c).
h x
3. THE FUNDAMENTAL THEOREM OF CALCULUS 23
4. exercises
Exercise 2.21. Show that the following functions are Reimann integrable on [0, 1]
and give their values: f (x) = x g(x) = x2 h(x) = x3 .
Exercise 2.22. Calculate the limit of the following series by using definite integral
on I:
a. Sn = πn n1 sin( kπ b. Sn = n1 n+k
P P 1
) with I = [0, π]. with I = [0, 1].
1
Pn √ n
1
Pn 4
c. Sn = n√n 1 k with I = [0, 1]. d. Sn = n5 1 k with I = [0, 1].
Improper integrals
Up to now, we have required definite integrals to have two properties. First, that the
domain of integration [a, b] be finite. Second,that the range of the integrand be finite on
this domain. In practice, we may encounter problems that fail to meet one or both of
these conditions.The integral for the area under the curve of y = x1 between x = 0 and
x = 1 is an example for which the range o f the integrand is infinite.
then Z +∞ Z +∞
f (x)dx and g(x)dx
a a
both converge or both diverge.
f (x) f (x)
Proof. Since, limx→+∞ = L, then is bounded, i.e. there exists α and β
g(x) g(x)
positive such that
αg(x) ≤ f (x) ≤ βg(x),
and we conclude by DCT.
Z +∞ −x Z +∞
1−e x+1
Example 3.8. Investigate the convergence of dx and dx.
1 x 1 x + x2 + 1
3
f (x) R +∞
Remark 3.9. If lim f (x) = M 6= 0, then limx→+∞ = 1. Since a M dx
x→+∞ M
Z +∞
diverges, then f (x)dx diverges.
a Z +∞
1 1
There in no conclusion if lim f (x) = 0. In fact, tends to zero but dx diverges.
x→+∞ x 1 x
30 3. IMPROPER INTEGRALS
Proof. Let
1 1
g= (|f | + f ) and h = (|f | − f ) ,
2 2
then we have
0 ≤ g ≤ |f | 0 ≤ h ≤ |f |.
Z +∞ Z +∞
By the DCT, g(x)dx and h(x)dx converges, hence
a a
Z +∞ Z +∞
f (x)dx = (g(x) − h(x))dx
a a
converges.
Z +∞ Z +∞
Remark 3.13. If |f (x)|dx, then we say that f (x)dx is absolutely conver-
a a
gent.
Z +∞ Z +∞ Z +∞
If |f (x)|dx diverges and f (x)dx converges, then we say that f (x)dx is
a a a
semi-convergent.
Example 3.14. Show that Z +∞
cos x
dx
1 x2
converges.
then Z b Z b
f (x)dx and g(x)dx
a a
both converge or both diverge.
Proof. The proof is similar to DCT and LCT.
Remark 3.16. The proposition is also true when both f and g are negative functions.
Example 3.17. Show that Z b
dx
a (b − x)α
converges if α < 1 and diverges if α ≥ 1.
Deduce the following formula:
If
lim− (b − x)α f (x) = L > 0
x→b
Rb
then a f (x)dx converges if α < 1 and diverges if α ≥ 1.
Z b Z b
Remark 3.18. We say that f (x)dx is absolutely convergent if |f (x)|dx con-
a a
verges. It is easy to see that every absolutely convergent integral converges.
Z 3
dx
Example 3.19. (1) √ .
(3 − x) x 2+1
Z π 0
cos xdx
(2) √ .
Z0 +∞ π − x
3
4. Exercises
Exercise 3.20. Evaluate the following integrals and deduce their nature of conver-
gence:
Z +∞ Z +∞ Z 0 Z 0
dx dx dx dx
x 2 x 2 2
1 1 −∞ x + 1 −2 x
Z 1 Z +∞ Z 8 Z +∞
dx dx
√ cos(x)dx √
3
ex dx.
0 1−x 0 −1 x2 −∞
π
Z Z e Z 1
2 dx dx dx
√
0 tan(x) 1 x ln(x) −1
3
x
Z +∞ Z +∞ Z +∞
−2x dx dx
e dx
0 2 x ln2 (x) 2 x ln(x)
32 3. IMPROPER INTEGRALS
Exercise 3.21. Study the nature of convergence of the following improper integrals:
Z +∞ Z +∞ Z +∞
xdx dx (x + 1)dx
√
0
5
x +1 2 ln(x) 0 x3 + x2 + 1
Z 0 Z +∞ Z +∞
x ln(x)dx 1
e sin(x)dx √ ln(sin( ))dx
−∞ 1 x 2
π
x
Z +∞ Z 1 Z +∞
1 dx cos(x)dx
ln(cos( ))dx √
π
2
x 0 1 − x4 1 x2
Exercise 3.22. Z +∞
ln(x) dx
a. Show that the integral √ is convergent.
1 (x + 1) x
Z 1
ln(x) dx
b. By using a change of variable, show that the integral √ is convergent.
0 (x + 1) x
Z +∞
ln(x) dx
c. Deduce that √ = 0.
0 (x + 1) x
Z +∞
ln(x) dx π ln(a)
d. Deduce that √ = √ for a > 0.
0 (x + a) x a
1
Exercise 3.23. Consider the function: f (x) = defined on R+ with
(1 + x2 )(1 + xα )
α ≥ 0 and f (0) = 1.
Z ξ
π
a. Show that, for ξ > 0, we have f (x)dx < .
0 2
Z +∞
b. Deduce the nature of I = f (x)dx.
0
1
ln(1 − x2 )
Z
Exercise 3.24. Show that the integral dx is convergent and find its
0 x2
value.
Z +∞
Exercise 3.25. Let In = xn e−ax dx with n ∈ N and a ∈ R+∗ .
0
a. Study the nature of the integral In .
b. Calculate I0 and I1 .
c. Find a relation between In and In+1 . Deduce In .
4. EXERCISES 33
x2 xn
d. Let Pn (x) = 1 + x + 2!
+ ··· + n!
. Find the limit of
Z +∞
lim Pn (x)e−ax dx
n→+∞ 0
.
1
xn dx
Z
Exercise 3.26. Let In = p with n ∈ N.
0 x(1 − x)
a. Study the nature of the integral In .
b. Show that the sequence In is decreasing and bounded. Deduce its nature.
c. Calculate I0 and I1 and show that 2nIn = (2n − 1)In−1 .( Hint. u0 = √1 ,
1−x
v=
n− 12
x ).
d. Deduce In in term of n.
CHAPTER 4
Series
Everyone knows how to add two numbers together, or even several. But how do you
add infinitely many numbers together. In this chapter we answer this question, which is
part of the theory of infinite sequences and series.
1. Infinite series
An infinite series is the sum of an infinite sequence of numbers
a1 + a2 + · · · + an + · · · .
The goal of this section is to understand the meaning of such an infinite sum and to
develop methods to calculate it.
Definition 4.1. Given a sequence of numbers {an }, an expression of the form
a1 + a2 + a3 + · · · + an + · · ·
is an infinite series. The number an is the nth term of the series. The sequence {sn }
defined by
s 1 = a1
s 2 = a1 + a2
.
.
.
n
X
s n = a1 + a2 + · · · + an = ak
k=1
.
If the sequence of partial sums of the series, the number sn being the nth partial sum.
Definition 4.2. we say that the series converges and that its sum is L provided the
sequence of partial sums converges to a limit L.
In this case, we also write
∞
X n
X
a1 + a2 + · · · + an + · · · = ak = L = lim sn = lim ak .
n→∞ n→∞
k=1 k=1
If the sequence of partial sums of the series does not converge, we say that the series
diverges.
When we begin to study a given series a1 + a2 + · · · + an + · · · we might not know
whether it converges or diverges. In either case, it is convenient to use sigma notation to
write the series as ∞ ∞
X X X
ak , an , or an
k=1 n=1
35
36 4. SERIES
Geometric series
Geometric series are series of the form
∞
X
2 n−1
a + ar + ar + · · · + ar + ··· = arn−1
n=1
in which a and r are fixed real numbers and a 6= 0. The series can also be written as
P ∞ n
n=0 ar . The ratio r can be positive, or negative.
If r = 1, the nth partial term of the geometric series is
sn = a + a(1) + a(1)2 + · · · + a(1)n = na,
and the series diverges because sn tends to infinity. If r = −1, the series diverges because
the nth partial sums alternate between a and 0.
If |r| =
6 1, we can determine the convergence or divergence of the series in the following
way:
a + ar + ar2 + · · · + arn−1
sn =
ar + ar2 + · · · + arn−1 + arn
rsn =
a − arn
sn − rsn =
a(1 − rn )
sn (1 − r) =
a(1 − rn )
sn = (r 6= 1).
1−r
a
If |r| < 1, then rn → 0 as n → ∞ and sn → . If |r| > 1, then |r|n → ∞ and the
1−r
series diverges.
Example 4.3. (1) Find the value of the series
∞
X (−1)n 5
n
.
n=0
4
(2) Express the repeating decimal 5.232323 · · · as the ratio of two integers.
∞
X 1
(3) Find the sum of the ”telescoping” series
n=1
n(n + 1)
∞
X
Theorem 4.4. If an converges, then an → 0.
n=1
∞
X ∞
X
Proof. If the series an converges, let S = an and sn = a1 + a2 + · · · + an the
n=1 n=1
nth partial sum. When n is large, both sn and sn−1 are close to S, so their difference, an ,
is close to zero. More formally,
an = sn − sn−1 → S − S = 0.
This theorem leads to a test for detecting the kind of divergence
Theorem 4.5. The nth term test for divergence
∞
X
an diverges if lim an fails to exist or is different from zero.
n→∞
n=1
1. INFINITE SERIES 37
Example 4.6. The following series are all examples of divergent series.
∞ ∞ ∞
X X n X
n2 , (−1)n
n=1 n=1
n+1 n=1
The converse of the last theorem is not true, that is, this theorem does not say that
∞
X
an converges if lim an = 0. It is possible for a series to diverge when lim an = 0. For
n→∞ n→∞
n=1
example
∞
X 1 1
Example 4.7. The series diverges and lim = 0. We will prove that the
n=1
n n→∞ n
sequence of partial sums is not a Cauchy sequence, hence does not converges and the
series diverges.
In fact,
1 1 1 1 n 1
s2n − sn = + ··· + ≥ + ··· ≥ = .
n+1 2n 2n 2n 2n 2
Combining series
Whenever we have two convergent series, we can add them term by term, subtract them
term by term, or multiply them by constants to make new convergent series.
X X
Theorem 4.8. If an = A and bn = B are convergent series, then
X X X
(1) Sum rule: (an + bn ) = an + bn = A + B.
X X X
(2) Difference rule: (an − bn ) = an − bn = A − B.
X X
(3) Constant multiple rule: kan = k an = kA for any number k.
Remark 4.12. (1) Adding or deleting terms: We can add a finite number of
terms to a series or delete a finite number of terms without altering the series’
convergence or divergence, although in the case of convergence this will usually
X∞ ∞
X
change the sum. If an converges, then an converges for any k > 1 and
n=1 n=k+1
∞
X ∞
X
an = a1 + a2 + · · · + ak + an
n=1 n=k+1
∞
X ∞
X
Conversely, if an converges for any k > 1, then an converges.
n=k+1 n=1
∞
X
The remainder of a series: Consider the series an , so we can decompose
n=1
this series as
∞
X
an = sn + rn
n=1
∞
X n
X
where rn = ak is called the remainder of the series and sn = ak is the
k=n+1 k=1
nth partial sum.
∞
X
Proposition 4.13. The series an converges if and only if rn → 0.
n=1
∞
X
Proof. Suppose that the series converges and let s = an = lim sn . Since
n=1
rn = s − sn , it follows that rn → 0.
Conversely, suppose that rn → 0, then rn is a Cauchy sequence. Since
|sn+m − sn | = |rn − rn+m |.
If follows that sn is a Cauchy sequence, thus it converges.
(2) Reindexing: As long as we preserve the order o f its terms, we can reindex any
series without altering its convergence. To raise the starting value of the index
h units, replace the n in the formula for an by n − h:
∞
X ∞
X
an = an−h .
n=1 n=1+h
2. SERIES WITH POSITIVE TERMS 39
To lower the starting value of the index h units,replace the n in the formula for
an by n + h:
X∞ ∞
X
an = an+h .
n=1 n=1−h
Theorem 4.18. Suppose taht an > 0 and bn > 0 for all n ≥ N (N an integer).
an P P
(1) If lim = c > 0, then an and bn both converge or both diverge.
n→∞ bn
an P P
(2) If lim = 0, and bn converges, then an converges.
n→∞ bn
an P P
(3) If lim = ∞, and bn diverges then an diverges.
n→∞ bn
√
it follows that lim sup n an ≤ M .
n→+∞
The Ratio Test is often effective when the terms of a series contain factorials of ex-
pressions involving n or expressions raised to a power involving n.
P
Theorem 4.27. The ratio test Let an be a series with positive terms and suppose
that
an+1
lim inf = m.
n→∞ an
and
an+1
lim sup = M.
n→∞ an
Then the series converges if M < 1, the series diverges if m > 1 or m is infinite, the test
is inconclusive if m = M = 1 and if m ≤ 1 ≤ M .
Proof. (1) Let L < 1 and let r be a number between L and 1. Then the number
= r − L is positive.
Since
an+1
→L
an
then there exists N ∈ N such that for all n ≥ N ,
an+1
−L<
an
i.e.
an+1
<r
an
that is
aN +1 < raN
aN +2 < raN +1 < r2 aN
aN +3 < raN +1 < r3 aN
.
.
.
aN +m < raN +m−1 < rm aN
These inequalities show that the terms of our series, after the N th term, approach
zero more rapidly than the terms in a geometric series with ratio r < I.More
2. SERIES WITH POSITIVE TERMS 43
P
precisely, consider the series cn , where cn = an for n = 1, 2 · · · N and cN +1 =
raN , cN +2 = r2 aN , · · · , cN +m = rm aN , · · · . Now an ≤ cn for all n, and
∞
X
cn = a1 + a2 + · · · + aN −1 + raN + r2 aN + · · ·
n=1
hence
∞
X
cn = a1 + a2 + · · · + aN −1 + aN (1 + r + r2 + · · · ).
n=1
2
P
P 1+r +r +· · · converges because |r| < 1, so
The geometric series cn converges.
Since an ≤ cn , an also converges.
(2) 1 < L ≤ ∞. From some index M on,
an+1
> 1 and aM < aM +1 < · · · .
an
The terms of the series do not approach zero as n becomes infinite, and the series
diverges by the nth-Term Test.
(3) L = 1. The two series
∞ ∞
X 1 X 1
and
n=1
n n=1
n2
show that some other test for convergence must be used when L = 1.
Example 4.28. Investigate the convergence of the following series
∞ ∞ ∞
X 2n + 5 X (2n)! X 4n n!n!
.
n=1
3n n=1
n!n! n=1
(2n)!
2.4. 2n − test.
n
P n4.29 (2 −Test). If un is a sequence that is decreasing to 0 then the series
P Theorem
un and 2 u2n both converges or both diverges.
Proof. It is a results of
+∞
X +∞
X +∞
X
0≤ f (n) ≤ 2n f (2n ) ≤ 2 f (n)
1 0 1
+∞
X
2n f (2n ) = f (1) + 2f (2) + 4f (4) + ···
0
= f (1) + f (2) + f (2) + f (4) + f (4) + f (4) + f (4) + · · ·
= f (1) + f (2) + f (2) + f (4) + f (4) + f (4) + f (4) + ···
≤ f (1) + f (1) + f (2) + f (2) + f (3) + f (3) + f (4) + ···
+∞
X
= 2 f (n)
1
P P
Cauchy product: Let an and bn be two series of positive terms. the Cauchy
product of these two series is defined by a discrete convolution as follows
X∞ ∞
X X∞
an . bn = cn
n=0 n=0 n=0
Pn Pn P
where cn = ak bn−k = k=0 bk an−k = i+j=n ai bj
k=0
P P
Theorem
P P4.30. Let a n and bn be two series of positive
P terms.
P
If an and bn both converge to s and l respectively, then an bn converges to sl.
Proof. Suppose that
n
X n
X n
X
An = ak , Bn = bk , Cn = ck .
k=1 k=1 k=1
For all n ≥ 1, suppose that
∞
X
s= an = lim An = sup An
n→∞ n∈N
n=0
∞
X
l= bn = lim Bn = sup Bn .
n→∞ n∈N
n=0
Then for every n ≥ 1,
Cn ≤ An Bn ≤ C2n .
Then the sequence Cn is bounded from above by AB. Let C = limn→∞ Cn . Then C ≤
sl ≤ C and C = sl.
= |un+1 − un+2 + un+3 − un+4 − un+5 + · · · | = (un+1 − un+2 ) + (un+3 − un+4 ) + un+5 + · · ·
Thus
q−1 q−1
! !
X X
|Sq −Sp | ≤ M |yk − yk+1 | + |yq | + |yp+1 | =M (yk − yk+1 ) + yq + yp+1 = 2M yp+1 < ε.
p+1 p+1
P
Hence Sn is a Cauchy sequence and the series xn yn converges.
n
X
Proposition 4.34. For θ 6= 2kπ, k ∈ Z, the partiel sums Sn = cos(kθ) and
k=0
n
X
1
Tn = sin(kθ) are biunded by | sin( θ2 )|
.
k=0
Proof. Find an upper bound of Sn + iTn and use the sum of geometric sequence.
As a direct result, we have
P P
Corollary 4.35. For θ 6= 2kπ, k ∈ Z, the series cos(nθ)yn and cos(nθ)yn are
convergent if yn ≥ 0 for all n and decreasing to 0.
Now we can apply the tests for convergence studied before to the series of absolute
values of a series with both positive and negative terms.
P
Definition 4.36. (1) A series an converges absolutely
P (is absolutely conver-
gent) if the corresponding series of absolute values, |an |, converges.
(2) A series that converges but does not converge absolutely converges conditionally.
The alternating harmonic series converges conditionally.
Absolute convergence is important for two reasons. First, we have good tests for conver-
gence of series of positive terms. Second, if a series converges absolutely, then it converges,
as we now prove.
P P
Theorem 4.37. If |an | converges, then an converges.
Proof. For each n,
−|an | ≤ an ≤ |an |, so 0 ≤ an + |an | ≤ 2|an |.
P P
If
P |a n | converges, then 2|an | converges, and by the DCT, the series of positive
Pterms
(|an | + an ) converges. The equality an = (an + |an |) − |an | now let us express an as
the difference of two convergent series,
X X X X
an = (an + |an | − |an |) = (an + |an |) − |an |
therefore it converges.
Example 4.38. This examples gives two series that converge absolutely
∞ ∞
n+1 1 sin n
X X
(−1) 2 2
.
n=1
n n=1
n
A test using the finite expansions Il arrive parfoit que la série considéré n’est pas
absolument convergente et le test de Dirichlet ne donne aucune information sur la nature
de la série. Le développement limité nous permet de développer le terme générale un en
puissance de n1 . Cela peut facilter l’étude de la convergence de la série.
Theorem
P 4.39. Si un = vn + n1α O(1) avec O(1) une fonction bornée quand n → +∞,
P
alors un et vn sont de même nature si α > 1.
4. EXERCISES 47
P 1
Proof. Comme α >P1, la série
P nα
O(1) est absolument convergente, par suite elle
est convergente et alors un et vn sont de même nature.
X
Example 4.40. Soit (−1)n xn avec xn = √ 1 n une série alternée. Note que
n+(−1)
2
cette série n’est pas absolument convergente etXde même le test des séries alternées
ne donne aucune information sur la nature de (−1)n xn car xn n’est pas monotone
2
(décroissante). En utilisant le développement limité, on a
(−1)n 1 (−1)n 1 1
(−1)n xn = √ · q = √ − √ + √ O(1) quand n → +∞.
n 1 + (−1)
√
n n 2n n n n
n
X X (−1)n 1
3 n
Comme α = > 1, les séries
2
(−1) xn et √ − √ sont de même nature.
2 2
n 2n n
X
n
Par suite (−1) xn est convergente.
2
4. exercises
Exercise 4.41. Study the convergence of the following series
P n P 1 P1
q n(n+1) n
Exercise 4.42. Determine an upper bound (in term of n) of rn and deduce the nature
and the sum with error less than 10−2 of the following series:
X 1 X 1
.
nn n!
Exercise 4.43. Study the convergence of the following series (comparison test)
P 1 P ln n P sin n+2n P sin n+3
n2n n n+5n n
Exercise 4.44. Study the convergence of the following series (Reimann test)
P ln3 (n) P 5n−3 P√ 5+n 1
√1
P
2
n +1 n
2 (n+1)
n ln n n
sin n
P n2
ln 1 − sin2 1
(1 − cos n1 ) n( 32 )n 1
P P P
n 2n 1
n1+ n
Exercise 4.45. Study the convergence of the following series (2n −test)
P 1 P 1
nα n ln(n) ln(ln n)
xn = 1 + 23 + 53 + 47 + 59 + · · · 1
+ 23 + 45 + 89 + 16
P P
xn = 2 17
+ ···
Exercise 4.48. Study the convergence of the following series (Integral test)
P 1 P n P 1 P −n2
nα n2 +1 n ln n
ne
P e−√n P earctan n P 1
√
n n2 +1 cosh n
b. (1 + √1 − √1 ) + ( √15 + √1 − √1 ) + ···.
3 2 7 4
Z (n+1)π Z +∞
P sin x sin x
c. un , un = dx deduce the convergence of dx.
nπ x 0 x
0 00
f ( na ) 2
P
d. if f is C and f (0) = f (0) = 0 6= f (0).
Exercise 4.51. Let a, b, c > 0. Study the convergence of the following series
P 1+(−1)n √ P n+√n P n2 n2
n
n a n2 +a
√
P n2 +b n2 n
a b c
sin( √1n ) sin(n).
P P
n2 +a n+1
− n+2
+ n+3
P
Exercise 4.52. Study the convergence of the series un where
1 2n +n5 1 1
un = (ln(n+5))n
un = √
3n +n n
un = n2 +n sin n
un = n2 ln n
√
(−1)n (−1)n n sin( √1n ) (−1)n
un = (−1)n lnnn un = ln(1 + √ )
n
un = n+(−1)n
un = √
n+(−
P P√
Exercise 4.53. Let an > 0. Show that if an converges then n
nan converges.
an
P P
Exercise 4.54. Let an > 0. Show that if an converges ⇐⇒ 1+an
converges.
P
Exercise 4.55. Let an > 0 such that an diverges.
P an
a. Show that 1+an
diverges.
4. EXERCISES 49
an
P
b. Show that 1+n2 an
converges.
an
P
c. Show that 1+nan
can be converges or diverges.
P
Exercise 4.56. Study the convergence of the following series un where
un = (−1)n sin( n12 ) cos(n) un = (−1)n ln
√n
n
P (−1) n(n+1)(n+2)
6
Exercise 4.57. Study the convergence of the following series n+1
.
P (−1)n
Exercise 4.58. a. Show that √
n+1
converges.
P (−1)n P (−1)n
b. Study the convergence of √
n+1
· √
n+1
.