Symmetric difference of sets

CAT 2018 Slot 2 · QA · Easy · Set Theory

For two sets A and B, let AΔB denote the set of elements which belong to A or B but not both. If P={1,2,3,4}P = \{1,2,3,4\}, Q={2,3,5,6}Q = \{2,3,5,6\}, R={1,3,7,8,9}R = \{1,3,7,8,9\}, S={2,4,9,10}S = \{2,4,9,10\}, then the number of elements in (PΔQ)Δ(RΔS)(P\Delta Q)\Delta(R\Delta S) is

  1. A.

    7

  2. B.

    8

  3. C.

    9

  4. D.

    6

Answer

A

Explanation

Recall that symmetric difference Δ\Delta is associative and commutative, and xX1ΔX2ΔΔXkx \in X_1 \Delta X_2 \Delta \dots \Delta X_k if and only if xx belongs to an odd number of the sets XiX_i.

Let's evaluate each element in P,Q,R,SP, Q, R, S:

  • 1: belongs to P,RP, R (2 sets - even)     \implies not included
  • 2: belongs to P,Q,SP, Q, S (3 sets - odd)     \implies included
  • 3: belongs to P,Q,RP, Q, R (3 sets - odd)     \implies included
  • 4: belongs to P,SP, S (2 sets - even)     \implies not included
  • 5: belongs to QQ (1 set - odd)     \implies included
  • 6: belongs to QQ (1 set - odd)     \implies included
  • 7: belongs to RR (1 set - odd)     \implies included
  • 8: belongs to RR (1 set - odd)     \implies included
  • 9: belongs to R,SR, S (2 sets - even)     \implies not included
  • 10: belongs to SS (1 set - odd)     \implies included

The elements appearing an odd number of times are {2,3,5,6,7,8,10}\{2, 3, 5, 6, 7, 8, 10\}. The number of elements is 7.

Practise this under exam conditions

Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.

Solve in the workspace