Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can someone tell me where the error in my calculation is?

$|A \cup B \cup C|$

$|(A \cup B) \cup C|$

$|A \cup B| + |C| - |(A \cup B) \cap C|$

$|A \cup B| + |C| - |A \cup (B \cap C)|$

$|A| + |B| - |A \cap B| + |C| - |A| - |B \cap C| + |A \cap B \cap C|$

Rearranged gives:

$|A| + |B| + |C| - |A \cap B| - |B \cap C| + |A \cap B \cap C| - |A|$

This is the answer that I'm supposed to get as opposed to the one above

$|A| + |B| + |C| - |A \cap B| - |A \cap C| - |B \cap C| + |A \cap B \cap C|$

share|cite|improve this question

$(A \cup B)\cap C$ is not the same thing as $A \cup (B \cap C)$.

share|cite|improve this answer

$$((A \cup B) \cap C)\neq(A \cup (B \cap C))$$ rather it is equal to $$((A \cap C) \cup (B \cap C))$$

share|cite|improve this answer

$(A \cup B)\cap C=(A\cap C)\cup (B\cap C)$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.