The set of integers. The set of positive integers. The set of natural numbers {0,1,2,...}.

The Integers

One of the most important sets in all of mathematics is the set Z of integers:

Z = {...,-3,-2,-1,0,1,2,3...}.

In spite of centuries of effort by the greatest mathematical minds, there are many simple problems concerning Z which cannot be settled at the present time. For example, consider the problem of Fermat which was mentioned in historical perspectives, concerning the nonexistence of nonzero solutions of the equation xn + yn = zn, x,y,z integers, n > 3. The reader is undoubtedly familiar with the integers, and some of the properties of integers will seem like obvious consequences of everyday experiences with them. It is our intention to make use of this experience by assuming a certain number of basic properties of the integers. We will then make a number of deductions from our basic properties and will thereby prove a number of facts concerning integers which are, in some sense, less obvious than our basic properties.

It is possible to construct the integers in terms of sets and to verify all the basic properties from the properties of sets. However, this is a rather drawn-out process, and would take us far afield from our central area of interest, so we will resist the temptation to provide a complete development of the integers.

The Basic Properties of Z

In the following discussion, we will present five basic sets of properties of the integers. Mathematicians have distilled these properties of the integers during centuries of investigations. The properties which we will assume have two convenient features: They agree with our preconceived notions about the integers and they form a natural point of departure for the development of less elementary properties.

On the set of integers, there are defined two binary operations, one called addition (denoted +) and one called multiplication (denoted ·). Our first three sets of properties of the integers are just some familiar properties of + and · .

I. Properties of Addition

A1. Associativity: If a,b,c element of Z, then (a + b) + c = a + (b + c).

A2. Commutativity: If a,b element of Z, then a + b = b + a.

A3. Identity: If a element of Z, then a + 0 = 0 + a = a.

If a element of Z, then there exists a unique integer b such that a + b = b + a = 0. b is called the inverse of a with respect to addition and is denoted -a.

A4. Inverses: If a element of Z, then there exists a unique integer b such that a + b = b + a = 0. b is called the inverse of a with respect to addition and is denoted -a (read:minus a). Note that our notation for integers in such a way that the inverse of 2, say, is the integer -2.

II. Properties of Multiplication

M1. Associativity: If a,b,c element of Z, then (a · b) · c = a · (b · c).

M2. Commutativity: If a,b element of Z, then a · b = b · a.

M3. Identity: If a element of Z, then a · 1 = 1 · a = a.

III. Distributive Law

Addition and multiplication in Z are related by the distributive law which asserts that if a,b,c element of Z, then

a · (b + c) = a · b + a · c.

At this point, let us cite some rules for calculating with integers. These rules are familiar from high school algebra and can easily be deduced from I, II, and III. Let x,y,z element of Z. Then we have

(1)
-0 = 0, 0 · x = 0,
(2)
-(x + y) = -x + (-y),
(3)
-(-x) = x,
(4)
(-1) · x = -x,
(5)
(-x) · (-y) = x · y,
(6)
x · (-y) = (-x) · y = -(x · y).

By way of illustration, let us prove (3). By A4, -y is the unique integer which has the property y + (-y) = 0, in particular, we set y = -x, then -(-x) is the unique integer having the property -x + [-(-x)] = 0. However, by A4, -x + x = 0. Therefore, by the uniqueness, we have x = -(-x). Hereafter, we will use rules (1)-(6) without explicit reference to them.

The elements of the set

P = {1,2,3,...}

are called positive integers. The set P of positive integers is a subset of Z. Our next set of properties concerns the positive integers.

IV. Properties of Positive Integers

Exactly one of the following is true:
a element of P, a = 0, -a element of P.
If x,y element of P, then x · y element of P.

P0. Let a element of Z. Then exactly one of the following is true: a element of P, a = 0, -a element of P.

P1. If x, y element of P, then x = y element of P.

P2. If x, y element of P, then x · y element of P.

The set

N = P union (0} = {0,1,2,3,...}

is called the set of natural numbers.

Our last basic property of Z is the principle of mathematical induction.

V. Principle of Mathematical Induction

Let S be a nonempty subset of the set of positive integers P. Assume that
(a) 1 element of S and
(b) whenever n element of S we have n + 1 element of S. Then S contains all positive integers.

In more formal developments of the integers, the principle of mathematical induction is the basic tool available to prove theorems and, in fact, all the preceding basic properties may be deduced by using the principle of mathematical induction and a set of axioms for N called Peano's axioms.

The principle of mathematical induction can be used to prove theorems as follows:Suppose that for each positive integer n, we have a given proposition Pn. Suppose further that we are able to show that P1 is true and that whenever Pn is true, Pn+1 is true. Then Pn is true for every positive integer n. Indeed if S={n element of P | Pn is true}, then 1 element of S, and if n element of S, then n + 1 element of S, so that S=P by V. A useful variant of the principle of mathematical induction is given by the following:

