Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M9067

Inclusion-Exclusion Principle

Inclusion-Exclusion Principle
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

The inclusion-exclusion principle, also known as the principle of inclusion and exclusion or the sieve principle, in combinatorics states that if A1, ..., An are finite sets, then ...

Definition

When calculating the union of multiple sets: first add the sizes of each set, then subtract the sizes of pairwise intersections, then add the sizes of triple intersections... alternately adding and subtracting to avoid double counting. Scaffold role: count without duplication or omission. Systematically handle overlapping parts in categorical counting to avoid overcounting or undercounting.

How to use

Count without duplication or omission. Systematically handle overlapping parts in categorical counting to avoid overcounting or undercounting.

Mechanism

The size of the union of multiple sets requires alternately adding and subtracting intersections to correct for double counting: |A∪B| = |A| + |B| - |A∩B|, and for three sets add back the triple intersection. The essence is to systematically handle overlapping parts to achieve counting without duplication or omission.

Practice

In progress 0/5

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Counting the number of people who speak English or French to avoid double counting; finding the probability of satisfying at least one condition in probability; using inclusion-exclusion to solve 'at least' type counting problems.

Common pitfalls

  • Omitting intersections leads to overcounting; errors in alternating signs; directly adding sets that are not mutually exclusive. Another pitfall is ignoring higher-order intersections.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%8E%92%E5%AE%B9%E5%8E%9F%E7%90%86ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS