statement theorem
Inclusion–exclusion principle
Statement
Let be finite sets. For a nonempty set , let . Then
Remarks
For this is inclusion–exclusion for two sets. A common use counts the elements of a finite set that are in none of the sets . This number is , over all , with . The formula for the number of derangements follows in this way.
Explanations
L1 human
Add the sizes of the single sets, subtract the sizes of the pairwise intersections, add the sizes of the triple intersections, and so on. Each element of the union is then counted exactly once in total.
What this node needs for W2
- edge about out: the concepts that the statement is about (0 of 1)
- edge proves in: at least one proof node (0 of 1)
- edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
- explanation L2 (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Cardinality of a finite set definition
- Rule of sum statement
- Inclusion–exclusion for two sets statement
- Inclusion–exclusion principle statement
Sources
What links here
No node links to this node yet.