Remark 6.1.1
Often you also need this fact together with complementary counting: the number of ways to choose any number of items from items is
Each item has 2 choices: in the group, or not.
When "at least one" is hard to count, count the opposite and subtract it from the total.
In this section you will be able to count the opposite of what you want, then subtract it from the total.
How many 3-digit numbers have at least one 7? Counting numbers with one 7, two 7s and three 7s is a lot of work. Is there a shortcut?
Complementary counting means you count the opposite of what you want, then subtract it from the total:
The words “at least” are a big signal. The opposite of “at least one 7” is “no 7 at all”, and that is easy to count.
Often you also need this fact together with complementary counting: the number of ways to choose any number of items from items is
Each item has 2 choices: in the group, or not.
I roll 2 fair 6-sided dice. How many ways are there for the sum of the numbers to be 11 or less?
You could count every sum from 2 to 11, but that is slow. What is the opposite of rolling a sum of 11 or less?
You have 7 slips of paper numbered 1 to 7. How many ways are there to choose any subset of them so that you have at least 2 odd numbers and 1 even number?
Split the slips into odd and even. How many odd slips are there?
When a certain unfair die is rolled, an even number is 3 times as likely to appear as an odd number. The die is rolled twice. What is the probability that the sum of the numbers rolled is even?
On one roll, what is the probability of getting an even number?
A positive integer is called ascending if, in its decimal representation, there are at least two digits and each digit is less than any digit to its right. How many ascending positive integers are there?
Can an ascending number contain the digit 0?
If you toss four coins, in how many ways will there be at least 1 head?
If you toss four coins, in how many ways will there be at least 2 heads?
How many three digit numbers contain the digit 5 at least once?
How many ways are there to select a group of 3 people from 5 women and 3 men if there must be at least 1 man in the group?
How many subsets of contain at least one prime number?
In this section you will be able to mix complementary counting with casework and probability.
You roll 4 dice. What is the chance that at least one shows a 6? Listing all the ways to get one, two, three or four 6s is painful. The chance of no 6 at all is much easier!
Sometimes even the opposite has a few cases. That’s fine: do casework on the opposite, add the cases, then subtract.
For probability, the same idea reads: the chance of at least one is 1 minus the chance of none.
Oftentimes, you have to use complementary counting together with other ideas, like casework and probability. For probability, the complement rule is
I roll 2 fair 6-sided dice. What is the probability that the sum of the numbers is 5 or more?
You could do casework on sums 5 to 12, but there's a faster way. What is the opposite of rolling a sum of 5 or more?
How many subsets of the set have at least 1 even number and do not contain all of the elements?
How can you use complementary counting?
There are 3 sections of a dart board. The outermost section is worth 2 point if hit. The middle section is worth 5 points if hit. The innermost section is worth 10 points if hit. The probability you hit inner section is , the probability you hit the middle section is , the probability you hit the outermost section is , and the probability you miss the dartboard entirely is . You throw 3 darts at the dartboard. What is the probability you get less than 20 points?
"Less than 20" has lots of cases. What is the opposite?
How many 3 digit numbers have at least 2 digits that are the same?
How many 4 digit numbers are not palindromes? A palindrome is a number that reads the same forward and backward.
There are 9 different flavors of ice cream at an ice cream shop. Joe wants to buy 2 or 3 scoops of different ice cream flavors. He doesn't like 2 of the flavors Mango and Chocolate together so won't buy them together. How many ways can he buy ice cream?
A box contains five cards, numbered 1, 2, 3, 4, and 5. Three cards are selected randomly without replacement from the box. What is the probability that 4 is the largest value selected?
From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?
Una rolls 6 standard 6-sided dice simultaneously and calculates the product of the 6 numbers obtained. What is the probability that the product is divisible by 4?
In this section you will be able to use complementary counting on a mix of contest problems.
Time to mix it up! Each problem below asks for “at least”, “not” or “less than”. Before you count, ask yourself: is the opposite easier?
Want every problem from this chapter on one page? Open the problem set.
There are 10 slips of paper numbered 1 to 5 in a bag, each equally likely to be drawn. You draw a slip, and then immediately put it back in the bag. What is the least number of slips you must draw in order to have at least a chance of drawing the number 3?
You have 6 identical pears and 5 identical apples. You choose 4 fruits at random. What is the probability of picking at least 1 pear?
Alice, Bob, Claire, Dave, Emma are sitting around a round table. Alice refuses to sit next to Bob. How many different ways can they sit around the table? (Rotations of the same arrangement are not considered different).
Zara has a collection of 4 marbles: an Aggie, a Bumblebee, a Steelie, and a Tiger. She wants to display them in a row on a shelf, but does not want to put the Steelie and the Tiger next to one another. In how many ways can she do this?