Theorem 3.2.1 Under assumptions 1 and 2, a two‐step procedure consisting of a first operation followed by the second operation can be performed indistinct ways.
Proof: Observe that each way of performing the two operations can be represented as a pair with and , where is the th way of performing the first operation and is the th way of performing the second operation if the first operation was performed in th way. All such pairs can be arranged in a rectangular array with rows and columns.
We will now show some applications of Theorem 3.2.1.
One of the most common operations on sets is the Cartesian product. If and are two sets, their Cartesian product is defined as the set of all ordered pairs , where and . For instance, if consists of elements and , while consists of the digits 1, 2, and 3, then the Cartesian product contains the six pairs
(3.1)
Observe that the Cartesian product is an operation quite distinct from the set‐theoretical product . For instance, in the above case, , since and have no elements in common. Also, while , for Cartesian products in general. In cases when there is no danger of confusion, we will use the term product for Cartesian product.
Identifying now the first and second operation with “choice of an element from set ” and “choice of an element from set ,” we obtain the following consequence of Theorem 3.2.1:
Theorem 3.2.2 (Multiplication Rule)Ifandare finite sets consisting, respectively, ofandelements, then the Cartesian productconsists ofelements.
Theorem 3.2.2 allows for an immediate generalization, we can define Cartesian products of more than two sets. Thus, if are some sets, then their Cartesian product is the set of all ‐tuples with . By easy induction, Theorem 3.2.2 can now be generalized as follows:
The total number of possible initials consisting of three letters (name, middle name, family name) is . Each three‐letter initial is an element of the set , where is the alphabet, so . The total number of possible two‐ or three‐letter initials is