SlideShare a Scribd company logo
1 of 72
Download to read offline
NUMBER THEORY
Dr. Gabriel Obed Fosu
Department of Mathematics
Kwame Nkrumah University of Science and Technology
Google Scholar: https://scholar.google.com/citations?user=ZJfCMyQAAAAJ&hl=en&oi=ao
ResearchGate ID: https://www.researchgate.net/profile/Gabriel_Fosu2
Dr. Gabby (KNUST-Maths) Number Theory 1 / 27
Lecture Outline
1 Introduction to Numbers
Natural Numbers
Integers
Rational and Irrational Numbers
Real Number
2 Mathematical Induction
Dr. Gabby (KNUST-Maths) Number Theory 2 / 27
Introduction to Numbers
Outline of Presentation
1 Introduction to Numbers
Natural Numbers
Integers
Rational and Irrational Numbers
Real Number
2 Mathematical Induction
Dr. Gabby (KNUST-Maths) Number Theory 3 / 27
Introduction to Numbers Natural Numbers
Natural Numbers (N)
Definition
The set of natural numbers, denoted by N, admits a minimum number called one. It is
denoted by the symbol 1.
What happens if we add 1 to itself a certain number of times?
1+1 = 2,
1+1+1 = 3,
1+1+1+1 = 4, and
1+1+ยทยทยท+1
| {z }
n times
= n.
We obtain N (also called positive integers).
Dr. Gabby (KNUST-Maths) Number Theory 4 / 27
Introduction to Numbers Natural Numbers
Natural Numbers
Some Properties
For any natural numbers a,b,c, the following are true
1 Addition is Commutative: a +b = b + a
Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
Introduction to Numbers Natural Numbers
Natural Numbers
Some Properties
For any natural numbers a,b,c, the following are true
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
Introduction to Numbers Natural Numbers
Natural Numbers
Some Properties
For any natural numbers a,b,c, the following are true
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
Introduction to Numbers Natural Numbers
Natural Numbers
Some Properties
For any natural numbers a,b,c, the following are true
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
Introduction to Numbers Natural Numbers
Natural Numbers
Some Properties
For any natural numbers a,b,c, the following are true
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac = (b +c)a
Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
Introduction to Numbers Integers
Integers (Z)
Conversely, by subtracting 1 i.e. adding โˆ’1,
1โˆ’1 = 0, (1)
0โˆ’1 = โˆ’1,
โˆ’1โˆ’1 = โˆ’2,
.
.
.
.
.
.
.
.
.
โˆ’1โˆ’1โˆ’ยทยทยทโˆ’1
| {z }
n times
= โˆ’n. (2)
Except 0, these numbers are called negative integers.
Dr. Gabby (KNUST-Maths) Number Theory 6 / 27
Introduction to Numbers Integers
Integers (Z)
Conversely, by subtracting 1 i.e. adding โˆ’1,
1โˆ’1 = 0, (1)
0โˆ’1 = โˆ’1,
โˆ’1โˆ’1 = โˆ’2,
.
.
.
.
.
.
.
.
.
โˆ’1โˆ’1โˆ’ยทยทยทโˆ’1
| {z }
n times
= โˆ’n. (2)
Except 0, these numbers are called negative integers.
An integer (from the Latin integer meaning โ€œwhole") is colloquially/informally defined as a
number that can be written without a fractional component. For example, 21, 4, 0, and
-2048 are integers.
Dr. Gabby (KNUST-Maths) Number Theory 6 / 27
Introduction to Numbers Integers
Integers
Definition
1 The set of integers
Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3)
Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
Introduction to Numbers Integers
Integers
Definition
1 The set of integers
Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3)
2 The set of non-negative integers
Z+ = {0,1,2,ยทยทยท} (4)
Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
Introduction to Numbers Integers
Integers
Definition
1 The set of integers
Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3)
2 The set of non-negative integers
Z+ = {0,1,2,ยทยทยท} (4)
3 The set of non-positive integers
Zโˆ’ = {ยทยทยท ,โˆ’2,โˆ’1,0} (5)
Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a
7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a
7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a
8 Transitivity: a > b and b > c then a > c.
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Integers
Some properties (a,b,c โˆˆ Z)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a
7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a
8 Transitivity: a > b and b > c then a > c.
9 Cancellation law: If a ยทc = b ยทc and c ฬธ= 0 then a = b
Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
Introduction to Numbers Integers
Rational Number (Q)
Definition
A rational number is a number that can be in the form p/q where p and q are integers and
q is not equal to zero.
Dr. Gabby (KNUST-Maths) Number Theory 9 / 27
Introduction to Numbers Integers
Rational Number (Q)
Definition
A rational number is a number that can be in the form p/q where p and q are integers and
q is not equal to zero.
1 Also, we can say that any fraction fits under the category of rational numbers, where
the denominator and numerator are integers and the denominator is not equal to zero.
2 When the rational number (i.e., fraction) is divided, the result could be an integer or a
decimal. The decimal may either be terminating or repeating.
3 Example are 1/1 = 1, 1/2 = 0.5, 20/7 = 2.85714285714285714
Dr. Gabby (KNUST-Maths) Number Theory 9 / 27
Introduction to Numbers Rational and Irrational Numbers
Rational Numbers Q
Example: Rational numbers are solutions of the equation
nr โˆ’m = 0.
2
3 is a rational number and solution of the equation โˆ’3r +2 = 0.
Dr. Gabby (KNUST-Maths) Number Theory 10 / 27
Introduction to Numbers Rational and Irrational Numbers
Rational Numbers Q
Example: Rational numbers are solutions of the equation
nr โˆ’m = 0.
2
3 is a rational number and solution of the equation โˆ’3r +2 = 0.
Some Properties
1 Integers are rational numbers i.e. Z โŠ‚ Q.
2 Multiplicative inverse of nonzero elements of Q belong to Q (i.e.
โˆ€q โˆˆ Q,q ฬธ= 0 =โ‡’ 1
q โˆˆ Q.)
Dr. Gabby (KNUST-Maths) Number Theory 10 / 27
Introduction to Numbers Rational and Irrational Numbers
Irrational Numbers
Definition (Irrational Numbers)
These are numbers that cannot be represented as a simple fraction. It cannot be
expressed in the form of a ratio, such as p/q, where p and q are integers, q ฬธ= 0.
Again, the decimal expansion of an irrational number is neither terminating nor
recurring.
Dr. Gabby (KNUST-Maths) Number Theory 11 / 27
Introduction to Numbers Rational and Irrational Numbers
Irrational Numbers
Definition (Irrational Numbers)
These are numbers that cannot be represented as a simple fraction. It cannot be
expressed in the form of a ratio, such as p/q, where p and q are integers, q ฬธ= 0.
Again, the decimal expansion of an irrational number is neither terminating nor
recurring.
Example
Some examples are
p
2,
p
3, ฯ€, and the Euler number e
Dr. Gabby (KNUST-Maths) Number Theory 11 / 27
Introduction to Numbers Real Number
Real Numbers (R)
Definition (Real Numbers)
Real numbers can be defined as the union of both the rational and irrational numbers.
They can be both positive or negative, decimals or fractions.
Dr. Gabby (KNUST-Maths) Number Theory 12 / 27
Introduction to Numbers Real Number
Real Numbers (R)
Definition (Real Numbers)
Real numbers can be defined as the union of both the rational and irrational numbers.
They can be both positive or negative, decimals or fractions.
Real numbers are often represented along a graduated line with extreme values โˆ’โˆž and
+โˆž.
Figure 1: Real numbers
Dr. Gabby (KNUST-Maths) Number Theory 12 / 27
Introduction to Numbers Real Number
Real Numbers
Dr. Gabby (KNUST-Maths) Number Theory 13 / 27
Introduction to Numbers Real Number
Real Numbers
Some properties (a,b,c โˆˆ R)
1 Addition is Commutative: a +b = b + a
2 Addition is Associative: a +(b +c) = (a +b)+c
3 Multiplication is commutative: ab = ba
4 Multiplication is Associative: a(bc) = (ab)c
5 Multiplication Distributes over Addition: a(b +c) = ab + ac
6 Identity Element of Addition is Zero: a +0 = a = 0+ a
7 Identity Element of Multiplication is One: a ยท1 = a = 1ยท a
8 Transitivity: a > b and b > c then a > c.
9 Cancellation law: If a ยทc = b ยทc and c ฬธ= 0 then a = b
10 R is closed under addition (a +b โˆˆ R), and multiplication (ab โˆˆ R)
Dr. Gabby (KNUST-Maths) Number Theory 14 / 27
Introduction to Numbers Real Number
Theorem (Q is dense in R)
For any two real numbers x and y, if x < y then there exists a rational number q such that
x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y).
Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
Introduction to Numbers Real Number
Theorem (Q is dense in R)
For any two real numbers x and y, if x < y then there exists a rational number q such that
x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y).
Archimedean Property
If x and y are real numbers, and x > 0, then there exist a positive integer n such that
nx > y (6)
It also means that the set of natural numbers is not bounded above.
Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
Introduction to Numbers Real Number
Theorem (Q is dense in R)
For any two real numbers x and y, if x < y then there exists a rational number q such that
x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y).
Archimedean Property
If x and y are real numbers, and x > 0, then there exist a positive integer n such that
nx > y (6)
It also means that the set of natural numbers is not bounded above.
Trichotomy
Every real number is negative, zero, or positive.
The law is sometimes stated as for any x and y, then exactly one of these applies
x < y, x = y, x > y (7)
Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
Mathematical Induction
Outline of Presentation
1 Introduction to Numbers
Natural Numbers
Integers
Rational and Irrational Numbers
Real Number
2 Mathematical Induction
Dr. Gabby (KNUST-Maths) Number Theory 16 / 27
Mathematical Induction
Mathematical Induction
1 The principle of mathematical induction is an important property of positive integers.
2 It is especially useful in proving statements involving all positive integers when it is
known for example that the statements are valid for n = 1,2,3 but it is suspected or
conjectured that they hold for all positive integers.
3 The method of proof consists of the following steps:
Dr. Gabby (KNUST-Maths) Number Theory 17 / 27
Mathematical Induction
Mathematical Induction
1 Prove the statement for
n = 1 (8)
This is the Basis Step, that is P(1) is true
Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
Mathematical Induction
Mathematical Induction
1 Prove the statement for
n = 1 (8)
This is the Basis Step, that is P(1) is true
2 Assume the statement true for
n = k (9)
where k is any positive integer. The premise P(n) in the inductive step is called
Induction Hypothesis.
Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
Mathematical Induction
Mathematical Induction
1 Prove the statement for
n = 1 (8)
This is the Basis Step, that is P(1) is true
2 Assume the statement true for
n = k (9)
where k is any positive integer. The premise P(n) in the inductive step is called
Induction Hypothesis.
3 From the assumption in (2) prove that the statement must be true for
n = k +1 (10)
That is if P(n) is true, then P(n +1) is true.
Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
Mathematical Induction
Mathematical Induction
a. The basis step states that P(1) is true.
b. Then the inductive step implies that P(2) is also true.
c. By the inductive step again we see that P(3) is true, and so on.
d. Consequently, the property is true for all positive integers.
Dr. Gabby (KNUST-Maths) Number Theory 19 / 27
Mathematical Induction
Mathematical Induction
a. The basis step states that P(1) is true.
b. Then the inductive step implies that P(2) is also true.
c. By the inductive step again we see that P(3) is true, and so on.
d. Consequently, the property is true for all positive integers.
In the basis step we may replace 1 with some other integer m. Then the conclusion is that
the property is true for every integer n greater than or equal to m.
Dr. Gabby (KNUST-Maths) Number Theory 19 / 27
Mathematical Induction
Example
Prove that the sum of the n first odd positive integers is n2
, that is
1+3+5+ยทยทยท+(2n โˆ’1) = n2
.
Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
Mathematical Induction
Example
Prove that the sum of the n first odd positive integers is n2
, that is
1+3+5+ยทยทยท+(2n โˆ’1) = n2
.
Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive
integer n, S(n) = n2
.
1 Basis Step: If n = 1 we have S(1) = 1 = 12
, so the property is true for 1
Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
Mathematical Induction
Example
Prove that the sum of the n first odd positive integers is n2
, that is
1+3+5+ยทยทยท+(2n โˆ’1) = n2
.
Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive
integer n, S(n) = n2
.
1 Basis Step: If n = 1 we have S(1) = 1 = 12
, so the property is true for 1
2 Inductive Step: Assume (Induction Hypothesis) that the property is true for some
positive integer n, ie S(n) = n2
.
Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
Mathematical Induction
Example
Prove that the sum of the n first odd positive integers is n2
, that is
1+3+5+ยทยทยท+(2n โˆ’1) = n2
.
Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive
integer n, S(n) = n2
.
1 Basis Step: If n = 1 we have S(1) = 1 = 12
, so the property is true for 1
2 Inductive Step: Assume (Induction Hypothesis) that the property is true for some
positive integer n, ie S(n) = n2
.
3 We must prove that it is also true for n +1, i.e.,
S(n +1) = (n +1)2
(11)
that is the Expected results.
Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
Mathematical Induction
n +1 case
1 Picking up from the n = k case, we have
S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12)
Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
Mathematical Induction
n +1 case
1 Picking up from the n = k case, we have
S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12)
2 then the n = k +1
S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13)
= S(k)+(2k +1) (14)
Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
Mathematical Induction
n +1 case
1 Picking up from the n = k case, we have
S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12)
2 then the n = k +1
S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13)
= S(k)+(2k +1) (14)
But by induction hypothesis (12), S(k) = k2
, hence equation (14) reduces to
S(k +1) = k2
+2k +1
Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
Mathematical Induction
n +1 case
1 Picking up from the n = k case, we have
S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12)
2 then the n = k +1
S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13)
= S(k)+(2k +1) (14)
But by induction hypothesis (12), S(k) = k2
, hence equation (14) reduces to
S(k +1) = k2
+2k +1 = (k +1)2
(15)
Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
Mathematical Induction
n +1 case
1 Picking up from the n = k case, we have
S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12)
2 then the n = k +1
S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13)
= S(k)+(2k +1) (14)
But by induction hypothesis (12), S(k) = k2
, hence equation (14) reduces to
S(k +1) = k2
+2k +1 = (k +1)2
(15)
This completes the induction, and shows that the property is true for all positive
integers.
Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
Mathematical Induction
Example
Prove that 2n +1 โ‰ค 2n
for n โ‰ฅ 3
Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
Mathematical Induction
Example
Prove that 2n +1 โ‰ค 2n
for n โ‰ฅ 3
Solution
This is an example in which the property is not true for all positive integers but only for
integers greater than or equal to 3.
1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7
Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
Mathematical Induction
Example
Prove that 2n +1 โ‰ค 2n
for n โ‰ฅ 3
Solution
This is an example in which the property is not true for all positive integers but only for
integers greater than or equal to 3.
1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n
= 23
= 8, so the property is true
in this case.
Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
Mathematical Induction
Example
Prove that 2n +1 โ‰ค 2n
for n โ‰ฅ 3
Solution
This is an example in which the property is not true for all positive integers but only for
integers greater than or equal to 3.
1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n
= 23
= 8, so the property is true
in this case.
2 Inductive Step : Assume (Induction Hypothesis) that the property is true for some
positive integer n, that is
2n +1 โ‰ค 2n
(16)
Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
Mathematical Induction
Example
Prove that 2n +1 โ‰ค 2n
for n โ‰ฅ 3
Solution
This is an example in which the property is not true for all positive integers but only for
integers greater than or equal to 3.
1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n
= 23
= 8, so the property is true
in this case.
2 Inductive Step : Assume (Induction Hypothesis) that the property is true for some
positive integer n, that is
2n +1 โ‰ค 2n
(16)
3 We must prove that it is also true for n +1, that is ,
2(n +1)+1 โ‰ค 2n+1
expected result (17)
Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
2 Multiplying both sides by 2
2(2k +1) โ‰ค 2ร—2k
(19)
4k +2 โ‰ค 2k+1
(20)
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
2 Multiplying both sides by 2
2(2k +1) โ‰ค 2ร—2k
(19)
4k +2 โ‰ค 2k+1
(20)
3 for k > 3 then 4k +2 > 2k +3,
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
2 Multiplying both sides by 2
2(2k +1) โ‰ค 2ร—2k
(19)
4k +2 โ‰ค 2k+1
(20)
3 for k > 3 then 4k +2 > 2k +3,
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
2 Multiplying both sides by 2
2(2k +1) โ‰ค 2ร—2k
(19)
4k +2 โ‰ค 2k+1
(20)
3 for k > 3 then 4k +2 > 2k +3, thence
2k +3 โ‰ค 2k+1
(21)
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
1 By the induction hypothesis we know that for n = k we have
2k +1 โ‰ค 2k
(18)
2 Multiplying both sides by 2
2(2k +1) โ‰ค 2ร—2k
(19)
4k +2 โ‰ค 2k+1
(20)
3 for k > 3 then 4k +2 > 2k +3, thence
2k +3 โ‰ค 2k+1
(21)
This completes the induction, and shows that the property is true for all n โ‰ฅ 3.
Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
Mathematical Induction
Example
Prove that 1+2+ยทยทยท+n =
n(n +1)
2
Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
Mathematical Induction
Example
Prove that 1+2+ยทยทยท+n =
n(n +1)
2
Solution
This formula is easily verified for small numbers such as n = 1,2,3, or 4, but it is impossible
to verify for all natural numbers on a case-by-case basis. To prove the formula true in
general, a more generic method is required.
We need to show that
n0 = 1, since 1 =
1(1+1)
1
(22)
Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
Mathematical Induction
Example
Prove that 1+2+ยทยทยท+n =
n(n +1)
2
Solution
This formula is easily verified for small numbers such as n = 1,2,3, or 4, but it is impossible
to verify for all natural numbers on a case-by-case basis. To prove the formula true in
general, a more generic method is required.
We need to show that
n0 = 1, since 1 =
1(1+1)
1
(22)
Expected results
1+2+ยทยทยท+n +(n +1) =
(n +1)(n +2)
2
(23)
Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
Mathematical Induction
So for n = k
1+2+ยทยทยท+k =
k(k +1)
2
(24)
Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
Mathematical Induction
So for n = k
1+2+ยทยทยท+k =
k(k +1)
2
(24)
then for next time step
1+2+ยทยทยท+k +(k +1) =
k(k +1)
2
+k +1 (25)
Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
Mathematical Induction
So for n = k
1+2+ยทยทยท+k =
k(k +1)
2
(24)
then for next time step
1+2+ยทยทยท+k +(k +1) =
k(k +1)
2
+k +1 (25)
=
k2
+3k +2
2
(26)
Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
Mathematical Induction
So for n = k
1+2+ยทยทยท+k =
k(k +1)
2
(24)
then for next time step
1+2+ยทยทยท+k +(k +1) =
k(k +1)
2
+k +1 (25)
=
k2
+3k +2
2
(26)
=
(k +1)(k +2)
2
(27)
This is exactly the formula for the (n +1)th case.
Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
Mathematical Induction
Exercise
1 Find a condition on n โˆˆ N such that 2n2
โˆ’7n โˆ’4 โˆˆ N.
2 Prove that for all integers n,
1 if n โ‰ฅ 3 then 2n
> n +4.
2 1+ x + x2
+...+ xn
= 1โˆ’xn+1
1โˆ’x ,n โˆˆ {0,1,...} where x โˆˆ Rโˆ’{1}.
3 12
+22
+...+n2
= 1
6 n(n +1)(2n +1),n โ‰ฅ 1.
4 if n โ‰ฅ 1, then (1+ x)n
โ‰ฅ 1+nx for x โˆˆ R+ (i.e. x is a non-negative real number).
Dr. Gabby (KNUST-Maths) Number Theory 26 / 27
END OF LECTURE
THANK YOU
Dr. Gabby (KNUST-Maths) Number Theory 27 / 27

