1. ## sets prove

Show that for any sets A and B ,

(A-B)U(B-A)=(AUB)-(AnB)

thanks a lot ..

2. Hello, thereddevils!

Show that for any sets $\displaystyle A$ and $\displaystyle B\!:\;\; (A-B) \cup (B-A) \:=\:(A \cup B)-(A \cap B)$
I'll establish some rules for reference:

. . $\displaystyle [1]\;\;P - Q \:=\:P \cap \overline{Q}$ . (definition of set subtraction)

. . $\displaystyle [2]\;P \cup \overline P \:=\:U$

. . $\displaystyle [3]\;\;P \cap U \:=\:P$

$\displaystyle \begin{array}{ccc}(A - B) \cup (B - A) & &\text{Given} \\ \\ (A \cap \overline B) \cup (B \cap \overline A) & & [1] \\ \\ \bigg[A \cup(B\cap \overline A)] \cap \bigg[\overline B \cup (B \cap \overline A)\bigg] & & \text{distr.} \\ \\ \bigg[(A \cup B) \cap (A \cup \overline A)\bigg] \cap \bigg[(\overline B \cup B) \cap (\overline B \cup \overline A)\bigg] & & \text{distr.} \\ \end{array}$

. . . $\displaystyle \begin{array}{cccc} \bigg[(A \cup B) \cap U\bigg] \cap \bigg[U \cap (\overline B \cup \overline A)\bigg]\qquad && & [2] \\ \\ (A \cup B) \cap (\overline A \cup \overline B) & & & [3] \\ \\ (A \cup B) \cap (\overline{A \cap B}) & & & \text{DeMorgan} \\ \\ (A \cup B) - (A \cap B) & & & [1] \end{array}$