Generalization of the principle
312706027 賴宥安
E1
E2
E1 equals the number of elements in regions 2, 3, and 4.
But we can also write
E1 = N(c1) + N(c2) + N(c3) – 2[N(c1c2) + N(c2c3) + N(c1c3)] + 3N(c1c2c3)
E1 = N(c1) + N(c2) + N(c3) – 2[N(c1c2) + N(c2c3) + N(c1c3)] + 3N(c1c2c3)
In N(c1) + N(c2) + N(c3) we count the elements in 5, 6, 7 twice and those in region 8 three times.
In the next term, the elements in region 5, 6, 7 are deleted twice.
We remove the region 8 six times in 2[N(c1c2) + N(c2c3) + N(c1c3)] , so we then add on the tern 3N(c1c2c3) and end up not counting region 8 at all.
What we want
Each of regions 13~15 is counted 3 times
Remove them in – 3S3
Counted 6 times in S2,
deleted 3 × 4 = 12 times in - 3S3,
so we have to add 6 times back
E4 [regions 16]
E4 = S4
The results we mentioned earlier suggest the following theorem.
Under the hypotheses of Theorem 8.1, for each 1 ≤ m ≤ t, the number of elements in S that satisfy exactly m of the conditions c1, c2, …, ct is given by
(If m = 0, we obtain Theorem 8.1)
Proof: let x ∈ S and consider the following three cases.
a)
When x satisfies fewer than m conditions, it contributes a count of 0 to each of the terms Em, Sm, Sm+1, … , St, so it is not counted on either side of the equation.
Proof
b)
When x satisfies exactly m of the conditions, it is counted once in Em, and once in Sm, but not in Sm+1, … , St . Consequently, it is included once in the count for either side of the equation.
Proof
Proof
Proof
Consequently, on the right-hand side of Eq.(1), x is counted
Proof
Corollary 8.2
Corollary 8.2
In a certain area of the countryside are five villages. An engineer is to devise a system of two-way roads so that after the system is completed, no village will be isolated. In how many ways can he do this?
Example 8.10
Calling the villages a, b, c , d, and e, we seek the number of loop-free undirected graphs on these vertices, where no vertex is isolated. Consequently, we want to count situations in parts (a) and (b), but not those shown in parts (c) and (d).
Example 8.10
Example 8.10
Example 8.10
Example 8.10
Example 8.10
Example 8.10
Example 8.10
Example 8.11
Thank you