I'm preparing ahead for a Discrete Math course coming up this year by doing some practice problems supplemented by online notes.
The problem I'm having trouble proving is the following:
$A \cup B = (A \cap B^C) \cup (A^C \cap B) \cup (A \cap B)$, where $^C$ denotes complement of a set
I know I should use some of the Laws of the algebra of sets, but this is all so new that it's difficult for me to conceptualize which law to begin with.
UPDATE:
For any two finite sets A and B: $A \cup B = (A\B) \cup B$
$Using: (X\Y) = (X \cap Y^C)$
I found that:
$A \cup B = (A \cap B^C) \cup B$, substituting for A
$A \cup B = (A \cap B^C) \cup (B \cap A^C)$, substituting for A and B
SECOND UPDATE:
After gaining insight from everyone I've figured it out (or so I hope).
$A \cup B = (A \cap B^C) \cup (A^C \cap B) \cup (A \cap B)$
Rearrange using Commutative laws:
$(A \cap B^C) \cup (A \cap B) \cup (A^C \cap B)$
Applying the Distributive laws we get:
$(A \cap (B^C \cup B)) \cup (A^C \cap B)$
Then by Complement laws:
$A \cap U \cup (A^C \cap B)$
Using the Identity laws:
$A \cup (A^C \cap B)$
Using the Distributive laws:
$(A \cup A^C) \cap (A \cup B)$
By Complement laws:
$U \cap (A \cup B)$
Finally, using Identity laws we get:
$A \cup B$