2

Let $A$ and $B$ be sets, why is the notation $A\setminus B$ preferred over $A-B$ for set differences?

RobPratt
  • 45,619

2 Answers2

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
3

Because $A-B$ is ambiguous and could mean $\{a-b:a\in A, b\in B\}$.

RobPratt
  • 45,619