Double Counting (Different Perspectives)
Idea · Intermediate
Combinatorics
Instead of considering the subsets, we should consider the elements.
Each element has 3 possible choices for and :
Therefore,
Let
Find the sum of the sizes of all subsets of
Consider each element of
A fixed element belongs to exactly half of all subsets of
Since has
subsets, each element belongs to
subsets
There are elements, so the total sum of the sizes of all subsets is
Therefore,
There are students. How many ways are there to choose a nonempty committee and then choose a leader from that committee?
We count the same thing in two ways
If the committee has students, we can choose it in
ways
Then choose its leader in
ways
So the total number of ways is
Now count another way
Choose the leader first
There are
choices
Each of the other students can either be in the committee or not
So there are
choices
Therefore,
There are students. How many ways are there to choose a committee of students and then choose two different members of the committee for two different jobs?
First choose the committee
Then choose the first special member in
ways
Then choose the second special member in
ways
So the total is
Now count another way
Choose the two special students first
There are
ways
Then choose the remaining committee members from the other students
Therefore,
At a party, there are people. Suppose the total number of handshakes is .
Person 1 shakes hands with people, person 2 shakes hands with people, and so on
Prove that
Count the total number of times people participate in handshakes
Counting by people gives
But every handshake involves exactly two people
So counting by handshakes gives
Therefore,