GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 8

Nested set differences

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 2005 paper

GATE 2005, Q8 1 mark · MCQ
Report issue

Sets, Relations & Functions

Question 8, GATE 2005: For nonempty sets A, B, C, let X=(A−B)−C and Y=(A−C)−(B−C). Choose A X=Y; B X is a proper subset of Y; C Y is a proper subset of X; D none.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

X=(A∖B)∖C=A∩Bᶜ∩Cᶜ. In Y=(A∖C)∖(B∖C), an element already outside C is removed exactly when it belongs to B. Hence Y=A∩Bᶜ∩Cᶜ=X, A.

Membership in X means being in A but neither B nor C. For Y, first exclude C from A. On those remaining elements, membership in B−C is exactly membership in B because C has already been excluded. Removing B−C therefore removes precisely the B-members, leaving the same A∩Bᶜ∩Cᶜ as X. Hence A, even though the original sets need not be disjoint.

Original paper, page 1