Set Difference as Symmetric Difference with Intersection

From ProofWiki
Jump to navigation Jump to search


$S \setminus T = S * \left({S \cap T}\right)$


$S \setminus T$ denotes set difference
$S * T$ denotes set symmetric difference
$S \cap T$ denotes set intersection.


\(\displaystyle S * \left({S \cap T}\right)\) \(=\) \(\displaystyle \left({S \setminus \left({S \cap T}\right)}\right) \cup \left({\left({S \cap T}\right) \setminus S}\right)\) Definition of Symmetric Difference
\(\displaystyle \) \(=\) \(\displaystyle \left({S \setminus \left({S \cap T}\right)}\right) \cup \varnothing\) Set Difference of Intersection with Set is Empty Set
\(\displaystyle \) \(=\) \(\displaystyle \left({S \setminus T}\right) \cup \varnothing\) Set Difference with Intersection is Difference
\(\displaystyle \) \(=\) \(\displaystyle S \setminus T\) Union with Empty Set