0% found this document useful (0 votes)
19 views5 pages

Divisibility

The document discusses the concept of divisibility in integers, introducing the Division Algorithm which states that for any integers a and b (with b > 0), there exist unique integers q and r such that a = bq + r, where 0 ≤ r < b. It also explains the Well-Ordering Axiom and provides examples and proofs related to divisibility properties, including the uniqueness of the quotient and remainder. Additionally, it presents various propositions and examples to illustrate the application of divisibility in mathematical proofs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views5 pages

Divisibility

The document discusses the concept of divisibility in integers, introducing the Division Algorithm which states that for any integers a and b (with b > 0), there exist unique integers q and r such that a = bq + r, where 0 ≤ r < b. It also explains the Well-Ordering Axiom and provides examples and proofs related to divisibility properties, including the uniqueness of the quotient and remainder. Additionally, it presents various propositions and examples to illustrate the application of divisibility in mathematical proofs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1-17-2018

Divisibility
You probably know that division can be defined in terms of multiplication. If m and n are integers, m
divides n if n = mk for some integer k. In this section, I’ll look at properties of the divisibility relation.
I’ll begin by discussing the Division Algorithm, which tells you something you’ve known since grade
school — namely, that you can divide one integer by another. Note that this isn’t the long-division algorithm,
which tells you how to divide one integer by another. The Division Algorithm follows from the Well-Ordering
Axiom for the nonnegative integers.

Well-Ordering Axiom. The positive integers Z+ are well-ordered — that is, every nonempty subset of
the positive integers has a smallest element.

Even though your experience with the integers may lead you to think this is obvious, it’s actually an
axiom of the positive integers Z+ . It has many important consequences; mathematical induction is one,
and the Division Algorithm is another.
Note that Well-Ordering applies to nonempty subsets of the nonnegative integers as well. If such a
subset contains 0, then 0 is the smallest element; if the subset doesn’t contain 0, then it consists of only
positive integers, and Well-Ordering for the positive integers implies that it has a smallest element.

Example. (Applying the Well-Ordering Axiom) Show that there is no positive integer less than 1.

In this proof, I’m going to assume familiar facts about inequalities involving integers, since the point is
to illustrate how you might use Well-Ordering.
Suppose that there is a positive integer less than 1. Let S be the set of positive integers less than 1.
Then S is nonempty, so by Well-Ordering, S has a smallest element.
Suppose that x is the smallest element of S. Now 0 < x < 1, so multiplying by x, I get

0 < x2 < x, and x < 1, so 0 < x2 < x < 1.

Thus, x2 is a positive integer less than 1 which is smaller than x. This is a contradiction. Therefore,
there is no positive integer less than 1.

Theorem. (The Division Algorithm) Let a and b be integers, with b > 0. There are unique integers q
and r such that
a = b · q + r, and 0 ≤ r < b.

Of course, q is the quotient and r is the remainder.

Proof. What is division? Division is successive subtraction. Therefore, you ought to be able to find r by
subtracting multiples of b from a until the result becomes negative. For example, if you’re dividing 23 by 7,
you’d do this:

23 − 7 = 16, 23 − 2 · 7 = 9, 23 − 3 · 7 = 2, 23 − 4 · 7 = −5. (Negative!)

The quotient is 3 — the last multiple of 7 which gave a nonnegative result. The last nonnegative result
is the remainder, which is 2.
To do the proof, I have to take the idea exhibited in this example and write it out in general (with a,
b, q, and r instead of specific numbers).
Look at the set of integers
S = {a − bn | n ∈ Z}.

1
a
If I choose n < (as I can — there’s always an integer less than any number), then bn < a, so a−bn > 0.
b
This choice of n produces a positive integer a − bn in S. So the subset T consisting of nonnegative integers
in S is nonempty.
Since T is a nonempty set of nonnegative integers, I can apply Well-Ordering. It tells me that there is
a smallest element r ∈ T . Thus, r ≥ 0, and r = a − bq for some q (because r ∈ T , T ⊂ S, and everything in
S has this form).
Moreover, if r ≥ b, then r − b ≥ 0, so

a − bq − b ≥ 0, or a − b(q + 1) ≥ 0.

So a − b(q + 1) ∈ T , but r = a − bq > a − b(q + 1). This contradicts my assumption that r was the
smallest element of T .
All together, I now have r and q such that

