Finite set · Exercise-FINITE-SET-007

Step-by-step solved exercise: Cardinals

If \(\displaystyle A\) and \(\displaystyle B\) are finite and disjoint, how many elements does \(\displaystyle A\cup B\) have?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Let A and B be finite with known cardinalities, for example \(\displaystyle |A|=2\) and \(\displaystyle |B|=3\).

    \[\displaystyle |A|=2,\ |B|=3\]
  2. Since they are disjoint, no element belongs to both sets, so there is no overlap to subtract.

    \[\displaystyle A\cap B=\varnothing\]
  3. The elements of the union are those of A together with those of B, with no repetition.

    \[\displaystyle A\cup B = A \sqcup B\]

    Comment: With \(\displaystyle |A|=2\) and \(\displaystyle |B|=3\), the union has 5 elements.

  4. Therefore, the cardinality of \(\displaystyle A\cup B\) is the sum \(\displaystyle |A|+|B|\).

    \[\displaystyle |A\cup B|=|A|+|B|\]

Answer

\(\displaystyle |A|+|B|\)

🎯 Build my path to this exercise