Union of families · Exercise-UNION-OF-FAMILIES-007

Step-by-step solved exercise: Operations and families

Let \(\displaystyle A_n = \{n, n+1\}\) for \(\displaystyle n \in \{1,2,3\}\). How many elements does \(\displaystyle \bigcup_{n} A_n\) have?

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

Step-by-step solution

  1. Compute each set: with \(\displaystyle n = 1\), \(\displaystyle n = 2\) and \(\displaystyle n = 3\) you get three two-element sets.

    \[\displaystyle A_1 = \{1,2\},\ A_2 = \{2,3\},\ A_3 = \{3,4\}\]
  2. Gather the elements of the three sets, without repeats.

    \[\displaystyle \bigcup_{n} A_n = \{1,2,3,4\}\]
  3. Count the distinct elements of the union.

    \[\displaystyle \left|\{1,2,3,4\}\right| = 4\]

    Comment: Adding 2 + 2 + 2 gives 6, but 2 and 3 are counted twice.

Answer

4

🎯 Build my path to this exercise