Mathematics · Ch 14 — Sets and Relations
Difference and Symmetric Difference of Sets
Difference and Symmetric Difference of Sets
The DIFFERENCE of set A and set B is the set of elements that are in A but NOT in B, denoted (also written ). Formally, (shaded in Fig. 5.6). Similarly, . For example, if and , then and .
Notes on difference: (i) and ; (ii) the three sets , , and are mutually disjoint — no two of them share any element; (iii) and ; (iv) — the union splits cleanly into these three disjoint pieces (Fig. 5.7).
SYMMETRIC DIFFERENCE: is called the symmetric difference of A and B, denoted — it collects everything that is in exactly one of A, B, but not in both. For example, if and , then , , so . …
What this figure shows. A Venn diagram of two overlapping circles A and B inside a rectangle, shading only the crescent-shaped part of circle A that does NOT overlap with B, illustrating A−B as 'everything in A except what's shared with B …
What this figure shows. A Venn diagram of two overlapping circles A and B, with all three distinct regions marked/shaded together — the A-only crescent, the shared middle lens, and the B-only crescent — visually showing that these three mutually disjoint pieces, placed together, make up the whole of A∪B …