For each positive integer n there is a proposition Pn. Suppose also that (a) P1 is true and that (b) whenever Pm is true for all m < n, m is a positive integer, we have Pn+1 is true. Then Pn is true for every positive integer n.

V'. Variant of Mathematical Induction Principle

Suppose that for each positive integer n there is a proposition Pn. Suppose also that
(a) P1 is true and that
(b) whenever Pm is true for all m < n, m is a positive integer, we have Pn+1 is true.
Then Pn is true for every positive integer n.

Let us illustrate the use of the principle of mathematical induction by means of a number of examples.


Example 1: Let us prove that in n is a positive integer, then

1 + 2 + ... + n = n(n + 1)/2

Let Pn denote this proposition. It is clear that P1 is true since 1 = [1 · (1 + 1)]/2.If Pn is true, then

1 + 2 + ... + n = n(n + 1)/2.

But then by adding n + 1 to both sides of the equation, we derive that

1 + 2 + ... + n + (n + 1) = n(n + 1)/2 + (n + 1) = (n + 1)(n + 2)/2

and thus Pn+1 is true. Thus, by the principle of mathematical induction, Pn is true for all n element of P.

Example 2: Let S be a set containing n elements. Then S contains 2n subsets.

Denote this proposition by Pn. It is clear that P1 since if S={a} then the subsets of S are {a} and empty set. Assume that Pn is true, and let S={a1,...,an,an+1}. By the principle of mathematical induction, it suffices to show that S has 2n+1 subsets, assuming Pn. Let S0 = {a1,...,an}. By our assumption S0 has 2n subsets T1,...,T2n.Let T be a subset of S. There are two cases: If T is contained in S0, then T is one of T1,...,T2n. If T is not contained in s0, then an+1 element of T and T-{an+1} is contained in S0. Thus in the second case, T-{an+1} is one of T1,...,T2n and T is one of

T1union{an+1},...,T2n union{an+1}.

We have exhibited 2 · 2n = 2n+1 subsets of S. Thus Pn+1 holds and we are done.

Example 3: Definition by induction. It is possible to use mathematical induction to define various mathematical concepts. The basic idea of this process of "definition by induction" is as follows: Suppose that it is required to define a function f:PmapsA, where A is some given set. This may be done by
(a) specifying f(1) and
(b) specifying f(n + 1) in terms of f(1),f(2),...f(n).
If S={n element of P | f(n) is defined}, then by V', S=P and f is defined for all positive integers n. For example, let us define the nth power an of an integer as follows:

a0 = 1,
a1 = a,
an+1 = an · a.

By principle of mathematical induction, an is defined for n a positive integer or 0.

Example 4: Let x,y element of Z and let m and n be positive integers or 0. Then the following laws of exponents hold:

(7)
(x·y)m = xm · ym,
(8)
xm · xn = xm+n,
(9)
(xm)n = xm·n.

Feel free to complete the proof of these yourself.

Order

Let a and b be integers. We say that a is greater than b, denoted a>b, if a-b is a positive number. Thus, in particular, if a element of P, then a > 0, and conversely, if a > 0, then a element of P. In other words, the positive integers are precisely those which are greater than 0. If a is greater than b, then we say b is less than a, and we write b < a. We will use the notation a < b to mean that either a < b or a = b. Let us verify some of the elementary properties of the relations "greater than" and "less than."

Exactly on of the following holds:
x < y, x = y, x > y.

O1. Exactly on of the following holds: x < y, x = y, x > y.

For, by P0, exactly one of the following holds:

y-x element of P, y - x = 0, -(y - x) element of P.

In the first case x < y, while in the second x = y. Noting that -(y - x) = x - y, we see that in the third case, x > y Thus, at least one of the conditions x < y, x = y, x > y holds.

O2. If x < y, y < z, then x < z.

If x < y and z < w, then x + z < y + w.

O3. If x < y and z < w, then x + z < y + w.

A simple application of O2 and O3 shows that there are no integers between 0 and 1. More precisely, we have

If b is a positive integer. Then b is greater than or equal to 1 Proposition 1: Suppose that b is a positive integer. Then b is greater than or equal to 1.

Proof: Let us proceed by induction. The assertion is clearly true for b = 1. Let us assume that the assertion is true for b that is b > 1. By O3 (above), we see that b + 1 > 1 + 1. However, 1 is positive, so that 1 > 0. [For if 1 were not positive, -1 would be positive by P0, therefore by P2, 1 = (-1) · (-1) is positive, which is a contradiction.] Therefore, by O3, 1 + 1 > 1 + 0 = 1. Thus, we see that

b + 1 > 1 + 1, 1 + 1 > 1.

Therefore by O2

b + 1 > 1,

which implies our assertion for b + 1. Therefore, the proposition is proved.

