Atom 14
Atom 14
Margo Kondratieva
with Justin Rowsell
Memorial University
The ATOM series
The booklets in the series, A Taste of Mathematics, are published by
the Canadian Mathematical Society (CMS). They are designed as enrichment
materials for high school students with an interest in and aptitude for
mathematics. Some booklets in the series will also cover the materials useful
for mathematical competitions at national and international levels.
La collection ATOM
Publiés par la Société mathématique du Canada (SMC), les livrets de la
collection Aime-t-on les mathématiques (ATOM) sont destinés au
perfectionnement des étudiants du cycle secondaire qui manifestent un intérêt
et des aptitudes pour les mathématiques. Certains livrets de la collection ATOM
servent également de matériel de préparation aux concours de
mathématiques sur l’échiquier national et international.
Malgorzata Dubiel
Simon Fraser University / Université Simon Fraser
Frédéric Gourdeau
Laval University / Université Laval
Joseph Khoury
University of Ottawa / Université d’Ottawa
Antony Thompson
Dalhousie University / Université Dalhousie
Margo Kondratieva
with Justin Rowsell
Memorial University
Published by the Canadian Mathematical Society, Ottawa, Ontario
and produced by the CMS ATOM Office, Burnaby, BC, Canada
ISBN 978-0-919558-25-0
c 2015
Canadian Mathematical Society / Société mathématique du Canada
iii
Table of Contents
The authors v
FOREWORD v
INTRODUCTION 1
SEQUENCES 3
What is a sequence? 3
Exercises 4
Exercises 7
Exercises 9
Exercises 11
Recursive formulas 12
Exercises 13
Exercises 15
Geometric sequences 18
Arithmetic sequences 18
Exercises 19
Exercises 25
SERIES 26
Geometric sums 29
General formula 30
Telescoping 41
Partial fractions 48
Fourier series 65
Exercises 68
APPENDIX 1: DERIVATIVES 69
Important derivatives 70
Exercises 72
APPENDIX 2: TRIANGLES 73
v
The authors
Margo Kondratieva is an Associate Professor at the Memorial University (MUN).
She was born in Moscow (Russia) and received her Master of Science degree in the area of
Applied Mathematics before gaining her PhD in the area of Quantum Mechanics. After
working at the University of Manitoba and University of Minnesota – Duluth (USA), she
arrived at MUN, where she currently holds a joint appointment in the Department of
Mathematics and Statistics and the Faculty of Education.
Dr. Kondratieva is a recipient of the 2008 Motivation Teaching Award for her
teaching of undergraduate mathematics at MUN. Since 2006 she is a provincial coordinator
of various outreach mathematics activities for junior and senior high school students,
including Math Leagues games, the Blundon Seminar math camp, the Canadian Math
Kangaroo competition, and the Virtual Mathematical Marathon available on-line. She
is the author of five book chapters and more than twenty research papers related to
either mathematics or teaching of mathematics. This book is her first work directed to
secondary school students of mathematics.
FOREWORD
Secondary school students are often familiar with finite arithmetic and geometric
series. Those who attempt a more advanced level of study become introduced to infinite
series and some formal techniques of their summation. However, many interesting,
non-standard, and important examples remain outside of students’ view and experience.
One reason is a cognitive difficulty related to dealing with infinite sequences of
numbers and the notion of convergence. The formal ‘epsilon-delta’ definition of limit often
presents a challenge even for university level students. Historically, there were different
approaches and interpretations of the concept of convergent series before it received its
modern interpretation. We found it important to refer to a few such historical facts,
dates, and names for the reader’ general information.
In this book, while maintaining a rigorous approach, we use a more intuitive
treatment of the topic. We refer to mostly elementary techniques involving solving
algebraic inequalities, linear and quadratic equations. We believe that the ideas we
explain and illustrate with many examples can be understood at the secondary school
level and help to develop a genuine understanding of the topic. An advanced familiarity
with the topic may foster a deeper study of mathematics at the university level.
Some of our problems are connected to Euclidean geometry or reveal other links
with topics studied at the secondary school level. We also illustrate how infinite sums
may appear while solving some word problems that do not explicitly refer to series and
convergence. We talk about some practical applications, such as calculations with an
approximation. As well, we introduce some notions and objects that are extremely
important in modern mathematics, for example, the Riemann zeta function and the
Dirichlet kernel. We hope that reading this book and solving the exercises will stimulate
students’ interest and fascination with this amazing area of mathematics.
1
INTRODUCTION
The word infinity comes from the Latin infinitus, “unbounded”, or unlimited
in quantity. Infinity is denoted by ∞, and is considered to be not a number but a
concept of increase beyond bounds. When we write n → ∞ we mean that variable
n eventually grows beyond any assigned value or exceeds any finite restriction.
It is the 5th century B.C., Greece. Zeno thinks about paradoxes related to
the notion of infinity, and asks “How can one get from point A to point B at all, if
to do that one needs to go from A to the mid-point C and then to the mid-point
between C and B, and so on, and thus to make an infinite number of iterations?”
A ................................................................................................................... ...................................................................................................................
1 B
. .
............................................................................................................................................................................................................................................
... . . . . . ...
....................................................... 1 ................................................................................. 1 ..................................... 1 .............. 1 ...... ..... ...............
. . . . . . ...
2 4 8 16
There are some obvious situations where the process of accumulating more
and more summands does not lead to a number. For example, if you add the same
number infinitely many times
1 + 1 + 1 + 1 + ··· .
Adding terms one by one —
S1 = 1, S2 = 1 + 1, S3 = 1 + 1 + 1, S4 = 1 + 1 + 1 + 1, . . . ,
— Sn becomes arbitrarily large. In this case we say that the infinite series diverges
to infinity.
Another example is the infinite series
1 − 1 + 1 − 1 + 1 − 1 + ··· .
One can see that adding any odd number of terms we obtain 1, while the sum of
any even number of terms gives 0. That is, in the process of adding more terms
neither of the numbers is approached (in contrast with the first example). Such
an infinite series is also said to be divergent.
There are many examples, such as
1 1 1 1
1 + + + + + ··· ,
2 3 4 5
in which the answer to the question about convergence is not easy to find.
In this book we talk about infinite series; under what conditions they can
be represented by a finite number (are convergent), and how to find that number.
This subject requires careful treatment. Infinite series differ from finite series, and
thus you may not always trust your intuition based on your experience with finite
algebraic sums. Formal manipulations can easily lead to nonsense. Treating our
third example incorrectly, one can “prove” that 0 = 1 as follows
0 = (1 − 1) + (1 − 1) + (1 − 1) + · · · = 1 + (−1 + 1) + (−1 + 1) + · · · = 1.
This paradoxical regrouping is possible because the number of terms is infinite.
Notice that the expressions in parentheses are all zeros. Historically, this example
was given at the very beginning of 18th century by the Italian scholar Guido
Grandi to demonstrate the possibility of creating everything from nothing.
Another story from the past assigns the value 1/2 to the series
1
1 − 1 + 1 − 1 + 1 − 1··· = (false)
2
symbolizing that if two people share something indivisible (like a diamond ring),
to be fair they should take turns owning it; one year the first person owns the
ring, next year the other one, and so on, forever. Interestingly, Gottfried Leibniz
mentioned this incorrect result in a paper of 1674, in connection with geometric
series (which we will discuss in Section 2.3).
We will have a few more examples of infinite series which are contradictory
at first glance, and we will explain how to deal with them to avoid fallacies.
But, before starting our discussion of infinite series, we need to talk a little
about infinite sequences of numbers, the terms of which may be summed to form
series.
3
CHAPTER 1: SEQUENCES
n ∈ N,
which is a short way of saying that a number n is an element of the set of natural
numbers N. In general, x ∈ X means that x is an element of the set X. We will
use this notation regularly from now on.
100
Example 3. The sequence with n-th term an = n , where n ∈ N, is
We will talk mostly about sequences with an infinite number of terms, which
can be denoted by {an }∞
n=1 . We summarize the above examples and include some
1 We follow the tradition of using the same notation {1, 2, 3, 4, 5, ...} for both the set and the
more in the table, and will use them in our future discussion.
Sequence n-th term 1st term 2nd term 3rd term 4th term 5th term
∞
{an }n=1 an a1 a2 a3 a4 a5
Example 1 n2 1 4 9 16 25
Example 2 n 1 2 3 4 5
100 100
Example 3 100 50 25 20
n 3
Example 4 1 1 1 1 1 1
Example 5 (−1)n −1 1 −1 1 −1
(−1)n 1 1 1 1
Example 6 −1 − −
n 2 3 4 5
n−1 1 2 1 3 4 2
Example 7 0 = =
n+1 3 4 2 5 6 3
1 1 1 1 1 1
Example 8
3n 3 9 27 81 243
Exercises
1. In each case list the first 10 terms of the sequence2 {an }∞
n=1 :
1
i) an = −n ii) an = n3 iii) an = iv) an = 2n v) an = n!
n2
1 1 1 1 1 1 1 3 9 27 81
v) {− , , − , , − , ...} vi) { , , , , , ...}
2 5 10 17 26 3 2 4 8 16 32
2 In (v) n-factorial denotes the product of all integers from 1 to n: n! = n(n − 1)(n − 2) · · · 1.
Problem 1. In the following cases say whether almost all of the terms of
{an }∞
n=1 are in (A, B):
100
i) (A, B) = (0, 200), an = ;
n
100
Answer: Yes. All terms of the sequence are in the interval: 0 < < 200 for all
n
n ≥ 1.
100
ii) (A, B) = (0, 20), an = ;
n
Answer: Yes. Only the first five terms are outside the interval. To see that we
100
solve inequality < 20 and get n > 5. Thus, almost all of the terms of the
n
sequence are in the interval.
100
iii) (A, B) = (1, 200), an = ;
n
Answer: No. Only the first 99 terms belong to the interval, while the rest do not.
100
Solving 1 < we get n < 100. Thus, if n ≥ 100, then an ≤ 1, which places an
n
outside the given interval.
√
iv) (A, B) = (0, 2000), an = n;
√
Answer: No. The inequality n < 2000 is true only for n < 4, 000, 000. Thus only
the first 3,999,999 terms of this sequence belong to the interval, while the rest do
not.
Example Answer
(−1)n
E6: an = , n∈N (−0.1, 0.22)
n
n−1
E7: an = , n∈N (0.5, 1.01) but not (0.5, 0.99)
n+1
Example Answer
100
E3: an = , n∈N (A, B) for any numbers A ≤ 0 and B > 0.
n
(−1)n
E6: an = , n∈N (A, B) for any numbers A < 0 and B > 0.
n
n−1
E7: an = , n∈N (A, B) for any numbers A < 1 and B ≥ 1.
n+1
7
Note that the general description given in the answers for Problem 3 provides
all possible particular examples which can serve as answers in Problem 2. The
general answer comes from careful analysis of all possible particular answers.
Let us consider Example 7 in more details. First note that all terms of the
n−1 2
sequence with n-th term an = = 1− , where n ≥ 1, are less than 1
n+1 n+1
and greater or equal to zero : 0 ≤ an < 1. Thus interval (0, 1) contains almost
all terms of the sequence. Obviously, any interval larger than that will also work,
so any interval (A, B) with A ≤ 0 and B ≥ 1 contains almost all terms of the
sequence. Now we note that even if A is greater than 0, the interval (A, 1) still
works as long as A is less than 1. That is, almost all terms of the sequence from
Example 7 belong to interval (A, B) for any A < 1 and B ≥ 1.
Indeed, given 0 < C < 1 we see that term an belongs to the interval (1−C, 1)
2−C
for any n > . To confirm that we simply solve the inequality
C
2
1−C <1− .
n+1
We can try some concrete numbers to make sense of this statement. For
example, take C = 0.1 and observe that 0.9 < an < 1 for all n ≥ 20; similarly,
take C = 0.01 and note that 0.99 < an < 1 for all n ≥ 200.
Exercises
1. Decide whether or not almost all the terms of {an }∞
n=1 belong to the given
interval:
1 1
i) an = , (0.05, 0.1) ii) an = π −n , (0, 1) iii) an = , (0, 5)
n 2−n
1
2. For the sequence an = , n ∈ N, (see Example 8) give an example of an
3n
interval to which almost all (but not all) of the terms belong (as in Problem 2).
Then describe all the intervals to which almost all of the terms of this sequence
belong (as in Problem 3).
3. For each sequence {an }∞n=1 either find an interval to which almost all (but not
all) of the terms belong or show that there is no finite interval containing almost
all terms.
1 √ √
i) an = ii) an = n5 iii) an = n iv) an = sin n
n
Comments:
1. Note that at most one number L can be the limit of {an }∞ n=1 as n → ∞.
2. The word every in the definition is significant and refers to all without exception.
For example, suppose that someone tries to argue that an = 100 n has limit 1
because, for all B > 1, the interval (0, B) contains 1 as well as almost all terms of
the sequence. The inadequacy of this argument is clear when one points out that
(0.5, 1.5) contains 1 but only 133 terms of the sequence (for 67 ≤ n ≤ 199). Thus
1 is not the limit of the sequence.
100
Problem 4. Show that the limit as n → ∞ of the sequence an = n is
zero:
100
lim = 0.
n→∞ n
Solution: Note that every open interval containing zero has the form (A, B),
where A < 0 and B > 0. We need to show that, for any A < 0 and any B > 0,
almost all terms of the sequence under consideration satisfy the inequality:
A < an < B.
First we note that an = 100n is positive for any n ∈ N, thus A < 0 < an .
Second, solving the inequality 100
n < B for n, we find that given number B,
terms an < B for all n > 100
B . For instance, if B = 1 then an < 1 for all n > 100;
if B = 0.1 then an < 0.1 for all n > 1000, etc. Thus no matter how small the
length of the interval (A, B) is, only a finite number of the terms an are outside
(A, B).
According to the definition, this means that 0 is the limit of this sequence.
9
Note that every open interval containing the number L has a form (A, B)
with A < L and B > L. Thus to show that lim an = L we take an open interval
n→∞
(A,B), with A < L and B > L, and demonstrate that almost all of the terms of the
sequence are in this interval no matter how small the length of the interval is. If
we fail to do so, i.e. we can justify that for a given sequence it is impossible to find
such a number L, we say that the sequence does not have a limit or, equivalently,
that the sequence diverges.
Problem 5. In each case use the definition to determine whether the given
sequence has a limit.
i) an = n2 , n ∈ N (Example 1).
Solution: In accordance with the definition, if a sequence has a limit then we must
be able to find an interval to which almost all of it terms belong. But the sequence
an = n2 runs away from any given interval as n becomes large. Thus, it does not
have a limit. In a case like this, when the terms of a sequence become arbitrarily
large, we also say that the sequence diverges to infinity and write
lim an = ∞.
n→∞
Exercises
∞
1. Does the sequence {cos(πn)}n=1 converge?
∞
What about the sequence {sin(πn)}n=1 ?
Explain your answers.
n2 − 2 3n + 2
2. Justify the following formulas lim = 1 and lim = 3.
n→∞ n2 n→∞ n
10
P2. lim 1 = 1.
n→∞
P3. lim n = ∞.
n→∞
Provided lim an and lim bn exist, in the equalities P4, P5, P6, and P7 given
n→∞ n→∞
below, the limit on the left exists and equals the expression on the right:
P4. lim c · an = c · lim an for any constant c.
n→∞ n→∞
an lim an
P7. lim = n→∞ , assuming that bn 6= 0, n ∈ N, and lim bn 6= 0.
n→∞ bn lim bn n→∞
n→∞
Let us now calculate the limit from the previous subsection (Problem 5 (iii)).
It could be done as follows:
Here we first divided the top and bottom of the fraction by n, (the highest
power of n in this case) then used property P7, then P5, and finally P1 and P2.
Note that the first step is necessary, because otherwise by properties P2, P3,
P4 and P5 both numerator and denominator of the fraction diverge to infinity, so
we cannot use property P7. But even if we could apply P7 formally, we would
have obtained
n−1 lim (n − 1) ∞
lim = n→∞ = .
n→∞ n + 1 lim (n + 1) ∞
n→∞
11
The result is uncertain and the situation needs to be resolved, which we accomplish
by the division. This ∞∞ is what mathematicians call an indeterminate form. Some
other indeterminate forms are
0
, 00 , 1∞ .
0
We will have an example of the last of these cases when we talk about the Euler
sequence (see Section 1.9.2). If one arrives at an indeterminate form, one needs
to resolve it. A useful technique for doing this called L’Hospital’s rule is given in
Section 2.9.
Note that in some cases we reach expressions which look like indeterminate
forms but are not. For instance, for a constant c 6= 0 you can safely proceed as
follows:
0
= 0, c0 = 1, 0|c| = 0.
c
Formally you can also write 0c = ∞ if c > 0, and 0c = −∞ if c < 0. However in
contrast with previous formulas, here we do not have equality of two numbers as
both values are a short way of describing unboundedness.
The result in (1) may be generalized as follows. Consider the case in which
an is a rational function of n, i.e., the ratio of two polynomials of n of degrees m
and k
Bm nm + · · · + B1 n + B0
an = .
Ck nk + · · · + C1 n + C0
Then
0
if m < k
Bm
lim an = sign Ck ∞ if m > k
n→∞
Bm
Ck if m = k.
Examples:
3n5 + 1
Example 9. an = . Here m = 5, k = 7. Thus lim an = 0.
4n7 + n + 1 n→∞
8
3n + 1
Example 10. an = . Here m = 8, k = 7 and B8 = 3, C7 = 4. Thus
4n7 + n + 1
lim an = ∞.
n→∞
3n5 + 1
Example 11. an = lim . Here m = k = 5 and B5 = 3, C5 = 4. Thus
n→∞ 4n5 + n + 1
3
lim an = .
n→∞ 4
Exercises
1. Provide detailed calculations for Examples 9, 10, and 11. Follow the method
given in (1) starting with the division of numerator and denominator by an
appropriate power of n. At each step show which property of limits you use.
2. In each case find the limit as n → ∞ of given sequence either by using the
definition of limit directly or the properties P1 - P10:
√
1 20 − n n
i) an = 3 ii) an = iii) an =
n − 3n2 − 3 2n + 12 n+1
12
Problem 6. Find the limit of the sequence (asuming that the limit exists)
2 1
an = , a1 = .
1 + an−1 2
Solution: If we know that the sequence has a limit, we can derive the equation
that it must satisfy. From Definition 3 it is clear that, if a0 is assigned an arbitrary
value, and lim an is defined, equal L say, then lim an−1 = L also.
n→∞ n→∞
So, using properties P5, P7 and P9 of the limit, we can say that:
2
lim an =
n→∞ 1 + lim an−1
n→∞
2
L =
1+L
L2 + L = 2
2
L +L−2 = 0
L = −2 or L = 1
We know that a sequence can only have one limit so we want to find out which
one of these is the right value. By looking at our recursive formula, we know that
as long as a term is positive, the term after it must be positive. This is because
the term after it would be a ratio of two positive numbers. Since the first term is
positive, the term after it must be positive, as is the term after that one and so
on. Therefore, the limit must be non-negative. Thus, lim an = 1.
n→∞
Let us justify this result using the definition of the limit discussed earlier.
We need to show that any open interval that contains 1 will also contain an infinite
number of terms of the sequence {an }. For that we estimate the distance between
an and 1 as n increases. We find
(1 + an ) − 2 an − 1
1 − an+1 = = , so |1 − an+1 | = |1 − an | · |(an + 1)−1 |.
1 + an an + 1
13
Now, if we could show that |(an + 1)−1 | ≤ r, for all n ≥ 1, then it would imply
that |1 − an+1 | ≤ |1 − a1 |rn < rn (since 1 − a1 = 0.5). Note that if 0 < r < 1 then
rn < 1/n for all n ≥ n0 starting from some positive n0 . In this case we would have
|1 − an+1 | < 1/n and conclude that every interval (1 − A, 1 + A), where A > 0
contains all terms an for n > 1/A.
Now let us find r < 1 such that |(an + 1)−1 | ≤ r. Calculate the few first
terms of the sequence: a1 = 1/2, a2 = 4/3, a3 = 6/7, a4 = 14/13, etc. Observe
that if an ≥ 1/2 then an + 1 ≥ 3/2 and thus (an + 1)−1 ≤ 2/3. Consequently,
an+1 ≤ 4/3. As well, if an ≤ 4/3 then an+1 ≥ 6/7 > 1/2. Thus if we start
with a term in the interval [1/2, 4/3], all terms of the sequence will remain in this
interval, and for all of them we have (an + 1)−1 ≤ r, where r = 2/3 < 1. Since
(2/3)n < 1/n for all n ≥ 1, we conclude that the limit of the sequence is 1.
This method of solving for the limit will not always work. We need to
know before using this method that the sequence does have a limit.
The following example illustrates that otherwise the method can lead to a wrong
conclusion.
Example 12. Let us study the sequence an+1 = 3an , a1 = 1. If we just consider
what this means, it is easy to give the answer. Every term is 3 times as large as
the term before it. If we take a positive number, and keep tripling it infinitely
many times, the value is going to go towards infinity, and we say that the sequence
diverges to infinity. If we had assumed that this sequence had a limit and tried to
solve for it using the method explained, we would have obtained
L = 3L.
Technically, infinity satisfies the above relation. But since we assumed that L is a
number (not infinity), we get L = 0, which is clearly false.
Note also that a sequence defined by recursive formula an+1 = 3an has limit
L = 0 if and only if the initial term a1 = 0.
Exercises
1. Find the limit of each recursively defined sequence given that it exists.
an 1
i) an+1 = , a1 = 3 ii) an+1 = a2n , a1 =
an − 2 2
The following is a very important property of the real numbers whose proof
is beyond the scope of this work.
Problem 10. Apply the same approach for an = n−1 n+1 , n ∈ N, considered
previously.
Solution: The corresponding function is f (x) = x−1
x+1 . The derivative, calculated
using the quotient rule, is f 0 (x) = (x+1)−(x−1)
(x+1)2
2
= (x+1) 2 . This expression is always
Exercises
1. Give an example of a convergent and non-monotone sequence.
2. Give an example of a divergent and monotone sequence.
3. Give an example of a divergent and bounded sequence.
n2
4. Show that an = 2 is monotone and bounded. Find its limit.
n +1
16
i) an = (1/2)n , n ≥ 0.
3 1
ii) bn = 2bn−1 − bn−2 , n ≥ 2 with b0 = 1, b1 = 2
4
Comment: In all previous examples the index n was a natural number, n ≥ 1.
However, sometimes we start counting from another number, for instance in this
problem from 0. This is a common practice, so in the future please pay attention
to this aspect of the problems as well.
Solution:
i) This sequence is decreasing since each term is half the previous one: an+1 =
(1/2)n+1 = (1/2)an < an . It is also bounded from below since all terms are
positive. Thus the limit exists. Since an = an−1 /2 for all n ≥ 1, the limit of the
sequence is 0 by the method of Section 1.5.
ii) If we knew that the sequence had a limit, it would be straightforward to show
that it is 0 by the method of Section 1.5. The problem is to justify that the limit
exists. To accomplish this we will show that the two formulas, (i) and (ii), actually
describe the same sequence, that is an = bn for all n ≥ 0. To support this we
begin by writing down the first six terms of each sequence,
1 1 1 1 1
{an } = {1, , , , , , . . .}
2 4 8 16 32
1 1 1 1 1
{bn } = {1, , , , , , . . .}
2 4 8 16 32
and observing that they are the same (note that indexes start with zero for both
sequences {an }∞ ∞
n=0 and {bn }n=0 in this example). Next we will show that an = bn
for all n ≥ 0. Thus, we will convert the definition of bn from recursive to explicit
form. We can do it by method of mathematical induction. First, observe that
b0 = 1 = (1/2)0 and b1 = 1/2 = (1/2)1 . Take n ≥ 1 and assume that bk = (1/2)k
for 0 ≤ k ≤ n. We need to show that these conditions imply bn+1 = (1/2)n+1 .
Indeed, using the recursive formula we have
n n−1 n−1 n−1 n+1
1 3 1 3 1 1 1 1
bn+1 = 2 − = 1− = = .
2 4 2 4 2 4 2 2
Thus, by principle of mathematical induction we have bk = (1/2)k = ak for k ≥ 0.
However, if we did not know ahead of time to which explicit formula we need
to compare a given recursive equation, we could use a different method. For doing
that we need a little bit of theory.
17
x2 − rx − q = 0 (3)
We will assume that the constants r, q satisfy the inequality r2 + 4q > 0, and
thus the quadratic equation (3) has two distinct real solutions.
defines explicitly the same sequence as the one given by the recurrence relation
an = ran−1 + qan−2 with initial conditions a0 = A + B, a1 = Ax1 + Bx2 .
A(xn1 − rxn−1
1 − qxn−2
1 ) + B(xn2 − rxn−1
2 − qxn−2
2 ) = 0,
This is clearly true for all n since both of the expressions in parentheses are equal
to zero because x1 and x2 are solutions to the characteristic equation (3).
The initial conditions for (2) follow from (4) with n = 0, 1.
18
We will need this theorem again to obtain the explicit formula for the
Fibonacci numbers (Section 1.9.1).
The sequences of the form an = Arn , A 6= 0 are called geometric. In other words,
a geometric sequence is a sequence where consecutive terms have a common ratio,
r. Some geometric sequences have a finite limit while some other ones do not
depending on the value of the common ratio r. There are four different cases and
they are described in the following table.
r lim Arn
n→∞
r ≤ −1 no limit
−1 < r < 1 0
r=1 A
r>1 ∞ or −∞ according
as A > 0 or A < 0
Exercises
1. In each case convert the given recursive definition to an explicit definition
of the same sequence. Check your answer by verifying that the two definitions agree
for the first few terms. In each case decide whether the sequence is convergent or
divergent and explain your answer.
an−1
i) an = , a0 = 100 ii) an = 10 + an−1 , a0 = 100
10
3 1
iii) an = an−1 − an−2 , a0 = 1, a1 =
16 4
φn − (1 − φ)n
Fn = √ . (5)
5
Even though this equation contain radicals, every term of the sequence is an
integer.
1. The limit of the Fibonacci sequence is infinity, but the limit of the ratio
of consecutive terms is the golden ratio
Fn+1
lim = φ.
n→∞ Fn
F1 + F2 + · · · FN = FN +2 − 1.
FN2 − FN −1 FN +1 = (−1)N +1 .
For example, if N = 4 then F42 − F3 F5 = 32 − 2 · 5 = −1.
4. The sum of the squares of two consecutive Fibonacci numbers is another
Fibonacci number
FN2 + FN2 +1 = F2N +1 .
For example, if N = 4 then F42 + F52 = 32 + 52 = 34 = F9 .
5. The difference of the squares of two consecutive Fibonacci numbers is the
product of two other Fibonacci numbers
FN2 +1 − FN2 = FN −1 FN +2 .
and then use the recursive definition of the Fibonacci sequence and substitute
Fn = Fn+1 − Fn−1 to allow cancellation:
Fn+1 − Fn−1 Fn
=
Fn−1 · Fn · Fn+1 Fn−1 · Fn · Fn+1
1
=
Fn−1 · Fn+1
which is our desired result.
Now observe what happens to each term on the right hand side as n → ∞.
First, limn→∞ 1 = 1. Second,
n 1 n! 1
lim = lim = lim 1 = 1;
n→∞ 1 n n→∞ (n − 1)!1! n n→∞
Third,
n 1 n! 1 n(n − 1) 1
lim 2
= lim 2
= lim 2
= ;
n→∞ 2 n n→∞ (n − 2)!2! n n→∞ n 2! 2!
Similarly, for any 1 ≤ k < n we have
n 1 n! 1 n(n − 1)(n − 2) · · · (n − k + 1) 1
lim · k = lim k
= lim k
= ;
n→∞ k n n→∞ (n − k)!k! n n→∞ n k! k!
Note that
1 n n 1 n 1 n 1 1
lim (1 + ) = lim 1 + + + · · · + + · · · + .
n→∞ n n→∞ 1 n 2 n2 k nk nn
The limits of individual terms found above suggest that the righthand side tends
to the infinite sum of inverse factorials
1 1
1+1+ + ··· + + ··· . (6)
2! k!
This can be shown rigorously by demonstrating that the sequence {(1 + 1/n)n }∞ n=1
is increasing and bounded and that it approaches the sum (6) as n → ∞.
As we will see in the next chapter, the infnite sum of inverse factorials (6)
is equal to the number e ≈ 2.71, the base of the natural logarithm. 3
1 1
1+1+ + ··· + + · · · = e.
2! k!
Thus, we claim: n
1
lim 1+ = e. (7)
n→∞ n
The limit is known as the first remarkable limit. This limit can be also found
using logarithms, and L’Hospital’s rule (see Sec. 2.9 Example 3).
In fact, we have a more general formula. For any constant M ,
n
M
lim 1 + = eM . (8)
n→∞ n
You will be able to prove (8) after reading section 2.9.
3 The natural logarithm log (x) of a number x > 0 is the power to which e would have to be
e
raised to equal x, and it also equals the area under the hyperbola y = 1/x on the segment from
1 to x. Since loge e = 1, the number e can be defined as the unique number greater than 1 such
that the area under the hyperbola y=1/x from 1 to e equals 1.
23
Now, |OA| = |OB| = 1, because they are both radii of the unit circle. So,
by the definition of sin and tan, we have |BC| = sin(xn ) and |DA| = tan(xn ). It
is easy to see from the figure that the area of the sector lies strictly between the
areas [OAB] and [OAD] of triangles 4OAB and 4OAD, respectively. Now, area
1 sin(xn ) 1 tan(xn )
[OAB] = |OA| · |BC| = , area [OAD] = |OA| · |AD| = .
2 2 2 2
xn xn
Since the area of the sector is π · = , we have
2π 2
sin(xn ) xn tan(xn )
< < .
2 2 2
2
Because > 0 for 0 < xn < π/2, we can multiply throughout the inequality
sin(xn )
2
by to obtain
sin(xn )
xn 1
1< <
sin(xn ) cos(xn )
which is equivalent to
sin(xn )
1> > cos(xn ).
xn
24
1st term 2nd term 3rd term 4th term 5th term 6th term 7th term
a1 a2 a3 a4 a5 a6 a7
3 5 1 1 1 1 1
7 11 17 13 5 1 1
19 29 11 17 13 5 1
Exercises
1. i) Find the characteristic equation of the Fibonacci sequence and show that the
golden ratio φ is one of its roots. What is the other root?
ii) Derive the explicit formula (5) for the n-th term of the Fibonacci sequence.
iii) What do you know about the golden ration φ from geometry?
2. Prove property 5 of the Fibonnaci numbers.
3. Prove property 7 of the Fibonnaci numbers.
4. Calculate k5 for k = 1, 2, 3, 4 and use the binomial formula to expand (a + b)5
n n n
+ + ··· + = 2n − 2
1 2 n−1
for all n ≥ 2.
6. Prove using the binomial formula that the sequence
n ∞
1
1+
n n=1
is increasing.
1
7. i) Show that x sin is increasing for x > 1.
x
ii) Use (9) to show that for any number a
a
lim n sin = a.
n→∞ n
8. Justify the squeeze principle used in 1.9.3 from Definition 3.
9. Fix a positive integer k. Show that, for all but a finite number of n,
n
1 1 1 1
1+ ≥ 1 + + + ... + .
n 1! 2! k!
26
CHAPTER 2: SERIES
The questions we ask about a series are: “Is it convergent?” and, if the
series is convergent, “What is its sum?” To make clear what we are talking about
we begin with a definition.
Sn = a1 + a2 + a3 + · · · + an .
S1 = a1 , S2 = a1 + a2 , S3 = a1 + a2 + a3 , ... Sn = a1 + a2 + · · · + an .
The limit as n → ∞ of the sequence of partial sums, if it exists, gives the sum of
the series:
lim Sn = a1 + a2 + a3 + · · · .
n→∞
Definition 9. If the limit of the sequence of partial sums exists, the series is
convergent. Otherwise it is divergent.
The first two of these properties are valid when n is replaced by ∞ provided the
sequence(s) on the right of the equation converge.
27
n(n + 1)
Tn = 1 + 2 + · · · + n = .
2
Carl Friedrich Gauss found this formula for triangular numbers when he was
around the age of ten. He used a unique method for this. He listed the n terms,
wrote this list backwards under the original list, and added vertically.
Tn = 1 + 2 + ··· + n
+ + + +
Tn = n + n−1 + ··· + 1
⇓ ⇓ ⇓ ⇓
2Tn = n+1 + n+1 + ··· + n+1
2Tn = n(n + 1)
n
Tn = (n + 1)
2
For a more general arithmetic sequence ak = a + (k − 1)d, k = 1, 2, ..., the
sum Sn of its first n terms is
n
X
Sn = (a + (k − 1)d)
k=1
n n n
!
X X X
= a+d k− 1
k=1 k=1 k=1
dn(n + 1) n
= na + − dn = (2a + (n − 1)d).
2 2
Here we have used the properties (10).
The natural numbers form an arithmetic sequence with a = 1 and d = 1.
Thus expression for Sn simplifies to Tn in this case.
28
Problem 14. Reconsider the construction stated earlier with the circles
inside the equilateral triangle (Figure 3). Let A be the area of the equilateral
triangle 4ABC and An be the total area occupied by the n rows of circles, show
that
An π
lim = √
n→∞ A 2 3
Solution: First, we know that the number of circles inside the triangle is the n-th
triangular number. Thus, the number of circles is n(n + 1)/2.
We will denote the side length of the triangle as L and we will denote the
radius of the circles as r. Now, the length of the side is the sum of the diameters
of n circles and two small portions on each end of the length. We will denote each
of these pieces as b and write L = 2nr + 2b. First, we find b in terms of r. For that
we draw a small right triangle 4BOE in the corner of the equilateral triangle. Its
vertices will be at the vertex B of the equilateral triangle, center O of the closest
circle, and point E of tangency of the closest circle with the side of the equilateral
triangle.
O
r
B C B b+r E
Because the large triangle 4ABC is equilateral, its angles are π/3 radians,
and consequently the small angle ∠OBE in the right triangle is half of it, π/6
radians. From this we can see that
√ √
tan(π/6) = r/(b + r) ⇒ b + r = 3r ⇒ b = ( 3 − 1)r.
29
√ √ L
Now, L = 2nr + 2( 3 − 1)r = 2(n + 3 − 1)r. Thus, r = √ .
2(n + 3 − 1)
The total area covered by n rows of circles is
n(n + 1) 2 πL2 n(n + 1)
An = πr = √ .
2 8(n + 3 − 1)2
√
Because the triangle is equilateral √ with side length
√ 2 L, its height is ( 3/2)L and
consequently its area is (1/2) · L · ( 3/2)L = 3 L /4. Now,
An 1
lim = lim An ·
n→∞ A n→∞ A
πL2 n(n + 1)
4
= lim √ · √
n→∞ 8(n + 3 − 1)2 3L2
n2 + n
π
= √ lim √ √
2 3 n→∞ n2 + 2( 3 − 1)n + ( 3 − 1)2
π π
= √ ·1= √ .
2 3 2 3
The limit is found using techniques learned in Section 1.4.
S = 1 + r + r2 + · · · + rn ;
then, we have
r·S = r + r2 + r3 + · · · + rn + rn+1 .
Consequently
S − rS = 1 − rn+1 ,
(1 − r)S = 1 − rn+1 ,
1 − rn+1
S = .
1−r
In particular, the sum of the first 25 positive integer powers of 2 is 67,108,862.
This formula has been known for a long time: it appeared in Euclid’s Elements,
written approximately 2300 years ago, and was used in the work of Archimedes.
There are several ways to prove this formula. One of them is motivated by
the following example.
Consider a geometric series with r = 12 :
1 1 1
1+ + + + ··· .
2 4 8
Now, let us assume that the sum is a finite number and denote it by x. Then
1 1 1
2x = 2 + 1 + + + + ... = 2 + x.
2 4 8
Thus, solving 2x = 2 + x, we get x = 2. We have
1 1 1
1+ + + + · · · = 2.
2 4 8
Remember, we already had similar formula in the introduction, where its motivation
was more geometrical than algebraic.
Now consider a geometric series with r = 1/q:
1 1 1
1+ + 2 + 3 + ··· .
q q q
Again, let us assume that the sum is a finite number and denote it by x. Then
1 1 1
qx = q + 1 + + 2 + 3 + · · · = q + x.
q q q
Thus x = q/(q−1). Substitute q = 1/r and do some algebra to obtain x = 1/(1−r).
Until now, it seems as if there is no restriction on the value of r. The
following example, where r = 2, shows that it is not so, and formal use of this
approach leads to a contradiction. Let x = 1 + 2 + 4 + 8 + 16 + · · · . The sum is
positive since each term is positive. On the other hand, 2x = 2+4+8+· · · = x−1.
Solving for x we have x = −1. Thus, we have just “proved” that the sum of an
infinite number of positive terms is equal to a negative number. This is clearly
false and thus, for r = 2 the series is divergent. Therefore, we conclude that this
“proof” works only under the assumption that the series converges, but does not
show when it does.
Another proof of the general formula, which gives a condition for convergence,
31
follows directly from the formula for a finite geometric sum through the use of
Definition 9 and the properties of limits. Consider the n-th partial sum
1 − rn+1
Sn = 1 + r + · · · + rn = .
1−r
Then the limit
1 − lim rn+1
n→∞
lim Sn =
1−r n→∞
exists only if |r| < 1, when lim rn+1 = 0 and thus by definition
n→∞
1
1 + r + r2 + · · · = lim Sn = . (11)
n→∞ 1−r
This result is illustrated for 0 < r < 1 by Figure 4 below. It is a good exercise
to convince yourself that from the similarity of the triangles ACD and AP1 B it
follows that r = (s − 1)/s and thus s = (1 − r)−1 .
C
.......
.......... ..
............ ...
.............. .....
..
..
..
. ....................... .....
.... . .
....... ...... ...
....................... ....
...
.......... .... ....... ... ....
..... .
............................. ... ....
..... .... .. ... .
..
..
..
P
5................. ..... ........ ... ...
... .
. ....
....
.. .
.. .
......................................... . . .
.
. .
.
. ...
...
. ....
..
......... .... .
.... ... ..
. ..
. ....
...
..... .
. ... ...
. .
. .
. ....
..
P 3 . . . .
3............. .....
..... .. .....
.
.
.. .....
.
r .
.
.
.
.
.
.
.
.
.
.
.
....
...
...................................................... .
. .
. .
.
.....
. .
........ ..
.
..
.
.
2 ..... ... .
....... 4 .
.
. P .
.
. .
.
.
....
....
..........
.
.
......... ...
..
.
. . ... ..
. r .
.
.
.
.
.
.
.
.
.
.
.
.
.
. s−1
....
....
.
....... ..
. .... . . . .
...
.
..... 2 .... . . . . . .
. .
.....
...
.
. ..r..... .
.
.
.
.
.
.
.
.
.
.
. ....
P
1..................
.
..
.. .
.
. .
.... ......
... .
.
..
.
.
..
.
.
..
.
.
..
....
....
... .. ..
. r
..................................................................................
.
.
. ..
.
P .
. .
. .
. .
. ....
...
..
......... ... ..... ... 2 ..
. ..
. ..
. ..
. ....
...
....... ..
.
. ... .. ... .
.
. .
.
. .
.
. .
.
. ....
.....
..... ..
.
. ..... .
. .
. .
. .
. .
. ....
.........
. .
.
.
. ..... . . . . . ....
..........
. ..
.
. ... .. . . . . . ...
....
...
........
..... ..
.
.
.
.
.
r ..
.... ...
. ..
.
.
.
.
..
.
.
.
.
..
.
.
.
.
..
.
.
.
.
..
.
.
.
.
....
....
..
......... ..
.
. ..
. .. .
. .
. .
. .
. .
. ....
...
....... ..
.
. . .... .
.
.
.
.
.
.
.
.
. ....
.....
..... .. .....
.
. .. .. .. .. .. ....
A
..
....
......
.........
1 . ....
.
.
.
.
.
.
....
. . B r
.
.
.
.
.
.
2 .
.
.
.
.
. r 3 .
.
.
.
.
. r
.
.
.
.
.
.
.
.
.
.
.................................................................................................................... ..................................................................................................................................................................................................................................................................................................................................................................................................
.
.
D ..
.... .
.
....
. ..
.......
.
.......
.
...
0 ....
....
0 s 1 s 2 s 3 4 s s ··· s
....... ....
....... ....
...
......... ......
. .
..... .. .
...
.. ...
.......
.......
.......
Slope is r ....
...
... Slope is 1
....... ...
.
............ ... ....
... .
....... ....
....... ...
the tank. Thus after 600 litres are used, 600/3=200 litres will be supplied to the
tank. Similarly, by the time 200 litres are used, 200/3=600/9 litres will be supplied
to the tank, etc. If we continue in the same way, the total amount of water used
will be represented by the infinite geometric series 600 × (1 + 1/3 + 1/9 + ..). Using
(11) with r = 1/3 we find 1 + 1/3 + 1/9 + .. = 3/2. Thus, the answer is 900 litres.
The geometric sum (11) appears in many other problems involving an infinite
sequence of similar geometric objects (segments, squares, triangles, circles). Some
examples of this kind, including fractals, are collected in this section. Besides
that, using geometric series, one can see why any repeating decimal number can
be written as a fraction and thus is a rational number. Another example illustrates
how formula (11) helps deal with an infinite product.
Problem 15. The path of a ball. A ball falls from a height of 1m and
bounces to heights of 1/3 m, 1/9 m, 1/27 m, and so on. Find the total distance
that the ball covers after an infinite number of bounces.
Solution: The total distance is
1 1 1 2 1 1 2 1
1+2 + + + · · · = 1+ 1 + + + · · · = 1+ · = 1 + 1 = 2.
3 9 27 3 3 9 3 1 − 13
ii) Let the first square be black, the second one be white, the third one be black
again, and so on. The colouring is shown on the right. Find the total area covered
by the black colour.
Solution: First note that the area of a square, whose vertices are the midpoints
of the sides of a given square, is exactly half that of the given square. Since this
pattern continues, we have an infinite sequence of squares in which each square
area is one-half as large as the area of the previous one. Thus we have a geometric
sequence of the areas of the squares: 1, 1/2, 1/4, 1/8, ....
33
In question (i) we are asked about the total area of the squares, which
according to our previous discussion is the sum of the geometric series with r = 1/2:
1 1 1 1
1+ + + + ··· = 1 =2
2 4 8 1− 2
1 1 1 1 2
1− + − + ··· = = .
2 4 8 1 − (− 12 ) 3
.......
.........
A1 .........
..
..
..
. .........
....
.........
.............
A ........ .........
3................... ... ...
.
....... ..
. .... ....
......... .... ..... ....
......... ..... ....
..
... . .
.
.......... ... .. ... ...
. . . .
......... ......... ..... .... .....
...
.... . . .
..........
. .
.
. .. .
. .. ... ...
......... ...... ... ... .. ... . ...
.
..........
.. ... .. ... .. .
... ... .
... ...
........ .
... .. . .
.. .. .. . ... .
.. ...
..
..
. ...
....... ....... . . .
. .
..
.
. . .
. ...
..
... . .
....... ....... .... ... .... .... .... ... ...
.
... ...
. ...
.....
........ ........ .... .... .... .... .... ... .... ... ..
... .. . ... ...
. ...
.
........ ... ... ... .. ... ... .... ... .. . ... ... ...
...
........ . .
... .. .. .. .. . . ..... ... .. . ....... . ....... .
.
......... θ .
. . . .
. . .
. .. . . .
. .. . ...
.................................................................................................................................................................................................................................................................................................
A2 A0
series, which gives the required length of the jagged line, converges, and we obtain:
|A0 A1 | + |A1 A2 | + |A2 A3 | + · · · = a1 + a2 + a3 + · · · =
Thus the length of the jagged line in an angle of size θ with first segment of
length b is b (1 − cos θ)−1 .
We invite the reader to check directly some special cases (e.g. θ = π/4 and
θ = π/3). What do you think will happen when θ is very close to 0 or π/2?
18B. A number is written in the form of an “infinite” nested root with the
following periodic pattern v s
u r q
√
u
t
4 4 4 4 4...
1/2
ratio r = 1/2, we obtain M = = 1. Thus, the value is 41 = 4.
1 − 1/2
Problem 19. Conversion of a repeating decimal to fractional form.
Convert 0.543 = 0.543543543 . . . into a fraction.
Solution:
C
....
....
.......
.............
......................
. .
... .....
... ..
.... ....
.. ................. ..
......... ..........
.... ...
... ...
.... ....
.. .... .... ..
... ..................................... ....
......... .......
....
..
... ...
... ...
...... ..
...... .....
... .... . ... ...
.. ..
... ............. ............. ...
. .... . .
.. ........... ......................... ...
.. ....... ...... ...
.. ...... ......
.....
........ .....
....
.. ...
..
.. ...
..... .....
....... .....
... ... ... ..
... .... .. ....
.
... ... . .. ...
.
..
.... ... ..
...... ... ..
.. ........ ...... ..
.. .. ........ ..
A1......................................................................................................................................................................B1
... ............ ........
D1 ....... ....
... ........ ...... ..
. . .... ..
.. .... .... ..
.. ... ......
....
.... .....
...... ....
...
.
. ..
.... ...
..
.... ....
....... 0 ......
....... ... ..
... ... ........... .....
. ...
.... .... ... ....
... ... ..... ...
. ... ..
. ...
... ... .... . . ..
. .
. . ....... ..... .. ....
.. .... ...... ..... ...
..
.. ... ............ ...
..
.. ... ....... ... r0 ...
..
..
... .
. .
.
..
. . ... ..
..... ...... .... .
.. ..
... .
... .. . ...... .... ...... ..
... ............ .......
........ .. . ..... . .
..
. ..
..
............ β ...... .
.
. .. . . . ...
.... ...... ..
................................................................................................................................................................................................................
A0 D0 B0
Solution: Note that the first circle of the sequence is inscribed in 4A0 B0 C, and
the k th circle of the sequence is inscribed in a triangle which is similar to 4A0 B0 C.
We claim that the coefficient of similarity (see Appendix B.4) is (tan β)2k , where
β = (π − α)/4, and will show that now.
Let CD0 be the altitude, and let O be the incentre of 4A0 B0 C. Angle
CA0 B0 = (π − α)/2 = 2β and from 4A0 CD0 which is right angled, we obtain
\
the length |CD0 | = (1/2) tan(2β). From 4A0 OD0 which is also right angled, we
get the inradius r0 = |OD0 | = (1/2) tan β. Thus, the diameter of the first circle is
tan β.
Denote the point of tangency of the first and the second circles by D1 . Draw
a line parallel to the side A0 B0 through D1 . Denote the points of intersection of
the line with the sides A0 C and B0 C by A1 and B1 respectively. The second
circle is inscribed in 4A1 B1 C. 4A1 B1 C is similar to 4A0 B0 C with coefficient
(tan β)2 which follows from calculating the ratio of their heights (see Appendix B
for double angle formulas):
|CD1 | |CD0 | − 2r0 2 tan β
= =1− = (tan β)2 .
|CD0 | |CD0 | tan(2β)
By the same process it can be shown that the third circle of the sequence
is inscribed in 4A2 B2 C which is similar to 4A1 B1 C with coefficient (tan β)2 ,
and thus similar to 4A0 B0 C with coefficient (tan β)4 . In fact, for each circle,
the corresponding circumscribed triangle Ak Bk C is similar to the previous one
Ak−1 Bk−1 C with coefficient of similarity (tan β)2 .
From the coefficients of similarity, we know the ratio of the radii of inscribed
circles. Let rk be the inradius of Ak Bk C. Then
r1 r2 rk
= (tan β)2 , = (tan β)4 , = (tan β)2k , for all k ≥ 1.
r0 r0 r0
From this we immediately obtain the total area of the circles
∞ ∞ ∞ ∞
!
2
X
2 2
X rk2 2
X rk2 2
X πr02
πr0 + πrk = πr0 1 + 2 = πr0 2 = πr0 (tan β)4k = .
r0 r0 1 − (tan β)4
k=1 k=1 k=0 k=0
tan β π tan2 β
Recall that r0 = , so the total area occupied by the circles is ,
2 4 (1 − tan4 β)
where β = (π − α)/4. Note that, if the triangle is equilateral, then
π π 3π
α = , β = , and the total area of the circles is .
3 6 32
Problem 21a. The Cantor Set. The Cantor set, named after Georg
Cantor is constructed as follows. We start with the closed interval [0,1] which
clearly has length 1. We divide it into 3 equal intervals, with the middle interval
being an open interval (it does not contain its endpoints). We remove the middle
interval 13 , 32 , and this leaves the two intervals 0, 13 , and 32 , 1 . We take each of
these intervals, divide them into 3 identical sized intervals, and remove the middle
open interval again. We repeat this process forever. The Cantor set is the set of
all real numbers which remain after all the intervals have been removed.
37
The problem is to show that the total length of all the intervals removed
is 1, which is equal to the length of the original interval. (Despite this fact, the
Cantor set contains infinitely many numbers!)
1
Solution: The first interval removed has length . There are now 2 other intervals
3
1
remaining, each with length . We remove an interval from each of the remaining
3
1 1 1
ones, each interval removed has length · = . There are now 4 intervals
3 3 9
1
remaining. Each of them has length . We remove an interval from each of them.
9
1 1 1
Each interval removed has length · = . Therefore, if we repeat this process,
3 9 27
the total length of intervals removed is:
1 1 1 1 1 1
+2· +4· + ··· = 20 · + 2 1 · 2 + 22 · 3 + · · ·
3 9 27 31 3 3
∞ ∞ n
X 2n 1X 2 1 1
= n+1
= = · 2 = 1.
n=0
3 3 n=0
3 3 1 − 3
8 2 2
The series is infinite in some cases and in others not. For example, = + 2
9 3 3
1 ∞ 2
P
corresponds to a1 = a2 = 2, ak = 0 for k ≥ 3. However, = is represented
3 k=2 3k
by an infinite geometric series and corresponds to a1 = 0, ak = 2 for k ≥ 2. The
removal of the middle third of each interval corresponds to the condition ak 6= 1 in
the representation above. The Cantor set includes the endpoints of each removed
open interval, but not only these points. Even if we had removed the middle
closed interval in each step instead of removing the open interval, the set of points
remaining would have been infinite.
1. We partition this square into 9 smaller squares of equal area, and remove the
interior of the middle square. Now, we take each of the remaining 8 squares and
partition them into 9 smaller squares. We again remove the interior of the middle
square in each one. We take each of the 8 · 8 = 64 remaining squares and partition
them, and again remove the interior of the middle square. We continue the process
forever. Show that the total area of the removed squares is 1, which implies that
the Sierpinski carpet has an area 0.
Thus, as desired, the total area of the removed squares is 1. Just as in the Cantor
set, even though it may appear that there is nothing remaining, there are infinitely
many points remaining. In particular, if C is the Cantor set, then the sets4 C ×[0, 1]
and [0, 1] × C are both subsets of the Sierpinski carpet.
.. .. .
...... ...... ......
... ... ... ... ............... ...............
... ...... ... ...... ... .
... ... ... ... .... .
. ..... .
... ... ... ... ... . . ... ..........
... ... ................................... ................................. ............... ................ ............ ............
... ... ... ... ... ..
..... ...
... ... ... . . .....
... ... ...
... ... ..
...............
...
.... ...
... ... ....
. ... .............
... ... ... .
.... . .
....
.. ... ... ... ... ...
.... ... ... ... ............... .............
.... ... ... ... ... .
.
... ...
... ..... ...
... ... .....
. . . ...
.................................................................................................. .................................... ..
................................. ............... ............... ................. ..............
... ... ...... ... .. ....
... . .. . ....
... ... .
. ... .
... ..
... ... .............. ..............
..... ......
...
If you were to calculate the area and perimeter for the first few steps, you will
notice that they are both increasing with each step. There is one major difference
though. The sequence of areas is bounded because each figure can actually be
inscribed inside the same circle as the original triangle. Thus, the sequence of areas
is bounded from above √ and monotonically increasing and is therefore convergent,
2 3
the resulting area is . The same is not true for the sequence representing
5
the perimeter. That sequence increases without bound, and thus, the perimeter is
infinite. You should try to show both of these facts using geometric series.
B........................................................................C 1
......................................................................
C
... .... ....
... ... .......
... .... .... ....
... .... .... ....
... ..... .... ...
...
....
. ....
. ....
... ... ....
... .. .
C2................................................................................D ....
... .
. 2 ....
... .... ....
. . ......
.
. ....
... ... .... .. .....
.
... .. .
. .... ...
... ...... ...
... .
.
.
. ...... .....
... .... . .
. .
... .... ... .
.
. .... ...
B1 ......... . . .
... .
. ..... D1
... ..... ......
.... ...... ... .... .... ...
... .... ... .
. ...... ....
.... .... . . . .
... .... ..... .... ....... .....
.. .... .. ... ... ....
.... ..
... ................................................................................... ....
..... ....
. . .
. A.. ...
...
...
B 2 ....
..
... ... 2 ....
.
..... .. ....
.
.... .... ..... ....
.... .... ..
... ...
. .
...........................................................................................................................................................
A A1 D
continuously. The mouse starting from A initially runs half of the length of side
AD ending at A1 , and similarly for the other three mice. So at the end of the first
interval the four mice have reached A1 , B1 , C1 , D1 respectively. Now the mice
change direction. The mouse at A1 runs half the length of the side A1 D1 ending
at A2 , and similarly for the other three mice. At the end of the second interval
the four mice have reached A2 , B2 , C2 , D2 respectively (see Figure 10). The mice
continue moving in this fashion. After infinitely many iterations they meet at the
centre of the square. The question is the same as before: what is the total length
of the path run by each mouse?
Solution: Observe that√if the side length of ABCD is 1 unit then the side
length√of A1 , B1 , C1 , D1 is 1/ 2, the side length of the next square A2 , B2 , C√2 , D2
is (1/ 2)2 , and the side length of the n-th square An , Bn , Cn , Dn is (1/ 2)n .
Since each mouse runs a half of the side of each square in this infinite sequence of
squares, the path length is
n
1 1 1 1 1 2
1 + √ + ··· + √ + ··· = √ = √ .
2 2 2 2 1 − 1/ 2 2− 2
Next, we modify the auxilary problem as follows. Let k ≥ 2. As before each
of the four mice is pursuing the mouse on its right, each starting from one of the
four corners A, B, C, D of the room. Again, the mice change direction at discrete
intervals. This time, at the first stage, the mouse which starts from A runs 1/k
along the side towards D stopping at A1 which is 1/k from A. Similarly, for the
other three mice. At the second stage the mouse at A1 runs 1/k of the side A1 D1
towards D1 stopping at A2 which is (1/k) · A1 D1 from A1 . Similarly, for the other
three mice. The question is the same as before: what is the total length of the
path run by each mouse?
Solution: Note that for k = 2 we have the problem that we already solved.
In general, by the Pythagorean theorem each square An+1 Bn+1 Cn+1 Dn+1 in the
sequence is √
k 2 − 2k + 2
q
2 2
(1/k) + [1 − (1/k)] =
k
times the size of the previous square An Bn Cn Dn . Since each mouse runs 1/k of
the side of each square in the sequence, the total path length is:
∞ √ !n
1X k 2 − 2k + 2 1
= √
k n=0 k 2
k − k − 2k + 2
In the limit as k → ∞, the paths run by the mice become the paths run
when each mouse is always running directly towards the mouse on its right — as
in the original Four Mice Problem. Thus the solution to the Four Mice Problem
is
1
L = lim √ .
k→∞ k − 2
k − 2k + 2
√
To evaluate the limit we multiply numerator and denominator by k+ k 2 − 2k + 2:
√ √
1 k + k 2 − 2k + 2 k + k 2 − 2k + 2
√ = 2 =
k − k 2 − 2k + 2 k − (k 2 − 2k + 2) 2k − 2
41
§2.4 Telescoping
In this section we will introduce a method which can help to find the sum
of a given series. This method only works for a certain class of problems, and it
requires more creativity than the use of the geometric formula. Nevertheless, it is
a very important method because it is one of the very few ways to find the sum
of infinite as well as finite summations.
1 · 1! + 2 · 2! + 3 · 3! + · · · + n · n!
1 1 999
cancel. Thus, the sum is − = .
2 1001 2002
Problem 26. Consider a sequence of triangles the n-th having vertices:
1 1
(1, 2), ,0 , ,0 , n = 2, 3, 4, . . . , 1000.
n n+1
Find their total area.
2 (1,2)
0 1
1001
1/5 1/4 1/3 1/2 1
Solution: Each of the triangles has (1, 2) as one vertex and two other vertices on
the x-axis. Thus, each of the triangles has height 2. The length of base of the n-th
triangle on the x-axis is n−1 − (n + 1)−1 . Since the area of a triangle is a half of
the height times base, the area of the n-th triangle is the same as the length of its
base. To find the total area we need to sum the areas of all 999 triangles. This,
in fact, leads to the same telescoping procedure (12) as in the previous problem.
After cancellations we again obtain 1/2 − 1/1001 = 999/2002.
However, the problem has a geometric solution. The segment joining (1, 2)
and (n + 1)−1 , 0 is a common side of the n-th and (n + 1)-th triangles, for
2 ≤ n ≤ 999. Thus the total area is the area of the big triangle with vertices (1, 2),
(1/2, 0), (1/1001, 0) which has height 2 and base length 1/2 − 1/1001 = 999/2002.
So the area of the big triangle is 999/2002.
This problem is useful for us in two ways. First it provides a geometric
interpretation of the telescoping procedure, and second, we can generalize this
result to the case of arbitrary N > 2 (not only N = 1000 as in the two problems
above):
1 1 1 1 1 1
+ + + ··· + = − . (13)
2·3 3·4 4·5 N · (N + 1) 2 N +1
Both algebraic and geometric (using triangles’ area) solutions will work.
The advantage of having a general formula is that we can now ask ourselves:
What will happen if we let N go to infinity?
Following the geometric interpretation, the areas of the N − 1 triangles add
up to the area of the triangle with vertices (1, 2), (1/2, 0), (1/(N + 1), 0). In the
limit N → ∞, the vertices of the resulting triangle become (1, 2), (1/2, 0), (0, 0);
the area of the triangle is 1/2, and this is the sum of the infinite series:
∞
X 1 1
= . (14)
n=2
n(n + 1) 2
43
When we find the area (13) of the triangle with vertices (1, 2), (1/2, 0),
(1/(N + 1), 0), we, in fact, find a partial sum of the series. Thus, finding the total
sum this way agrees with our previous concept of convergence of a series in terms
of the limit of the sequence of its partial sums (see Definition 3):
1 1 1
S = lim − = .
N →∞ 2 N +1 2
Problem 27. Figure 11 shows two circles α and β of radius 1 that touch
at X. τ is a common tangent line and γ1 is the unique circle touching α, β, and
τ ; γ2 is the unique circle touching α, β, and γ1 . For each n ≥ 1, let γn+1 be the
unique circle touching α, β, and γn . Show that the diameter dn of γn is equal to
1
dn = , n ≥ 1.
n(n + 1)
A X B
1 1
γ3
1 1
γ2
r1
α O1
β
γ1
τ
(1 − r1 )2 + 1 = (1 + r1 )2
1 − 2r1 + r12 + 1 = 1 + 2r1 + r12
1 = 4r1
1
r1 =
4
Thus, the diameted of γ1 is d1 = 2r1 = 1/2.
44
X
A 1 1 B
1 P
δ
r
r
α O β
γ
p
Substituting in (15) gives the equation 1/(c + 1) = (s + 1)2 − 1 + s for s.
Subtracting s from both sides and then squaring both sides we get
1 2s
− + s2 = s2 + 2s
(c + 1)2 c+1
The unique solution is s = 1/[2(c + 1)(c + 2)] and so the diameter of δ is
1/[(c + 1)(c + 2)] as claimed.
Note that this formula easily follows from (14) by adding 1/2 to each side.
1 1 1
Solution: Use the identity − = from Problem 13
Fn−1 · Fn Fn · Fn+1 Fn−1 · Fn+1
to write the general term as a difference of two others
∞ ∞
X 1 X 1 1
= − .
F
n=2 n−1
· Fn+1 n=2
Fn−1 · Fn Fn · Fn+1
1
Denoting by an for n ≥ 2 observe that the series has the form
P∞ Fn−1 · Fn
n=2 (an − an+1 ).
Therefore the partial sum is
N
X 1 1
SN = = 1 − aN +1 = 1 − .
n=2
F n−1 · Fn+1 FN · FN +1
We now can take the limit of the partial sum to get the desired result:
∞
X 1 1
= lim 1 − = 1.
F
n=2 n−1
· Fn+1 N →∞ FN · FN +1
Solution: We start by using the definition of the Fibonacci sequence to change the
form of Fn in the numerator, and then write the expression as a difference of two
terms:
Fn Fn+1 − Fn−1 1 1
an = = = −
Fn−1 · Fn+1 Fn−1 · Fn+1 Fn−1 Fn+1
Writing out the sum of the first N terms, we get:
1 1 1 1 1 1 1 1
SN = 1 − + 1− + − + − + ··· + − .
2 3 2 5 3 8 FN −1 FN +1
47
For each n ≥ 1, the negative portion of an will always cancel with the positive
portion of an+2 . Thus, the N -th partial sum is:
1 1 1 1
SN = 1 + 1 − − =2− −
FN FN +1 FN FN +1
is divergent.
Solution: It looks as though the cancellations take place again and the sum must
be 0. We have to work out this example by the definition, and thus find the limit
of the sequence of partial sums. We obtain
S1 = −1, S2 = 0, S3 = −1, S4 = 0, etc.
We observe that all the terms of the sequence of partial sums with even
indices are equal to 0 while those with odd indices are equal to −1. Thus, the
sequence alternates between two numbers and therefore does not have a limit. The
series is therefore divergent.
From these examples we see that there are many ways to make the telescoping
method work. In the next subsection we show that the method of partial fractions
is a very valuable tool when finding the sum of a telescoping series whose n-th
term is a rational function of n.
Problem 34. Find the partial fraction representation for the rational
1
expression 2 .
n + 3n + 2
Solution: We know that n2 + 3n + 2 = (n + 1)(n + 2); let us asume that there exist
real numbers A and B such that
1 1 A B
2
= = + .
n + 3n + 2 (n + 1)(n + 2) n+1 n+2
49
Now we need to find the values of A and B. This task is called equating coefficients.
Multiplying both sides of the last equation by (n + 1)(n + 2) we obtain
As you can see, the coefficient of n on the left side of this equation is zero, so
A + B = 0. Also, the constant on the left is 1 while the constant on the right is
2A + B. So 2A + B = 1. We now have two equations and two unknowns so we
can solve the equations for A and B. The first equation yields A = −B. Then the
second equation gives A = 1 and B = −1. Thus,
1 1 1
= − .
n2 + 3n + 2 n+1 n+2
The numerators in the partial fractions will not always be constants. They
were only constants in the previous example because the denominators were linear
functions of n.
However, for a denominator of degree d > 1 the corresponding numerator is
a polynomial in n of degree d − 1. For example, if the denominator has factors
(n + 1)(n2 + 1) then the corresponding numerators are A and Bn + C.
n2 + 2n + 2
.
(n + 2)(n2 + 3n + 3)
n2 + 2n + 2 A Bn + C
= + .
(n + 2)(n2 + 3n + 3) n + 2 n2 + 3n + 3
A + B = 1, 3A + 2B + C = 2, 3A + 2C = 2.
n2 + 2n + 2 2 n+2
= − 2 .
(n + 2)(n2 + 3n + 3) n + 2 n + 3n + 3
50
Sometimes partial fractions and telescoping work well together. Here are
two such examples.
Solution: It is easy to see that the denominator can be factored using a quick trick
k 4 + k 2 + 1 = (k 4 + 2k 2 + 1) − k 2 = (k 2 + 1)2 − k 2
and so on. The total sum therefore is greater than an infinite sum of halves and
thus, the series is divergent.
This divergence helps explain an interesting effect — an experiment which
you can perform.
Place cards, say, from a standard deck, at the left edge of a desk so that
the card on top extends half its length beyond the card underneath it; the second
top card extends a quarter of its length beyond the card underneath it; the third,
1
fourth,..., n-th from the top, respectively, extends one-sixth, one-eighth,..., 2n of
its length beyond the card immediately underneath it. The bottom card rests on
the desk with its left edge lying along the left edge of the desk. This pile of cards
will not fall to the floor even though the top card extends far beyond the edge of
the desk.
..................................................................................................................................................
... .
.. .....
... ....
............................ ....
.... ........................................................................ ...
...
...
................................................ ....
................................................ ....
. ................................................
.... ............................................................................. ....
.... ... ... ....
.... ... ........................................................... .... ...
... .. ..
. .
... .... . ....
... . ...
.
. .. .. ....
. . .
.... ..... ..... .... .... ....
.... .... .... .... .... ....
.... ... ... .... .... ...
... .. ...
. ... ... ....
... . ...
.
. ... ... ....
. . . . .
.... ..... ..... .... .... ....
.... .... .... .... .... ...
....................................................................................................................................................
Now we will explain this effect. Let N be the number of cards. We suppose
that the length of each card is 1, and that the origin of measurement is the left
edge of the top card.
Let xn be the coordinate of the left edge of the n-th card from the top. Thus
x1 = 0, x2 = 12 , x3 = 12 + 14 = 34 , and generally for n ≥ 2,
n−1
1 1 1 1 1X1
xn = xn−1 + = 1 + + ··· + = .
2(n − 1) 2 2 n−1 2 k
k=1
Since all the cards are assumed to be identical, the centre of mass ḡn of the
top n cards is located at the mean of the centres of mass of the individual cards,
so that
x̄1 + x̄2 + · · · + x̄n
ḡn = .
n
In the table below we give the values of xn , x̄n , and ḡn for small values of n.
1 1
n xn = xn−1 + 2(n−1) x̄n = xn + 2 ḡn = (x̄1 + · · · + x̄n )/n
1 1
1 0 2 2
1 3
2 2 1 4
1 1 3 5 11
3 2 + 4 = 4 4 12
3 1 11 17 25
4 4 + 6 = 12 12 24
We make some observations. Since the edge of the desk is located at xN and
since the harmonic series diverges, the top card in the pile can be arbitrarily far
to the left of the edge of the desk when sufficiently many cards are laid.
The second observation is that from the table ḡn = xn+1 for 1 ≤ n ≤ 4. We
prove by induction that it holds for all positive integers n. Suppose that it holds
up to the index k, that is ḡn = xn+1 for 1 ≤ n ≤ k. Then
(k + 1)ḡk+1 = x̄1 + · · · + x̄k+1 = (x̄1 + · · · x̄k ) + x̄k+1 = kḡk + x̄k+1 .
1
Now, use the assumption of the induction step and the relation x̄n = xn + 2 to
get
1 1
(k + 1)ḡk+1 = kxk+1 + xk+1 + = (k + 1)xk+1 + .
2 2
1
Finally, use xk+2 = xk+1 + 2(k+1) to obtain
1 1
(k + 1)ḡk+1 = (k + 1) xk+2 − + = (k + 1)xk+2 .
2(k + 1) 2
This implies that ḡk+1 = xk+2 , and thus by induction ḡn = xn+1 for 1 ≤ n < N .
What is the significance of this result? It says that the centre of mass of the
top n cards lie directly on top of the left edge of (n + 1)-th card from the top, and
that the centre of mass of all the cards above the bottom card lying on the desk
is directly above the edge of the desk. Thus, even though the upper cards in the
stack extend far to the left of the desk, the stack will not fall to the floor.
The harmonic series is a member of a large class of series which are called
hyperharmonic. We will talk about them in a later section.
Note that it differs from the divergent harmonic series only by the alternation
of the sign of its terms, and hence it is classified as an alternating series.
It is not hard to show that the series is convergent. In fact, any alternating
series
∞
X
(−1)n an , an > 0
n=1
whose general term an is both decreasing and tends to zero (i.e. an+1 ≤ an and
an → 0) is convergent. The partial sums of such a series jump above and below
its limit, getting closer as n increases.
It is a little more tricky to show that the series converges to ln 2. To see
this you will need to read a later section about power series representations of
functions and use formula (23) for the logarithmic function ln(x + 1) at x = 1.
The series is convergent, but it has an amazing property: by changing the
order of the terms, one can get different results for its sum! Series with this
property were called conditionally convergent by Georg Bernhard Riemann around
1854.
Let us show for this example that after a certain permutation of the terms,
the sum is equal to (3/2) ln 2.
First write our original statement
1 1 1 1 1 1 1
ln 2 = 1 −+ − + − + − + ···
2 3 4 5 6 7 8
Now divide both sides by 2 and fill in zeros for further convenience
ln 2 1 1 1 1 1
=0+ +0− +0+ +0− +0+ + ···
2 2 4 6 8 10
Now add the two formulas to obtain
3 ln 2 1 1 1 1 1
= 1 + 0 + − + + 0 + − + ···
2 3 2 5 7 4
Note that on the right side, you have the same terms as in the Leibniz series,
but written in a different order. On the left side, you have a different result!
An even more surprising result, known as Riemann’s Theorem, is as follows:
one can get any number by rearranging the terms of a conditionally convergent
series. Niels Henrik Abel was so upset by this statement that he once said that
conditionally convergent series are the devil’s production. Some more examples of
the devil’s production are series of the form
∞
X 1
(−1)n+1 , 0 < s < 1.
n=1
ns
Either of these formulas may serve as a definition of the zeta function when the
corresponding expression converges.
Recall that a prime number is a natural number which has only two divisors:
one and itself. The fundamental significance of prime numbers is manifested in
the uniqueness (up to the order of the factors) of the representation of any natural
number as a product of powers of primes, like 72 = 32 · 23 . This fact is the basis of
the equivalence of the two representations of the zeta function given above. It also
explains why the study of the zeta function can have applications in number theory,
in particular for questions about the distribution of the prime numbers. The
equivalence of the two representations for the zeta function was first established
by Euler, who considered only real values of the argument s. Later, Riemann
introduced the function ζ(s) by means of another equation, valid for any value of
the argument s, including complex numbers. He showed that his definition agrees
with the one provided by the hyperharmonic series for all s, both real and complex,
for which the series converges.
Our goal in this section is to investigate the convergence of hyperharmonic
series for real values of s. It is clear thatPfor s = 0 and any s < 0, e.g. s =
∞
−1/2, s = −2, the hyperharmonic series n=1 n1s is divergent. The answer is
less obvious for positive s, but we know that for s = 1 it is the harmonic series
which diverges. In fact, the value s = 1 is the P delimiter between the convergent
∞
and divergent hyperharmonic series. That is, n=1 n1s is convergent for s > 1,
and divergent otherwise. For instance, it converges for s = 1.1 and diverges for
s = 1/2. (However, a hyperharmonic series with 0 < s ≤ 1 becomes conditionally
convergent with the insertion of an alternating sign (−1)n because an = n−s is
decreasing and tends to 0 as n → ∞.)
Let us first demonstrate the convergence of the series for ζ(2) given by the
hyperharmonic series for s = 2
∞
X 1
ζ(2) = .
n=1
n2
56
∞
X 1 π2
ζ(2) = = . (17)
n=1
n2 6
It turns out that when the argument is an even number, the value of the zeta
function can be expressed using π. For example
∞ ∞
X 1 π4 X 1 π6
ζ(4) = = , ζ(6) = = .
n=1
n4 90 n=1
n6 945
The same is not true for odd values of the argument though. For instance, it
∞
1
P
took many researchers quite an effort to prove that ζ(3) = n3 is an irrational
n=1
number. This problem was considered hopeless until Roger Apéry finally solved
it. This number is now called the Apéry constant. An approximate value is
ζ(3) ≈ 1.202056903159594285399738161511450
It was first obtained with such precision by Andrey Markov in 1889. This improved
a result of Thomas Stieltjes from 2 years earlier when he published a table of the
values of the Riemann zeta function with 32 decimals places for integral values of
p from 2 to 70.
To appreciate these results you may try to obtain ζ(3) by definition using
your pocket calculator. See how many terms you must add to get just a few correct
digits. Again, mathematicians devised various tricks to get the result.
This means that for any |x| < 1, the function f (x) = (1 − x)−1 is the same as
the infinite sum on the right hand side. This example gives you an idea of such
representations, but it looks like the function itself is much simpler than the power
series. Thus, in this case there is no profit in the replacement of the former by
the latter. Nevertheless, one can use the right hand side to evaluate the function
58
approximately by taking just the first few terms of the infinite series. For example,
the formula
1
≈ 1 + x, |x| < 1 (19)
1−x
allows you to find such results as
1 1
≈ 1.1 or ≈ 0.998.
0.9 1.002
quickly in your head.
In the first case we took x = 0.1 and in the second case we took x = −0.002.
When we say approximately equal we normally need to estimate the accuracy of
our approximated result, that is, the difference between the exact and approximate
values. Formula (19) gives better accuracy for smaller x. For larger x, like x = 0.9,
using just two terms is not as accurate. To improve the accuracy, one needs to
take more terms from the right hand side of (18), like (1 − x)−1 ≈ 1 + x + x2 .
Substituting x = 0, we see that f (n) (0) = n! an , which implies that an = f (n) (0)/n!.
This is important. It shows that, just as we obtain a function from a power
series by (21), so from a function f we obtain a power series:
Notice that (18) is the Maclaurin series of 1/(1 − x) and (21) is the Maclaurin
series of 1/(1 − x)2 .
Step 2. Find r > 0 such that
∞
X
ak xk = f (x) (−r < x < r).
k=0
Step 4. Given > 0 and a value of x in the interval found in step 2 for which we
want the value of f (x), use the expression B(x, n) in step 3 to find out how many
terms of the series are needed to compute f (x) with an error of less than .
60
In example (17), letting x = 1/4 and = 0.01, the bound for the error is
B(1/4, n) = 1/(3 · 4n ). Since for n = 3, (1/3 · 43 ) < 0.01, the first four terms
1 + x + x2 + x3 are sufficient in this case.
In example (21), letting x = 1/4 and = 0.01, the bound for the error from step
3 is
(n + 1)n
B(1/4, n) = 3 n−3
3 ·4
Since for n = 7, (8 · 7)/(33 · 44 ) < 0.01, the first seven terms 1 + 2x + 3x2 + 4x3 +
5x4 + 6x5 + 7x6 are sufficient in this case.
The technique for approximating functions by series described above is most
effective for approximating f (x) when x is close to 0. The same technique can be
used to approximate f (x) for x near a. Let g(x) = f (x + a). Assuming that g(x)
is represented by its Maclaurin series in some interval, we have
∞
X g (k) (0)
f (x + a) = g(x) = xk (−r < x < r)
k!
k=0
for some r > 0. Note that g (k) (0) = f (k) (a). Thus, substituting x − a for x in the
line above we have
∞
X f (k) (a)
f (x) = (x − a)k (−r < x − a < r).
k!
k=0
x3 x5 x7 x9
sin x = x − + − + − ... (|x| < ∞) (24)
3! 5! 7! 9!
x2 x4 x6 x8
cos x = 1 − + − + − ... (|x| < ∞) (25)
2! 4! 6! 8!
In general, the tasks mentioned in steps 2 and 3 above, finding the interval
on which the Maclaurin series represents the function and finding an error bound
B(n, x) are beyond what we can explain in this work. However, there are a lot of
cases in which suitable error bounds can be found in a simple way. For example,
in (23), for 0 ≤ x ≤ 1, the terms are decreasing in absolute value and alternating
in sign. So we can take B(n, x) = xn+1 /(n + 1) for 0 ≤ x ≤ 1.
Note that power series yield interesting examples for summations. Fixing x,
we obtain a number series and its value. For example, let us find the value of
π2 π4 π6 π8
1− + − + − ···
2! 4! 6! 8!
61
It is easy to see that the value is −1, by noticing that the sum is of the form
∞
X x2k
(−1)k with x = π. Thus, by (25) we immediately see that the sum is
(2k)!
k=0
cos π = −1.
1
Another example is the use of (21) with x = to show that
3
∞
X n 9
n−1
= . (26)
n=1
3 4
Finally, using formula (23) with x = 1 gives (16) from our discussion of Leibniz
series.
Caution. We can only use this if we know that the power series is truly representative
of the function at a given point x. We already saw that otherwise, this may
lead to nonsense like the sum of positive terms being equal to a negative number
∞
2k = −1) if we use x = 2 in formula (18) while it is only valid for |x| < 1.
P
(
n=0
Let us conclude this section with a problem that incorporates one of the examples.
∞
1 X m 1 9
= ·
2 m=1 3m 3 4
∞
1 9 X m
= ·
2 12 m=1 3m
∞
9 1 X m
= ·
24 3 m=1 3m−1
9 9 9
= · = .
72 4 32
Please note that a double sum is simply a sum whose summands are themselves
sums. Also, we found the common denominator by switching the order of the sums.
We were able to do this because each term is positive and the series is convergent.
In general, we have to be careful with switching the order of summation, as seen
in a past example with a conditionally convergent series. Finally, we were able to
bring m/(3m ) outside of the sum whose index variable is n because, with respect
to n, m/(3m ) is a constant.
Let
∞
X ∞
X
f (x) = a n xn , g(x) = bn x n
n=0 n=0
be two functions represented by the power series shown in an interval (−r, r),
where r > 0. Then we have:
An instance of L’Hospital’s rule:
If f (0) = g(0) = 0 and one of the limits
f (x) f 0 (x)
lim , lim
x→0 g(x) x→0 g 0 (x)
exists, then so does the other and the limits are equal.
Here is the explanation. We start with an example. Suppose that
and
f 0 (x) a5+k (5 + k)x4+k + a6+k (6 + k)x5+k + · · ·
=
g 0 (x) 5b5 x4 + 6b6 x5 + · · ·
f (x) f 0 (x)
lim = lim 0 = 0.
x→0 g(x) x→0 g (x)
Third, for −4 ≤ k < 0 (e.g. k = −2) in both ratios f /g and f 0 /g 0 in the reduced
form the limit of the denominator is a constant (b5 and 5b5 respectively), but the
numerator is unbounded as x → 0. Thus, limits of both ratios do not exist.
We can proceed similarly in the general case. Let m(f ) be the least n such that
an 6= 0, and m(g) be the least n such that bn 6= 0. Since f (0) = g(0) = 0,
a0 = b0 = 0 and so m(f ), m(g) ≥ 1. It follows that m(f 0 ) = m(f ) − 1, and
m(g 0 ) = m(g) − 1. In the above example m(f ) = 5 + k ≥ 1 (since k ≥ −4),
m(g) = 5, m(f 0 ) = 4 + k, and m(g 0 ) = 4.
Case 1. m(f ) < m(g). This corresponds to −4 ≤ k < 0 in the above example. For
ease of notation let p denote m(f ). Then
ap + ap+1 x + ap+2 x2 + . . .
=
bp+1 x + bp+2 x2 + . . .
Note that here we require that the leading coefficient in the numerator ap 6= 0,
but there is no assumption about the leading coefficient of the denominator.
Since power series functions are continuous in the interval of convergence and,
in particular at 0, as x → 0 the limit of the numerator is ap 6= 0 and the the
limit of the denominator is 0. Therefore the last fraction is unbounded as x → 0.
So limx→0 f (x)/g(x) does not exist. By the same token, since m(f 0 ) < m(g 0 ),
limx→0 f 0 (x)/g 0 (x) also does not exist.
Case 2. m(f ) ≥ m(g). This corresponds to k ≥ 0 in the above example. For ease
64
aq + aq+1 x + aq+2 x2 + . . .
=
bq + bq+1 x + bq+2 x2 + . . .
Note that here we require that the leading coefficient in the denominator bq 6= 0,
but there is no assumption about the leading coefficient of the numerator.
In the last fraction the limit as x → 0 of the numerator is aq and the limit of the
denominator is bq 6= 0. So limx→0 f (x)/g(x) = aq /bq exists. Also,
m(f 0 ) ≥ m(g 0 ). For f 0 and g 0 the corresponding coefficients are qaq , qbq respectively.
Thus limx→0 f 0 (x)/g 0 (x) = (qaq )/(qbq ) = aq /bq also exists.
We can prove a corresponding version of L’Hospital’s rule at x = a for
functions f, g represented by power series in x − a in an interval (a − r, a + r).
Let us give two examples of the instance of L’Hospital’s rule shown above.
sin x
Example 12. lim = 1.
x→0 x
In this example we verify the result from 2.6.3 using two new methods. First,
substituting x = 0 gives 00 . So the hypothesis of L’Hospital’s rule is satisfied and
we have
d
sin x (sin x) cos x cos 0
lim = lim dx d = lim = =1
x→0 x x→0 (x) x→0 1 1
dx
Alternatively, using (23), the Maclaurin series for sin x, we get
3 5 7
sin x x − x3! + x5! − x7! + . . .
lim = lim
x→0 x x→0 x
x2 x5 x7
= lim 1 − + − + ... = 1
x→0 3! 5! 7!
2 5 7
because the function represented by 1 − x3! + x5! − x7! + . . . is continuous at x = 0.
ln(1 + x)
Example 13. lim = 1.
x→0 x
Applying the rule, the given limit is equal to
d/dx [ln(1 + x)] (1 + x)−1 limx→0 (1 + x)−1 1
lim = lim = = = 1.
x→0 d/dx[x] x→0 1 limx→0 1 1
This result can be used to calculate the limit of the Euler sequence, see 2.6.2.
The first observation we need is that
n x
1 1
lim 1 + = lim 1 +
n→∞ n x→∞ x
provided that the limit on the right exists. This is clear from the definitions of
the limits on the two sides. So it is sufficient to evaluate the limit on the right.
65
Let exp(x) = ex denote the exponential function which is the inverse function of
ln(x). The rest of the calculation is:
x
1 1/y
lim 1+ = lim (1 + y) by substituting x = 1/y
x→∞ x y→0+
1/y
= lim (1 + y) provided this limit exists
y→0
1/y
= lim exp ln (1 + y) since exp is the inverse of ln
y→0
ln(1 + y)
= lim exp by a property of ln
y→0 y
ln(1 + y) since exp is continuous
= exp lim
y→0 y assuming inner limit exists
= exp(1) = e from Example 13
One should be careful to apply L’Hospital’s rule only when the hypotheses
are satisfied. For example, the application
sin[(N + 1/2)x]
1 + 2 cos x + 2 cos(2x) + 2 cos(3x) + · · · + 2 cos(N x) = .
sin[x/2]
Solution: Multiply both sided by sin[x/2] to get rid of the fraction on the righthand
side. To simplify the new lefthand side use the trigonometric identity
Here the coefficients an and bn are fixed real numbers and x is a free variable.
As with a power series in x, when x is given a particular value, we get a series
of numbers which may or may not converge. Thus, just as a power series in x
determines a function f (x) defined for those x for which the series converges, the
same is true of a Fourier series.
For each n ≥ 1, the functions cos(nx) and sin(nx) are periodic with period
(2π)/n in the sense that, for all x,
2π 2π
cos n x + = cos(nx), sin n x + = sin(nx).
n n
Since 2π is the least common multiple of 2π, (2π)/2, (2π)/3, (2π)/4, . . . , if f (x) is
represented by the Fourier series shown above, then f (x) is periodic with period
2π. This is the big difference between representing a function by a power series
and representing a function by a Fourier series.
P∞
We saw in §2.8 that there is a way of choosing the coefficients in n=0 an xn
to obtain a series which represents a given function f . We take an = f (n) (0)/n!.
As we saw above this “recipe” works in many important cases.
The situation for Fourier series is analogous. Let f be a function with domain
(−π, π). If an and bn are given by the formulas
1 π 1 π
Z Z
an = f (x) cos(nx) dx (n ≥ 0), bn = f (x) sin(nx) dx (n ≥ 1),
π −π π −π
powers of x appear.
∞
π2 X 4
Example 2. x2 = + (−1)n 2 cos (nx) (−π ≤ x ≤ π).
3 n=1
n
Notice that all the coefficients bn are 0 in this case because x2 is an even function.
Similarly, in the power series expansion of an even function such as cos x only even
powers of x appear.
Proving that the Fourier series of f (x) converges to the function f (x) at a
given point x requires mathematical techniques which can not be discussed in this
text. However, once such a correspondence is established, Fourier series expansions
give rise to some interesting results regarding sums of series. For example, letting
x = π/2 in the above Example 1 we obtain
1 1 1 1 π
1− + − + + ··· = .
3 5 7 9 4
As well, letting x = π in Example 2 we obtain
∞
π2 X 4
π2 = + ,
3 n=1
n2
Exercises
1. Find an appropriate formula or method from this chapter to show that
∞ 1000
X 1 1 X
(i) n
= (ii) 2n + 3 = 1, 004, 000
n=1
4 3 n=1
∞
175 X 1 1
(iii) 1.76 = (iv) =
99 n=1
n(n + 1)(n + 2) 4
∞ ∞
X n 4 X 3n n
(v) n
= (vi) = 48
n=1
4 9 n=1
4n−1
∞ ∞
X 1 π2 X 1 π2
(vii) 2
= (viii) 2
=
n=1
(2n) 24 n=1
(2n − 1) 8
∞ ∞
X xn X πn
(ix) = ex (x) = eπ
n=0
n! n=0
n!
∞ ∞
X 6n ln 13 − ln 7 X 1
(xi) (−1)n+1 n+1
= (xii) = ln 2
n=1
n7 7 n=1
2n(2n − 1)
n
ln(1 + kx) k
(xiii) lim =k (xiv) lim 1 + = ek
x→0 x n→∞ n
cos x − 1 1
(xv) lim nsin(k/n) = k (xvi) lim =−
n→∞ x→0 x2 2
N
X sin(N x) + sin[(N + 1)x]
(xvii) 1+2 cos(nx) = , N ≥ 1, x 6= πk, k ∈ Z
n=1
sin x
2. Recall where in the text the each of the following names were mentioned and
what problem or theory is related to them.
Abel, Apéry, Archimedes, Cantor, Cauchy, Euclid, Euler, Fibonacci, Fourier,
Gauss, L’Hospital, Koch, Leibniz, Markov, Maclaurin, Riemann, Sierpinsky,
Stieltjes, Taylor, Zeno.
69
APPENDIX 1: DERIVATIVES
f (x + h) − f (x)
f 0 (x) = lim
h→0 (x + h) − x
f (x + h) − f (x)
= lim .
h→0 h
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
a(x + h) − ax
= lim
h→0 h
ah
= lim
h→0 h
= lim a
h→0
= a
which makes sense because f (x) = ax is a straight line with slope a, and the rate
of change of this function is the slope. Thus, the derivative is also equal to a at
any point x0 .
c 0 ln x 1/x
n n−1
x nx sin x cos x
ex ex cos x − sin x
x x
a , a>0 (ln a)a tan x sec2 x
These derivatives can be combined with the following rules to easily find the
derivatives of many functions. We will refer to a function which has a derivative
as differentiable.
A 1.3. Rules and properties
1. The Constant Multiple Rule
The constant multiple rule states that if f is a differentiable function and c
is a real number, then cf is also differentiable and:
d
[cf (x)] = cf 0 (x),
dx
d
where dx means “the derivative with respect to x”.
d
Problem 42. What is dx [3x2 ]?
Solution: With c = 3 and f (x) = x2 we can use the constant multiple rule. We
have, f 0 (x) = 2x, and therefore dx
d
[3x2 ] = 3(2x) = 6x.
d
Problem 44. What is dx [3x sin x]?
Solution: We will use the product rule with f (x) = x and g(x) = sin x. f 0 (x) = 1
and g 0 (x) = cos x, so dx
d
[x sin x] = sin x + x cos x and using the constant multiple
d
rule we get dx [3x sin x] = 3 sin x + 3x cos x.
d
x
Problem 45. What is dx ex ?
Solution: We will use the quotient
x rule with f (x) = x and g(x) = ex . f 0 (x) = 1
0 ex −xex
and g (x) = e . Therefore dx ex = e2x = 1−x
x d
ex .
Problem 46. Find the composition f (g(x)) for f (x) = sin x and g(x) = ex .
Solution: Replacing x by g(x) in the expression for f (x) we quickly obtain
f (g(x)) = f (ex ) = sin(ex ).
The chain rule states, if f and g are differentiable, then their composition
of f and g is also differentiable, and
d
[f (g(x))] = f 0 (g(x)) · g 0 (x).
dx
As you can see, both of the previous solutions had the exact same answer even
though they were approached using totally different methods.
Exercises
Find the derivatives of the following functions:
APPENDIX B: TRIANGLES
Here we have collected a few facts which are useful for problems dealing with
triangles.
I. Similar triangles
Similar figures are re-scaled images of each other. If either of the following
is true, then the two triangles ABC and A0 B 0 C 0 are similar:
1. Â = Â0 , B̂ = B̂ 0 .
AB AC BC
2. = 0 0 = 0 0 = k. The number k is called coefficient of
A0 B 0 AC BC
similarity.
AB AC
3. Â = Â0 , = 0 0.
A0 B 0 AC
II. Right triangle
A
...........
.... ...............
... α ............
... .........
... .........
... .........
......... c
b ..... .........
.........
..... .........
.........
... .........
... .........
........... .........
...
..............................................................................................................................................
C a B
0 0 1 0
√ √
π/6 1/2 3/2 1/ 3
√ √
π/4 1/ 2 1/ 2 1
√ √
π/3 3/2 1/2 3
π/2 1 0 undefined
74
2 tan α
3. cos(2α) = cos2 α−sin2 α, sin(2α) = 2 sin α cos α, tan(2α) = .
1 − tan2 α
III. Equilateral triangle
B
...
.......
... ...
..... ......
..
. ...
.
. ...
... ...
... ..........................................
.............
. .......
.. ....
.. ...
.... .....
........ ......
. ..
... ....
. ... ... ...
... ... .... .. ...
..
.
.. ... ...
.... ......
.. .... .
.. r .. ...
.
. ...... .
... ... . ...
... .... ....... ...
..........................................................................................................................
A C
C
...
....
.. ..
... ....
.. ..
.. ..
.. ..
.. ..
.. ..
.. ..
... ..
..
... ..
.. ..
. ..
... ..
..
... ..
.
. ..
. ..
... ..
.. ..
.
... .......................................... ....
............ ....... ..
..... ......
......
... .....
....
.. ..
.. .............
...
........ .....
.. ..
. . . ............ ........
. ... . r ....
.
.. . ... ..
.. .. .. ..
.. .. .. ..
.. ..... .. .. ....
.. ..... .
. ..
.. ....... ...... ..
.. ... ........ ..
........................................................................................................................
A a B