Summary
This lesson studies the elementary techniques for counting the elements of a finite set without listing them one by one. It defines the number of elements of a finite set by means of bijections, proves from that definition the addition and multiplication principles, derives from them the number of permutations, of arrangements and of combinations, and defines the binomial coefficients, whose symmetry and whose Pascal’s rule are proved both by counting and by calculation. It then arranges those coefficients in Pascal’s triangle, proves by induction the binomial theorem, which generalizes the special products, and applies it to the expansion of powers, to finding a coefficient and to numerical approximation. It is the last content lesson of the unit devoted to the natural numbers, which closes with the synthesis and challenges lesson.
Learning objectives
- Apply the addition and multiplication principles to count without listing, splitting into cases when the conditions of a choice interfere with each other.
- Distinguish permutations, arrangements and combinations, and calculate their number by means of the factorial.
- Prove the properties of the binomial coefficients by counting and by calculation, and build Pascal’s triangle with them.
- Prove the binomial theorem and apply it to the expansion of powers, to the calculation of coefficients and to the approximation of powers.
The counting principles
Counting the elements of a finite set is the most elementary operation of arithmetic as long as the set can be gone through element by element. Now, when the elements are the ways of making a compound choice, such as arranging ten books on a shelf or choosing three representatives among thirty people, listing becomes impracticable, and the number is obtained by breaking the choice down into parts or into stages. All of elementary combinatorics rests on two principles, which are proved from a precise definition of what counting means.
Counting the elements of a set means numbering them: assigning an element to each number from to , without repeating any and without leaving any out. A set is said to have elements, with natural, when there is a bijection from the set onto , that is, a function that takes distinct numbers to distinct elements and reaches all the elements of ; the empty set has elements, and a set is finite if it is empty or has elements for some natural number . Bijections, their composition and their inverse are studied in the lesson on sets, relations and functions.
Admitted fact (number of elements). It is admitted without proof that the number of elements of a finite set is well defined: a set cannot have elements and elements at the same time if . It is also admitted that every subset of a finite set is finite.
Both facts are proved by induction on ; the first is, at bottom, the pigeonhole principle, according to which there is no function that takes the numbers of to distinct numbers of . Their proofs are long and contribute no ideas used later, and that is why they are admitted. Without the first, the expression “the number of elements” would make no sense, and a combinatorial proof, which counts one and the same set in two ways, could not conclude that the two results are equal.
If has elements, has elements and and have no elements in common, then has elements. The figure follows the proof with and .
Proof
By hypothesis, there is a bijection from onto and another, , from onto : the elements of each set are numbered without repetitions.
By trichotomy, every number from to satisfies or ; in the second case, by the definition of the order, for a natural number , unique by the cancellation law for addition, and by the monotonicity of addition.
We define on : the first numbers are numbered as with , and the next , as with .
The function takes distinct numbers to distinct elements: two numbers from the same part, because and do so; one from each part, because they go to an element of and to one of , which have no elements in common.
The function reaches all the elements of the union: those of are values of , and those of , values of .
Therefore, is a bijection from onto , and the union has elements. If one of the sets is empty, the statement is immediate.
By induction on the number of parts, the principle extends to any finite number of pairwise disjoint sets: the union of , with elements, has elements, because the union of the first is the union of the first with the last one, which has no elements in common with them. From it follows the second principle, which counts the choices made in stages.
If a choice is made in two stages, the first in ways and the second, whatever the first has been, in ways, the complete choice can be made in ways. The figure draws each complete choice as a point, in the row of its first stage, with .
Proof
We group the complete choices according to the first stage: there are classes with no elements in common, and each has elements, the ways of completing that first choice.
We proceed by induction on the number of classes. Base step: if , all the choices are in , which has elements.
Inductive step: we assume that the union of classes with no elements in common, of elements each, has elements.
The union of classes is the union of the first with the last one, which has no elements in common with them; by the addition principle, it has elements.
By the lemma , proved when establishing the commutativity of multiplication in the lesson on the operations, that number is .
By the principle of induction, the union of classes has elements: the complete choice can be made in ways. In the figure, .
In the same way, by induction on the number of stages, the multiplication principle extends to any finite number of them: a choice in stages, which can be made in ways respectively, can be made in ways. For example, in the decimal system studied in the lesson on positional numeral systems there are three-digit numbers, because the first digit cannot be and the other two are free. It should be noted that the multiplication principle requires the number of options at each stage not to depend on what was chosen before, even though the options themselves may depend on it; if that condition fails, one splits into cases in which it holds and adds their results with the addition principle.
The successive stages of a choice are represented with a tree diagram: from an initial point, the root, there come out as many branches as the first stage has options; from the end of each branch, as many as the second has, and so on. Each route from the root to a final end, or leaf, is a complete choice, and the multiplication principle counts the leaves without drawing them.
Count the three-digit numbers that can be written with the digits , and without repeating any, and compare them with those obtained if repetition is allowed.
Proof
The first digit can be any of the three: three branches come out of the root.
Once the first digit is chosen, two remain for the second, whatever the first has been: each branch splits into two, and by the multiplication principle there are six possible beginnings.
For the third digit a single possibility remains, so that each beginning is completed in exactly one way.
The leaves of the tree, read from the root, are the six numbers sought, in increasing order.
If repeating digits is allowed, each stage has three options, and the tree has many more leaves than in the case without repetition.
Loading the content…
Completed
Sign in to save your progress