# Symbols:Set Theory/Set Difference

## Set Difference

$\setminus$

The difference between two sets $S$ and $T$ is denoted $S \setminus T$ and consists of all the elements of $S$ which are not elements of $T$.

$S \setminus T := \set {x \in S: x \notin T}$

The $\LaTeX$ code for $\setminus$ is \setminus .

## Also denoted as

### Minus Symbol

$-$

A variant notation for the difference between two sets $S$ and $T$ is $S - T$.

The $\LaTeX$ code for $S - T$ is S - T .

## Also see

See Number Theory: Divisor for an alternative use of this symbol.