Counting by complement
间接法(排除法)计数
How does counting by complement work?
Count everything without the restriction and subtract the cases that break it; useful for at least and at most.
Sign in to read the whole lesson, with 3 exercises
Sign in / Sign upMastery goals
- Can count the outcomes with a property by subtracting those without it from the total
Solution 3 is an indirect method: first find the number of permutations of 3 digits taken from the 10 digits, then subtract the number of those permutations with 0 in the hundreds place (these are not three-digit numbers); the result is the number of three-digit numbers with no repeated digits.
From the solutions of the problems above we can see that, once we have the concept of a permutation and the formula for the number of permutations, we can easily solve the special kind of counting problem "find the number of all the permutations of () elements taken from different elements".
Related points
All points in this topicCite this page: Counting by complement · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000793