Arithmetic · real student question

Let A = {2, 4, 5, 6}, B = {1, 3, 5, 7}, C = {3, 4, 6, 9, 10} and D = {1, 2, 3, 7, 8, 9}. Find A ∪ B, B ∪ C, C ∪ D, A ∩ B, C ∩ D and D ∩ A.

Question

Let

A={2,4,5,6},B={1,3,5,7},C={3,4,6,9,10},D={1,2,3,7,8,9}A=\{2,4,5,6\},\quad B=\{1,3,5,7\},\quad C=\{3,4,6,9,10\},\quad D=\{1,2,3,7,8,9\}

Find ABA\cup B, BCB\cup C, CDC\cup D, ABA\cap B, CDC\cap D and DAD\cap A.

Step-by-step solution

  1. Fix the two definitions before computing. ABA\cup B ("union") contains every element that is in AA or BB or both, each listed once. ABA\cap B ("intersection") contains only the elements in both. A reliable habit is to write the answers in increasing order so that a missing or repeated element is easy to spot.

  2. Compute the three unions. Merge the lists and delete repeats:

    AB={1,2,3,4,5,6,7}A\cup B=\{1,2,3,4,5,6,7\}

    BC={1,3,4,5,6,7,9,10}B\cup C=\{1,3,4,5,6,7,9,10\}

    CD={1,2,3,4,6,7,8,9,10}C\cup D=\{1,2,3,4,6,7,8,9,10\}

    Note 55 appears in both AA and BB but is written only once in ABA\cup B.

  3. Compute A ∩ B. Scan A={2,4,5,6}A=\{2,4,5,6\} against B={1,3,5,7}B=\{1,3,5,7\}: only 55 occurs in both.

    AB={5}A\cap B=\{5\}

  4. Compute C ∩ D. C={3,4,6,9,10}C=\{3,4,6,9,10\} and D={1,2,3,7,8,9}D=\{1,2,3,7,8,9\} share 33 and 99.

    CD={3,9}C\cap D=\{3,9\}

  5. Compute D ∩ A. D={1,2,3,7,8,9}D=\{1,2,3,7,8,9\} and A={2,4,5,6}A=\{2,4,5,6\} share only 22. Intersection is commutative, so DA=ADD\cap A=A\cap D.

    DA={2}D\cap A=\{2\}

    AB={1,,7}, BC={1,3,4,5,6,7,9,10}, CD={1,2,3,4,6,7,8,9,10}, AB={5}, CD={3,9}, DA={2}\boxed{A\cup B=\{1,\ldots,7\},\ B\cup C=\{1,3,4,5,6,7,9,10\},\ C\cup D=\{1,2,3,4,6,7,8,9,10\},\ A\cap B=\{5\},\ C\cap D=\{3,9\},\ D\cap A=\{2\}}

  6. Check each pair with the counting identity. XY=X+YXY|X\cup Y|=|X|+|Y|-|X\cap Y|. For AA and BB: 4+41=74+4-1=7 ✓. For CC and DD: 5+62=95+6-2=9 ✓. For BB and CC: BC={3}=1|B\cap C|=|\{3\}|=1, so 4+51=84+5-1=8 ✓. All three unions have the predicted sizes.

Answer

AB={1,2,3,4,5,6,7}, BC={1,3,4,5,6,7,9,10}, CD={1,2,3,4,6,7,8,9,10}, AB={5}, CD={3,9}, DA={2}A\cup B=\{1,2,3,4,5,6,7\},\ B\cup C=\{1,3,4,5,6,7,9,10\},\ C\cup D=\{1,2,3,4,6,7,8,9,10\},\ A\cap B=\{5\},\ C\cap D=\{3,9\},\ D\cap A=\{2\}

Need to solve a different problem like this? Open the solver →