1. Greatest Common Divisor
Elementary Number Theory is study of the integers Z without using techniques from other fields such as real and complex analysis, algebra, and topology. The subject does not assume any prerequisites other than mathematical fundamentals such as elementary set theory. The notes are based on the course that I am currently taking in UCLA from professor Chandrashekhar Khare.
This series will heavily follow: Underwood Dudley, Elementary Number Theory. (Amazon)
Definition: a,b∈Z, then we say that a divides b, or b is divided by a if there exists c∈Z such that ac=b and denote it a|b.
Example:
1) 12|60 because 5⋅12=60
2) 3∤10
3) a|0 for all a∈Z as 0=0⋅a.
Lemma: If d|a and d|b, then d|a+b.
Proof) There exist c1,c2 such that c1d=a,c2d=b. Adding the two equations we get d(c1+c2)|a+b. As c1+c2∈Z. By definition d|a+b.
The we can generalize the lemma as follows:
Lemma: (generalized) If d|ai and ci∈Z for i=0,…,r, then d|∑ri=1ciai.
Proof) There exists mi∈Z such that dmi=ai. Multiply ci on both side, then we get dcimi=ciai. Add them all together to get
d(r∑i=1cimi)=r∑i=1ciai
Again by definition, d|∑ri=1ciai.
In order to define the greatest common divisor, we need a statement that is equivalent of choice of axiom. For those who do not know the choice of axiom or the well-ordering axiom, just consider it as a self-evident statement that cannot be proved, and has to be assumed. Well-ordering Axiom takes two forms: "Least Integer Principle" says that
Any nonempty set S of integers that is bounded below has a smallest element. (i.e. there exists m∈S such that s≥m for all s∈S)
And equivalently, "Greatest integer Principle" says that
Any nonempty set S of integers that is bounded above has a largest element. (i.e. there exists m∈S such that s≤m for all s∈S.)
Definition: Let a,b∈Z not both equal to 0, then we say that an integer d is the greatest common divisor(gcd) denoted gcd(a,b) of a,b if d=gcd(a,b) satisfies the following properties:
1) d|a and d|b
2) If c is such that c|a and c|b, then c≤d.
Equivalently,
2') If c is such that c|a and c|b, then c|d.
It is easy to see that 2′)⇒2), but the converse will need justification.
Remark: 1) gcd(0,0) is not well-defined as any number can divide 0, hence there is no "greatest" such divisor.
2) The set { common divisors of a and b} is bounded above by the max{±a,±b}, and it is nonempty because 1|a and 1|b, hence we can define gcd(a,b) to be the largest element, hence we have shown that there exists the greatest common divisor.
3) Suppose we have two d,d′ greatest common divisor, then d≤d′ and d′≤d by 2) property of the greatest divisors above, hence d=d′.
4) As 1 is a divisor of all integer gcd(a,b)≥1.
Examples: gcd(6,45)=3, gcd(8,−32), gcd(−3,0)=3 and gcd(17,19)=1.
Definition: Let a,b∈Z, and gcd(a,b)=1 (i.e. they don't share any common divisor other than ±1), then a and b is relatively prime (or coprime).
This series will heavily follow: Underwood Dudley, Elementary Number Theory. (Amazon)
Definition: a,b∈Z, then we say that a divides b, or b is divided by a if there exists c∈Z such that ac=b and denote it a|b.
Example:
1) 12|60 because 5⋅12=60
2) 3∤10
3) a|0 for all a∈Z as 0=0⋅a.
Lemma: If d|a and d|b, then d|a+b.
Proof) There exist c1,c2 such that c1d=a,c2d=b. Adding the two equations we get d(c1+c2)|a+b. As c1+c2∈Z. By definition d|a+b.
The we can generalize the lemma as follows:
Lemma: (generalized) If d|ai and ci∈Z for i=0,…,r, then d|∑ri=1ciai.
Proof) There exists mi∈Z such that dmi=ai. Multiply ci on both side, then we get dcimi=ciai. Add them all together to get
d(r∑i=1cimi)=r∑i=1ciai
Again by definition, d|∑ri=1ciai.
In order to define the greatest common divisor, we need a statement that is equivalent of choice of axiom. For those who do not know the choice of axiom or the well-ordering axiom, just consider it as a self-evident statement that cannot be proved, and has to be assumed. Well-ordering Axiom takes two forms: "Least Integer Principle" says that
Any nonempty set S of integers that is bounded below has a smallest element. (i.e. there exists m∈S such that s≥m for all s∈S)
And equivalently, "Greatest integer Principle" says that
Any nonempty set S of integers that is bounded above has a largest element. (i.e. there exists m∈S such that s≤m for all s∈S.)
Definition: Let a,b∈Z not both equal to 0, then we say that an integer d is the greatest common divisor(gcd) denoted gcd(a,b) of a,b if d=gcd(a,b) satisfies the following properties:
1) d|a and d|b
2) If c is such that c|a and c|b, then c≤d.
Equivalently,
2') If c is such that c|a and c|b, then c|d.
It is easy to see that 2′)⇒2), but the converse will need justification.
Remark: 1) gcd(0,0) is not well-defined as any number can divide 0, hence there is no "greatest" such divisor.
2) The set { common divisors of a and b} is bounded above by the max{±a,±b}, and it is nonempty because 1|a and 1|b, hence we can define gcd(a,b) to be the largest element, hence we have shown that there exists the greatest common divisor.
3) Suppose we have two d,d′ greatest common divisor, then d≤d′ and d′≤d by 2) property of the greatest divisors above, hence d=d′.
4) As 1 is a divisor of all integer gcd(a,b)≥1.
Examples: gcd(6,45)=3, gcd(8,−32), gcd(−3,0)=3 and gcd(17,19)=1.
Definition: Let a,b∈Z, and gcd(a,b)=1 (i.e. they don't share any common divisor other than ±1), then a and b is relatively prime (or coprime).
Comments
Post a Comment