Q.20 What is the number of ordered pairs $(π΄, π΅)$ where $π΄$ and $π΅$ are subsets of $\{1,2, . . . ,5\}$ such that neither $π΄ β π΅$ nor $π΅ β π΄$?
Ans: πππ
Hint: Use principle of Inclusion-Exclusion.
Solution: Let $X$ denote the set of all ordered pairs $(A, B)$ when $A β B$. Similarly let $Y$ denote set of all ordered pairs $(A,B)$ when $B β A$. The question asks to find $$π(X'\cap Y') = π(π) β π(π\cupπ) $$$$= π(S) β π(X) β π(Y) + π(X\cap Y) $$$$= 2^{10} β 3^5 β 3^5 + 2^5 = 570$$.
How did this happen? What is $S$? If $S={1,2,3,4,5}$, shouldn't $n(S)=2^5$? And where do the $3^5$s come from? I cannot understand this.
Also, are there other ways to solve this?