1 of 29

Generalization of the principle

312706027 賴宥安

2 of 29

 

3 of 29

 

E1

E2

4 of 29

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)

​

5 of 29

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.

6 of 29

 

7 of 29

 

8 of 29

 

9 of 29

 

10 of 29

 

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

11 of 29

 

E4 [regions 16]

E4 = S4

12 of 29

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)

13 of 29

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

14 of 29

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

15 of 29

 

Proof

16 of 29

 

Proof

17 of 29

 

Consequently, on the right-hand side of Eq.(1), x is counted

Proof

18 of 29

 

Corollary 8.2

19 of 29

 

 

Corollary 8.2

20 of 29

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

21 of 29

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

22 of 29

 

Example 8.10

23 of 29

 

Example 8.10

24 of 29

 

Example 8.10

25 of 29

 

Example 8.10

26 of 29

 

Example 8.10

27 of 29

 

Example 8.10

28 of 29

 

Example 8.11

29 of 29

Thank you