Skip to content

Divisibility Relations

Division of integers does not always produce an integer. For example,

Exact Division

Division of integers does not always produce an integer. For example,

12/3=4 12/3=4

is an integer, while

14/3 14/3

is not. Number theory is mainly concerned with exact division, where one integer divides another without leaving a remainder.

Let a,bZa,b\in\mathbb{Z}, with a0a\ne0. We say that aa divides bb, and write

ab, a\mid b,

if there exists an integer qq such that

b=aq. b=aq.

The integer qq is called the quotient.

For example,

312 3\mid 12

because

12=34. 12=3\cdot4.

But

314 3\nmid 14

because no integer qq satisfies

14=3q. 14=3q.

Divisors and Multiples

If

ab, a\mid b,

then aa is called a divisor of bb, and bb is called a multiple of aa.

For example, the positive divisors of 1212 are

1,2,3,4,6,12. 1,2,3,4,6,12.

The integer 1212 is a multiple of each of these numbers.

Every nonzero integer divides 00, since

0=a0. 0=a\cdot0.

Thus

a0 a\mid0

for every a0a\ne0.

On the other hand, 00 divides no integer under our definition, because division by zero is excluded.

Basic Properties

Divisibility satisfies several simple but important properties.

First, every nonzero integer divides itself:

aa, a\mid a,

because

a=a1. a=a\cdot1.

Second, 11 divides every integer:

1b, 1\mid b,

because

b=1b. b=1\cdot b.

Third, if

ab a\mid b

and

bc, b\mid c,

then

ac. a\mid c.

Indeed, if b=amb=am and c=bnc=bn, then

c=(am)n=a(mn), c=(am)n=a(mn),

so aca\mid c.

This property is called transitivity of divisibility.

Divisibility and Linear Combinations

A central property of divisibility is compatibility with addition.

If

ab a\mid b

and

ac, a\mid c,

then

a(b+c). a\mid (b+c).

Indeed, if

b=am b=am

and

c=an, c=an,

then

b+c=am+an=a(m+n). b+c=am+an=a(m+n).

Similarly,

a(bc). a\mid (b-c).

More generally, if aba\mid b and aca\mid c, then for any integers x,yx,y,

a(xb+yc). a\mid (xb+yc).

The expression

xb+yc xb+yc

is called an integer linear combination of bb and cc.

This fact is one of the foundations of greatest common divisors, Bézout identities, and the Euclidean algorithm.

Divisibility and Sign

Divisibility is insensitive to sign.

If

ab, a\mid b,

then

ab,ab,ab. -a\mid b, \qquad a\mid -b, \qquad -a\mid -b.

For example,

312,312,3(12). 3\mid12, \qquad -3\mid12, \qquad 3\mid(-12).

Because of this symmetry, one often studies positive divisors only.

The positive divisors of nn are the positive integers dd satisfying

dn. d\mid n.

Divisibility and Order

If aba\mid b and b0b\ne0, then the size of aa cannot exceed the size of bb, unless aa differs only by sign from bb. More precisely, if

ab, a\mid b,

then

ab |a|\le |b|

whenever b0b\ne0.

Indeed, b=aqb=aq for some nonzero integer qq. Therefore

b=aq. |b|=|a||q|.

Since q1|q|\ge1, it follows that

ab. |a|\le |b|.

This simple observation is often used to prove finiteness of divisor sets.

Units

An integer uu is called a unit if it divides 11. Thus uu is a unit when there exists an integer vv such that

uv=1. uv=1.

The only units in Z\mathbb{Z} are

1and1. 1 \quad\text{and}\quad -1.

Units are important because they do not change divisibility in an essential way. For example,

aanda a \quad\text{and}\quad -a

have exactly the same divisibility behavior up to sign.

Divisibility as a Relation

Divisibility is a relation on the integers, but it behaves differently from ordinary order.

It is reflexive:

aa a\mid a

for every nonzero integer aa.

It is transitive:

ab, bcac. a\mid b,\ b\mid c \quad\Longrightarrow\quad a\mid c.

However, it is not a linear order. For example, neither

23 2\mid3

nor

32 3\mid2

holds.

Thus divisibility defines a partial structure on the integers, not a total ordering.

Role in Number Theory

Divisibility is the first genuinely number-theoretic relation. It studies how integers contain one another multiplicatively.

Prime numbers are defined by their divisibility properties. Greatest common divisors measure shared divisibility. Congruences are defined through divisibility of differences:

ab(modn) a\equiv b\pmod n

means

n(ab). n\mid(a-b).

For this reason, divisibility is the gateway from elementary arithmetic to the central ideas of number theory.