a = b · q + r, and 0 ≤ r < b.

To show that r and q are unique, suppose r′ and q ′ also satisfy these conditions:

a = b · q ′ + r′ , and 0 ≤ r′ < b.

Then
b · q + r = b · q ′ + r′ , so b(q − q ′ ) = r′ − r.
But r and r′ are two nonnegative numbers less than b, so they are both in the range 0 ≤ x < b.
Therefore, they have to be less than b units apart. But the last equation says they are |b(q − q ′ )| units apart
— a multiple of b).
The only way r and r′ can be less than b units apart and a multiple of b units apart is if the multiple
in question is 0. That is, |b(q − q ′ )| = 0. Since b > 0, this means that q − q ′ = 0, or q = q ′ . If I plug q = q ′
back into b(q − q ′ ) = r′ − r, I find that r′ − r = 0, so r = r′ . This proves that r and q are unique.

Example. (Applying the Division Algorithm) (a) Find the quotient and remainder when the Division
Algorithm is applied to divide 99 by 13.

(b) Find the quotient and remainder when the Division Algorithm is applied to divide −99 by 13.
(a)
99 = 7 · 13 + 8.
The quotient is 7 and the remainder is 8. According to the proof of the theorem, 8 should be the smallest
positive number of the form 99 + k · 13. In this case,

8 = 99 + (−7) · 13.

Clearly, adding multiples of 13 to 99 + (−7) · 13 will give numbers larger than 8, whereas subtracting
multiples of 13 from 99 + (−7) · 13 will give negative numbers.

(b)
−99 = (−8) · 13 + 5.
Note that 0 ≤ 5 < 13. I don’t write −99 = (−7) · 13 + −8 (even though the equation is correct), because
−8 is not between 0 and 13. The Division Algorithm always produces a nonnegative remainder.

Definition. If m and n are integers, then m divides n if mk = n for some integer k.

2
The notation m | n means that m divides n; m 6 | n means that m does not divide n.

Remarks. (a) Some people prefer to require that m 6= 0 when you write “m | n”. Note that if m = 0 and
m | n, then 0 | n. This means 0 · k = n for some k, so n = 0. So the only divisibility statement you can make
of the form “0 | n” is “0 | 0”, which isn’t that interesting.
This issue is different from the idea that “you can’t divide by 0”, which means that 0 does not have a
multiplicative inverse. We’ll see later that in any commutative ring with identity, 0−1 can’t be defined
(unless the ring is the zero ring).
The definition of divisibility above makes no reference to multiplicative inverses or an operation of
division: It’s defined entirely in terms of multiplication.
n
(b) Be careful not to write “ ”, “n/m”, or “n ÷ m” when you mean “m | n”!
m
n
“ ”, “n/m”, and “n ÷ m” all mean “n divided by m”. Notice that this isn’t a statement, since it’s not
m
a complete sentence that can be true or false — it’s an expression. On the other hand, “m | n” means “m
divides n”, which is a statement.

Example. Apply the definition of divisibility to show that:

(a) 6 | 72.

(b) −8 | 24.

(c) 1 | n for all n ∈ Z.

(d) n | 0 for all n ∈ Z.

(a) Since 6 · 12 = 72, I have 6 | 72.

(b) Since (−8) · (−3) = 24, I have −8 | 24.

(c) Since 1 · n = n, I have 1 | n for all n ∈ Z.

(d) Since n · 0 = 0, I have n | 0 for all n ∈ Z.

Proposition.

(a) Let m, n ∈ Z. If m | n and n | p, then m | p.

(b) Let m, n, p ∈ Z. If m | n and m | p, then m | an + bp for all a, b ∈ Z.

This is often expressed by saying that if m divides two numbers, it divides any integer linear combi-
nation of the two numbers.

(c) Let m, n ∈ Z. If m | n, then m | an for all a ∈ Z.

(d) Let m, n, p ∈ Z. If m | n and m | p, then m | n + p.

This is often expressed by saying that if m divides two numbers, it divides their sum. It’s also true that
if m divides two numbers, it divides their difference.

(e) If m | n and m, n ∈ Z+ , then m ≤ n.

