For finite sets , the inclusion-exclusion principle states
To prove it, count the contribution of one element. If it belongs to exactly of the sets, it is counted by intersections of size . Its total weight is
using the binomial theorem. An element belonging to none contributes zero. Summing these weights gives the cardinality of the union and proves the inclusion-exclusion principle. Equivalently, within a finite ambient set , the number avoiding every is the sum over all , with sign and the empty intersection interpreted as .

Articles by others on the same topic (0)

There are currently no matching articles.