(a) Let S be a finite set, and let P(S) be the power set of S, that is, the set of all subsets of S. Let f:P(S)→R be additive in the sense that f(A∪B)=f(A)+f(B) whenever A∩B=∅. Show that, for A1,A2,…,An∈P(S),
f(i⋃Ai)=i∑f(Ai)−i<j∑f(Ai∩Aj)+i<j<k∑f(Ai∩Aj∩Ak)−⋯+(−1)n+1f(i⋂Ai)
(b) Let A1,A2,…,An be finite sets. Deduce from part (a) the inclusion-exclusion formula for the size (or cardinality) of ⋃iAi.
(c) A derangement of the set S={1,2,…,n} is a permutation π (that is, a bijection from S to itself) in which no member of the set is fixed (that is, π(i)=i for all i ). Using the inclusion-exclusion formula, show that the number dn of derangements satisfies dn/n!→e−1 as n→∞.