set difference
Definition
Let A and B be sets.
The set difference (or simply difference)
between A and B (in that order)
is the set of all elements of A that are not in B.
This set is denoted by A∖B or A-B
(or occasionally A∼B). So we have
A∖B={x∈A∣x∉B}. |
Venn diagram![]() |
Properties
Here are some properties of the set difference operation:
-
1.
If A is a set, then
A∖∅=A and
A∖A=∅=∅∖A. -
2.
If A and B are sets, then
B∖(A∩B)=B∖A. - 3.
-
4.
If A, B, C and D are sets, then
(A∖B)∩(C∖D)=(A∩C)∖(B∪D).
Remark
As noted above, the set difference is sometimes written as A-B. However, if A and B are sets in a vector space (or, more generally, a module (http://planetmath.org/Module)), then A-B is commonly used to denote the set
A-B={a-b∣a∈A,b∈B} |
rather than the set difference.
Title | set difference |
---|---|
Canonical name | SetDifference |
Date of creation | 2013-03-22 11:59:38 |
Last modified on | 2013-03-22 11:59:38 |
Owner | yark (2760) |
Last modified by | yark (2760) |
Numerical id | 33 |
Author | yark (2760) |
Entry type | Definition |
Classification | msc 03E20 |
Synonym | difference between sets |
Synonym | difference |
Related topic | SymmetricDifference |
Related topic | InverseImageCommutesWithSetOperations |
Related topic | Difference2 |