Bourbaki

5. Properties of integers

1. Operations on integers and finite sets

Proposition 1 03LP

Let (ai)i∈I(a_i)_{i \in I} be a finite family of integers. Then the cardinals ∑i∈Iai\sum_{i \in I} a_i and ∏i∈Iai\prod_{i \in I} a_i are integers.

Let us begin by showing that if aa and bb are integers, then so is a+ba + b. We proceed by induction on bb. The assertion is true for b=0b = 0 since a+0=aa + 0 = a. If a+ba + b is an integer, then so is (a+b)+1(a + b) + 1 (§ 4, no. 1, Proposition 1). But (a+b)+1=a+(b+1)(a + b) + 1 = a + (b + 1) (§ 3, no. 3, Corollary to Proposition 5); hence a+(b+1)a + (b + 1) is an integer, and consequently a+ba + b is an integer for all integers bb.

Next we show by induction on n=Card (I)n = \mathrm{Card}\ (\mathrm{I}) that ∑i∈Iai\sum\limits_{i \in \mathrm{I}} a_i is an integer. This is clear if n=0n = 0, for then I=∅\mathrm{I} = \emptyset and ∑i∈Iai=0\sum\limits_{i \in \mathrm{I}} a_i = 0. If Card (I)=n+1\mathrm{Card}\ (\mathrm{I}) = n + 1, we may write I=J∪{k}\mathrm{I} = \mathrm{J} \cup \{k\}, where Card (J)=n\mathrm{Card}\ (\mathrm{J}) = n and k∉Jk \notin \mathrm{J}. Then

∑i∈Iai=ak+∑i∈Jai\sum_{i \in \mathrm{I}} a_i = a_k + \sum_{i \in \mathrm{J}} a_i

(§ 3\S\,3, no. 3, Proposition 5). The inductive hypothesis is that ∑i∈Jai\sum\limits_{i \in \mathrm{J}} a_i is an integer; hence so is ak+∑i∈Jaia_k + \sum\limits_{i \in \mathrm{J}} a_i, from the first paragraph of the proof. This shows that ∑i∈Iai\sum\limits_{i \in \mathrm{I}} a_i is an integer for all nn.

Since the product abab of two integers aa and bb is the sum of a finite family of integers all equal to aa (§ 3\S\,3, no. 4, Proposition 6, Corollary 2), abab is an integer. We shall prove by induction on n=Card (I)n = \mathrm{Card}\ (\mathrm{I}) that ∏i∈Iai\prod\limits_{i \in \mathrm{I}} a_i is an integer. This is true for n=0n = 0, because then

∏i∈Iai=1.\prod_{i \in \mathrm{I}} a_i = 1.

If Card (I)=n+1\mathrm{Card}\ (\mathrm{I}) = n + 1, we have (with the same notation as above)

∏i∈Iai=ak⋅∏i∈Jai\prod_{i \in \mathrm{I}} a_i = a_k \cdot \prod_{i \in \mathrm{J}} a_i

(§ 3\S\,3, no. 3, Proposition 5), and the inductive hypothesis therefore implies that ∏i∈Iai\prod\limits_{i \in \mathrm{I}} a_i is an integer. Consequently ∏i∈Iai\prod\limits_{i \in \mathrm{I}} a_i is an integer for all nn.

Corollary 1 03LQ

The union* E of a finite family (Xi)i∈I(\mathrm{X}_i)_{i \in \mathrm{I}} *of finite sets is a finite set.

