TOPICS
Search

Set Difference


The set difference A\B is defined by

 A\B={x:x in A and x not in B}.

Here, the backslash symbol is defined as Unicode U+2216.

The set difference is therefore equivalent to the complement set, and is implemented in the Wolfram Language as Complement[A, B].

The symbol A-B is sometimes also used to denote a set difference (Smith et al. 1997, p. 68).


See also

Backslash, Complement Set, Difference Set, Symmetric Difference

Explore with Wolfram|Alpha

References

Croft, H. T.; Falconer, K. J.; and Guy, R. K. Unsolved Problems in Geometry. New York: Springer-Verlag, p. 2, 1991.Harris, J. W. and Stocker, H. Handbook of Mathematics and Computational Science. New York: Springer-Verlag, p. 3, 1998.Smith, D.; Eggen, M.; and St. Andre, R. A Transition to Advanced Mathematics, 4th ed. New York: Brooks/Cole, 1997.

Referenced on Wolfram|Alpha

Set Difference

Cite this as:

Weisstein, Eric W. "Set Difference." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/SetDifference.html

Subject classifications