Let x and y be integers. If x > y, then x > y + 1.

Corollary 2: Let x and y be integers. If x > y, then x > y + 1.

Proof: If x > y, then x-y is positive, so that by Proposition 1, x-y>1. Thus by O3, x>y + 1.

We will require one additional basic property of inequalities:

If x < y and z > 0 then xz < yz.
If x < y and z < 0 then xz > yz.

O4a. If x < y and z > 0 then xz < yz.

O4b. If x < y and z < 0 then xz > yz.

For if x < y then z > 0, then z and y - x belong to P, so that by P2, (y - x) · z = yz - xz belongs to P. Therefore, xy < yz, whence O4a. If x < y and z < 0, then -z > 0 by P0, so that by O4a, we see that x(-z) < y(-z). In other words,xz - yz = y(-z)-x(-z) element of P, which implies that xz > yz.

Another easy consequence of Proposition 1 is given by

Let a and b positive integers. Then there exists a positive integer n such that a < nb.

Corollary 3: Let a and b positive integers. Then there exists a positive integer n such that a < nb.

Proof: Set n = a + 1. For then n · b = ab + b. However, by Proposition 1 and O4, ab > a · 1 = a, b > 1 > 0. Therefore by O3,

nb > a + 0 = a.

A very important property of Z is the fact that if a and b are nonzero integers, then a · b is nonzero. The simplest way to see this is to divide the reasoning up into four cases: a > 0, b > 0; a > 0, b < 0; a < 0, b > 0; a < 0, b < 0. In each case, we may apply O4 to conclude that either a·b > 0 or a · b < 0. In any case, a · b not equal 0. Let us record this important fact for later reference.

Theorem 4: Let a and b be nonzero integers. Then a · b not equal 0.

If S is a subset of Z, then an integer s is said to be the least(or smallest )element of S if s element of S and s < t for all t belonging to S. Similarly s is said to be the greatest (or largest) element of S if s element of S and s > t for all t belonging to S. Not every subset of Z has a greatest or least element. For example, if S = Z, then S has neither a largest nor smallest element. However, it is reasonably clear from property O1 that we have the following result.

Proposition 5: Let S be a finite, nonempty subset of Z. Then S has a largest and smallest element.

A somewhat more difficult result to prove is the well-ordering principle:

Theorem 6: Let S be a nonempty (finite or infinite) subset of N. Then S contains a smallest element.

Proof: The following argument makes a rather interesting use of the principle of mathematical induction. Let A = {y element of N | y < x for all x element of S}. Since Ssubset ofN, 0 < s for all s element of S, so that 0 element of A and Anot equalempty set. Moreover Anot equalN. For if x element of S, then x + 1 > x and thus x + 1 not an element of A. Since 0 element of A and Anot equalN, the principle of mathematical induction implies that there exists y element of A such that y + 1not an element ofA. (If, whenever y element of A, we have y + 1 element of A, then, since 0 element of A, we would have A = N by induction.) Let us prove that y is the smallest element of S. Since y element of A, y < x for all x element of S. Therefor it suffices to show that y element of S. Since y + 1 not an element of A, there exists x0 element of S such that y + 1 > x0. But then by Corollary 2, we see that y + 1 > x0 + 1, so that y > x0 by O3. However, since y < x for all x element of S, we see that y < x0. Combining this latter inequality with the inequality y > x0, we see that y = x0 element of S.

The Division Algorithm

Let a be a nonnegative integer and let b be a positive integer. In elementary arithmetic, we learned how to "divide" a by b, thereby deriving a quotient q plus a remainder of the form r/b, where

(10)
0 < r/b < 1.

This process of division can be expressed by the equation

(11)
a/b = q + r/b.

It is possible to formulate the process of division, as described by (10) and (11), solely in terms of integers.

Theorem 7(Division Algorithm): Let a be a nonnegative integer and let b be a positive integer. Then there exist natural numbers q and t such that 0 < r < b and

a = bq + r.

Proof: Of all the multiples

0 · b, 1 · b, 2 · b, 3 · b, ...

of b, there are only finitely many less than or equal to a. Indeed, Corollary 3 asserts that there exists a positive number n such that a < nb. then the only multiples of b which are less than or equal to a are among 0 · b,1 · b,...,(n - 1) · b. Among the multiples of b which are less than or equal to a, let q·b be the largest. Then, by choice of q · b, we have q · b < a < (q + 1) · b. Let r = a - qb. Then r > 0 since q · b < a; and

r = a - qb < (q + 1) · b - qb = b

since (q + 1) · b > a. Therefore we have shown that a = qb + r, where 0 < r < b.

The division algorithm, although it appears to be a rather superficial feature of the integers, is actually one of the most important results about Z. In other sections, we will see that the division algorithm can be applied in rather ingenious ways to yield arithmetic facts about the integers.