5. Properties of integers
1. Operations on integers and finite sets
Proposition 1 03LP
Let be a finite family of integers. Then the cardinals and are integers.
Let us begin by showing that if and are integers, then so is . We proceed by induction on . The assertion is true for since . If is an integer, then so is (§ 4, no. 1, Proposition 1). But (§ 3, no. 3, Corollary to Proposition 5); hence is an integer, and consequently is an integer for all integers .
Next we show by induction on that is an integer. This is clear if , for then and . If , we may write , where and . Then
(, no. 3, Proposition 5). The inductive hypothesis is that is an integer; hence so is , from the first paragraph of the proof. This shows that is an integer for all .
Since the product of two integers and is the sum of a finite family of integers all equal to (, no. 4, Proposition 6, Corollary 2), is an integer. We shall prove by induction on that is an integer. This is true for , because then
If , we have (with the same notation as above)
(, no. 3, Proposition 5), and the inductive hypothesis therefore implies that is an integer. Consequently is an integer for all .
Corollary 1 03LQ
The union* E of a finite family *of finite sets is a finite set.
For the sum S of the family is finite; and since there exists a mapping of S onto E (Chapter II, , no. 8), the set E is finite (, no. 2, Proposition 2, Corollary 3).
Corollary 2 03LR
The product of a finite family of finite sets is a finite set.
Corollary 3 03LS
If and are integers, is an integer.
For is the product of a finite family of integers all equal to (, no. 5, Proposition 10).
Corollary 4 03LT
The set of subsets of a finite set* E *is finite.
For its cardinal is (, no. 5, Proposition 12).
2. Strict inequalities between integers
Proposition 2 03LU
Let and be two integers. Then if and only if there exists an integer such that .
If , there exists a cardinal (so that is an integer (§ 4, no. 2, Proposition 2)) such that (§ 3, no. 6, Proposition 13); if , we must have . Conversely, if and , then and hence .
Proposition 3 03LV
Let and be two finite families of integers such that for each and for at least one index . Then
If also for each , then
Let be an index such that , and let . Then
with (Proposition 2), and therefore (§ 3, no. 6, Proposition 14)
Since , the first part of the Proposition follows from Proposition 2. Likewise
Since and all the are , the product is (§ 3, no. 4, Proposition 7); hence the second part of the Proposition.
Corollary 1 03LW
Let , , and be integers such that and . Then .
We need only express and as products of finite families of integers (§ 3, no. 5, Proposition 10) and apply Proposition 3, observing that the relation implies .
Corollary 2 03LX
Let , , and be integers such that and ; then .
For there exists an integer such that (Proposition 2); since , we have , whence .
Corollary 3 03LY
Let , , be integers* (resp. integers such that ). Then (resp. ) *if and only if .
Corollary 4 03LZ
If and are integers such that , then there exists a unique integer such that .
The existence of follows from Proposition 13 of § 3, no. 6, and its uniqueness from Corollary 3 above.
¶ The integer such that (where ) is called the difference of the integers and , and is written . It is easily verified that if , , , are integers such that and , then
3. Intervals in sets of integers
Every set of integers, being a set of cardinals, is well-ordered (§ 3, no. 2, Theorem 1). Furthermore, for each integer the relation " is a cardinal and " is collectivizing in (§ 3, no. 2, Remark after Theorem 1), and the set of which satisfy this relation is a set of integers (§ 4, no. 2, Proposition 2), which may therefore be denoted by .
Proposition 4 03M0
Let and be integers. Then the mapping is a strictly inrceasing isomorphism of the interval onto the interval , and is the inverse isomorphism.
Clearly the relations imply . The mapping is strictly increasing (and therefore injective) by Proposition 3 of no. 2. Finally, the relations imply with and , whence (no. 2, Proposition 3). This completes the proof.
Proposition 5 03M1
If and are integers such that , then the interval is a finite set whose number of elements is .
By Proposition 4 we may restrict ouselves to the case where . The proof is by induction on . If , the result is clear. The relation is equivalent to " or ", and the relation is equivalent to (§ 4, no. 2, Proposition 2); in other words, the interval is the union of and , and these two sets are disjoint. By the inductive hypothesis the number of elements of is equal to , and the Proposition is proved.
Proposition 6 03M2
For every finite set* E which is totally ordered and has n elements , there exists a unique isomorphism of E onto the interval .
Since E and are well-ordered (§ 4, no. 4, Proposition 3, Corollary 1) and have the same number of elements (Proposition 5), the result follows from Theorem 3 of § 2, no. 5 and Corollary 2 to Proposition 2 of § 4, no. 2.
4. Finite sequences
A finite sequence (resp. finite sequence of elements of a set E) is a family (resp. a family of elements of E) whose index set I is a finite set of integers. The number of elements of I is called the length of the sequence.
Let be a finite sequence of length . By Proposition 6 of no. 3 there exists a unique isomorphism of the interval onto the set of integers I. For each , is said to be the kth term of the sequence; (resp. ) is the first (resp. last) term of the sequence.
Let be a relation such that the elements for which is true form a finite set of integers. A finite sequence is then often written . For example, when , the notation is often used. Under the same conditions, to denote the product of a family of sets the notations
are used; and analogous notations for union, intersection, cardinal product, cardinal sum, \* composition laws in Algebra \*, and so on.
5. Characteristic functions of sets
Let E be a non-empty set and A a subset of E. The characteristic function of the subset A of E is the mapping of E into the set defined by
¶ Clearly the relation is equivalent to . We have for all and for all ; these are the only constant characteristic functions on E. The following Proposition is an immediate consequence of the definitions :
Proposition 7 03M3
For each pair of subsets* A, B of a non-empty set E, *we have
(1)
(2)
(3)
for all .
6. Euclidean division
Theorem 1 03M4
Let a and b be integers such that . Then there exist integers q and r such that and , and the integers q and r are uniquely determined by these conditions.
The conditions on and are equivalent to and (no. 2, Proposition 2). Hence we have to find such that ; in other words, must be the smallest integer such that , which shows that and are uniquely determined. To prove their existence, we note that there exist integers such that , for example (since ). Let be the least of these integers. We have , and we may therefore write with (§ 4, no. 2, Proposition 2); it follows that .
Definition 1 03M5
With the notation of Theorem 1, r is called the remainder of the division of a by b. If , we say that a is a multiple of b, or that a is divisible by b, or that b is a divisor of a, or that b divides a, or that b is a factor of a. The number q is then called the quotient of a by b and is denoted by or .
If is not a multiple of , the number is called the integral part of the quotient of a by b (cf. General Topology, Chapter IV, § 8, no. 2).
In this chapter, writing or will imply that divides .
The relations and are equivalent (if ). Every multiple of a multiple of is a multiple of , and
Also, if and are multiples of , then and (if ) are multiples of , and we have
The integers which are multiples of 2 are said to be even, and the others odd. By Theorem 1 the odd integers are of the form .
7. Expansion to base
Proposition 8 03M6
Let be an integer . For each integer let be the lexicographic product (§ 2, no. 6) of the family of intervals all identical with . For each , let
then the mapping is an isomorphism of the ordered set onto the interval .
The proof is by induction on . For it is an immediate consequence of the definitions. For each put
Then the mapping is an isomorphism of onto the lexicographical product of and ; this is immediate from the definitions. We may write
let us show that the relation in implies . Indeed, we have either , or else and . In the first case, the inductive hypothesis implies that , and therefore (§ 4, no. 2, Proposition 2) ; consequently
since (no. 2, Proposition 3). If, on the other hand, and , it is clear that . Now the inductive hypothesis shows that , whence
It follows that is an isomorphism of onto a subset of the interval ; but this interval and have the same number of elements, namely (no. 3, Proposition 5); therefore is a bijection (§ 4, no. 2, Proposition 2, Corollary 4), and the proof is complete. ¶ We note now that for every integer we have . This is proved by induction on ; the result is evident for , and the hypothesis implies (no. 2, Proposition 3 and § 4, no. 2, Proposition 2). There is therefore a least integer such that , and Proposition 8 then shows that there exists a unique finite sequence such that for and
\* In all parts of mathematics which do not involve numerical computations, Proposition 8 is useful mainly when applied to a prime number . \*
When the integer is small enough for this to be practicable, we may represent each integer by a distinctive symbol called a digit. The digits which represent 0 and 1 are usually 0 and 1. Let be an integer and let be its expansion to base . If the integer which appears in this expansion is sufficiently small for this to be practicable, it is usual to associate with the integer the succession of symbols obtained by writing from left to right and then replacing each integer by the digit which represents it; the symbol so obtained is called the numerical symbol associated with . One then often replaces by its numerical symbol in the terms and relations in which it appears.
For example, if C, Q, F, D are digits, the numerical symbols CQ, CQF, CQFD are respectively associated with , , .
It follows from Proposition 8 that the numerical symbol associated with an integer is unique, and that if it contains at most digits. Notice that the numerical symbol associated with the integer consists of the digit 1 followed by digits 0.
This system of representation of integers by numerical symbols is called the system of numeration to base . In practical numerical computations, the following systems are used : (a) the system to base 2, or the dyadic system, in which the digits are 0 and 1; (b) the decimal system, in which the digits are , , , , , , , , , , and in which is the integer (whose numerical symbol in this system is therefore 10).
Since the Middle Ages the decimal system has been traditionally used in numerical calculations, and we shall use it in this series whenever we have occasion to write down an integer explicitly. We refer the reader to the part of this series devoted to numerical calculation for an account of methods for obtaining the numerical symbols associated with the sum, difference, product, and integral part of the quotient of two integers given by their numerical symbols.
8. Combinatorial analysis
Proposition 9 03M7
Let* and be two sets, and their cardinals, a surjection of onto such that the sets , where , all have the same cardinal . Then .
For the family is a partition of , each element of which partition is a set of cardinal ; hence the result (§ 3, no. 4, Proposition 6, Corollary 2).
Definition 2 03M8
Let* be an integer. The product is denoted by (read "factorial ").
We have (Chapter II, § 5, no. 3) and . For each integer we have . This relation, together with the relation , characterizes the term , as is easily seen by induction on .
Proposition 10 03M9
Let* and be integers such that . Then is the number of injective mappings of a set with elements into a set with *elements.
The proof is by induction on the number of elements of . If , the result is evident. Suppose that . Let be a set with elements, let be a subset of with elements, and let . Let , be the sets of injective mappings of , respectively into , and let be the mapping which maps each function to its restriction to . For each an element of is uniquely determined by its value ; since is injective, we must have . It follows that has the same number of elements as . Hence, by Proposition 9, has
elements by virtue of the inductive hypothesis. This completes the proof.
Corollary 03MA
The number of permutations of a finite set with n elements is equal to n!.
For this number is equal to the number of injections of the set into itself (§ 4, no. 2, Proposition 2, Corollary 4).
Proposition 11 03MB
Let* E be a finite set with n elements, and let be a finite sequence of integers such that . Then the number of coverings of E by mutually disjoint sets such that for *is equal to
Let G be the set of permutations of E and let P be the set of coverings which satisfy the conditions of the Proposition. Since , P is not empty. Let be an element of P. For each permutation the family again belongs to P; let us denote it by . For each element let us calculate the number of permutations such that . We shall have if and only if for each index we have . Hence the set of permutations under consideration is equipotent to the product of the sets of bijections of onto (Chapter II, § 4, no. 7, Proposition 8); consequently the set has elements (Corollary to Proposition 10). Since G has elements, the result now follows from Proposition 9.
Corollary 1 03MC
Let* A be a set with n elements and let p be an integer . Then the number of subsets of A which have p elements is .
Put , , in Proposition 11.
¶ The number of subsets containing elements in a set of elements (where ) is denoted by and is called the binomial coefficient with indices n and p. From the relation it follows immediately that .
This is also a consequence of the fact that, if E is a set with elements, is a bijection of the set of subsets of E consisting of elements onto the set of subsets of elements.
We put for each pair of natural integers such that . With this convention the number of subsets of elements in a set of elements is for every natural integer .
Corollary 2 03RG
Let* E and F be totally ordered finite sets with and elements, respectively. Then the number of strictly increasing mappings of E into F is .
For such a mapping is an injection of E into F (§ 1, no. 12, Proposition 11), and since E and F are well-ordered (§ 4, no. 4, Corollary 1 to Proposition 3), for each subset X of elements of F there is exactly one strictly increasing mapping of E onto X (§ 2, no. 5, Theorem 3).
Proposition 12 03RH
For each integer* , *we have
For if E is a set of elements, the left-hand side of the equality is the number of subsets of E. Now apply Proposition 12 of § 3, no. 5.
Proposition 13 03RI
If* and *are integers, then
Let E be a set with elements, let P be the set of all subsets of E containing elements, let be an element of E, and put
Let P′ (resp. P″) denote the set of subsets of elements of E which contain (resp. do not contain ). The set P″ is the set of subsets of elements of E′ and therefore has elements. The mapping is a bijection of P′ onto the set of subsets of elements of E′, and P′ therefore has elements. The result now follows from the fact that P is the union of the disjoint sets P′ and P″.
Proposition 13 can also be proved by means of a simple calculation from the formula for .
Proposition 14 03RJ
Let* be an integer . Then the number (resp. ) of ordered pairs of integers such that (resp. ) is ((resp. )).
For is the number of subsets of 2 elements in ; hence
The value of is deduced from this by noting that the set of ordered pairs such that is the union of the set of ordered pairs such that and the set of pairs where . Thus .
Corollary 03RK
For each integer , we have
In the set A of ordered pairs of integers such that , let denote the subset of pairs , where (for an arbitrary integer ). Then has elements. But is a partition of A; hence the result.
Proposition 15 03RL
Let and be integers and let* E be a set with elements. Then the number of mappings of E into such that (resp. , *for ) is
Let (resp. ) denote the number of mappings of E into such that (resp. for ). We show first that . For this, let E′ be a subset of E with elements, and let . If is a mapping of E into such that , then its restriction to E′ is such that , and moreover . Conversely, every mapping of E′ into which satisfies defines a unique mapping of E into , of which is the restriction, and which is such that .
We note next that if , then either , or else , and these two possibilities are mutually exclusive. Consequently
Since , the formula follows from above and from Proposition 13, by induction on .
\* The number of monomials in indeterminates with total degree is evidently equal to the number of mappings of into such that , and is therefore equal to by Proposition 15; this number is also the number of monomials in indeterminates with total degree . \*
Exercises
See the exercises for § 5.