I was looking at a solution to the problem and it says that $A = X-B$ is equivalent to $A \cup B = X$ and $A \cap B = \emptyset$. I am wondering why this is true?
Any help would be highly appreciated.
I was looking at a solution to the problem and it says that $A = X-B$ is equivalent to $A \cup B = X$ and $A \cap B = \emptyset$. I am wondering why this is true?
Any help would be highly appreciated.
$\begin{align}A \cup B & = (X-B)\cup B \\[1ex] & = \{x: (x\in X \wedge x\notin B)\vee x\in B\} \\[1ex] & =\{x: x\in X \vee x\in B\} \\[1ex] & = X \cup B \\[3ex] A \cap B & = (X-B)\cap B \\[1ex] & = \{x: (x\in X \wedge x\notin B)\wedge x\in B\} \\[1ex] & =\{x: x\in B\wedge x\notin B\} \\[1ex] & = \varnothing\end{align}$