Software Engineering KB

Home

❯

01 Foundations

❯

03 Mathematics for CS

❯

02 Sub Concept

❯

Inclusion Exclusion

Inclusion-Exclusion

Feb 10, 20261 min read

  • mathematics-for-cs
  • discrete-mathematics
  • combinatorics
  • inclusion-exclusion

Inclusion-Exclusion

← Back to Combinatorics

A counting principle for the size of the union of sets: |A union B| = |A| + |B| - |A intersect B|. Generalizes to n sets by alternately adding and subtracting intersection sizes. Used in derangements, Euler’s totient function, and probability calculations.

mathematics-for-cs discrete-mathematics combinatorics inclusion-exclusion


Graph View

Backlinks

  • Combinatorics

Created with Quartz v4.5.2 © 2026

  • GitHub