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 (20)

Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
sets and venn diagrams
sets and venn diagramssets and venn diagrams
sets and venn diagrams
 
Matrices
MatricesMatrices
Matrices
 
Discrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofsDiscrete Math Ch5 counting + proofs
Discrete Math Ch5 counting + proofs
 
Normal subgroups- Group theory
Normal subgroups- Group theoryNormal subgroups- Group theory
Normal subgroups- Group theory
 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theorem
 
CMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
CMSC 56 | Lecture 16: Equivalence of Relations & Partial OrderingCMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
CMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
 
Square of trinomial
Square of trinomialSquare of trinomial
Square of trinomial
 
Review of linear algebra
Review of linear algebraReview of linear algebra
Review of linear algebra
 
Types of sets
Types of setsTypes of sets
Types of sets
 
Matrix Algebra seminar ppt
Matrix Algebra seminar pptMatrix Algebra seminar ppt
Matrix Algebra seminar ppt
 
1.1 Real Number Properties
1.1 Real Number Properties1.1 Real Number Properties
1.1 Real Number Properties
 
Integral Domains
Integral DomainsIntegral Domains
Integral Domains
 
Fundamental theorem of arithmatic
Fundamental theorem of arithmaticFundamental theorem of arithmatic
Fundamental theorem of arithmatic
 
Real numbers system
Real numbers systemReal numbers system
Real numbers system
 
Integers
IntegersIntegers
Integers
 
4. ap gp
4. ap gp4. ap gp
4. ap gp
 
Permutations and combinations
Permutations and combinationsPermutations and combinations
Permutations and combinations
 
1.1 Real Numbers and Number Operations
1.1 Real Numbers and Number Operations1.1 Real Numbers and Number Operations
1.1 Real Numbers and Number Operations
 
GEOMETRY: POINTS, LINES. PLANE
GEOMETRY: POINTS, LINES. PLANEGEOMETRY: POINTS, LINES. PLANE
GEOMETRY: POINTS, LINES. PLANE
 

Similar to Number Theory.pdf

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
 
Complex numbers
Complex numbersComplex numbers
Complex numbers
 
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
 

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

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

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