Symmetric difference (source code)

= Symmetric difference
{title2=$A\mathbin\triangle B$}
{wiki}

The symmetric difference $A\mathbin\triangle B=(A\setminus B)\cup(B\setminus A)$ contains the elements belonging to exactly one of the two <sets>.