Module 2 (Chapter 1)
Module 2 (Chapter 1)
PROPERTIES OF INTEGERS
The well-ordering principle says that the positive integers are well-ordered. An
ordered set is said to be well-ordered if each and every nonempty subset has a smallest or
least element. So the well-ordering principle is the following statement:
Every nonempty subset S of the positive integers has a least element.
Examples
n n 1
1. Prove by Mathematical Induction 1 + 2 + 3 + ... + n = n N.
2
Solution:
n n 1
Let P(n) = 1 + 2 + 3 + ... + n = n N.
2
Step 1: For n =1,
11 1 2
LHS = 1 and RHS = 1
2 2
So, LHS = RHS
P(1) is true
Step 2: Let us assume that the result is true for n = k, i.e., P(k) is true
k k 1
Hence, P(k) = 1 + 2 + 3 + ... + k = k N.
2
To show that P(k + 1) is true
k 1 k 1 1
i.e., P(k + 1) = 1 + 2 + 3 + ... + (k + 1) = k N.
2
P(k + 1) = 1 + 2 + 3 + ... + (k + 1) =
k 1 k 2 k N.
2
Consider, LHS = 1 + 2 + 3 + ... + (k + 1)
= 1 + 2 + 3 + ... + k + (k + 1)
k k 1
= + (k + 1) (by using P(k))
2
k k 1 2 k 1
=
2
=
k 1 k 2
2
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
n n 1 2n 1
3. Prove by Mathematical Induction 12 + 22 + 32 + ... + n2 = n N.
6
Solution:
n n 1 2n 1
Let P(n) = 12 + 22 + 32 + ... + n2 = n N.
6
Step 1: For n =1,
11 1 2 1 1 2 3
LHS = 12 = 1 and RHS = 1
6 6
So, LHS = RHS
P(1) is true
Step 2: Let us assume that the result is true for n = k, i.e., P(k) is true
k k 1 2k 1
Hence, P(k) = 12 + 22 + 32 + ... + k2 = k N.
6
To show that P(k + 1) is true
k 1 k 1 1 2 k 1 1
i.e., P(k + 1) = 12 + 22 + 32 + ... + (k + 1)2 =
6
k k 1 2k 1
= + (k + 1)2 (by using P(k))
6
k k 1 2k 1 6 k 1
2
=
6
k 1 k 2k 1 6 k 1
=
6
k 1 2k 2
7 k 6
=
6
k 1 2k 2 4k 3k 6
=
6
k 1 2k k 2 3 k 2
=
6
=
k 1 k 2 2k 3
6
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
n 2 n 1
2
k 2 k 1
2
3
Hence, P(k) = 1 + 2 + 3 + ... + k = 3 3 3
k N.
4
To show that P(k + 1) is true
k 1 k 1 1
2 2
3 3
P(k + 1) = 1 + 2 + 3 + ... + (k + 1) = 3 3
4
3 3 3 3
Consider, LHS = 1 + 2 + 3 + ... + (k + 1)
Discrete Mathematical Structures 5
-------------------------------------------------------------------------------------------------------------------------------------
= 13 + 23 + 33 + ... + k3 + (k + 1)3
k 2 k 1
2
=
4
k 1 k 2 4 k 1
2
=
4
k 1 k 2 4k 4
2
=
4
k 1 k 2
2 2
=
4
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
k k 1 2k 7
= + (k + 1)(k + 3) (by using P(k))
6
k k 1 2k 7 6 k 1 k 3
=
6
k 1 k 2k 7 6 k 3
=
6
k 1 2k 2 13k 18
=
6
k 1 2k 2 4k 9k 18
=
6
k 1 2k k 2 9 k 2
=
6
=
k 1 k 2 2k 9
6
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
1 1 1 1 k 1
P(k + 1) = ... k N.
1.4 4.7 7.10 3k 1 3k 4 3k 4
1 1 1 1
Consider, LHS = ...
1.4 4.7 7.10 3k 1 3k 4
1 1 1 1 1
= ...
1.4 4.7 7.10 3k 2 3k 1 3k 1 3k 4
k 1
= (by using P(k))
3k 1 3k 1 3k 4
k 3k 4 1
=
3k 1 3k 4
3k 2 4k 1
=
3k 1 3k 4
3k 2 3k k 1
=
3k 1 3k 4
3k k 1 k 1
=
3k 1 3k 4
k 1 3k 1
=
3k 1 3k 4
k 1
=
3k 4
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
7. Prove by Mathematical Induction (ab)n = anbn is true for every natural number n.
Solution:
Let P(n) = (ab)n = anbn for all n N.
Step 1: For n =1,
LHS = (ab)1 = ab and RHS = a1b1 = ab
So, LHS = RHS
P(1) is true
Step 2: Let us assume that the result is true for n = k, i.e., P(k) is true
Hence, P(k) = (ab)k = akbk k N.
8 Properties of Integers
--------------------------------------------------------------------------------------------------------------------------------------
n
(b) 2
i 1
i 1
2n 1
i 2 2 n 1 2
n
i n 1
(c)
i 1
n
(d) i i ! n 1! 1
i 1
Solution:
n
1 n
(a) Let P(n) = i i 1 n 1 for all n N.
i 1
k 1
1
Consider, LHS = i i 1
i 1
k
1 1
= i i 1 k 1 k 1 1
i 1
k 1
= (by using P(k))
k 1 k 1 k 2
k k 2 1
=
k 1 k 2
k 2 2k 1
=
k 1 k 2
k 1
2
=
k 1 k 2
k 1
=
k 2
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
n
(b) Let P(n) = 2
i 1
i 1
2n 1 for all n N.
k
= 2 i 1
i 1
2
k 1 1
i 2 2 n 1 2
n
n 1
(c) Let P(n) = i
for all n N.
i 1
i 2 1 2 2 and RHS = 2 1 1 2
1
11
LHS = i 1
20 2
i 1
i 2 2 k 1 2
k
i k 1
Hence, P(k) =
i 1
k 1
P(k + 1) = i 2 2 k 2
i 1
i k 2
k 1
Consider, LHS = i 2
i 1
i
i 2 k 1 2
k
i k 1
=
i 1
= 2 2 k 1 k 1 k 1
= 2 2k 1 2k
Discrete Mathematical Structures 11
-------------------------------------------------------------------------------------------------------------------------------------
= 2 k 2k 2
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
n
(d) Let P(n) = i i ! n 1! 1 for all n N.
i 1
k
= i i ! k 1 k 1!
i 1
= k 1 ! 1 k 1 1
= k 1! k 2 1
= k 2 ! 1
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
12 Properties of Integers
--------------------------------------------------------------------------------------------------------------------------------------
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n 5.
15. Prove by mathematical induction that, for any positive integer n, the number
+ is divisible by 133.
Solution:
Let P(n) = 11 + 12 is divisible by 133 for n = 1, 2, 3...
Step 1: For n = 1,
P(1) = 11 + 12 = 1331 + 1728 = 3059 which is divisible by 133.
P(1) is true
Step 2: Let us assume that the result is true for n = k, i.e., P(k) is true
Hence, P(k) = 11 + 12 is divisible by 133 for k = 1, 2, 3...
To show that P(k + 1) is true
i.e., P(k + 1) = 11( )
+ 12 ( )
is divisible by 133
P(k + 1) = 11 + 12 is divisible by 133
Now, P(k + 1) – P(k) = 11 + 12 – 11 − 12
= 11 (11 − 1) + 12 (12 − 1)
= 10(11 + 12 ) + 12 (133)
= 10 P(k) +12 (133)
P(k + 1) = 11 P(k) +12 (133) which is divisible by 133.
Hence, 11 + 12 is divisible by 133
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
= 5 (5 − 1) + 2.3 (3 − 1)
= 4(5 + 3 )
= 4(Even)
= + 4(Even), which is a multiple of 8.
Hence, =5 + 2.3 + 1 is a multiple of 8
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
17. Prove that every positive integer ≥ can be written as a sum of 5’s and/or 7’s.
Solution:
Let P(n) = can be written as a sum of 5’s and/or 7’s for n ≥ 24
Step 1: For n = 24,
P(24) = 24 = 5 + 5 + 7 + 7 which is true
P(24) is true
Step 2: Let us assume that the result is true for n = k, i.e., P(k) is true
Hence, P(k) = can be written as a sum of 5’s and/or 7’s for k ≥ 24
To show that P(k + 1) is true
i.e., P(k + 1) = ( + 1) can be written as a sum of 5’s and/or 7’s for k ≥ 24
Now, + 1 = (7 + 7 + ⋯ r times) + (5 + 5 + ⋯ s times) + 1
= (7 + 7 + ⋯ (r − 2)times) + (5 + 5 + ⋯ s times) + 7 + 7 + 1
= (7 + 7 + ⋯ (r − 2)times) + (5 + 5 + ⋯ s times) + 15
= (7 + 7 + ⋯ (r − 2)times) + (5 + 5 + ⋯ (s + 3) times)
= sum of 5’s and 7’s.
Hence, ( + 1) can be written as a sum of 5’s and/or 7’s for k ≥ 24
P(k + 1) is true
Hence by the principle of induction P(n) is true for ≥ 24.
Discrete Mathematical Structures 17
-------------------------------------------------------------------------------------------------------------------------------------
1 1 1 1 1 1
18. Let H1 1, H 2 1 , H 3 1 , ..., H n 1 ... .
2 2 3 2 3 n
n
Prove that H n 1 H
i 1
i n n, for all positive integers n 1.
Solution:
1
By given data, H k H k 1
k 1
n
Let P(n) = H n 1 H
i 1
i n n for all n N.
k 1
Consider, LHS = H
i 1
i
k
= H
i 1
i H k 1
1
= k 1 H k 1 k H k 1 (by given data)
k 1
= k 1 H k 1 1 k H k 1
= k 2 H k 1 k 1
= RHS
P(k + 1) is true
Hence by the principle of induction P(n) is true for all n N.
18 Properties of Integers
--------------------------------------------------------------------------------------------------------------------------------------
EXERCISE – 2.1
n 1
a 1 r n
a ar ar ... ar
2
.
1 r