Double Counting (Different Perspectives)

Idea · Intermediate

Combinatorics

A,B⊆{1,2,…,n} A,B\subseteq\{1,2,\ldots,n\}
A∩B=∅ A\cap B=\varnothing

Instead of considering the subsets, we should consider the elements.

Each element has 3 possible choices for AA and BB:

AB✓××✓×× \begin{array}{c|c} A & B\\ \hline \checkmark & \times\\ \times & \checkmark\\ \times & \times \end{array}

Therefore,

3⋅3⋅3⋯3⏟n times=3n \underbrace{3\cdot3\cdot3\cdots3}_{n\text{ times}}=3^n