Math 2.0

Combinatorics Theorem

Inclusion–exclusion formula for elements with none of the properties

Builds on Cardinality of a finite setInclusion–exclusion principle

Statement

Let XX be a finite set. Let 𝒫={p1,…,pm}\mathcal{P} = \{p_1, \dots, p_m\} be a set of mm properties that each element of XX may or may not have.

For a subset S⊆[m]={1,…,m}S \subseteq [m] = \{1, \dots, m\}, let N(S)N(S) be the number of elements of XX that have every property pip_i with i∈Si \in S. In particular N(∅)=∣X∣N(\varnothing) = |X|.

Then the number of elements of XX that have none of the properties in 𝒫\mathcal{P} is ∑S⊆[m](−1)∣S∣N(S).\sum_{S \subseteq [m]} (-1)^{|S|} N(S).

Remarks

This is the sieve form of the inclusion–exclusion principle. The sizes are cardinalities of finite sets.

Take AiA_i to be the set of elements of XX with property pip_i. Then N(S)N(S) is the size of the intersection of the AiA_i for i∈Si \in S, and the formula counts the complement of the union of the AiA_i in XX.

Reading path

To understand this page from the ground up, read these 5 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
  4. Inclusion–exclusion principle statement
  5. Inclusion–exclusion formula for elements with none of the properties statement

Further reading

  1. Web https://github.com/mitchkeller/applied-combinatorics/blob/ebd95d6bd59e23c633c65cf560bcb93efa912aae/source/s_inclusion-exclusion_statement.ptx#L41, source/s_inclusion-exclusion_statement.ptx:41
About this page
TagXJPVHVVKD9
URIm2://XJPVHVVKD9
Kindstatement, theorem
WritingW1 stated
MSC05A05
StatusThis copy of the site has no build data. Run m2 status XJPVHVVKD9.
UsesCardinality of a finite set, Inclusion–exclusion principle
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page 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 page is. They do not measure its truth.

What links here

No page links to this page yet.