Sie sind auf Seite 1von 182

Chapter 4: Elementary Number Theory and

Methods of Proof
Section 4.7 Two Classical Theorems

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

38 / 50

Synopsis

Objective: Proofs of two famous theorems in mathematics: 2 is


irrational, and there are infinitely many prime numbers. Both
proofs use indirect arguments (i.e. proofs by contradiction) and
were well known more than 2000 yrs ago.
The irrationality of

2.

The infinitude of the set of prime numbers.


When to use indirect proof.
Open questions in Number Theory.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

39 / 50

The irrationality of

Theorem 4.7.1 Irrationality of

2.

2 is irrational.

Proof:
Suppose not. Then

MH1300 Lecture handout 5 (NTU)

2 is rational.

4.7 Two Classical Theorems

40 / 50

The irrationality of

Theorem 4.7.1 Irrationality of

2.

2 is irrational.

Proof:
Suppose not. Then

such that

MH1300 Lecture handout 5 (NTU)

2 is rational. Then there exists integers m and n

2=

m
.
n

4.7 Two Classical Theorems

40 / 50

The irrationality of

Theorem 4.7.1 Irrationality of

2.

2 is irrational.

Proof:
Suppose not. Then

such that

2 is rational. Then there exists integers m and n

m
.
n
(We may assume m, n have no common factors other than 1 or 1,

MH1300 Lecture handout 5 (NTU)

2=

4.7 Two Classical Theorems

40 / 50

The irrationality of

Theorem 4.7.1 Irrationality of

2.

2 is irrational.

Proof:
Suppose not. Then

such that

2 is rational. Then there exists integers m and n

m
.
n
(We may assume m, n have no common factors other than 1 or 1,
2=

else we may divide them by their common factors to get a new pair m1
and n1 that have no common factors.)

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

40 / 50

The irrationality of

Theorem 4.7.1 Irrationality of

2.

2 is irrational.

Proof:
Suppose not. Then

such that

2 is rational. Then there exists integers m and n

m
.
n
(We may assume m, n have no common factors other than 1 or 1,
2=

else we may divide them by their common factors to get a new pair m1
and n1 that have no common factors.)
Squaring both sides of equation gives
m2
2= 2.
n
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

40 / 50

Equivalently,

MH1300 Lecture handout 5 (NTU)

2n2 = m2 .

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k

MH1300 Lecture handout 5 (NTU)

for some integer k.

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k
Therefore

MH1300 Lecture handout 5 (NTU)

for some integer k.

2n2 = m2 = (2k)2 = 4k 2 .

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k
Therefore
Therefore

MH1300 Lecture handout 5 (NTU)

for some integer k.

2n2 = m2 = (2k)2 = 4k 2 .
n2 = 2k 2 .

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k
Therefore
Therefore

for some integer k.

2n2 = m2 = (2k)2 = 4k 2 .
n2 = 2k 2 .

Consequently n2 is even, and so by Prop. 4.6.4 again, n is even.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k
Therefore
Therefore

for some integer k.

2n2 = m2 = (2k)2 = 4k 2 .
n2 = 2k 2 .

Consequently n2 is even, and so by Prop. 4.6.4 again, n is even.


Hence both m and n have a common factor of 2.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Equivalently,

2n2 = m2 .

Note that left side of equation is even. Therefore, right side is even.
Therefore m is even (by Prop. 4.6.4).
Therefore
m = 2k
Therefore
Therefore

for some integer k.

2n2 = m2 = (2k)2 = 4k 2 .
n2 = 2k 2 .

Consequently n2 is even, and so by Prop. 4.6.4 again, n is even.


Hence both m and n have a common factor of 2.
This contradicts m, n have no common factors other than 1, 1.
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

41 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b
Rearranging, we find that

MH1300 Lecture handout 5 (NTU)

a
ab
3 2 =
1 =
.
b
b

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b
Rearranging, we find that

a
ab
3 2 =
1 =
.
b
b

Dividing both sides by 3 gives

MH1300 Lecture handout 5 (NTU)

2=

ab
.
3b

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b
Rearranging, we find that

a
ab
3 2 =
1 =
.
b
b

Dividing both sides by 3 gives

2=

ab
.
3b

Clearly a b and 3b are integers. Also, 3b 6= 0 by the zero product


property.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b
Rearranging, we find that

a
ab
3 2 =
1 =
.
b
b

Dividing both sides by 3 gives

2=

ab
.
3b

Clearly a b and 3b are integers. Also, 3b 6= 0 by the zero product

property. Therefore 2 is a rational number.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

42 / 50

Example (Proposition 4.7.2)

1 + 3 2 is irrational.

Proof: Suppose not. Then 1 + 3 2 is rational. Then there exists


integers a and b with b 6= 0 such that

a
1+3 2= .
b
Rearranging, we find that

a
ab
3 2 =
1 =
.
b
b

Dividing both sides by 3 gives

2=

ab
.
3b

Clearly a b and 3b are integers. Also, 3b 6= 0 by the zero product

property. Therefore 2 is a rational number.

This is a contradiction to 2 is irrational. Hence 1 + 3 2 is irrational.


MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

42 / 50

The infinitude of the set of prime numbers


Proposition 4.7.3
For any integer a and any prime number p, if p|a then p - (a + 1).
Proof:
Suppose not.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

43 / 50

The infinitude of the set of prime numbers


Proposition 4.7.3
For any integer a and any prime number p, if p|a then p - (a + 1).
Proof:
Suppose not. Then there exists an integer a and a prime number p such
that p|a and p|(a + 1).

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

43 / 50

The infinitude of the set of prime numbers


Proposition 4.7.3
For any integer a and any prime number p, if p|a then p - (a + 1).
Proof:
Suppose not. Then there exists an integer a and a prime number p such
that p|a and p|(a + 1).
Since p|a, there exists k Z such that
a = p k.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

(1)

43 / 50

The infinitude of the set of prime numbers


Proposition 4.7.3
For any integer a and any prime number p, if p|a then p - (a + 1).
Proof:
Suppose not. Then there exists an integer a and a prime number p such
that p|a and p|(a + 1).
Since p|a, there exists k Z such that
a = p k.

(1)

Since p|(a + 1), there exists l Z such that


a + 1 = p l.
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

(2)
43 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer. This shows that p is a divisor of 1.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer. This shows that p is a divisor of 1.
Since p is prime, p is positive.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer. This shows that p is a divisor of 1.
Since p is prime, p is positive.
Therefore, by Thm. 4.3.1,
p 1.

MH1300 Lecture handout 5 (NTU)

(If a, b Z+ and a|b, then a b.)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer. This shows that p is a divisor of 1.
Since p is prime, p is positive.
Therefore, by Thm. 4.3.1,
p 1.

(If a, b Z+ and a|b, then a b.)

This is a contradiction to p being prime is greater than 1.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

The infinitude of the set of prime numbers


(Proof of Prop. 4.7.3 continues)
Subtracting equation (1) from equation (2), we arrive at
1 = p l p k = p (l k).
Clearly l k is an integer. This shows that p is a divisor of 1.
Since p is prime, p is positive.
Therefore, by Thm. 4.3.1,
p 1.

(If a, b Z+ and a|b, then a b.)

This is a contradiction to p being prime is greater than 1.


Therefore the supposition is false.
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

44 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .
Consider the integer N := p1 p2 p3 pn + 1.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .
Consider the integer N := p1 p2 p3 pn + 1.
Then N > 1, and so by Theorem 4.3.4 (Any integer > 1 is divisible by a
prime), N is divisible by some prime number p, i.e. p|N.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .
Consider the integer N := p1 p2 p3 pn + 1.
Then N > 1, and so by Theorem 4.3.4 (Any integer > 1 is divisible by a
prime), N is divisible by some prime number p, i.e. p|N.
Also, since p is prime, it must be equal to one of p1 , p2 , pn .

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .
Consider the integer N := p1 p2 p3 pn + 1.
Then N > 1, and so by Theorem 4.3.4 (Any integer > 1 is divisible by a
prime), N is divisible by some prime number p, i.e. p|N.
Also, since p is prime, it must be equal to one of p1 , p2 , pn .
Clearly p|p1 p2 p3 pn , hence, by P. 4.7.3, p - (p1 p2 p3 pn + 1) = N.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

Theorem 4.7.4 Infinitude of the Primes


The set of prime numbers is infinite.
Proof: Suppose not. Then the set of prime numbers is finite, say there
are only n many prime numbers.
Then we may list all the prime numbers in ascending order,
p1 = 2, p2 = 3, p3 = 5, p4 = 7, . . . , pn .
Consider the integer N := p1 p2 p3 pn + 1.
Then N > 1, and so by Theorem 4.3.4 (Any integer > 1 is divisible by a
prime), N is divisible by some prime number p, i.e. p|N.
Also, since p is prime, it must be equal to one of p1 , p2 , pn .
Clearly p|p1 p2 p3 pn , hence, by P. 4.7.3, p - (p1 p2 p3 pn + 1) = N.
Hence p|N and p - N, which is a contradiction.
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

45 / 50

When to use indirect proof


When do we use indirect proofs instead?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.
Many theorems can be proved either way, and in such situations,
usually indirect proofs are clumsier.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.
Many theorems can be proved either way, and in such situations,
usually indirect proofs are clumsier.
If no clues suggests an indirect proof, try direct proof first.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.
Many theorems can be proved either way, and in such situations,
usually indirect proofs are clumsier.
If no clues suggests an indirect proof, try direct proof first.
If it doesnt work, try finding a counterexample.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.
Many theorems can be proved either way, and in such situations,
usually indirect proofs are clumsier.
If no clues suggests an indirect proof, try direct proof first.
If it doesnt work, try finding a counterexample.
If counterexample isnt found, try look for a proof by
contradiction/contraposition.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

When to use indirect proof


When do we use indirect proofs instead?
No definitive answer.
Many theorems can be proved either way, and in such situations,
usually indirect proofs are clumsier.
If no clues suggests an indirect proof, try direct proof first.
If it doesnt work, try finding a counterexample.
If counterexample isnt found, try look for a proof by
contradiction/contraposition.
If THAT doesnt work, try to have some coffee or tea, or take a walk,
and then try again ...
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

46 / 50

Clues

How to find clues?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

47 / 50

Clues

How to find clues?


Perhaps examine examples for small values of n.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

47 / 50

Clues

How to find clues?


Perhaps examine examples for small values of n.
Try to construct counterexample. If that fails, try to see what
properties denied your counterexamples.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

47 / 50

Open questions in Number Theory

A nice or efficient formula for obtaining primes?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

48 / 50

Open questions in Number Theory

A nice or efficient formula for obtaining primes?


Mersenne primes, i.e. primes of the form 2p 1, p is prime.
Are there infinitely many Mersenne primes?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

48 / 50

Open questions in Number Theory

A nice or efficient formula for obtaining primes?


Mersenne primes, i.e. primes of the form 2p 1, p is prime.
Are there infinitely many Mersenne primes?
n

Fermat primes, i.e. primes of the form 22 + 1.


Are there infinitely many Fermat primes?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

48 / 50

Open questions in Number Theory

A nice or efficient formula for obtaining primes?


Mersenne primes, i.e. primes of the form 2p 1, p is prime.
Are there infinitely many Mersenne primes?
n

Fermat primes, i.e. primes of the form 22 + 1.


Are there infinitely many Fermat primes?
Are there infinitely many primes of the form n2 + 1?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

48 / 50

Open questions in Number Theory

A nice or efficient formula for obtaining primes?


Mersenne primes, i.e. primes of the form 2p 1, p is prime.
Are there infinitely many Mersenne primes?
n

Fermat primes, i.e. primes of the form 22 + 1.


Are there infinitely many Fermat primes?
Are there infinitely many primes of the form n2 + 1?
Is there always a prime between integers n2 and (n + 1)2 ?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

48 / 50

More open questions in Number Theory


Are there infinitely many primes of the form N = p1 p2 p3 pk + 1?
(Given that the pj s are all the initial primes)

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

49 / 50

More open questions in Number Theory


Are there infinitely many primes of the form N = p1 p2 p3 pk + 1?
(Given that the pj s are all the initial primes)
Are there infinitely many twin primes, i.e. satisfying the property that
both p and p + 2 are both primes?

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

49 / 50

More open questions in Number Theory


Are there infinitely many primes of the form N = p1 p2 p3 pk + 1?
(Given that the pj s are all the initial primes)
Are there infinitely many twin primes, i.e. satisfying the property that
both p and p + 2 are both primes?

For more information, see:


1

Richard K. Guy, Unsolved Problems in Number Theory.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

49 / 50

More open questions in Number Theory


Are there infinitely many primes of the form N = p1 p2 p3 pk + 1?
(Given that the pj s are all the initial primes)
Are there infinitely many twin primes, i.e. satisfying the property that
both p and p + 2 are both primes?

For more information, see:


1

Richard K. Guy, Unsolved Problems in Number Theory.

P. Ribenboim, The new book of prime number records, 3rd edition,


Springer-Verlag, New York, NY, 1995.

MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

49 / 50

Check
One way to prove that
1

assume

2 is irrational is to

2 = a/b for some integers a and b with


,

square both sides and multiply both sides by b 2 to get

show that a and b have a

One way to prove that there are infinitely many prime numbers is to
1

assume there is a largest prime number p,

construct the number

show that this number has to be divisible by a prime number that is

.
MH1300 Lecture handout 5 (NTU)

4.7 Two Classical Theorems

50 / 50

Question: Are the following logically equivalent?


x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 1. If first statement form is true, then second statement form is true.

MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

68 / 69

Question: Are the following logically equivalent?


x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 1. If first statement form is true, then second statement form is true.

Hence Part 1 is true.


MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

68 / 69

Question: Are the following logically equivalent?


x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 1. If first statement form is true, then second statement form is true.
Suppose x D, P(x) is true, then we are done.

Hence Part 1 is true.


MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

68 / 69

Question: Are the following logically equivalent?


x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 1. If first statement form is true, then second statement form is true.
Suppose x D, P(x) is true, then we are done.
Else, c D such that P(c).

Hence Part 1 is true.


MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

68 / 69

Question: Are the following logically equivalent?


x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 1. If first statement form is true, then second statement form is true.
Suppose x D, P(x) is true, then we are done.
Else, c D such that P(c).

Therefore, x E , Q(x) is true.


Hence Part 1 is true.
MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

68 / 69

Question cont
x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 2. If second statement form is true, then first statement form is true.

MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

69 / 69

Question cont
x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 2. If second statement form is true, then first statement form is true.

Hence Part 2 is true.


MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

69 / 69

Question cont
x D, y E , (P(x)Q(y )), and (x D, P(x))(x E , Q(x)).
.......................................................................
Part 2. If second statement form is true, then first statement form is true.
Since second statement form is true, either x D, P(x) is true
or x E , Q(x) is true.

Hence Part 2 is true.


MH1300 Lecture handout 3 (NTU)

3.4 Arguments with Quantified Statements

69 / 69

Chapter 5: Sequences, Mathematical Induction,


and Recursion
Section 5.1 Sequences

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

1 / 66

Synopsis
Objective: A review of sequences and sums.
This is mostly a review of past knowledge of that you already
learnt from H2 Mathematics at Alevels or equivalent Math
subject taken at high school.
Sequences.
Examples.
Summation notation, telescoping sum.
Product notation, computing products.
Factorial notation.
Properties of summation and products.
Change of variable.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

2 / 66

Sequences

Definition
A sequence is a function whose domain is either
all the integers between two given integers, or
.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

3 / 66

Sequences

Definition
A sequence is a function whose domain is either
all the integers between two given integers, or
all the integers greater than or equal to a given integer.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

3 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.
The k in ak is called a subscript or index.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.
The k in ak is called a subscript or index.
The integer m is the subscript of the initial term.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.
The k in ak is called a subscript or index.
The integer m is the subscript of the initial term.
The integer n is the subscript of the final term.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.
The k in ak is called a subscript or index.
The integer m is the subscript of the initial term.
The integer n is the subscript of the final term.
The notation

am , am+1 , am+2 , . . .
denotes an infinite sequence.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Sequences
Typically denoted as
am , am+1 , am+2 , . . . , an ,
each individual element ak (read as a sub k) is called a term.
The k in ak is called a subscript or index.
The integer m is the subscript of the initial term.
The integer n is the subscript of the final term.
The notation

am , am+1 , am+2 , . . .
denotes an infinite sequence.
An explicit formula or general formula for a sequence is a rule that
shows how the values of ak depend on k.
MH1300 Lecture handout 6 (NTU)

5.1 Sequences

4 / 66

Example 5.1.3
Find an explicit formula for a sequence that has the following initial terms:
1 1
1 1
1
1, , , ,
, , ...
4 9
16 25
36
.......................................................................
Solution:

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

5 / 66

Example 5.1.3
Find an explicit formula for a sequence that has the following initial terms:
1 1
1 1
1
1, , , ,
, , ...
4 9
16 25
36
.......................................................................
Solution:
Denote by ak the general term of the sequence and suppose the first term
is a1 .
Then
1
,
12
l
a1

1
,
22
l
a2

MH1300 Lecture handout 6 (NTU)

1
,
32
l
a3

1
,
42
l
a4

5.1 Sequences

1
,
52
l
a5

1
,
62
l
a6

...

...

5 / 66

Example 5.1.3
Find an explicit formula for a sequence that has the following initial terms:
1 1
1 1
1
1, , , ,
, , ...
4 9
16 25
36
.......................................................................
Solution:
Denote by ak the general term of the sequence and suppose the first term
is a1 .
Then
1
,
12
l
a1

1
,
22
l
a2

1
,
32
l
a3

1
,
42
l
a4

1
,
52
l
a5

1
,
62
l
a6

...

...

Then
ak =
MH1300 Lecture handout 6 (NTU)

for all integers k 1.


5.1 Sequences

5 / 66

Example 5.1.3
Find an explicit formula for a sequence that has the following initial terms:
1 1
1 1
1
1, , , ,
, , ...
4 9
16 25
36
.......................................................................
Solution:
Denote by ak the general term of the sequence and suppose the first term
is a1 .
Then
1
,
12
l
a1

1
,
22
l
a2

1
,
32
l
a3

Then
ak = (1)k+1
MH1300 Lecture handout 6 (NTU)

1
k2

1
,
42
l
a4

1
,
52
l
a5

1
,
62
l
a6

...

...

for all integers k 1.


5.1 Sequences

5 / 66

Summation notation
Definition
If m and n are integers and m n, then the symbol

n
X

ak , read

k=m

summation from k equals m to n of a sub k, is the sum of all terms


am , am+1 , am+2 , . . . , an .

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

6 / 66

Summation notation
Definition
If m and n are integers and m n, then the symbol

n
X

ak , read

k=m

summation from k equals m to n of a sub k, is the sum of all terms


am , am+1 , am+2 , . . . , an .

We write

n
X

ak = am + am+1 + am+2 + + an .

k=m

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

6 / 66

Summation notation
Definition
If m and n are integers and m n, then the symbol

n
X

ak , read

k=m

summation from k equals m to n of a sub k, is the sum of all terms


am , am+1 , am+2 , . . . , an .

We write

n
X

ak = am + am+1 + am+2 + + an .

k=m

k is the index of the summation,

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

6 / 66

Summation notation
Definition
If m and n are integers and m n, then the symbol

n
X

ak , read

k=m

summation from k equals m to n of a sub k, is the sum of all terms


am , am+1 , am+2 , . . . , an .

We write

n
X

ak = am + am+1 + am+2 + + an .

k=m

k is the index of the summation,


m is the lower limit of the summation,

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

6 / 66

Summation notation
Definition
If m and n are integers and m n, then the symbol

n
X

ak , read

k=m

summation from k equals m to n of a sub k, is the sum of all terms


am , am+1 , am+2 , . . . , an .

We write

n
X

ak = am + am+1 + am+2 + + an .

k=m

k is the index of the summation,


m is the lower limit of the summation,
n is the upper limit of the summation.
MH1300 Lecture handout 6 (NTU)

5.1 Sequences

6 / 66

Example 5.1.7
Express the following using summation notation:
1
2
3
n+1
+
+
+ +
n n+1 n+2
2n
.......................................................................
Solution:

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

7 / 66

Example 5.1.7
Express the following using summation notation:
1
2
3
n+1
+
+
+ +
n n+1 n+2
2n
.......................................................................
Solution:
The general term is

k+1
n+k

MH1300 Lecture handout 6 (NTU)

for integers k from 0 to n.

5.1 Sequences

7 / 66

Example 5.1.7
Express the following using summation notation:
1
2
3
n+1
+
+
+ +
n n+1 n+2
2n
.......................................................................
Solution:
The general term is

k+1
n+k

for integers k from 0 to n.

Therefore,
1
2
3
n+1
+
+
+ +
=
n n+1 n+2
2n

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

7 / 66

Example 5.1.7
Express the following using summation notation:
1
2
3
n+1
+
+
+ +
n n+1 n+2
2n
.......................................................................
Solution:
The general term is

k+1
n+k

for integers k from 0 to n.

Therefore,
n
X
1
2
3
n+1
k +1
+
+
+ +
=
.
n n+1 n+2
2n
n+k
k=0

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

7 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
For n = 1, the sum is

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2
For n = 2, the sum is

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2
For n = 2, the sum is

1
1 1
2
1
+
= + = .
12 23
2 6
3

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2
For n = 2, the sum is

1
1 1
2
1
+
= + = .
12 23
2 6
3

For n = 3, the sum is

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2
For n = 2, the sum is

1
1 1
2
1
+
= + = .
12 23
2 6
3

For n = 3, the sum is

1
1
1
1 1
1
3
+
+
= + +
= .
12 23 34
2 6 12
4

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Example 5.1.8
What is the value of the expression
1
1
1
1
+
+
+ +
12 23 34
n (n + 1)
when n = 1? n = 2? n = 3?
.......................................................................
1
1
For n = 1, the sum is
= .
12
2
For n = 2, the sum is

1
1 1
2
1
+
= + = .
12 23
2 6
3

For n = 3, the sum is

1
1
1
1 1
1
3
+
+
= + +
= .
12 23 34
2 6 12
4

Caution
Although the sum seems to suggest that n must be at least 3 (since the
first 3 terms are given), but there is no such suggestion implied.
MH1300 Lecture handout 6 (NTU)

5.1 Sequences

8 / 66

Telescoping sum
Example 5.1.10. Use the identity
1
1
(k + 1) k
1

=
=
k
k +1
k(k + 1)
k(k + 1)
Pn
1
to find a simple expression for k=1 k(k+1)
.
.......................................................................

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

9 / 66

Telescoping sum
Example 5.1.10. Use the identity
1
1
(k + 1) k
1

=
=
k
k +1
k(k + 1)
k(k + 1)
Pn
1
to find a simple expression for k=1 k(k+1)
.
.......................................................................
Solution:
n
X

1
k(k + 1)
k=1

n 
X
1
1

=
k
k +1
k=1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

9 / 66

Telescoping sum
Example 5.1.10. Use the identity
1
1
(k + 1) k
1

=
=
k
k +1
k(k + 1)
k(k + 1)
Pn
1
to find a simple expression for k=1 k(k+1)
.
.......................................................................
Solution:
n
X

1
k(k + 1)
k=1

n 
X
1
1

=
k
k +1
k=1


 
 

 

1 1
1 1
1 1
1
1
1
1
=

+ +

1 2
2 3
3 4
n1 n
n n+1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

9 / 66

Telescoping sum
Example 5.1.10. Use the identity
1
1
(k + 1) k
1

=
=
k
k +1
k(k + 1)
k(k + 1)
Pn
1
to find a simple expression for k=1 k(k+1)
.
.......................................................................
Solution:
n
X

1
k(k + 1)
k=1

n 
X
1
1

=
k
k +1
k=1

 .
 . . . .
 .

.
.
1 1
1 1
1 1
1
1
1
1
=

+ +

1 2
2 3
3 4
n1 n
n n+1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

9 / 66

Telescoping sum
Example 5.1.10. Use the identity
1
1
(k + 1) k
1

=
=
k
k +1
k(k + 1)
k(k + 1)
Pn
1
to find a simple expression for k=1 k(k+1)
.
.......................................................................
Solution:
n
X

1
k(k + 1)
k=1

n 
X
1
1

=
k
k +1
k=1

 .
 . . . .
 .

.
.
1 1
1 1
1 1
1
1
1
1
=

+ +

1 2
2 3
3 4
n1 n
n n+1
1
= 1
.
n+1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

9 / 66

Product notation

Definition
For integers m and n with m n, the symbol

n
Y

ak , read the

k=m

product from k equals m to n of a sub k, is the product of all the


terms
am , am+1 , am+2 , . . . , an .

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

10 / 66

Product notation

Definition
For integers m and n with m n, the symbol

n
Y

ak , read the

k=m

product from k equals m to n of a sub k, is the product of all the


terms
am , am+1 , am+2 , . . . , an .
We write

n
Y

ak = am am+1 am+2 an .

k=m

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

10 / 66

Factorial notation

Definition
For each positive integer n, the quantity n factorial denoted n!, is defined
to be the product of all the integers from 1 to n:
n! := n (n 1) (n 2) 3 2 1.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

11 / 66

Factorial notation

Definition
For each positive integer n, the quantity n factorial denoted n!, is defined
to be the product of all the integers from 1 to n:
n! := n (n 1) (n 2) 3 2 1.
Zero factorial, denoted by 0!, is defined to be 1:
0! := 1.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

11 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
=
(k 2)2 3
=
=

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=

4
1

5
6

6
13

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

MH1300 Lecture handout 6 (NTU)

1
20
.
13

5.1 Sequences

5
6

6
13

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

b.

1
20
.
13

5
6

6
13

3! 3!
=
7!

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

b.

1
20
.
13

5
6

6
13

3! 3!
3! 3!
=
=
7 6 5 4 3!
7!

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

b.

1
20
.
13

5
6

6
13

3! 3!
3!
3! 3!
=
=
=
7 6 5 4 3!
7654
7!

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Example.
a. Compute
b. Simplify

Q6

k
k=4 (k2)2 3 .
3!3!
7! .

.......................................................................
Solution:
a.
6
Y
k=4

k
4
5
6
= 2

(k 2)2 3
2 3 32 3 42 3
=
=

b.

1
20
.
13

5
6

6
13

3! 3!
3!
1
3! 3!
=
=
.
=
7 6 5 4 3!
7654
140
7!

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

12 / 66

Properties of summation and products


Theorem 5.1.1
If am , am+1 , am+2 , . . . , and bm , bm+1 , bm+2 , . . . , are sequences of real
numbers and c is any real number, then the following equations hold for
any integer n m:

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

13 / 66

Properties of summation and products


Theorem 5.1.1
If am , am+1 , am+2 , . . . , and bm , bm+1 , bm+2 , . . . , are sequences of real
numbers and c is any real number, then the following equations hold for
any integer n m:
n
n
n
X
X
X
1
ak +
bk =
(ak + bk ).
k=m

k=m

MH1300 Lecture handout 6 (NTU)

k=m

5.1 Sequences

13 / 66

Properties of summation and products


Theorem 5.1.1
If am , am+1 , am+2 , . . . , and bm , bm+1 , bm+2 , . . . , are sequences of real
numbers and c is any real number, then the following equations hold for
any integer n m:
n
n
n
X
X
X
1
ak +
bk =
(ak + bk ).
k=m
2

n
X
k=m

k=m

ak =

k=m
n
X

(c ak )

(generalized distribution law.)

k=m

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

13 / 66

Properties of summation and products


Theorem 5.1.1
If am , am+1 , am+2 , . . . , and bm , bm+1 , bm+2 , . . . , are sequences of real
numbers and c is any real number, then the following equations hold for
any integer n m:
n
n
n
X
X
X
1
ak +
bk =
(ak + bk ).
k=m
2

k=m

n
X

k=m
n
Y

ak =

ak

k=m

k=m
n
X

(c ak )

k=m
n
Y
k=m

MH1300 Lecture handout 6 (NTU)

!
bk

(generalized distribution law.)


n
Y

(ak bk ).

k=m

5.1 Sequences

13 / 66

Properties of summation and products


Theorem 5.1.1
If am , am+1 , am+2 , . . . , and bm , bm+1 , bm+2 , . . . , are sequences of real
numbers and c is any real number, then the following equations hold for
any integer n m:
n
n
n
X
X
X
1
ak +
bk =
(ak + bk ).
k=m
2

k=m

n
X

k=m
n
Y

ak =

ak

k=m

k=m
n
X

(c ak )

k=m
n
Y
k=m

!
bk

(generalized distribution law.)


n
Y

(ak bk ).

k=m

Proof: Simple application of mathematical induction in Section 5.2 and


properties of addition and multiplication. Left as exercise.
MH1300 Lecture handout 6 (NTU)

5.1 Sequences

13 / 66

Ex. 5.1.60
Express the following as a single summation.
2

n
X

(3k + 4) + 5

k=1

n
X

(2k 2 1).

k=1

.......................................................................

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

14 / 66

Ex. 5.1.60
Express the following as a single summation.
2

n
X

(3k + 4) + 5

k=1

n
X

(2k 2 1).

k=1

.......................................................................
Solution:
n
n
X
X
2
(3k 2 + 4) + 5
(2k 2 1)
k=1

MH1300 Lecture handout 6 (NTU)

k=1

5.1 Sequences

14 / 66

Ex. 5.1.60
Express the following as a single summation.
2

n
X

(3k + 4) + 5

k=1

n
X

(2k 2 1).

k=1

.......................................................................
Solution:
n
n
X
X
2
(3k 2 + 4) + 5
(2k 2 1)
k=1

k=1

n
n
X
X
(6k 2 + 8) +
(10k 2 5)
k=1

MH1300 Lecture handout 6 (NTU)

k=1

5.1 Sequences

14 / 66

Ex. 5.1.60
Express the following as a single summation.
2

n
X

(3k + 4) + 5

k=1

n
X

(2k 2 1).

k=1

.......................................................................
Solution:
n
n
X
X
2
(3k 2 + 4) + 5
(2k 2 1)
k=1

n
n
X
X
(6k 2 + 8) +
(10k 2 5)
k=1

k=1

k=1

n
X
(16k 2 + 3)
k=1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

14 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
.
the lower limit, k = 1, is now j =

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by j + 1.

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by j + 1.
the general term,

MH1300 Lecture handout 6 (NTU)

k
n+k ,

is now

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by j + 1.
the general term,

MH1300 Lecture handout 6 (NTU)

k
n+k ,

is now

(j+1)
n+(j+1)

5.1 Sequences

j+1
n+j+1 .

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by j + 1.
(j+1)
k
=
the general term, n+k
, is now n+(j+1)
Therefore,

n+1 
X
k
=
n+k

j+1
n+j+1 .

k=1

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

15 / 66

Change of variable Example 4.1.16a


Transform the following summation by making the specified change of
variable.

n+1 
X
k
summation:
change of variable: j = k 1.
n+k
k=1
.......................................................................
Solution:
When making the change of variable j = k 1,
the lower limit, k = 1, is now j = k 1 = 1 1 = 0.
the upper limit, k = n + 1, is now j = k 1 = (n + 1) 1 = n.
since j = k 1, the variable k is replaced by j + 1.
(j+1)
j+1
k
.
= n+j+1
the general term, n+k
, is now n+(j+1)
Therefore,


n+1 
n 
X
X
k
j +1
=
.
n+k
n+j +1
k=1

MH1300 Lecture handout 6 (NTU)

j=0

5.1 Sequences

15 / 66

Check

The expanded form of

n
X

ak is

k=m

The value of a1 + a2 + a3 + + an when n = 2 is


If n is a positive integer, then n! =
n
X

ak + c

k=m
n
Y
k=m

n
X

.
.

bk =

k=m

!
ak

n
Y

!
bk

k=m

MH1300 Lecture handout 6 (NTU)

5.1 Sequences

16 / 66

Chapter 5: Sequences, Mathematical Induction,


and Recursion
Sections 5.2, 5.3 Mathematical Induction I & II

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

17 / 66

Synopsis

Objective: A review of Mathematical Induction.


This is mostly a review of past knowledge of that you already
learnt from H2 Mathematics at Alevels or equivalent Math
subject taken at high school.
Principle of Mathematical Induction.
Sum of the first n integers.
Sum of geometric sequence.
Application.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

18 / 66

Principle of Mathematical Induction


Principle of Mathematical Induction
Let a be a fixed integer and let P(n) be a property that is defined for
integers n a.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

19 / 66

Principle of Mathematical Induction


Principle of Mathematical Induction
Let a be a fixed integer and let P(n) be a property that is defined for
integers n a.
Suppose the following two statements are true:
P(a) is true.
For all integers k a, if P(k) is true then P(k + 1) is true.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

19 / 66

Principle of Mathematical Induction


Principle of Mathematical Induction
Let a be a fixed integer and let P(n) be a property that is defined for
integers n a.
Suppose the following two statements are true:
P(a) is true.
For all integers k a, if P(k) is true then P(k + 1) is true.
Then the statement
for all integers n a, P(n)
is true.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

19 / 66

Principle of Mathematical Induction


Method of Proof by Mathematical Induction
Consider a statement of the form
For all integers n a, a property P(n) is true.
To prove such a statement, perform the following two steps:

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

20 / 66

Principle of Mathematical Induction


Method of Proof by Mathematical Induction
Consider a statement of the form
For all integers n a, a property P(n) is true.
To prove such a statement, perform the following two steps:
Step 1. (basis step): Show that the property is true for n = a.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

20 / 66

Principle of Mathematical Induction


Method of Proof by Mathematical Induction
Consider a statement of the form
For all integers n a, a property P(n) is true.
To prove such a statement, perform the following two steps:
Step 1. (basis step): Show that the property is true for n = a.
Step 2. (inductive step): Show that for all integers k a, if the property is
true for n = k then it is true for n = k + 1. To perform this step,

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

20 / 66

Principle of Mathematical Induction


Method of Proof by Mathematical Induction
Consider a statement of the form
For all integers n a, a property P(n) is true.
To prove such a statement, perform the following two steps:
Step 1. (basis step): Show that the property is true for n = a.
Step 2. (inductive step): Show that for all integers k a, if the property is
true for n = k then it is true for n = k + 1. To perform this step,
suppose that the property is true for n = k, where k is any
particular but arbitrarily chosen integer with k a.
[This supposition is called the inductive hypothesis]

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

20 / 66

Principle of Mathematical Induction


Method of Proof by Mathematical Induction
Consider a statement of the form
For all integers n a, a property P(n) is true.
To prove such a statement, perform the following two steps:
Step 1. (basis step): Show that the property is true for n = a.
Step 2. (inductive step): Show that for all integers k a, if the property is
true for n = k then it is true for n = k + 1. To perform this step,
suppose that the property is true for n = k, where k is any
particular but arbitrarily chosen integer with k a.
[This supposition is called the inductive hypothesis]
Then show that the property is true for n = k + 1.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

20 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For

, let the property P(n) be the equation


.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
.

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
1 + 2 + 3 + + n = n(n+1)
.
2

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
1 + 2 + 3 + + n = n(n+1)
.
2
Basis step: Want to show:
1=

MH1300 Lecture handout 6 (NTU)

1 (1 + 1)
.
2

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
1 + 2 + 3 + + n = n(n+1)
.
2
Basis step: Want to show:
1=

1 (1 + 1)
.
2

Simplifying the right side, we see that

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
1 + 2 + 3 + + n = n(n+1)
.
2
Basis step: Want to show:
1=

1 (1 + 1)
.
2

Simplifying the right side, we see that

MH1300 Lecture handout 6 (NTU)

1(1+1)
2

12
2

5.2, 5.3 Mathematical Induction I & II

= 1.

21 / 66

Sum of the first n integers


Theorem 5.2.2 Sum of the first n integers
For all n 1,
1 + 2 + + n =

n(n + 1)
.
2

Proof (by mathematical induction):


For n 1, let the property P(n) be the equation
1 + 2 + 3 + + n = n(n+1)
.
2
Basis step: Want to show:
1=

1 (1 + 1)
.
2

Simplifying the right side, we see that


true.
MH1300 Lecture handout 6 (NTU)

1(1+1)
2

12
2

5.2, 5.3 Mathematical Induction I & II

= 1. Therefore P(1) is

21 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

MH1300 Lecture handout 6 (NTU)

k(k + 1)
.
2

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

(1)

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

MH1300 Lecture handout 6 (NTU)

(k + 1)(k + 2)
.
2

5.2, 5.3 Mathematical Induction I & II

(1)

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
=

(by the inductive hypothesis)

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
=

k(k + 1)
+ (k + 1)
2

(by the inductive hypothesis)

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
k(k + 1)
+ (k + 1)
(by the inductive hypothesis)
2 

k
(k + 1)(k + 2)
+1 =
,
= (k + 1)
2
2
=

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
k(k + 1)
+ (k + 1)
(by the inductive hypothesis)
2 

k
(k + 1)(k + 2)
+1 =
,
= (k + 1)
2
2
=

which is the right side of equation (1).

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
k(k + 1)
+ (k + 1)
(by the inductive hypothesis)
2 

k
(k + 1)(k + 2)
+1 =
,
= (k + 1)
2
2
=

which is the right side of equation (1).


Therefore P(k + 1) is true.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Inductive step: Let k Z with k 1 and suppose that P(k) is true, i.e.,
1 + 2 + + k =

k(k + 1)
.
2

Want to show: P(k + 1) is true, i.e.,


1 + 2 + + (k + 1) =

(k + 1)(k + 2)
.
2

(1)

Note that the left side of equation (1) is


1 + 2 + + (k + 1)
= (1 + 2 + + k) + (k + 1)
k(k + 1)
+ (k + 1)
(by the inductive hypothesis)
2 

k
(k + 1)(k + 2)
+1 =
,
= (k + 1)
2
2
=

which is the right side of equation (1).


Therefore P(k + 1) is true.
Therefore Theorem is true by mathematical induction.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

22 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n , let the property P(n) be the equation

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

Pn

i=0 x

x n+1 1
x1 .

23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n 0, let the property P(n) be the equation

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

Pn

i=0 x

x n+1 1
x1 .

23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n 0, let the property P(n) be the equation

Pn

i=0 x

x n+1 1
x1 .

Basis step: Want to show:


x0 =

MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n 0, let the property P(n) be the equation

Pn

i=0 x

x n+1 1
x1 .

Basis step: Want to show:


x0 =

MH1300 Lecture handout 6 (NTU)

x 0+1 1
.
x 1

5.2, 5.3 Mathematical Induction I & II

23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n 0, let the property P(n) be the equation

Pn

i=0 x

x n+1 1
x1 .

Basis step: Want to show:


x0 =

x 0+1 1
.
x 1

Simplifying, the left side equals x 0 = 1, and the right side equals
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

x1
x1

= 1.
23 / 66

Sum of geometric sequence


Theorem 5.2.3 Sum of a geometric sequence
For any real number x except 1, and any integer n 0,
n
X

xi =

i=0

x n+1 1
.
x 1

Proof (by mathematical induction):


For n 0, let the property P(n) be the equation

Pn

i=0 x

x n+1 1
x1 .

Basis step: Want to show:


x0 =

x 0+1 1
.
x 1

Simplifying, the left side equals x 0 = 1, and the right side equals
Therefore, both sides of the equation agree, and so P(0) is true.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

x1
x1

= 1.
23 / 66

Inductive step: Let k Z with k 0 and suppose that P(k) is true, i.e.,
k
X
i=0

MH1300 Lecture handout 6 (NTU)

xi =

x k+1 1
.
x 1

5.2, 5.3 Mathematical Induction I & II

24 / 66

Inductive step: Let k Z with k 0 and suppose that P(k) is true, i.e.,
k
X

xi =

i=0

Want to show: P(k + 1) is true, i.e.,


k+1
X
xi =

x k+1 1
.
x 1

(2)

i=0

Note that the left side of equation (2) is


k+1
X

xi =

i=0

=
=
which is the right side of equation (2).
Therefore P(k + 1) is true.
Therefore Theorem is true by mathematical induction.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

24 / 66

Inductive step: Let k Z with k 0 and suppose that P(k) is true, i.e.,
k
X

xi =

i=0

x k+1 1
.
x 1

Want to show: P(k + 1) is true, i.e.,


k+1
X
x k+2 1
xi =
.
x 1

(2)

i=0

Note that the left side of equation (2) is


k+1
X

x i = x k+1 +

k
X

i=0

xi

i=0
k+1

1
(by the inductive hypothesis)
x 1
x k+1 (x 1) + x k+1 1
x k+2 1
=
,
=
x 1
x 1
= x k+1 +

which is the right side of equation (2).


Therefore P(k + 1) is true.
Therefore Theorem is true by mathematical induction.
MH1300 Lecture handout 6 (NTU)

5.2, 5.3 Mathematical Induction I & II

24 / 66

Das könnte Ihnen auch gefallen