1.1.1. Divisibility
This section is based on [BUR11, Sec. 2.2, Sec. 2.3].
We begin with a basic but fundamental definition.
Definition 1.1.1.1.
Notation 1.1.1.2.
Let and be integers. If divides , we write ; otherwise, we write . In symbols,
Remark 1.1.1.3.
If and are integers, then divides if and only if the rational number is an integer.
Warning 1.1.1.4.
Let be an integer. The expression is undefined (even if ). In contrast, the notation is a shorthand for the following statement:
There exists such that ,
which holds if and only if (Proposition 1.1.1.6(4)). Unlike Definition 1.1.1.1, the definition of divisibility in [BUR11, Def. 2.1] requires the divisor to be non-zero.
Example 1.1.1.5.
We have since . Similarly, since
More generally, the divisors of are the integers
The divisibility relation on the set of integers has the following properties.
Proposition 1.1.1.6.
Let . The following statements hold:
-
(1)
.
-
(2)
.
-
(3)
.
-
(4)
if and only if .
-
(5)
if and only if or .
-
(6)
if and only if .
-
(7)
if and only if .
-
(8)
and if and only if or .
-
(9)
If and , then .
-
(10)
If and , then .
-
(11)
If and , then for all .
Proof.
We provide a proof of all statements for the sake of completeness.
(1) .
(2) .
(3) .
(4) If with , then . Conversely, .
(5) If and , then . In particular, so that or . Conversely, .
(6) Let . Then if and only if .
(7) Let . Then if and only if .
(8) Let be such that and . We distinguish two cases:
-
•
If , then implies . By (5), or . Using that , it follows that or .
-
•
If , then . The conclusion holds trivially in this case.
For the converse, the case is clear, and for we observe that
(9) Let be such that and . Then
(10) Let be such that and . Then
(11) Let be such that and . Then
Remark 1.1.1.7.
Let . Statements (6) and (7) in Proposition 1.1.1.6 say that the validity of the statement is preserved when changing the sign of either or . In particular, divides if and only if divides .
The following theorem formalises the familiar procedure of division with remainder.
Theorem 1.1.1.8 (Division with remainder).
Let with . Then there exist unique such that
Proof.
We first treat the case , so that .
Existence of and . Consider the set
We claim that . Indeed, for ,
and
Let be its smallest element. By definition of the set , the inequality holds and there exists such that . We claim that . Indeed, if , then and
Thus, . Since , we have , in contradiction to the minimality of . This finishes the proof of the existence of integers and with the required properties.
Uniqueness of and . Let be such that
Then
Equivalently,
Thus, it is enough to show that , since this implies by the previous equality. Moreover, implies . Since , it follows that
and, dividing by ,
Since , we must have or, equivalently, . This finishes the proof of the uniqueness of and .
We now consider the case . Applying what we just proved to and , there exist unique integers such that
The uniqueness of and (for the pair , ) follows directly from the uniqueness of and (for the pair , ). ∎
Definition 1.1.1.9.
Let with . Let be the unique integers such that
see the Division with Remainder Theorem (Theorem 1.1.1.8). The integer is called the quotient of divided by and is called the remainder.
Remark 1.1.1.10.
Let with . Then if and only if dividing by has remainder ; in this case, is the corresponding quotient.
Example 1.1.1.11.
Let be an integer. Then , so that is the quotient of dividing by , and the remainder is .
Example 1.1.1.12.
Not covered in the lectureLet and . Then , so that is the quotient of dividing by and the remainder is .
Example 1.1.1.13.
Not covered in the lectureLet and . Then so that is the quotient of dividing by and the remainder is . We also have , but satisfies instead.