More Related Content

What's hot

ARITHMETIC PROGRESSIONS
ARITHMETIC PROGRESSIONS ARITHMETIC PROGRESSIONS
ARITHMETIC PROGRESSIONS Vamsi Krishna
ย 
P. e. bland, rings and their modules
P. e. bland, rings and their modulesP. e. bland, rings and their modules
P. e. bland, rings and their moduleskhudair al fauudi
ย 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionrey castro
ย 
Properties of addition
Properties of additionProperties of addition
Properties of additionmeghac181
ย 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-pptvipulAtri
ย 
Number Systems
Number Systems Number Systems
Number Systems Hardik Agarwal
ย 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)Aleksandr Yampolskiy
ย 
Class 9th chapter 2 maths polynomials
Class 9th chapter 2 maths polynomialsClass 9th chapter 2 maths polynomials
Class 9th chapter 2 maths polynomialsSiddharth Jain
ย 
properties of multiplication of integers
properties of multiplication of integersproperties of multiplication of integers
properties of multiplication of integerssufiyafatima
ย 
Natural and Whole Numbers
Natural and Whole NumbersNatural and Whole Numbers
Natural and Whole NumbersNeha Verma
ย 
Arithmetic Progression
Arithmetic ProgressionArithmetic Progression
Arithmetic ProgressionDeepali Tanwar
ย 
POLYNOMIAL CLASS X MODULE 1
POLYNOMIAL CLASS X MODULE 1POLYNOMIAL CLASS X MODULE 1
POLYNOMIAL CLASS X MODULE 1Mishal Chauhan
ย 
Knapsack problem algorithm, greedy algorithm
Knapsack problem algorithm, greedy algorithmKnapsack problem algorithm, greedy algorithm
Knapsack problem algorithm, greedy algorithmHoneyChintal
ย 
Complex numbers
Complex numbersComplex numbers
Complex numbersFITNESSWORLD4
ย 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrixitutor
ย 
3 d figures, its surface areas and volumes
3 d figures, its surface areas and volumes3 d figures, its surface areas and volumes
3 d figures, its surface areas and volumesjeevanlata
ย 
Mathematics class 8
Mathematics class 8 Mathematics class 8
Mathematics class 8 manishamittal23
ย 
Linear Equation in one variable - Class 8 th Maths
Linear Equation in one variable - Class 8 th MathsLinear Equation in one variable - Class 8 th Maths
Linear Equation in one variable - Class 8 th MathsAmit Choube
ย 
linear equations.pptx
linear equations.pptxlinear equations.pptx
linear equations.pptxKirtiChauhan62
ย 

