Inclusion–exclusion principle

A counting principle that computes the size of a union by adding set sizes, subtracting pairwise overlaps, and alternating through higher-order intersections.

Connect