Proof. The idea in divisibility proofs is often to translate statements like “m | n” into equations like
“mk = n”, then work with the equations.

(a) m | n implies mk = n for some k. n | p implies nj = p for some j. Substituting the first equation into

3
the second gives
(mk)j = p, i.e. m(kj) = p.
Therefore, m | p.

(b) m | n implies mj = n for some j. And m | p implies mk = p for some k. Then

an + bp = a(mj) + b(mk) = n(aj + bk).

Hence, m | an + bp.

(c) Taking b = 0 and p = 0 in (b), I find that m | n and m | 0 implies

m | an + 0 · 0 = an.

(d) Taking a = b = 1 in (b), I find that m | n and m | p implies

m | 1 · n + 1 · p = n + p.

(e) Suppose m | n and m, n ∈ Z+ . m | n implies mk = n for some k ∈ Z; k must be a positive integer, since
m and n are positive integers. Thus, k ≥ 1, and multiplying both sides of this inequality by m gives

n = mk ≥ m.

Example. (Proving a divisibility property) (a) Give an example of integers m and n such that | n and
n | n but m 6= n.

(b) Prove that if m and n are positive integers, m | n, and n | m, then m = n.

(a) 7 | −7 and −7 | 7, but 7 6= −7.

(b) One approach is to use property (e) of the preceding lemma. Since m and n are positive integers, m | n
implies m ≤ n, and n | m implies n ≤ m. The two inequalities imply that m = n.
Here’s another proof which uses the definition of divisibility.
Since m | n, ma = n for some a ∈ Z. Since n | m, nb = m for some b ∈ Z. Hence, m(ab) = m. Since
m > 0, I may cancel it from both sides to obtain ab = 1.
a and b are integers, so either a = b = 1 or a = b = −1. But if a = −1, then m · (−1) = n, which is
impossible since m and n are positive. Therefore, a = 1, so m = n.

Example. (Even and odd integers) An integer n ∈ Z is even if 2 | n. An integer is odd if it is not even.

(a) Prove that even integers can be written in the form 2m for some m ∈ Z, and odd integers can be written
in the form 2m + 1 for some m ∈ Z.

(b) Prove that if n ∈ Z is even, so is n2 + 5n + 6.

If n is even, then 2 | n, so 2m = n for some m ∈ Z.


Suppose n is odd. Use the Division Algorithm to divide n by 2, obtaining a quotient of m and a
remainder of r:
n = 2m + r, where 0 ≤ r < 2.
Now 0 ≤ r < 2 implies that r = 0 or r = 1. If r = 0, the equation says n = 2m, which means that n is
even. But n was odd, so this is a contradiction. Therefore, r = 1, and n = 2m + 1.

4
(b) Suppose n ∈ Z is even. By (a), n = 2m for some m ∈ Z. Then

n2 + 5n + 6 = (2m)2 + 5(2m) + 6
= 4m2 + 10m + 6
= 2(2m2 + 5m + 3)

I’ve expressed n2 + 5n + 6 as 2 times an integer, so n2 + 5n + 6 is even.

Note: In this proof, I’m only using properties of divisibility and the definition of “even”. So (for instance)
I can’t stop with “4m2 + 10m + 6” and say that “the sum of even numbers is even”, because I haven’t proven
yet that the sum of even numbers is even.

Example. Is there an integer n such that 7 | n2 + n + 1 and 7 | n + 1?

No. Assume that 7 | n2 + n + 1 and 7 | n + 1 for some n. Then 7 must divide any integer linear
combination of n2 + n + 1 and n + 1, so

7 | (n2 + n + 1) − n(n + 1) = n2 + n + 1 − n2 − n = 1.

This contradiction shows that there is no such n.

Example. Prove that if m is a positive integer and n is an integers such that m | 4n + 7 and m | 3n + 5,
then m = 1.

One of the divisibility properties implies that m must divide any integer linear combination of 4n + 7
and 3n + 5. So the idea is to construct a linear combination of 4n + 7 and 3n + 5 which adds up to 1. If
this is to happen, the n’s have to cancel; one way to get this to happen is to switch the “4” and the “3” and
negate one of them:
m | 3(4n + 7) − 4(3n + 5) = 1.
Since m is a positive integer which divides 1, I must have m = 1.

c 2018 by Bruce Ikenaga 5

You might also like