The Basic Rules of Counting
The Inclusion-Exclusion and the Pigeonhole Principles are the most fundamental combinatorial techniques. There are two additional rules which are basic to most elementary counting. One is known as the Sum Rule (or Disjunctive Rule), the other is called Product Rule (or Sequential Rule.) Below, |S| will denote the number of elements in a finite (or empty) set S. So, for example, Sum RuleIf A and B are disjoint, i.e., if A ∩ B = Ø, then
Comment: behind the set-theoretic symbolism stands a simple fact without which counting would be impossible: it does not matter how you count, i.e., as long as you do not make a mistake of, say, missing an object or counting an object twice. It says this: if before counting objects one splits them into two groups and then counts the elements of one of the groups before proceeding to count the elements of the other, the result will be the same - the total number of objects to be counted. (Naturally, it does not depend on how the objects have been split into two groups.) Example 1In a class of 30 students, there are 16 boys and 14 girls By induction, the sum rule is easily extended to any finite number of mutually disjoint sets:
Example 2An electronic book of 472 pages has been stored in separate files - 1 file per page - in two folders. One folder contained 305 files, the other 167 files Product RuleFor a direct product A×B of two finite sets A and B,
Comment: By induction the rule extends to any finite number of sets:
An essential point here is how the tuples of objects are formed: an object is picked out from one of the given sets regardless of which objects have been drawn from the other sets. Why the rule is called sequential? Because in a tuple, the objects (components) are ordered: there is the first one, the second, and so on. Example 3The are two drawers. One contains 12 shirts, the other 7 neckties. There are It is possible to examine the drawers sequentially: first-second, first-second... It is also possible to form combinations using two hands: left for a shirt, right for a necktie. As long as all possible combinations shirt/necktie have been counted, the exact procedure is of no consequence. Example 4A test consists of 6 mutiple-choice questions. Each question has 4 possible answers. There are
ways to answer all 6 questions. Counting poker hands provides multiple additional examples. References
|Contact| |Front page| |Contents| |Algebra| |Store| Copyright © 1996-2012 Alexander Bogomolny |
| 40618792 |

