Elementary Set Theory – Does Set Difference Distribute Over Set Intersection?

elementary-set-theory

I am asked to prove that, if $A, B$ and $C$ are sets, then $$A-(B\cap C)=(A-B)\cap(A-C).$$ However, I think that either I have made an error in my working, or the wording of the problem contains a typographical error.

My working so far is as follows: $$\begin{align}x\in(A-(B\cap C)) &\iff (x\in A)\wedge(x\not\in(B\cap C))\\ &\iff(x\in A)\wedge((x\not\in B)\vee(x\not\in C))\\ &\iff((x\in A)\wedge(x\not\in B))\vee((x\in A)\wedge(x\not\in C))\\ &\iff(x\in(A-B))\vee(x\in(A-C))\\ &\iff x\in((A-B)\cup(A-C)) \end{align}$$

First line to second line: by De Morgan's Law.
Second line to third line: by distributivity of set intersection over set union.
Third line to fourth line: by definitions of intersection and set difference.

If my working is correct, then I have shown that $$A-(B\cap C)=(A-B)\cup(A-C).$$
Am I correct?

Best Answer

You are right. As an other proof:
$$A-(B\cap C)=A\cap (B\cap C)^c= A\cap (B^c\cup C^c)=$$ $$(A\cap B^c)\cup (A\cap C^c)=(A-B)\cup(A-C).$$

Related Question