I am currently struggling with the following question :
Let S be defined as the following:
S = {(A,B)| A ⊆ {1,2,....,n}, B ⊆ {1,2,....,n}, |A ∩ B| >= 1}
What is the cardinality of S? Justify your answer.
I am by no means looking for someone to give me the answer, rather I am looking for hints on how to even begin dissecting this question. For starters a translation of the definition of S in terms of english. I believe it says S is defined as a tuple of set A and B s.t A is a subset of positive integers 1 to n and the same with set B? Any hints would be greatly appreciated.
Now the tricky idea:
Use these results to deduce the cardinality of $S$.
Hint for the "trick" part: consider maps $\{1,2,\ldots,n\}\to \{1,2,3\}$.