Theorem · Combinatorics
Counting the complement
Theorem from the chapter Combinatorics of Mathematics for public exams, with the exercises in which it is used.
Counting the complement
Suppose there are possible outcomes and of them do not have a specified property. The number that do have the property is
Every outcome either has the property or lacks it. The cases are mutually exclusive, so by the addition principle, is the sum of the two counts. This method is quickest for questions asking for “at least one.” To count outcomes with at least one element of a certain type, subtract the outcomes with no elements of that type from the total. There are codes with digits from to when repetition is allowed. The number without the digit is because each position has choices. The number of codes with at least one is therefore
Read it in the chapter Combinatorics →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Mathematics for public exams → · All the theorems on the site →