What's hot (20)

ARITHMETIC PROGRESSIONS
ARITHMETIC PROGRESSIONS ARITHMETIC PROGRESSIONS
ARITHMETIC PROGRESSIONS
ย 
P. e. bland, rings and their modules
P. e. bland, rings and their modulesP. e. bland, rings and their modules
P. e. bland, rings and their modules
ย 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
ย 
Properties of addition
Properties of additionProperties of addition
Properties of addition
ย 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-ppt
ย 
Number Systems
Number Systems Number Systems
Number Systems
ย 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)
ย 
Class 9th chapter 2 maths polynomials
Class 9th chapter 2 maths polynomialsClass 9th chapter 2 maths polynomials
Class 9th chapter 2 maths polynomials
ย 
properties of multiplication of integers
properties of multiplication of integersproperties of multiplication of integers
properties of multiplication of integers
ย 
Natural and Whole Numbers
Natural and Whole NumbersNatural and Whole Numbers
Natural and Whole Numbers
ย 
Arithmetic Progression
Arithmetic ProgressionArithmetic Progression
Arithmetic Progression
ย 
POLYNOMIAL CLASS X MODULE 1
POLYNOMIAL CLASS X MODULE 1POLYNOMIAL CLASS X MODULE 1
POLYNOMIAL CLASS X MODULE 1
ย 
1631 the binomial theorem
1631 the binomial theorem1631 the binomial theorem
1631 the binomial theorem
ย 
Knapsack problem algorithm, greedy algorithm
Knapsack problem algorithm, greedy algorithmKnapsack problem algorithm, greedy algorithm
Knapsack problem algorithm, greedy algorithm
ย 
Complex numbers
Complex numbersComplex numbers
Complex numbers
ย 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
ย 
3 d figures, its surface areas and volumes
3 d figures, its surface areas and volumes3 d figures, its surface areas and volumes
3 d figures, its surface areas and volumes
ย 
Mathematics class 8
Mathematics class 8 Mathematics class 8
Mathematics class 8
ย 
Linear Equation in one variable - Class 8 th Maths
Linear Equation in one variable - Class 8 th MathsLinear Equation in one variable - Class 8 th Maths
Linear Equation in one variable - Class 8 th Maths
ย 
linear equations.pptx
linear equations.pptxlinear equations.pptx
linear equations.pptx
ย 

