Section 4.1 Divisibility
We begin by introducing terminology.
Definition 4.1.
Suppose that for integers \(a\) and \(b\text{,}\) there is an integer \(q\) such that \(a = b \cdot q\text{.}\) Then \(b\) divides \(a\text{.}\)
By
Definition 4.1 if
\(b\) divides
\(a\text{,}\) then
\(a = b \cdot q\) for some integer
\(q\text{.}\) Then we have
\(a = b \cdot q + 0\) so that in particular
\(a \fmod b = 0\text{.}\) If
\(b\) does not divide
\(a\text{,}\) then
\(a \fmod b\ne 0\text{.}\) It follows immediately that if
\(b\) divides
\(a\) then
\(b\le a\text{.}\)
Problem 4.2. Determine divisibility.
For the given values of \(a\) and \(b\text{,}\) determine whether or not \(b\) divides \(a\text{.}\) If \(b\) divides \(a\text{,}\) determine the integer \(q\) such that \(a = b \cdot q\text{.}\)
\(a=30\) and \(b=10\)
\(a=2\) and \(b=46\)
\(a=29\) and \(b=4\)
Solution.
In each case we consider the remainder \(a\fmod b\) of the division \(a\) and \(b\text{.}\)
We compute \(30 \fmod 10 = 0\text{.}\) So \(10\) divides \(30\text{.}\) Furthermore, we have that \(30\fdiv 10=3\) so \(30=10\cdot 3\text{.}\)
We compute \(2 \fmod 46 = 2\ne 0\text{.}\) So \(46\) does not divide \(2\text{.}\) (Be careful not to mix up \(a\) and \(b\) during the division or the conclusion. The order matters. It turns out that \(2\) does divide \(46\) since \(46 = 2\cdot 23\text{.}\))
We compute \(29 \fmod 4 = 1\ne 0\text{.}\) So \(4\) does not divide \(29\text{.}\)
Checkpoint 4.3. Determine divisibility.
There are several other formulations for \(b\) divides \(a\text{.}\)
Definition 4.4.
Let \(a\) and \(b\) be integers. If \(b\) divides \(a\) we also say:
\(a\) is divisible by \(b\)
\(a\) is a multiple of \(b\)
\(b\) is a divisor of \(a\)
\(b\) is a factor of \(a\)
In
Checkpoint 4.5 we give several statements about divisibility formulated in various ways. Decide which statements are true and which statements are false.
Checkpoint 4.5. Decide which statements are correct.
If a number divides two other numbers, it divides their sum.
Theorem 4.6.
Let \(b\) be a natural number and let \(a\) and \(c\) be integers. If \(b\) divides \(a\) and \(b\) divides \(c\text{,}\) then \(b\) divides \(a+c\text{.}\)
Proof.
As \(b\) divides \(a\text{,}\) there is an integer \(q\) such that \(a=b\cdot q\text{.}\) As \(b\) divides \(c\text{,}\) there is an integer \(s\) such that \(c=b\cdot s\text{.}\) With substitution and the distributive property we obtain
\begin{equation*}
a+c=(b\cdot q)+(b\cdot s)=b\cdot(q+s)\text{.}
\end{equation*}
Thus \(a+c\) is a multiple of \(b\) which means that \(b\) divides \(a+c\text{.}\)
Example 4.7.
Let \(b:=10\) and \(a:=100\) and \(c:=1000\text{.}\) Then \(b\) divides \(a\) and \(b\) divides \(c\text{.}\) Also \(b\) divides \(a+c=1100\text{.}\)