Chapter 2 With Added Notes
Chapter 2 With Added Notes
Contents
1 Real numbers 7
1.2 Intervals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Functions 27
4.1 Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.2 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4 calculus
5 Differentiation 59
6 Integration 77
6.2 Anti-derivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
2.1 Sequences
Example 2.1.
a) 1, 2, 3, 4, 5, · · · , ( Natural numbers)
b) 1, 4, 9, 16, 25, · · · , ( Per f ect squares)
c) 2, 3, 5, 7, 11 · · · , ( Prime numbers)
d) 3, 3, 3, 3, 3, · · · , (Constant sequence)
1 1 1
e) 1, , , , · · · , ( Geometric progression)
2 4 8
1 1 1 1
f) 1, − , , − , , · · · ,
3 5 7 9
g) − 3, 9, −15, 33, −63, · · · ,
There are many ways for representing a general sequence (un ), {un }∞
n=1 , { u n } n∈N e.t.c. Some sequences
have general formula for the n-th term, (un ). The general formulae for the sequences in Example 2.1
are given below.
Example 2.2.
18 calculus
a) un = n
b) u n = n2
c) None
d) un = 3
1
e) u n = 2− n or un =
2n
(−1)n+1
f) un =
2n + 1
g) 1 + (−1)n · 2n+1
Some sequences can also be described using a recursive formula that is the next term is expressed in
terms of previous terms.
Example 2.3.
A sequence is given by the following formula.
un+1 = 2un + 1, u1 = 1
u1 = 1
u2 = 2u1 + 1 = 2(1) + 1 = 3
u3 = 2u2 + 1 = 2(3) + 1 = 7
u4 = 2u3 + 1 = 2(7) + 1 = 15
Another famous sequence that can be described using a recursive formula is the Fibonacci sequence.
u n +2 = u n +1 + u n , u1 = 1, u2 = 1
u1 = 1
u2 = 1
u3 = u2 + u1 = 1 + 1 = 2
u4 = u3 + u2 = 2 + 1 = 3
u5 = u4 + u3 = 3 + 2 = 5
u6 = u5 + u4 = 5 + 3 = 8
u7 = u6 + u5 = 8 + 5 = 13
sequences and functions 19
Sequence can be finite or infinite. Finite sequences have a last term but infinite sequences do not.
Finite sequence are not that interesting so we will mainly concentrate on infinite sequences.
For infinite sequences we are interested in knowing the limit of a sequence, i.e. the value that a
sequence is converging to. For example, the sequence
3 4 5 6 7
2, , , , , ,···
2 3 4 5 6
n +1
is approaching zero. The n-th term for this sequence is given by un = n . We say limit of {un } as n
approaches infinity is 1. In shorthand notion, we say
n+1
lim un = 1 or lim =1
n→∞ n→∞ n
If { an } is a convergent sequence, it means that the terms an can be made arbitrarily close to l for n
sufficiently large. To get a feel of what this definition is about, lets look at the limit of un = n1 as n
approaches in infinity using the following steps.
1
1. Choose ε = 10
1 1
|u11 − l | = −0 < = ε if we choose n = 11
11 10
1 1
|u20 − l | = −0 < = ε if we choose n = 20
20 10
1 1
|u100 − l | = −0 < = ε if we choose n = 100
100 10
1 1
|un − l | = −0 <
n 100
1 1
|u120 − l | = −0 < =ε if we choose n = 120
120 10
1 1
|u200 − l | = −0 < =ε if we choose n = 200
200 10
1 1
|u600 − l | = −0 < =ε if we choose n = 600
600 10
5. If we choose ε to be as small as we like can we always find N such that |un − l | < ε. In this case it
clear to see that if we choose N = 1ε , then for all n > N we have
1
|un − l | = − 0 < ε.
n
Example 2.5.
1
Prove that lim = 0.
n→∞ n
Solution.
Let ε > 0, we need to find N (ε) such that
1
|un − l | = − 0 < ε.
n
Now
1 1
−0 =
n n
1
=
n
<ε
Thus if we take N = 1ε . Then for all n > N we have |un − l | < ε i.e. lim 1
= 0.
n→∞ n
Example 2.6.
n+1
Prove that lim = 1.
n→∞ n
sequences and functions 21
Solution.
Let ε > 0, we need to find N (ε) such that
n+1
|un − l | = − 1 < ε.
n
Now
n+1 n+1−n
−1 =
n n
1
=
n
<ε
n +1
if we take N = 1ε . Thus for all n > N we have |un − l | < ε i.e. lim n = 1.
n→∞
Example 2.7.
Find the limit of the following sequence
7 10
4, , , . . .
2 3
Solution.
This sequence can be written as follows
We can definitively prove that lim un = 3 using the formal definition of a limit. That we want to show that for
n→∞
every ε, there exists a natural number N such that for all natural numbers greater than N we have |un − 3|. To
begin, choose ε > 0. Then, we have
1 + 3n
| u n − 3| = −3
n
1
=
n
<ε
if we take N = 1ε . Thus for all n > N we have |un − 3| < ε i.e. lim un = 3.
n→∞
If the limit of a sequence exists, the sequence is called convergent, otherwise, it is called divergent.
Example 2.8.
Use the definition of a limit to prove that
2n − 1 2
lim =
n→∞ 3n + 2 3
22 calculus
Solution.
Let ε > 0, we can find N (ε) such that
2n − 1 2 3(2n − 1) − 2(3n + 2)
− =
3n + 2 3 3(3n + 2)
6n − 3 − 6n − 4
=
3(3n + 2)
−7
=
3(3n + 2)
7
=
3(3n + 2)
7
<
9n
<ε
7
if we take N = 9ε then for all n > N we have
2n − 1 2
− <ε
3n + 2 3
Hence,
2n − 1 2
lim =
n→∞ 3n + 2 3
Example 2.9.
Prove that
2n2
lim =0
n→∞ n3 + 2
Solution.
Let ε > 0, Then we have
2n2
|un − l | = −0
n3 + 2
2n2
=
n3 + 2
2n2
<
n3
2
=
n
<ε
2n2
if we take N = 2ε . Thus for n > N, we have |un − l | < ε i.e. lim n3 +2
=0
n→∞
Example 2.10.
Prove that
sin(n2 )
lim √ =
n→∞ 3
n
Solution.
Let ε > 0, Then we have
sin(n2 )
|un − l | = √
3
−0
n
sin(n2 )
= √3
n
1
< √3
since | sin(θ )| < 1 for all θ
n
<ε
sin(n2 )
1
if we take N = ε3
. Thus for n > N, we have |un − l | < ε i.e. lim √3 n =0
n→∞
1, −1, 1, −1, 1, −1 · · ·
1
Suppose the limit of this sequence is l. Also suppose xn − 1, then xn+1 = −1. Take ε = 2 and since l is
the limit of this sequence, then there exits N such that for all n > N we have
1
| Xn − l | <
2
and
1
| X n +1 − l | <
2
Therefore we have
1
|1 − l | <
2
and
1
| − 1 − l| <
2
Notice that we can write 2 as (1 − l ) − (−1 − l ). Therefore
Theorem 2.3.
Let { an }, {bn } and {cn } be sequence with the following limits
lim an = a
n→∞
lim bn = b
n→∞
lim cn = c, c ̸= 0
n→∞
an lim an a
5. lim = n→∞ =
n→∞ cn lim cn c
n→∞
Proof:
1. We want show that for all ε > 0, there exists N > 0 such that for all n > N we have
|( an + bn ) − ( a + b)| < ε
sequences and functions 25
Since lim an = a it means for ε > 0 there exists a N1 > 0 such that for all n > N1 we have
n→∞
ε
| an − a| <
2
And lim bn = b means for ε > 0 there exists a N2 > 0 such that for all n > N2 we have
n→∞
ε
| bn − b | <
2
Thus if we take N = max{ N1 , N2 } we have for all that ε > 0
3. We want show that for all ε > 0, there exists N > 0 such that for all n > N we have
|k · an − k · a| < ε
Since lim an = a, it means for ε > 0 there exists a N1 > 0 such that for all n > N1 we have
n→∞
ε
| an − a| <
|k| + 1
|k · an − k · a| = |k( an − a)|
= |k|| an − a|
ε
< |k| ·
|k| + 1
< ε for all n > N
4. We want show that for all ε > 0, there exists N > 0 such that for all n > N we have
| a n · bn − a · b | < ε
Since lim bn = b we know by Theorem 2.2 that {bn } is bounded i.e there exists M > 0 such that
n→∞
|bn | < M.
Also an → a and therefore for ε > 0 there exists a N1 > 0 such that for all n > N1 we have
ε
| an − a| <
2M
And bn → b means for ε there exists a N2 > 0 such that for all n > N2 we have
ε
| bn − b | <
2(| a| + 1)
26 calculus
Thus if we take N = max{ N1 , N2 } we have for all that ε > 0
| a n · bn − a · b | = | a n · bn − a · bn + a · bn − a · b |
= |bn ( an − a) + a(bn − b)|
< |bn ( an − a)| + | a(bn − b)|
= |bn || an − a| + | a||bn − b|
ε ε
< M· + | a| ·
2M 2(| a| + 1)
ε ε
< + < ε for all n > N
2 2
|c|
|cn − c| <
2
We also have the following
|c| = |c − cn + cn |
< |c − cn | + |cn |
< |cn − c| + |cn |
|c|
< + |cn |
2
Rearranging we get
|c| |c|
|cn | > |c| − =
2 2
Thus we have
1 2
<
|cn | |c|
1 1 c − cn
− =
cn c c · cn
cn − c
=
c · cn
|cn − c|
=
|c| · |cn |
2
< 2 · |cn − c|
|c|
sequences and functions 27
Going back the fact that lim cn = c again we know that this means there exist N2 > N1 such that for
n→∞
all n > N2 we have
| c |2
|cn − c| < ·ε
2
Thus we now have
1 1 2
− < 2 · |cn − c|
cn c |c|
2 | c |2
< · ·ε
| c |2 2
<ε
Therefore
1 1
lim =
n→∞ cn c
We finally prove that
an a
lim =
n→∞ cn c
Since
1 1
lim an = a and lim =
n→∞ n→∞ cn c
Then by part 4) we have
an 1 1 1 a
lim = lim an · = lim an · lim = a· =
n → ∞ bn n→∞ cn n → ∞ n → ∞ cn c c
6. We want show that for all ε > 0, there exists N > 0 such that for all n > N we have
|k − k| < ε
We proceed as follows: If we take to be any positive number, then for all n > N we have
|k − k| = 0
< ε for any n > N
These properties are useful at breaking down complicated limits into simpler limits.
5 − 2n2
1 3
We want to be able to evaluate limits, for example, of the form lim 2− + 2 or lim .
n→∞ n n n→∞ 4 + 3n + 2n2
Example 2.11.
Evaluate the following limits
1 3
1. lim 2− + 2 .
n→∞ n n
28 calculus
3n2 − 5n
2. lim .
n→∞ 5n2 + 2n − 6
√ √
3. lim ( n + 1 − n).
n→∞
Solution.
1.
1 3 1 1
lim 2− + 2 = lim 2 − lim + 3 lim 2
n→∞ n n n→∞ n→∞ n n → ∞ n
= 2−0+0
=2
2.
lim 3 − n5
3n2 − 5n n→∞
lim =
n→∞ 5n2 + 2n − 6
lim 5 + n2 − 6
n2
n→∞
We know that
5 5
lim 3− = lim 3 − lim = 3−0 = 3
n→∞ n n→∞ n→∞ n
and
2 6 2 6
lim 5+ − 2 = lim 5 + lim − lim 2 = 5 + 0 + 0
n→∞ n n n→∞ n→∞ n n → ∞ n
lim 3 − n5
3n2 − 5n n→∞ 3
lim = =
n→∞ 5n2 + 2n − 6 5
lim 5 + n2 − 6
n2
n→∞
This quantity is undefined, so this approach will not help us solve this problem. This we need to try a new
approach
Whenever we are confronted with a expression of the form
p p
some expression − another expression,
we multiply by term in a way similar to multiplication by complex conjugates (remember high school maths!)
Thus we have
√ √
√ √ √ √ n+1+ n
n+1− n = n+1− n· √ √
n+1+ n
sequences and functions 29
Proof: Since lim an = l it means that for all ε > 0 there exists N1 > 0 such that
n→∞