Similar to Number Theory.pdf

Discrete mathematics notes
Discrete mathematics notesDiscrete mathematics notes
Discrete mathematics notesjosephndengeyingoma
ย 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdfAneeshRenu
ย 
DIPIN PPT OF INTEGER
DIPIN PPT OF INTEGERDIPIN PPT OF INTEGER
DIPIN PPT OF INTEGERlenovo_123
ย 
SET THEORY
SET THEORYSET THEORY
SET THEORYLena
ย 
Whole Numbers std 6.ppt
Whole Numbers std 6.pptWhole Numbers std 6.ppt
Whole Numbers std 6.pptMVHerwadkarschool
ย 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3ShahidAkbar22
ย 
Set Concepts
Set ConceptsSet Concepts
Set Conceptsshbest
ย 
IIT JAM MATH 2018 Question Paper | Sourav Sir's Classes
IIT JAM MATH 2018 Question Paper | Sourav Sir's ClassesIIT JAM MATH 2018 Question Paper | Sourav Sir's Classes
IIT JAM MATH 2018 Question Paper | Sourav Sir's ClassesSOURAV DAS
ย 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant xmath260
ย 
applications of set theory in economical problem
applications of set theory in economical problem applications of set theory in economical problem
applications of set theory in economical problem Farjana Mim
ย 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdfMridulDhamija
ย 
Chapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfChapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfgeorgianabeauty02
ย 
03 boolean algebra
03 boolean algebra03 boolean algebra
03 boolean algebrachaturape
ย 

