Set difference
High school
Consider1 two sets $A$ and $B$. The set difference $A \setminus B$ is the set of elements of $A$ that are not in $B$.
Examples
Worked examples
- $A = \lbrace 1, 2 \rbrace$ and $B = \lbrace 3, 4 \rbrace$ : $A \setminus B = \lbrace 1, 2 \rbrace$ Elementary