7 The Inclusion-Exclusion Principle and Applications
The number of objects of the set \(S\) that have none of the properties \(P_1, P_2, \ldots , P_m\) is given by the alternating expression
where the first sum is over all 1-subsets \(\{ i\} \) of \(\{ 1,2,\ldots ,m\} \), the second sum is over all 2-subsets \(\{ i,j\} \) of \(\{ 1,2,\ldots ,m\} \), the third sum is over all 3-subsets \(\{ i,j,k\} \) of \(\{ 1,2,\ldots ,m\} \), and so on until the \(m\)th sum over all \(m\)-subsets of \(\{ 1,2,\ldots ,m\} \) of which the only one is itself.
The number of objects of \(S\) which have at least one of the properties \(P_1, P_2, \ldots , P_m\) is given by
where the summations are as specified in Theorem 6.1.1.
For \(n \geq 1\),
The number of ways to place \(n\) nonattacking, indistinguishable rooks on an \(n\)-by-\(n\) board with forbidden positions equals
For \(n \geq 1\),
Let \((X, \leq )\) be a partially ordered set with a smallest element \(0\). Let \(\mu \) be its Möbius function, and let \(F : X \to \Re \) be a real-valued function defined on \(X\). Let the function \(G : X \to \Re \) be defined by
Then
Let \(X_n = \{ 1, 2, \ldots , n\} \) and let \(F : \mathcal{P}(X_n) \to \Re \) be a function defined on the subsets of \(X_n\). Let \(G : \mathcal{P}(X_n) \to \Re \) be the function defined by
Then
Let \((X, \leq _1)\) and \((Y, \leq _2)\) be two finite partially ordered sets with Möbius functions \(\mu _1\) and \(\mu _2\), respectively. Let \(\mu \) be the Möbius function of the direct product of \((X, \leq _1)\) and \((Y, \leq _2)\). Then
Let \(F\) be a real-valued function defined on the set of positive integers. Define a real-valued function \(G\) on the positive integers by
Then, for each positive integer \(n\), we have
where we write \(\mu (n/k)\) for \(\mu (1, n/k)\).