Definition
Set difference
Algebra • Sets • Operations
Statement
For sets and , the difference (also written ) is the set of elements that belong to but not to . Its size is .
How to use it
- 1Strike out from exactly the members of ; nothing from is ever added.
- 2When only the counts are wanted, use rather than listing elements.
- 3Read the order carefully: and are different sets and usually different sizes.
Worked example
If and , find and .
Step-by-step
- 1
Why: The shared elements are the only ones either difference removes.
- 2
Why: Remove the shared pair from each set in turn.
Answer
and
Watch out
Set difference is not symmetric: in general, and only when .