For the sum S of the family (Xi)(\mathrm{X}_i) is finite; and since there exists a mapping of S onto E (Chapter II, § 4\S\,4, no. 8), the set E is finite (§ 4\S\,4, 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 aa and bb are integers, aba^b is an integer.

For aba^b is the product of a finite family of integers all equal to aa (§ 3\S\,3, no. 5, Proposition 10).

Corollary 4 03LT

The set of subsets of a finite set* E *is finite.

For its cardinal is 2Card (E)2^{\mathrm{Card}\ (\mathrm{E})} (§ 3\S\,3, no. 5, Proposition 12).

2. Strict inequalities between integers

Proposition 2 03LU

Let aa and bb be two integers. Then a<ba < b if and only if there exists an integer c>0c > 0 such that b=a+cb = a + c.

If a<ba < b, there exists a cardinal c⩽bc \leqslant b (so that cc is an integer (§ 4, no. 2, Proposition 2)) such that b=a+cb = a + c (§ 3, no. 6, Proposition 13); if a≠ba \neq b, we must have c≠0c \neq 0. Conversely, if b=a+cb = a + c and c≠0c \neq 0, then c⩾1c \geqslant 1 and hence a<a+1⩽a+c=ba < a + 1 \leqslant a + c = b.

Proposition 3 03LV

Let (ai)i∈I(a_i)_{i \in I} and (b)i∈I(b)_{i \in I} be two finite families of integers such that ai⩽bia_i \leqslant b_i for each i∈Ii \in I and ai<bia_i < b_i for at least one index ii. Then

∑i∈Iai<∑i∈Ibi.\sum_{i \in I} a_i < \sum_{i \in I} b_i.

If also bi>0b_i > 0 for each i∈Ii \in I, then

∏i∈Iai<∏i∈Ibi.\prod_{i \in I} a_i < \prod_{i \in I} b_i.

Let jj be an index such that aj<bja_j < b_j, and let J=I−{j}J = I - \{j\}. Then

bj=aj+cjb_j = a_j + c_j

with cj>0c_j > 0 (Proposition 2), and therefore (§ 3, no. 6, Proposition 14)

∑i∈Ibi=aj+cj+∑i∈Jbi⩾cj+aj+∑i∈Jai=cj+∑i∈Iai.\sum_{i \in I} b_i = a_j + c_j + \sum_{i \in J} b_i \geqslant c_j + a_j + \sum_{i \in J} a_i = c_j + \sum_{i \in I} a_i.

Since cj>0c_j > 0, the first part of the Proposition follows from Proposition 2. Likewise

∏i∈Ibi=(aj+cj)∏i∈Jbi=aj.∏i∈Jbi+cj.∏i∈Jbi⩾∏i∈Iai+cj.∏i∈Jbi.\prod_{i \in I} b_i = (a_j + c_j) \prod_{i \in J} b_i = a_j . \prod_{i \in J} b_i + c_j . \prod_{i \in J} b_i \geqslant \prod_{i \in I} a_i + c_j . \prod_{i \in J} b_i.

Since cjc_j and all the bib_i are ≠0\neq 0, the product cj.∏i∈Jbic_j . \prod_{i \in J} b_i is ≠0\neq 0 (§ 3, no. 4, Proposition 7); hence the second part of the Proposition.

Corollary 1 03LW

Let aa, a′a', and bb be integers such that a<a′a < a' and b>0b > 0. Then ab<a′ba^b < {a'}^b.

We need only express aba^b and a′b{a'}^b as products of finite families of integers (§ 3, no. 5, Proposition 10) and apply Proposition 3, observing that the relation a<a′a < a' implies a′>0a' > 0.

Corollary 2 03LX

Let aa, bb, and b′b' be integers such that a>1a > 1 and b<b′b < b'; then ab<ab′a^b < a^{b'}.

For there exists an integer c>0c > 0 such that b′=b+cb' = b + c (Proposition 2); since c⩾1c \geqslant 1, we have ac⩾a>1a^c \geqslant a > 1, whence ab′=abac>aba^{b'} = a^b a^c > a^b.

Corollary 3 03LY

Let aa, bb, b′b' be integers* (resp. integers such that a>0a > 0). Then a+b=a+b′a + b = a + b' (resp. ab=ab′ab = ab') *if and only if b=b′b = b'.

Corollary 4 03LZ

If aa and bb are integers such that a⩽ba \leqslant b, then there exists a unique integer cc such that b=a+cb = a + c.

The existence of cc follows from Proposition 13 of § 3, no. 6, and its uniqueness from Corollary 3 above.

¶ The integer cc such that b=a+cb = a + c (where a⩽ba \leqslant b) is called the difference of the integers bb and aa, and is written b−ab - a. It is easily verified that if aa, bb, a′a', b′b' are integers such that a⩽ba \leqslant b and a′⩽b′a' \leqslant b', then

(b−a)+(b′−a′)=(b+b′)−(a+a′).(b - a) + (b' - a') = (b + b') - (a + a').

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 aa the relation "xx is a cardinal and x⩽ax \leqslant a" is collectivizing in xx (§ 3, no. 2, Remark after Theorem 1), and the set of xx which satisfy this relation is a set of integers (§ 4, no. 2, Proposition 2), which may therefore be denoted by [0,a][0, a].

Proposition 4 03M0

Let aa and bb be integers. Then the mapping x→a+xx \rightarrow a + x is a strictly inrceasing isomorphism of the interval [0,b][0, b] onto the interval [a,a+b][a, a + b], and y→y−ay \rightarrow y - a is the inverse isomorphism.

Clearly the relations 0⩽x⩽b0 \leqslant x \leqslant b imply a⩽a+x⩽a+ba \leqslant a + x \leqslant a + b. The mapping x→a+xx \rightarrow a + x is strictly increasing (and therefore injective) by Proposition 3 of no. 2. Finally, the relations a⩽y⩽a+ba \leqslant y \leqslant a + b imply y=a+xy = a + x with x⩾0x \geqslant 0 and a+x⩽a+ba + x \leqslant a + b, whence x⩽bx \leqslant b (no. 2, Proposition 3). This completes the proof.

Proposition 5 03M1

If aa and bb are integers such that a⩽ba \leqslant b, then the interval [a,b][a, b] is a finite set whose number of elements is b−a+1b - a + 1.

By Proposition 4 we may restrict ouselves to the case where a=0a = 0. The proof is by induction on bb. If b=0b = 0, the result is clear. The relation 0⩽x⩽b+10 \leqslant x \leqslant b + 1 is equivalent to "0⩽x<b+10 \leqslant x < b + 1 or x=b+1x = b + 1", and the relation 0⩽x<b+10 \leqslant x < b + 1 is equivalent to 0⩽x⩽b0 \leqslant x \leqslant b (§ 4, no. 2, Proposition 2); in other words, the interval [0,b+1][0, b + 1] is the union of [0,b][0, b] and {b+1}\{b + 1\}, and these two sets are disjoint. By the inductive hypothesis the number of elements of [0,b+1][0, b + 1] is equal to (b+1)+1(b + 1) + 1, and the Proposition is proved.

Proposition 6 03M2

For every finite set* E which is totally ordered and has n elements (n⩾1)(n \geqslant 1), there exists a unique isomorphism of E onto the interval [1,n][1, n].

Since E and [1,n][1, n] 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 (ti)i∈I(t_i)_{i \in I} be a finite sequence of length nn. By Proposition 6 of no. 3 there exists a unique isomorphism ff of the interval [1,n][1, n] onto the set of integers I. For each k∈[1,n]k \in [1, n], tf(k)t_{f(k)} is said to be the kth term of the sequence; tf(1)t_{f(1)} (resp. tf(n)t_{f(n)}) is the first (resp. last) term of the sequence.

Let P{i}\mathrm{P}\{i\} be a relation such that the elements ii for which P{i}\mathrm{P}\{i\} is true form a finite set of integers. A finite sequence (ti)i∈I(t_i)_{i \in I} is then often written (ti)P{i}(t_i)_{\mathrm{P}\{i\}}. For example, when I=[a,b]\mathrm{I} = [a, b], the notation (ti)a⩽i⩽b(t_i)_{a \leqslant i \leqslant b} is often used. Under the same conditions, to denote the product of a family of sets (Xi)i∈I(\mathrm{X}_i)_{i \in I} the notations

∏P{i}Xiand∏i=abXi\prod_{\mathrm{P}\{i\}} \mathrm{X}_i \quad \text{and} \quad \prod_{i=a}^{b} \mathrm{X}_i

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 φA\varphi_\mathrm{A} of E into the set {0,1}\{0, 1\} defined by

φA(x)=1ifx∈A;φA(x)=0ifx∈E−A.\varphi_\mathrm{A}(x) = 1 \quad \text{if} \quad x \in \mathrm{A}; \qquad \varphi_\mathrm{A}(x) = 0 \quad \text{if} \quad x \in \mathrm{E} - \mathrm{A}.

¶ Clearly the relation φA=φB\varphi_\mathrm{A} = \varphi_\mathrm{B} is equivalent to A=B\mathrm{A} = \mathrm{B}. We have φE(x)=1\varphi_\mathrm{E}(x) = 1 for all x∈Ex \in \mathrm{E} and φ∅(x)=0\varphi_{\emptyset}(x) = 0 for all x∈Ex \in \mathrm{E}; 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)

φE−A(x)=1−φA(x),\varphi_{\mathrm{E-A}}(x) = 1 - \varphi_{\mathrm{A}}(x),

(2)

φA∩B(x)=φA(x)φB(x),\varphi_{\mathrm{A} \cap \mathrm{B}}(x) = \varphi_{\mathrm{A}}(x)\varphi_{\mathrm{B}}(x),

(3)

φA∪B(x)+φA∩B(x)=φA(x)+φB(x)\varphi_{\mathrm{A} \cup \mathrm{B}}(x) + \varphi_{\mathrm{A} \cap \mathrm{B}}(x) = \varphi_{\mathrm{A}}(x) + \varphi_{\mathrm{B}}(x)

for all x∈Ex \in \mathrm{E}.

6. Euclidean division

Theorem 1 03M4

Let a and b be integers such that b>0b > 0. Then there exist integers q and r such that a=bq+ra = bq + r and r<br < b, and the integers q and r are uniquely determined by these conditions.

The conditions on qq and rr are equivalent to bq⩽a<b(q+1)bq \leqslant a < b(q + 1) and r=a−bqr = a - bq (no. 2, Proposition 2). Hence we have to find qq such that bq⩽a<b(q+1)bq \leqslant a < b(q + 1); in other words, qq must be the smallest integer such that a<b(q+1)a < b(q + 1), which shows that qq and r=a−bqr = a - bq are uniquely determined. To prove their existence, we note that there exist integers pp such that a<bpa < bp, for example a+1a + 1 (since b>0b > 0). Let mm be the least of these integers. We have m≠0m \neq 0, and we may therefore write m=q+1m = q + 1 with q⩽mq \leqslant m (§ 4, no. 2, Proposition 2); it follows that bq⩽a<b(q+1)bq \leqslant a < b(q + 1).

Definition 1 03M5

With the notation of Theorem 1, r is called the remainder of the division of a by b. If r=0r = 0, 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 ab\dfrac{a}{b} or a/ba/b.

If aa is not a multiple of bb, the number qq is called the integral part of the quotient of a by b (cf. General Topology, Chapter IV, § 8, no. 2).

In this chapter, writing a/ba/b or ab\dfrac{a}{b} will imply that bb divides aa.

The relations a=bqa = bq and q=a/bq = a/b are equivalent (if b>0b > 0). Every multiple a′a' of a multiple aa of bb is a multiple of bb, and

a′/b=(a′/a) (a/b)ifa≠0.a'/b = (a'/a)\,(a/b) \qquad \text{if} \qquad a \neq 0.

Also, if cc and dd are multiples of bb, then c+dc+d and c−dc-d (if d≤cd\leq c) are multiples of bb, and we have

c+db=cb+db,c−db=cb−db.\frac{c+d}{b}=\frac{c}{b}+\frac{d}{b},\qquad \frac{c-d}{b}=\frac{c}{b}-\frac{d}{b}.

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 2n+12n+1.

7. Expansion to base bb

Proposition 8 03M6

Let bb be an integer >1>1. For each integer k>0k>0 let EkE_k be the lexicographic product (§ 2, no. 6) of the family (Jh)0≤h≤k−1(J_h)_{0\leq h\leq k-1} of intervals all identical with [0,b−1][0,b-1]. For each r=(r0,r1,…,rk−1)∈Ekr=(r_0,r_1,\ldots,r_{k-1})\in E_k, let

fk(r)=∑h=0k−1rhbk−h−1;f_k(r)=\sum_{h=0}^{k-1}r_hb^{k-h-1};

then the mapping fkf_k is an isomorphism of the ordered set EkE_k onto the interval [0,bk−1][0,b^k-1].

The proof is by induction on kk. For k=1k=1 it is an immediate consequence of the definitions. For each r=(r0,…,rk−1,rk)∈Ek+1r=(r_0,\ldots,r_{k-1},r_k)\in E_{k+1} put

φ(r)=(r0,…,rk−1)∈Ek.\varphi(r)=(r_0,\ldots,r_{k-1})\in E_k.

Then the mapping r↦(φ(r),rk)r\mapsto(\varphi(r),r_k) is an isomorphism of Ek+1E_{k+1} onto the lexicographical product of EkE_k and J=[0,b−1]J=[0,b-1]; this is immediate from the definitions. We may write

fk+1(r)=b⋅fk(φ(r))+rk;f_{k+1}(r)=b\cdot f_k(\varphi(r))+r_k;

let us show that the relation r<r′r<r' in Ek+1E_{k+1} implies fk+1(r)<fk+1(r′)f_{k+1}(r)<f_{k+1}(r'). Indeed, we have either φ(r)<φ(r′)\varphi(r)<\varphi(r'), or else φ(r)=φ(r′)\varphi(r)=\varphi(r') and rk<rk′r_k<r'_k. In the first case, the inductive hypothesis implies that fk(φ(r))<fk(φ(r′))f_k(\varphi(r))<f_k(\varphi(r')), and therefore (§ 4, no. 2, Proposition 2) fk(q(r′))≥fk(φ(r))+1f_k(q(r'))\geq f_k(\varphi(r))+1; consequently

fk−1(r′)≥b⋅fk(φ(r))+b>fk+1(r),f_{k-1}(r')\geq b\cdot f_k(\varphi(r))+b>f_{k+1}(r),

since rk≤b−1r_k\leq b-1 (no. 2, Proposition 3). If, on the other hand, φ(r)=φ(r′)\varphi(r)=\varphi(r') and rk<rk′r_k<r'_k, it is clear that fk+1(r)<fk+1(r′)f_{k+1}(r)<f_{k+1}(r'). Now the inductive hypothesis shows that fk(φ(r))≤bk−1f_k(\varphi(r))\leq b^k-1, whence

fk+1(r)≤b(bk−1)+b−1=bk+1−1.f_{k+1}(r)\leq b(b^k-1)+b-1=b^{k+1}-1.

It follows that fk+1f_{k+1} is an isomorphism of Ek+1E_{k+1} onto a subset of the interval [0,bk+1−1][0,b^{k+1}-1]; but this interval and Ek+1E_{k+1} have the same number of elements, namely bk+1b^{k+1} (no. 3, Proposition 5); therefore fk+1f_{k+1} is a bijection (§ 4, no. 2, Proposition 2, Corollary 4), and the proof is complete. ¶ We note now that for every integer aa we have a<baa < b^a. This is proved by induction on aa; the result is evident for a=0a = 0, and the hypothesis a<baa < b^a implies a+1⩽ba<b⋅ba=ba+1a + 1 \leqslant b^a < b \cdot b^a = b^{a+1} (no. 2, Proposition 3 and § 4, no. 2, Proposition 2). There is therefore a least integer kk such that a<bka < b^k, and Proposition 8 then shows that there exists a unique finite sequence (rh)0⩽h⩽k−1(r_h)_{0 \leqslant h \leqslant k-1} such that 0⩽rh⩽b−10 \leqslant r_h \leqslant b - 1 for 0⩽h⩽k−10 \leqslant h \leqslant k - 1 and

a=∑h=0k−1rhbk−h−1.a = \sum_{h=0}^{k-1} r_h b^{k-h-1}.
Furthermore, we must have r0>0r_0 > 0, for otherwise a<bk−1a < b^{k-1} by virtue of Proposition 8. The expression
∑h=0k−1rhbk−h−1\sum_{h=0}^{k-1} r_h b^{k-h-1}
is called the expansion to base bb of the integer aa.

\* In all parts of mathematics which do not involve numerical computations, Proposition 8 is useful mainly when applied to a prime number bb. \*

When the integer bb is small enough for this to be practicable, we may represent each integer <b< b by a distinctive symbol called a digit. The digits which represent 0 and 1 are usually 0 and 1. Let aa be an integer and let ∑h=0k−1rhbk−h−1\sum_{h=0}^{k-1} r_h b^{k-h-1} be its expansion to base bb. If the integer kk which appears in this expansion is sufficiently small for this to be practicable, it is usual to associate with the integer aa the succession of symbols obtained by writing r0r1…rk−2rk−1r_0 r_1 \ldots r_{k-2} r_{k-1} from left to right and then replacing each integer rir_i by the digit which represents it; the symbol so obtained is called the numerical symbol associated with aa. One then often replaces aa 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 Cb+Q\mathrm{C}b + \mathrm{Q}, Cb2+Qb+F\mathrm{C}b^2 + \mathrm{Q}b + \mathrm{F}, Cb3+Qb2+Fb+D\mathrm{C}b^3 + \mathrm{Q}b^2 + \mathrm{F}b + \mathrm{D}.

It follows from Proposition 8 that the numerical symbol associated with an integer aa is unique, and that if a<bka < b^k it contains at most kk digits. Notice that the numerical symbol associated with the integer bkb^k consists of the digit 1 followed by kk digits 0.

This system of representation of integers by numerical symbols is called the system of numeration to base bb. 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 00, 11, 22, 33, 44, 5=4+15 = 4 + 1, 6=5+16 = 5 + 1, 7=6+17 = 6 + 1, 8=7+18 = 7 + 1, 9=8+19 = 8 + 1, and in which bb is the integer 9+19 + 1 (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* E\mathrm{E} and F\mathrm{F} be two sets, a\mathfrak{a} and b\mathfrak{b} their cardinals, ff a surjection of E\mathrm{E} onto F\mathrm{F} such that the sets f−1(y)\overset{-1}{f}(y), where y∈Fy \in \mathrm{F}, all have the same cardinal c\mathfrak{c}. Then a=bc\mathfrak{a} = \mathfrak{b}\mathfrak{c}.

For the family (f−1(y))y∈F(\overset{-1}{f}(y))_{y \in \mathrm{F}} is a partition of E\mathrm{E}, each element of which partition is a set of cardinal c\mathfrak{c}; hence the result (§ 3, no. 4, Proposition 6, Corollary 2).

Definition 2 03M8

Let* nn be an integer. The product ∏i<n(i+1)\prod_{i < n} (i + 1) is denoted by n!n! (read "factorial nn").

We have 0!=10! = 1 (Chapter II, § 5, no. 3) and 1!=11! = 1. For each integer nn we have (n+1)!=n! (n+1)(n + 1)! = n!\,(n + 1). This relation, together with the relation 0!=10! = 1, characterizes the term n!n!, as is easily seen by induction on nn.

Proposition 10 03M9

Let* mm and nn be integers such that m⩽nm \leqslant n. Then n!/(n−m)!n!/(n - m)! is the number of injective mappings of a set A\mathrm{A} with mm elements into a set B\mathrm{B} with nn *elements.

The proof is by induction on the number m⩽nm \leqslant n of elements of A\mathrm{A}. If m=0m = 0, the result is evident. Suppose that m+1⩽nm + 1 \leqslant n. Let A\mathrm{A} be a set with m+1m + 1 elements, let A′\mathrm{A}' be a subset of A\mathrm{A} with mm elements, and let {a}=A−A′\{a\} = \mathrm{A} - \mathrm{A}'. Let F\mathrm{F}, F′\mathrm{F}' be the sets of injective mappings of A\mathrm{A}, A′\mathrm{A}' respectively into B\mathrm{B}, and let φ\varphi be the mapping f→f ∣A′f \to f\,|\mathrm{A}' which maps each function f∈Ff \in \mathrm{F} to its restriction to A′\mathrm{A}'. For each f′∈F′f' \in \mathrm{F}' an element ff of φ−1(f′)\overset{-1}{\varphi}(f') is uniquely determined by its value f(a)f(a); since ff is injective, we must have f(a)∈B−f′(A′)f(a) \in \mathrm{B} - f'(\mathrm{A}'). It follows that φ−1(f′)\overset{-1}{\varphi}(f') has the same number n−mn - m of elements as B−f′(A′)\mathrm{B} - f'(\mathrm{A}'). Hence, by Proposition 9, F\mathrm{F} has

(n−m) n!(n−m)!=n!(n−m−1)!(n - m)\,\frac{n!}{(n - m)!} = \frac{n!}{(n - m - 1)!}

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 (pi)1⩽i⩽h(p_i)_{1 \leqslant i \leqslant h} be a finite sequence of integers such that ∑i=1hpi=n\sum_{i=1}^{h} p_i = n. Then the number of coverings (Xi)1⩽i⩽h(X_i)_{1 \leqslant i \leqslant h} of E by mutually disjoint sets XiX_i such that Card (Xi)=pi\mathrm{Card}\,(X_i) = p_i for 1⩽i⩽h1 \leqslant i \leqslant h *is equal to

n!/∏i=1hpi!.n! \Big/ \prod_{i=1}^{h} p_i!.

Let G be the set of permutations of E and let P be the set of coverings (Xi)1⩽i⩽h(X_i)_{1 \leqslant i \leqslant h} which satisfy the conditions of the Proposition. Since ∑i=1hpi=n\sum_{i=1}^{h} p_i = n, P is not empty. Let (Ai)1⩽i⩽h(A_i)_{1 \leqslant i \leqslant h} be an element of P. For each permutation f∈Gf \in G the family (f(Ai))1⩽i⩽h(f(A_i))_{1 \leqslant i \leqslant h} again belongs to P; let us denote it by φ(f)\varphi(f). For each element (Xi)1⩽i⩽h(X_i)_{1 \leqslant i \leqslant h} let us calculate the number of permutations f∈Gf \in G such that φ(f)=(Xi)\varphi(f) = (X_i). We shall have φ(f)=(Xi)\varphi(f) = (X_i) if and only if for each index ii we have f(Ai)=Xif(A_i) = X_i. Hence the set of permutations ff under consideration is equipotent to the product of the sets of bijections of AiA_i onto XiX_i (Chapter II, § 4, no. 7, Proposition 8); consequently the set φ−1((Xi)1⩽i⩽h)\overset{-1}{\varphi}((X_i)_{1 \leqslant i \leqslant h}) has ∏i=1hpi!\prod_{i=1}^{h} p_i! elements (Corollary to Proposition 10). Since G has n!n! 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 ⩽n\leqslant n. Then the number of subsets of A which have p elements is n!p!(n−p)!\dfrac{n!}{p!(n-p)!}.

Put h=2h = 2, p1=pp_1 = p, p2=n−pp_2 = n - p in Proposition 11.

¶ The number of subsets containing pp elements in a set of nn elements (where p⩽np \leqslant n) is denoted by (np)\begin{pmatrix} n \\ p \end{pmatrix} and is called the binomial coefficient with indices n and p. From the relation (np)=n!p!(n−p)!\begin{pmatrix} n \\ p \end{pmatrix} = \dfrac{n!}{p!(n-p)!} it follows immediately that (np)=(nn−p)\begin{pmatrix} n \\ p \end{pmatrix} = \begin{pmatrix} n \\ n-p \end{pmatrix}.

This is also a consequence of the fact that, if E is a set with nn elements, X→E−XX \to E - X is a bijection of the set of subsets of E consisting of pp elements onto the set of subsets of n−pn - p elements.

We put (np)=0\binom{n}{p} = 0 for each pair of natural integers such that p>np > n. With this convention the number of subsets of pp elements in a set of nn elements is (np)\binom{n}{p} for every natural integer pp.

Corollary 2 03RG

Let* E and F be totally ordered finite sets with pp and nn elements, respectively. Then the number of strictly increasing mappings of E into F is (np)\binom{n}{p}.

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 pp 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* nn, *we have

∑p(np)=2n.\sum_p \binom{n}{p} = 2^n.

For if E is a set of nn 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* nn and pp *are integers, then

(n+1p+1)=(np+1)+(np).\binom{n+1}{p+1} = \binom{n}{p+1} + \binom{n}{p}.

Let E be a set with n+1n + 1 elements, let P be the set of all subsets of E containing p+1p + 1 elements, let aa be an element of E, and put

E′=E−{a}.\mathrm{E}' = \mathrm{E} - \{a\}.

Let P′ (resp. P″) denote the set of subsets of p+1p + 1 elements of E which contain aa (resp. do not contain aa). The set P″ is the set of subsets of p+1p + 1 elements of E′ and therefore has (np+1)\binom{n}{p+1} elements. The mapping X→X∩E′\mathrm{X} \to \mathrm{X} \cap \mathrm{E}' is a bijection of P′ onto the set of subsets of pp elements of E′, and P′ therefore has (np)\binom{n}{p} 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 (np)=n!p!(n−p)!\binom{n}{p} = \dfrac{n!}{p!(n-p)!} for p⩽np \leqslant n.

Proposition 14 03RJ

Let* nn be an integer >0> 0. Then the number ana_n (resp. bnb_n) of ordered pairs (i,j)(i, j) of integers such that 1⩽i⩽j⩽n1 \leqslant i \leqslant j \leqslant n (resp. 1⩽i<j⩽n1 \leqslant i < j \leqslant n) is 12n(n+1)\frac{1}{2}n(n+1) ((resp. 12n(n−1)\frac{1}{2}n(n-1))).

For bnb_n is the number of subsets of 2 elements in [1,n][1, n]; hence

bn=n!2!(n−2)!=12n(n−1).b_n = \frac{n!}{2!(n-2)!} = \frac{1}{2} n(n-1).

The value of ana_n is deduced from this by noting that the set of ordered pairs (i,j)(i, j) such that 1⩽i⩽j⩽n1 \leqslant i \leqslant j \leqslant n is the union of the set of ordered pairs (i,j)(i, j) such that 1⩽i⩽j<n1 \leqslant i \leqslant j < n and the set of pairs (i,i)(i, i) where 1⩽i⩽n1 \leqslant i \leqslant n. Thus an=n+bn=12n(n+1)a_n = n + b_n = \frac{1}{2} n(n+1).

Corollary 03RK

For each integer n>0n > 0, we have

∑i=1ni=12n(n+1).\sum_{i=1}^{n} i = \frac{1}{2} n(n+1).

In the set A of ordered pairs of integers (i,j)(i, j) such that 1⩽i⩽j⩽n1 \leqslant i \leqslant j \leqslant n, let AkA_k denote the subset of pairs (i,k)(i, k), where 1⩽i⩽k1 \leqslant i \leqslant k (for an arbitrary integer k⩽nk \leqslant n). Then AkA_k has kk elements. But (Ak)1⩽k⩽n(A_k)_{1 \leqslant k \leqslant n} is a partition of A; hence the result.

Proposition 15 03RL

Let nn and hh be integers and let* E be a set with hh elements. Then the number of mappings uu of E into [0,n][0, n] such that ∑x∈Eu(x)⩽n\sum_{x \in E} u(x) \leqslant n (resp. ∑x∈Eu(x)=n\sum_{x \in E} u(x) = n, *for h>0h > 0) is

(n+hh)(resp. (n+h−1h−1)).\binom{n+h}{h} \left( \text{resp.} \ \binom{n+h-1}{h-1} \right).

Let A(h,n)A(h, n) (resp. B(h,n)B(h, n)) denote the number of mappings uu of E into [0,n][0, n] such that ∑x∈Eu(x)⩽n\sum_{x \in E} u(x) \leqslant n (resp. ∑x∈Eu(x)=n\sum_{x \in E} u(x) = n for h>0h > 0). We show first that A(h−1,n)=B(h,n)A(h-1, n) = B(h, n). For this, let E′ be a subset of E with h−1h - 1 elements, and let {a}=E−E′\{a\} = E - E'. If uu is a mapping of E into [0,n][0, n] such that ∑x∈Eu(x)=n\sum_{x \in E} u(x) = n, then its restriction u′u' to E′ is such that ∑x∈E′u′(x)⩽n\sum_{x \in E'} u'(x) \leqslant n, and moreover u(a)=n−∑x∈E′u′(x)u(a) = n - \sum_{x \in E'} u'(x). Conversely, every mapping u′u' of E′ into [0,n][0, n] which satisfies ∑x∈E′u′(x)⩽n\sum_{x \in E'} u'(x) \leqslant n defines a unique mapping uu of E into [0,n][0, n], of which u′u' is the restriction, and which is such that ∑x∋Eu(x)=n\sum_{x \ni E} u(x) = n.

We note next that if ∑x∈Eu(x)⩽n\sum_{x \in E} u(x) \leqslant n, then either ∑x∈Eu(x)=n\sum_{x \in E} u(x) = n, or else ∑x∈Eu(x)⩽n−1\sum_{x \in E} u(x) \leqslant n-1, and these two possibilities are mutually exclusive. Consequently

A(h,n)=A(h,n−1)+B(h,n)=A(h,n−1)+A(h−1,n).A(h, n) = A(h, n-1) + B(h, n) = A(h, n-1) + A(h-1, n).

Since A(0,0)=1=(00)A(0, 0) = 1 = \binom{0}{0}, the formula A(h,n)=(n+hh)A(h, n) = \binom{n+h}{h} follows from above and from Proposition 13, by induction on n+hn + h.

\* The number of monomials X1α1X2α2…XhαnX_1^{\alpha_1} X_2^{\alpha_2} \ldots X_h^{\alpha_n} in hh indeterminates with total degree ⩽n\leqslant n is evidently equal to the number of mappings i→αii \rightarrow \alpha_i of [1,h][1, h] into [0,n][0, n] such that ∑i=0hαi⩽n\sum_{i=0}^{h} \alpha_i \leqslant n, and is therefore equal to (n+hh)\binom{n+h}{h} by Proposition 15; this number is also the number of monomials in h+1h + 1 indeterminates with total degree nn. \*

Exercises

See the exercises for § 5.

Transcribed from the printed edition, 2004, Springer. Not translated.