Let $A$ and $B$ be sets, why is the notation $A\setminus B$ preferred over $A-B$ for set differences?
Asked
Active
Viewed 93 times
2
-
3The correct notation is rather $A \setminus B$. – TheSilverDoe Sep 14 '20 at 12:47
-
2IMO there is no "deep reason" why it is so... Authoritative textbook of 20th Century (Hausdorff, Bourbaki) used the "$-$" sign. – Mauro ALLEGRANZA Sep 14 '20 at 13:01
-
1See also this post – Mauro ALLEGRANZA Sep 14 '20 at 13:02
2 Answers
7
In some contexts $A-B$ might refer to things like the Minkowski difference of two subsets of a vector space, like $A+B$ almost always refers to the sum $\{a+b\mid a\in A, b\in B\}$.
The notation $A\setminus B$ is less likely to collide with other common interpretations of $A-B$.
J. W. Tanner
- 60,406
Christoph
- 24,912