Similar to Number Theory.pdf (20)

01_Sets.pdf
01_Sets.pdf01_Sets.pdf
01_Sets.pdf
ย 
Discrete mathematics notes
Discrete mathematics notesDiscrete mathematics notes
Discrete mathematics notes
ย 
Integers
IntegersIntegers
Integers
ย 
SETS - Vedantu.pdf
SETS - Vedantu.pdfSETS - Vedantu.pdf
SETS - Vedantu.pdf
ย 
DIPIN PPT OF INTEGER
DIPIN PPT OF INTEGERDIPIN PPT OF INTEGER
DIPIN PPT OF INTEGER
ย 
Sets
SetsSets
Sets
ย 
SET THEORY
SET THEORYSET THEORY
SET THEORY
ย 
SET THEORY
SET THEORYSET THEORY
SET THEORY
ย 
Whole Numbers std 6.ppt
Whole Numbers std 6.pptWhole Numbers std 6.ppt
Whole Numbers std 6.ppt
ย 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
ย 
Set Concepts
Set ConceptsSet Concepts
Set Concepts
ย 
IIT JAM MATH 2018 Question Paper | Sourav Sir's Classes
IIT JAM MATH 2018 Question Paper | Sourav Sir's ClassesIIT JAM MATH 2018 Question Paper | Sourav Sir's Classes
IIT JAM MATH 2018 Question Paper | Sourav Sir's Classes
ย 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant x
ย 
applications of set theory in economical problem
applications of set theory in economical problem applications of set theory in economical problem
applications of set theory in economical problem
ย 
SETS
SETSSETS
SETS
ย 
Vectors 1.pdf
Vectors 1.pdfVectors 1.pdf
Vectors 1.pdf
ย 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
ย 
Chapter0
Chapter0Chapter0
Chapter0
ย 
Chapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdfChapter 2 Lecture Notes_ Divisibility.pdf
Chapter 2 Lecture Notes_ Divisibility.pdf
ย 
03 boolean algebra
03 boolean algebra03 boolean algebra
03 boolean algebra
ย 

More from Kwame Nkrumah University of Science and Technology (7)

3. Functions II.pdf
3. Functions II.pdf3. Functions II.pdf
3. Functions II.pdf
ย 
2. Functions I.pdf
2. Functions I.pdf2. Functions I.pdf
2. Functions I.pdf
ย 
Matrices 2_System of Equations.pdf
Matrices 2_System of Equations.pdfMatrices 2_System of Equations.pdf
Matrices 2_System of Equations.pdf
ย 
Matrices 1.pdf
Matrices 1.pdfMatrices 1.pdf
Matrices 1.pdf
ย 
Vectors 2.pdf
Vectors 2.pdfVectors 2.pdf
Vectors 2.pdf
ย 
Complex Numbers 2.pdf
Complex Numbers 2.pdfComplex Numbers 2.pdf
Complex Numbers 2.pdf
ย 
Complex Numbers 1.pdf
Complex Numbers 1.pdfComplex Numbers 1.pdf
Complex Numbers 1.pdf
ย 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
ย 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
ย 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
ย 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
ย 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
ย 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
ย 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
ย 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
ย 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
ย 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
ย 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
ย 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
ย 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
ย 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
ย 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
ย 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
ย 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
ย 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
ย 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
ย 
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
ย 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
ย 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
ย 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
ย 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ย 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
ย 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
ย 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
ย 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
ย 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
ย 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
ย 

