Math 2.0

Combinatorics Theorem

Inclusion–exclusion for two sets

Builds on Cardinality of a finite setRule of sum

Statement

Let AA and BB be finite sets. Then ∣A∪B∣+∣A∩B∣=∣A∣+∣B∣.|A \cup B| + |A \cap B| = |A| + |B|. Equivalently, ∣A∪B∣=∣A∣+∣B∣−∣A∩B∣|A \cup B| = |A| + |B| - |A \cap B|.

Remarks

If A∩B=∅A \cap B = \varnothing, this is the rule of sum. For three sets: ∣A∪B∪C∣=∣A∣+∣B∣+∣C∣−∣A∩B∣−∣A∩C∣−∣B∩C∣+∣A∩B∩C∣|A \cup B \cup C| = |A| + |B| + |C| - |A \cap B| - |A \cap C| - |B \cap C| + |A \cap B \cap C|. The inclusion–exclusion principle is the version for nn sets.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Cardinality of a finite set definition
  2. Rule of sum statement
  3. Inclusion–exclusion for two sets statement

Where this leads

2 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Inclusion–exclusion_principle, Formula
About this page
Tag0C4YEQ9H5E
URIm2://0C4YEQ9H5E
Kindstatement, theorem
WritingW0 stub
MSC05A05
StatusThis copy of the site has no build data. Run m2 status 0C4YEQ9H5E.
UsesCardinality of a finite set, Rule of sum

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by