Problem:
For any finite set S, let β£Sβ£ denote the number of elements in S. Find the number of ordered pairs (A,B) such that A and B are (not necessarily distinct) subsets of {1,2,3,4,5} that satisfy
β£Aβ£β
β£Bβ£=β£Aβ©Bβ£β
β£AβͺBβ£
Solution:
We are given that A and B are subsets of {1,2,3,4,5} and asked to count the number of ordered pairs (A,B) such that β£Aβ£β
β£Bβ£=β£Aβ©Bβ£β
β£AβͺBβ£.
Using the principle of inclusion-exclusion, we know that β£AβͺBβ£=β£Aβ£+β£Bβ£ββ£Aβ©Bβ£. Letting a=β£Aβ£, b=β£Bβ£, and c=β£Aβ©Bβ£, the condition becomes ab=c(a+bβc). Expanding the right-hand side gives ab=ac+bcβc2. Subtracting both sides yields abβacβbc+c2=0, which factors as (aβc)(bβc)=0.
So the condition holds if and only if a=c or b=c, meaning AβB or BβA.
Now we count the number of ordered pairs (A,B) such that AβB or BβA. For each element of the universal set {1,2,3,4,5}, we have three possibilities:
(1) it is in both A and B,
(2) it is in B but not in A,
(3) it is in neither A nor B.
So there are 35=243 such ordered pairs with AβB. Similarly, there are 243 ordered pairs with BβA.
However, the pairs where A=B are counted twice. There are 25=32 such pairs, since each element is either in the subset or not.
By the principle of inclusion-exclusion, the total number of valid ordered pairs is 243+243β32=454β.
The problems on this page are the property of the MAA's American Mathematics Competitions