Sets, Relations & Functions

Answer & solution
Official answer: 2
Approach: Turn the bijections into cardinality equations, use the range of the intersection size, and then prove that every remaining candidate is achievable.
1. The first bijection gives |A|=|B|=n for an integer n≥1. Put t=|A∩B|, so 0≤t≤n.
2. The second bijection gives |A×A|=|A∪B|. Therefore n²=2n−t.
3. Since t≥0, n²≤2n. Dividing by positive n yields n≤2. Thus only n=1 and n=2 can work.
4. For n=1, choose A=B={a}. Then n²=1=|A∪B| and both bijections exist. For n=2, choose disjoint sets A={a,b} and B={c,d}; both A×A and A∪B have four elements, so a bijection exists between them.
Answer: 2 possible values. The question asks for the number of possible cardinalities, not the number of choices of the sets themselves.