Math 203: Number Theory: Alberto D. Yazon, PHD
Math 203: Number Theory: Alberto D. Yazon, PHD
MIDTERM EXAM
Chapter 4. Linear Diophantine Equation
4.1 Definition of linear Diophantine equation
4.2 Finding Solutions of LDE
4.3 Solving Word Problems Involving LDE
Chapter 5. Congruences
5.1 Definition of Congruence
5.2 Properties of Congruence
5.3 Some Applications of Congruence
Chapter 6. Methods of Proof
6.1 Direct Proof
6.2 Indirect Proof
6.3 Mathematical Induction
FINAL EXAM
CHAPTER 1. The Beginnings
of Number Theory
1.1 Numbers and Number Systems
• The first set of numbers we meet are the
natural numbers denoted by N. These are the
ones we use to count objects: 1,2,3,4,5,....
Answers:
(a) S= {1, 2, 3, 4, 5}
(b) Z = {0, 1, -1, 2, -2, …} or {…,-2, - 1, 0, 1, 2, …}
Example 1.2 Use set-builder notation to write the
following sets whose elements are terms of
arithmetic sequences.
(a) A = {2, 4, 6, 8, 10,…}
(b) B = {1, 3, 5, 7,…}
Answers:
(a) A = {x | x is an even natural number. In symbols:
A = {x | x = 2n, n ∈ N} or {2n | n ∈ N}
(b) B = {x | x is an odd natural number. In symbols:
B = {x | x = 2n – 1, n ∈ N} or {2n – 1 | n ∈ N}
Example 1.3 Each of the following sets is
described in set-builder notation. Write each of
the sets by listing its elements
(a) C = {2k + 1 | k = 3, 4, 5}
(b) D = {x | x is an even natural number less than 8}
Answers:
(a) C = {7, 9, 11}
(b) D = {2, 4, 6}
• Two sets are equal if, and only if, they contain
exactly the same elements
• If the elements of sets P and S can be paired so
that for each element of P there is exactly one
element of S and for each element of S there is
exactly one element of P, then the two sets P and
S are in one-to-one correspondence.
• Two sets A and B are equivalent, written A ∼ B, if,
and only if, there exists a one-to-one
correspondence between the sets.
Example 1.4 Let A = {1, 2, 3, 4}, B = {5, 6, 7}
C = {8, 9, 10}, D = {6, 5, 7}
Compare the sets, using equal and equivalent.
Some Answers:
1. Each set is both equivalent to and equal to
itself.
2. A and B are not equivalent (A ~ B) and not
equal (A≠B).
• There is one special set that has no members at
all. We denote this set, called the empty set, by
the symbol ∅.
...=5.27
2 =0.666...=0.6 58=5.272727
3 11
• There are numbers whose decimal
representations are nonterminating and
nonrepeating. Examples of which are
and 2.
• which is the ratio of the circumference of a
circle to its diameter, is equal to 3.14159…,
while a calculator shows that 2 is equal to
1.41421…
• The numbers whose decimal
representations are nonterminating
and nonrepeating cannot be expressed
as quotient of two integers and hence
not rational numbers (irrational
numbers).
-5 -4 -3 -2 -1 0 1 2 3 4 5
Figure 1. The Set of Real Numbers and Its Subsets
1.2. Properties of Real Numbers
1. Closure Property. The sum or product of
two real numbers is also a real number.
That is, for all real numbers a and b, then
a + b is a real number and ab is a real
number.
a(b+c) = ab+ac
Example 16. Consider the following sets:
Z ={...,−3,−2,−1,0,1, 2,3,...}
N ={1, 2,3,...}
S ={−1,0,1}
The following holds true:
i. Z is closed under addition, subtraction,
and multiplication.
ii. Z is NOT closed under division.
iii. N is closed under addition and
multiplication.
iv. N is NOT closed under subtraction and
division.
v. S is closed under multiplication.
vi. S is NOT closed under addition
subtraction, and division.
1.3. Some Theorems on Integers
Theorem 1.
Leta,b,cZ.
i.If a+b = a+c,thenb =c.
ii.If ab= ac,thenb =c.
Theorem 2.
ForanyaZ, a(0) =0(a) =0.
Theorem 3.
If a and b are two integers with ab = 0, then
either a = 0 or b = 0.
Theorem 4.
For any integer a, -(-a) = a.
Theorem 5.