If a and b are integers and
, a
divides b if there is an integer c such that
The notation
to mean that a divides b.
Be careful not to confuse "
" with "
" or "
". The notation
"
" is read "a divides b",
which is a statement --- a complete sentence
which could be either true or false. On the other hand, "
" is read "a divided by b". This is an
expression, not a complete sentence. Compare "6 divides 18"
with "18 divided by 6" and be sure you understand the
difference.
Example.
, since
. And
, since
.
The properties in the next proposition are easy consequences of the definition of divisibility; see if you can prove them yourself.
Proposition.
(a) Every nonzero number divides 0.
(b) 1 divides everything. So does -1.
(c) Every nonzero number is divisible by itself.
Proof. (a) If
, then
, so
.
(b) To take the case of 1, note that if
, then
, so
.
(c) If
, then
, so
.
Definition. An integer
is prime if its only positive
divisors are 1 and itself. An integer
is
composite if it isn't prime.
The first few primes are
The first few composite numbers are
Prime numbers play an important role in number theory.
From now on, when I write "
", I'll take it as
understood that x must be nonzero.
Proposition. Let
.
(In case you were wondering, mathematicians have different names for results which are intended to indicate their relative importance. A Theorem is a very important result. A Proposition is a result of less importance. A Lemma is a result which is primarily a step in the proof of a theorem or a proposition. Of course, there is some subjectivity involved in judging how important a result is.)
Proof. (a) Suppose
and
. This means that there are
numbers d and e such that
and
. Substituting the first equation into the second, I
get
, or
. This implies
that
.
(b) Suppose
and
. This means that there
are numbers d and e such that
and
. Then
To say it in words, if an integer a divides integers b and c, then a divides any linear combination of b and c.
Two important special cases of (b): If
and
, then
(c)
means
for some e, and
means
for some f. Therefore,
Example. Prove that if x is even, then
is divisible by 4.
x is even means that
.
and
implies that
by part (c) of the proposition.
and
implies that
by part (c) of the proposition.
Obviously,
.
Then
by part (b) of the proposition, so
, again by part (b) of the proposition.
Example. Prove that if a divides b, then a divides any multiple of b.
First, here's a proof which uses part (c) of the Proposition.
Assume that
. Let
be a multiple of b. I
want to show that
. I observed earlier that 1
divides everything, so
. Then
and
implies
by the Proposition, so
.
You can also use part (b) of the proposition.
Alternatively, here's a proof that uses the definition of
divisibility. Assume that
. Let
be a multiple of b. I want to show that
.
Since
, I have
for some c.
Multiplying both sides by d, I get
, i.e.
. This equation implies that
.
Here is an important result about division of integers. It will have a lot of uses --- for example, it's the key step in the Euclidean algorithm, which is used to compute greatest common divisors.
Theorem. ( The Division
Algorithm) Let a and b be integers, with
. There are unique integers q and r such that
Of course, this is just the "long division" of grade school, with q being the quotient and r the remainder.
Proof. The idea is to find the remainder r using Well-Ordering. What is division? Division is successive subtraction. You ought to be able to find r by subtracting b's from a till you can't subtract without going negative. That idea motivates the construction which follows.
Look at the set of integers
In other words, I take a and subtract all possible multiples of b.
If I choose
(as I can --- there's always an
integer less than any number), then
, so
. This choice of n produces a positive integer
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
. Thus,
, and
for some q (because
,
, and everything in S has this form).
Moreover, if
, then
, so
So
, but
. This contradicts my assumption that r was
the smallest element of T.
All together, I now have r and q such that
To show that r and q are unique, suppose
and
also satisfy these conditions:
Then
But r and
are two nonnegative numbers less than b, so
they are less than b units apart. This contradicts the last equation,
which says they are
units apart --- unless
. Since
, this forces
, or
. In addition,
, so
. This proves that r and q are
unique.
Example. Applying the Division Algorithm to 59 and 7 gives
The quotient is 8, the remainder is 3, and
.
Applying the Division Algorithm to -59 and 7 gives
The quotient is -9, the remainder is 4, and
.
Example. By the Division Algorithm, if a is an integer and I divide a by 4, there are four possible remainders: 0, 1, 2, and 3. This means that a can be written in one of the following forms:
This kind of idea is often the basis for proofs which consider these four cases. Even better, it's the idea behind for modular arithmetic, which I'll discuss shortly.
Finally, note that if n is a positive integer, then dividing a by n
leaves one of the n remainders 0, 1, ...,
.
The Division Algorithm is sometimes used in proofs, in the following way: Suppose you want to prove that m divides n and the divisibility rules don't work. Try applying the Division Algorithm to divide n by m, then use other information to show that the remainder must be 0. (Of course, in a given situation, there may be easier ways to show that m divides n.)
Send comments about this page to: bikenaga@marauder.millersville.edu.
Last updated: June 7, 2008
Millersville University Home Page
Copyright 2007 by Bruce Ikenaga