Number Theory.pdf

  • 1. NUMBER THEORY Dr. Gabriel Obed Fosu Department of Mathematics Kwame Nkrumah University of Science and Technology Google Scholar: https://scholar.google.com/citations?user=ZJfCMyQAAAAJ&hl=en&oi=ao ResearchGate ID: https://www.researchgate.net/profile/Gabriel_Fosu2 Dr. Gabby (KNUST-Maths) Number Theory 1 / 27
  • 2. Lecture Outline 1 Introduction to Numbers Natural Numbers Integers Rational and Irrational Numbers Real Number 2 Mathematical Induction Dr. Gabby (KNUST-Maths) Number Theory 2 / 27
  • 3. Introduction to Numbers Outline of Presentation 1 Introduction to Numbers Natural Numbers Integers Rational and Irrational Numbers Real Number 2 Mathematical Induction Dr. Gabby (KNUST-Maths) Number Theory 3 / 27
  • 4. Introduction to Numbers Natural Numbers Natural Numbers (N) Definition The set of natural numbers, denoted by N, admits a minimum number called one. It is denoted by the symbol 1. What happens if we add 1 to itself a certain number of times? 1+1 = 2, 1+1+1 = 3, 1+1+1+1 = 4, and 1+1+ยทยทยท+1 | {z } n times = n. We obtain N (also called positive integers). Dr. Gabby (KNUST-Maths) Number Theory 4 / 27
  • 5. Introduction to Numbers Natural Numbers Natural Numbers Some Properties For any natural numbers a,b,c, the following are true 1 Addition is Commutative: a +b = b + a Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
  • 6. Introduction to Numbers Natural Numbers Natural Numbers Some Properties For any natural numbers a,b,c, the following are true 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
  • 7. Introduction to Numbers Natural Numbers Natural Numbers Some Properties For any natural numbers a,b,c, the following are true 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
  • 8. Introduction to Numbers Natural Numbers Natural Numbers Some Properties For any natural numbers a,b,c, the following are true 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
  • 9. Introduction to Numbers Natural Numbers Natural Numbers Some Properties For any natural numbers a,b,c, the following are true 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac = (b +c)a Dr. Gabby (KNUST-Maths) Number Theory 5 / 27
  • 10. Introduction to Numbers Integers Integers (Z) Conversely, by subtracting 1 i.e. adding โˆ’1, 1โˆ’1 = 0, (1) 0โˆ’1 = โˆ’1, โˆ’1โˆ’1 = โˆ’2, . . . . . . . . . โˆ’1โˆ’1โˆ’ยทยทยทโˆ’1 | {z } n times = โˆ’n. (2) Except 0, these numbers are called negative integers. Dr. Gabby (KNUST-Maths) Number Theory 6 / 27
  • 11. Introduction to Numbers Integers Integers (Z) Conversely, by subtracting 1 i.e. adding โˆ’1, 1โˆ’1 = 0, (1) 0โˆ’1 = โˆ’1, โˆ’1โˆ’1 = โˆ’2, . . . . . . . . . โˆ’1โˆ’1โˆ’ยทยทยทโˆ’1 | {z } n times = โˆ’n. (2) Except 0, these numbers are called negative integers. An integer (from the Latin integer meaning โ€œwhole") is colloquially/informally defined as a number that can be written without a fractional component. For example, 21, 4, 0, and -2048 are integers. Dr. Gabby (KNUST-Maths) Number Theory 6 / 27
  • 12. Introduction to Numbers Integers Integers Definition 1 The set of integers Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3) Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
  • 13. Introduction to Numbers Integers Integers Definition 1 The set of integers Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3) 2 The set of non-negative integers Z+ = {0,1,2,ยทยทยท} (4) Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
  • 14. Introduction to Numbers Integers Integers Definition 1 The set of integers Z = {ยทยทยท ,โˆ’2,โˆ’1,0,1,2,ยทยทยท} (3) 2 The set of non-negative integers Z+ = {0,1,2,ยทยทยท} (4) 3 The set of non-positive integers Zโˆ’ = {ยทยทยท ,โˆ’2,โˆ’1,0} (5) Dr. Gabby (KNUST-Maths) Number Theory 7 / 27
  • 15. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 16. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 17. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 18. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 19. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 20. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac 6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 21. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac 6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a 7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 22. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac 6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a 7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a 8 Transitivity: a > b and b > c then a > c. Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 23. Introduction to Numbers Integers Integers Some properties (a,b,c โˆˆ Z) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac 6 Identity Element of Integer Addition is Zero: a +0 = a = 0+ a 7 Identity Element of Integer Multiplication is One: a ยท1 = a = 1ยท a 8 Transitivity: a > b and b > c then a > c. 9 Cancellation law: If a ยทc = b ยทc and c ฬธ= 0 then a = b Dr. Gabby (KNUST-Maths) Number Theory 8 / 27
  • 24. Introduction to Numbers Integers Rational Number (Q) Definition A rational number is a number that can be in the form p/q where p and q are integers and q is not equal to zero. Dr. Gabby (KNUST-Maths) Number Theory 9 / 27
  • 25. Introduction to Numbers Integers Rational Number (Q) Definition A rational number is a number that can be in the form p/q where p and q are integers and q is not equal to zero. 1 Also, we can say that any fraction fits under the category of rational numbers, where the denominator and numerator are integers and the denominator is not equal to zero. 2 When the rational number (i.e., fraction) is divided, the result could be an integer or a decimal. The decimal may either be terminating or repeating. 3 Example are 1/1 = 1, 1/2 = 0.5, 20/7 = 2.85714285714285714 Dr. Gabby (KNUST-Maths) Number Theory 9 / 27
  • 26. Introduction to Numbers Rational and Irrational Numbers Rational Numbers Q Example: Rational numbers are solutions of the equation nr โˆ’m = 0. 2 3 is a rational number and solution of the equation โˆ’3r +2 = 0. Dr. Gabby (KNUST-Maths) Number Theory 10 / 27
  • 27. Introduction to Numbers Rational and Irrational Numbers Rational Numbers Q Example: Rational numbers are solutions of the equation nr โˆ’m = 0. 2 3 is a rational number and solution of the equation โˆ’3r +2 = 0. Some Properties 1 Integers are rational numbers i.e. Z โŠ‚ Q. 2 Multiplicative inverse of nonzero elements of Q belong to Q (i.e. โˆ€q โˆˆ Q,q ฬธ= 0 =โ‡’ 1 q โˆˆ Q.) Dr. Gabby (KNUST-Maths) Number Theory 10 / 27
  • 28. Introduction to Numbers Rational and Irrational Numbers Irrational Numbers Definition (Irrational Numbers) These are numbers that cannot be represented as a simple fraction. It cannot be expressed in the form of a ratio, such as p/q, where p and q are integers, q ฬธ= 0. Again, the decimal expansion of an irrational number is neither terminating nor recurring. Dr. Gabby (KNUST-Maths) Number Theory 11 / 27
  • 29. Introduction to Numbers Rational and Irrational Numbers Irrational Numbers Definition (Irrational Numbers) These are numbers that cannot be represented as a simple fraction. It cannot be expressed in the form of a ratio, such as p/q, where p and q are integers, q ฬธ= 0. Again, the decimal expansion of an irrational number is neither terminating nor recurring. Example Some examples are p 2, p 3, ฯ€, and the Euler number e Dr. Gabby (KNUST-Maths) Number Theory 11 / 27
  • 30. Introduction to Numbers Real Number Real Numbers (R) Definition (Real Numbers) Real numbers can be defined as the union of both the rational and irrational numbers. They can be both positive or negative, decimals or fractions. Dr. Gabby (KNUST-Maths) Number Theory 12 / 27
  • 31. Introduction to Numbers Real Number Real Numbers (R) Definition (Real Numbers) Real numbers can be defined as the union of both the rational and irrational numbers. They can be both positive or negative, decimals or fractions. Real numbers are often represented along a graduated line with extreme values โˆ’โˆž and +โˆž. Figure 1: Real numbers Dr. Gabby (KNUST-Maths) Number Theory 12 / 27
  • 32. Introduction to Numbers Real Number Real Numbers Dr. Gabby (KNUST-Maths) Number Theory 13 / 27
  • 33. Introduction to Numbers Real Number Real Numbers Some properties (a,b,c โˆˆ R) 1 Addition is Commutative: a +b = b + a 2 Addition is Associative: a +(b +c) = (a +b)+c 3 Multiplication is commutative: ab = ba 4 Multiplication is Associative: a(bc) = (ab)c 5 Multiplication Distributes over Addition: a(b +c) = ab + ac 6 Identity Element of Addition is Zero: a +0 = a = 0+ a 7 Identity Element of Multiplication is One: a ยท1 = a = 1ยท a 8 Transitivity: a > b and b > c then a > c. 9 Cancellation law: If a ยทc = b ยทc and c ฬธ= 0 then a = b 10 R is closed under addition (a +b โˆˆ R), and multiplication (ab โˆˆ R) Dr. Gabby (KNUST-Maths) Number Theory 14 / 27
  • 34. Introduction to Numbers Real Number Theorem (Q is dense in R) For any two real numbers x and y, if x < y then there exists a rational number q such that x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y). Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
  • 35. Introduction to Numbers Real Number Theorem (Q is dense in R) For any two real numbers x and y, if x < y then there exists a rational number q such that x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y). Archimedean Property If x and y are real numbers, and x > 0, then there exist a positive integer n such that nx > y (6) It also means that the set of natural numbers is not bounded above. Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
  • 36. Introduction to Numbers Real Number Theorem (Q is dense in R) For any two real numbers x and y, if x < y then there exists a rational number q such that x < q < y (โˆ€x, y โˆˆ R;x < y =โ‡’ โˆƒq โˆˆ Q;x < q < y). Archimedean Property If x and y are real numbers, and x > 0, then there exist a positive integer n such that nx > y (6) It also means that the set of natural numbers is not bounded above. Trichotomy Every real number is negative, zero, or positive. The law is sometimes stated as for any x and y, then exactly one of these applies x < y, x = y, x > y (7) Dr. Gabby (KNUST-Maths) Number Theory 15 / 27
  • 37. Mathematical Induction Outline of Presentation 1 Introduction to Numbers Natural Numbers Integers Rational and Irrational Numbers Real Number 2 Mathematical Induction Dr. Gabby (KNUST-Maths) Number Theory 16 / 27
  • 38. Mathematical Induction Mathematical Induction 1 The principle of mathematical induction is an important property of positive integers. 2 It is especially useful in proving statements involving all positive integers when it is known for example that the statements are valid for n = 1,2,3 but it is suspected or conjectured that they hold for all positive integers. 3 The method of proof consists of the following steps: Dr. Gabby (KNUST-Maths) Number Theory 17 / 27
  • 39. Mathematical Induction Mathematical Induction 1 Prove the statement for n = 1 (8) This is the Basis Step, that is P(1) is true Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
  • 40. Mathematical Induction Mathematical Induction 1 Prove the statement for n = 1 (8) This is the Basis Step, that is P(1) is true 2 Assume the statement true for n = k (9) where k is any positive integer. The premise P(n) in the inductive step is called Induction Hypothesis. Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
  • 41. Mathematical Induction Mathematical Induction 1 Prove the statement for n = 1 (8) This is the Basis Step, that is P(1) is true 2 Assume the statement true for n = k (9) where k is any positive integer. The premise P(n) in the inductive step is called Induction Hypothesis. 3 From the assumption in (2) prove that the statement must be true for n = k +1 (10) That is if P(n) is true, then P(n +1) is true. Dr. Gabby (KNUST-Maths) Number Theory 18 / 27
  • 42. Mathematical Induction Mathematical Induction a. The basis step states that P(1) is true. b. Then the inductive step implies that P(2) is also true. c. By the inductive step again we see that P(3) is true, and so on. d. Consequently, the property is true for all positive integers. Dr. Gabby (KNUST-Maths) Number Theory 19 / 27
  • 43. Mathematical Induction Mathematical Induction a. The basis step states that P(1) is true. b. Then the inductive step implies that P(2) is also true. c. By the inductive step again we see that P(3) is true, and so on. d. Consequently, the property is true for all positive integers. In the basis step we may replace 1 with some other integer m. Then the conclusion is that the property is true for every integer n greater than or equal to m. Dr. Gabby (KNUST-Maths) Number Theory 19 / 27
  • 44. Mathematical Induction Example Prove that the sum of the n first odd positive integers is n2 , that is 1+3+5+ยทยทยท+(2n โˆ’1) = n2 . Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
  • 45. Mathematical Induction Example Prove that the sum of the n first odd positive integers is n2 , that is 1+3+5+ยทยทยท+(2n โˆ’1) = n2 . Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive integer n, S(n) = n2 . 1 Basis Step: If n = 1 we have S(1) = 1 = 12 , so the property is true for 1 Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
  • 46. Mathematical Induction Example Prove that the sum of the n first odd positive integers is n2 , that is 1+3+5+ยทยทยท+(2n โˆ’1) = n2 . Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive integer n, S(n) = n2 . 1 Basis Step: If n = 1 we have S(1) = 1 = 12 , so the property is true for 1 2 Inductive Step: Assume (Induction Hypothesis) that the property is true for some positive integer n, ie S(n) = n2 . Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
  • 47. Mathematical Induction Example Prove that the sum of the n first odd positive integers is n2 , that is 1+3+5+ยทยทยท+(2n โˆ’1) = n2 . Let S(n) = 1+3+5+ยทยทยท+(2n โˆ’1). We want to prove by induction that for every positive integer n, S(n) = n2 . 1 Basis Step: If n = 1 we have S(1) = 1 = 12 , so the property is true for 1 2 Inductive Step: Assume (Induction Hypothesis) that the property is true for some positive integer n, ie S(n) = n2 . 3 We must prove that it is also true for n +1, i.e., S(n +1) = (n +1)2 (11) that is the Expected results. Dr. Gabby (KNUST-Maths) Number Theory 20 / 27
  • 48. Mathematical Induction n +1 case 1 Picking up from the n = k case, we have S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12) Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
  • 49. Mathematical Induction n +1 case 1 Picking up from the n = k case, we have S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12) 2 then the n = k +1 S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13) = S(k)+(2k +1) (14) Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
  • 50. Mathematical Induction n +1 case 1 Picking up from the n = k case, we have S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12) 2 then the n = k +1 S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13) = S(k)+(2k +1) (14) But by induction hypothesis (12), S(k) = k2 , hence equation (14) reduces to S(k +1) = k2 +2k +1 Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
  • 51. Mathematical Induction n +1 case 1 Picking up from the n = k case, we have S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12) 2 then the n = k +1 S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13) = S(k)+(2k +1) (14) But by induction hypothesis (12), S(k) = k2 , hence equation (14) reduces to S(k +1) = k2 +2k +1 = (k +1)2 (15) Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
  • 52. Mathematical Induction n +1 case 1 Picking up from the n = k case, we have S(k) = 1+3+5+ยทยทยท+(2k โˆ’1) (12) 2 then the n = k +1 S(k +1) = 1+3+5+ยทยทยท+(2k โˆ’1)+(2k +1) (13) = S(k)+(2k +1) (14) But by induction hypothesis (12), S(k) = k2 , hence equation (14) reduces to S(k +1) = k2 +2k +1 = (k +1)2 (15) This completes the induction, and shows that the property is true for all positive integers. Dr. Gabby (KNUST-Maths) Number Theory 21 / 27
  • 53. Mathematical Induction Example Prove that 2n +1 โ‰ค 2n for n โ‰ฅ 3 Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
  • 54. Mathematical Induction Example Prove that 2n +1 โ‰ค 2n for n โ‰ฅ 3 Solution This is an example in which the property is not true for all positive integers but only for integers greater than or equal to 3. 1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
  • 55. Mathematical Induction Example Prove that 2n +1 โ‰ค 2n for n โ‰ฅ 3 Solution This is an example in which the property is not true for all positive integers but only for integers greater than or equal to 3. 1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n = 23 = 8, so the property is true in this case. Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
  • 56. Mathematical Induction Example Prove that 2n +1 โ‰ค 2n for n โ‰ฅ 3 Solution This is an example in which the property is not true for all positive integers but only for integers greater than or equal to 3. 1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n = 23 = 8, so the property is true in this case. 2 Inductive Step : Assume (Induction Hypothesis) that the property is true for some positive integer n, that is 2n +1 โ‰ค 2n (16) Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
  • 57. Mathematical Induction Example Prove that 2n +1 โ‰ค 2n for n โ‰ฅ 3 Solution This is an example in which the property is not true for all positive integers but only for integers greater than or equal to 3. 1 Basis Step: If n = 3 we have 2n +1 = 2(3)+1 = 7 and 2n = 23 = 8, so the property is true in this case. 2 Inductive Step : Assume (Induction Hypothesis) that the property is true for some positive integer n, that is 2n +1 โ‰ค 2n (16) 3 We must prove that it is also true for n +1, that is , 2(n +1)+1 โ‰ค 2n+1 expected result (17) Dr. Gabby (KNUST-Maths) Number Theory 22 / 27
  • 58. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 59. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) 2 Multiplying both sides by 2 2(2k +1) โ‰ค 2ร—2k (19) 4k +2 โ‰ค 2k+1 (20) Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 60. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) 2 Multiplying both sides by 2 2(2k +1) โ‰ค 2ร—2k (19) 4k +2 โ‰ค 2k+1 (20) 3 for k > 3 then 4k +2 > 2k +3, Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 61. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) 2 Multiplying both sides by 2 2(2k +1) โ‰ค 2ร—2k (19) 4k +2 โ‰ค 2k+1 (20) 3 for k > 3 then 4k +2 > 2k +3, Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 62. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) 2 Multiplying both sides by 2 2(2k +1) โ‰ค 2ร—2k (19) 4k +2 โ‰ค 2k+1 (20) 3 for k > 3 then 4k +2 > 2k +3, thence 2k +3 โ‰ค 2k+1 (21) Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 63. Mathematical Induction 1 By the induction hypothesis we know that for n = k we have 2k +1 โ‰ค 2k (18) 2 Multiplying both sides by 2 2(2k +1) โ‰ค 2ร—2k (19) 4k +2 โ‰ค 2k+1 (20) 3 for k > 3 then 4k +2 > 2k +3, thence 2k +3 โ‰ค 2k+1 (21) This completes the induction, and shows that the property is true for all n โ‰ฅ 3. Dr. Gabby (KNUST-Maths) Number Theory 23 / 27
  • 64. Mathematical Induction Example Prove that 1+2+ยทยทยท+n = n(n +1) 2 Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
  • 65. Mathematical Induction Example Prove that 1+2+ยทยทยท+n = n(n +1) 2 Solution This formula is easily verified for small numbers such as n = 1,2,3, or 4, but it is impossible to verify for all natural numbers on a case-by-case basis. To prove the formula true in general, a more generic method is required. We need to show that n0 = 1, since 1 = 1(1+1) 1 (22) Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
  • 66. Mathematical Induction Example Prove that 1+2+ยทยทยท+n = n(n +1) 2 Solution This formula is easily verified for small numbers such as n = 1,2,3, or 4, but it is impossible to verify for all natural numbers on a case-by-case basis. To prove the formula true in general, a more generic method is required. We need to show that n0 = 1, since 1 = 1(1+1) 1 (22) Expected results 1+2+ยทยทยท+n +(n +1) = (n +1)(n +2) 2 (23) Dr. Gabby (KNUST-Maths) Number Theory 24 / 27
  • 67. Mathematical Induction So for n = k 1+2+ยทยทยท+k = k(k +1) 2 (24) Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
  • 68. Mathematical Induction So for n = k 1+2+ยทยทยท+k = k(k +1) 2 (24) then for next time step 1+2+ยทยทยท+k +(k +1) = k(k +1) 2 +k +1 (25) Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
  • 69. Mathematical Induction So for n = k 1+2+ยทยทยท+k = k(k +1) 2 (24) then for next time step 1+2+ยทยทยท+k +(k +1) = k(k +1) 2 +k +1 (25) = k2 +3k +2 2 (26) Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
  • 70. Mathematical Induction So for n = k 1+2+ยทยทยท+k = k(k +1) 2 (24) then for next time step 1+2+ยทยทยท+k +(k +1) = k(k +1) 2 +k +1 (25) = k2 +3k +2 2 (26) = (k +1)(k +2) 2 (27) This is exactly the formula for the (n +1)th case. Dr. Gabby (KNUST-Maths) Number Theory 25 / 27
  • 71. Mathematical Induction Exercise 1 Find a condition on n โˆˆ N such that 2n2 โˆ’7n โˆ’4 โˆˆ N. 2 Prove that for all integers n, 1 if n โ‰ฅ 3 then 2n > n +4. 2 1+ x + x2 +...+ xn = 1โˆ’xn+1 1โˆ’x ,n โˆˆ {0,1,...} where x โˆˆ Rโˆ’{1}. 3 12 +22 +...+n2 = 1 6 n(n +1)(2n +1),n โ‰ฅ 1. 4 if n โ‰ฅ 1, then (1+ x)n โ‰ฅ 1+nx for x โˆˆ R+ (i.e. x is a non-negative real number). Dr. Gabby (KNUST-Maths) Number Theory 26 / 27
  • 72. END OF LECTURE THANK YOU Dr. Gabby (KNUST-Maths) Number Theory 27 / 27