包含排斥定律:否定形式 没有被包含在若干个子集的并集中的元素个数: N(AA,A)=N-S,+S2-S3+.+(-1)*Sk++(-1)Sn where,Sk=∑1A,nA,n.∩A|k=1,2,,n l≤i1≤i2≤≤ik≤n For an example:the formula for 4 subsets N-(IAH+A2H+A3H+A4) +(A1∩A2HlA1∩A2tlA1∩AtlA2∩A3t|A2∩AtlA3A4D -(A1∩A2∩A3+lA1OA2∩A4tlA1∩A3∩A4tlA2∩A3∩A4D +A1∩A2∩A3∩A4包含-排斥定律: 否定形式 = = = − + − + + − + + − i i i n k i i i n n k k n k k S A A A k n N A A A N S S S S S 1 ... 1 2 1 2 3 1 2 1 2 where | ... | 1,2,..., ( ... ) ... ( 1) ... ( 1) , For an example:the formula for 4 subsets N - (|A1 |+ |A2 |+ |A3 |+ |A4 |) + (|A1A2 |+|A1A2 |+|A1A4 |+|A2A3 |+|A2A4 |+|A3A4 |) - (|A1A2A3 |+|A1A2A4 |+|A1A3A4 |+|A2A3A4 |) + |A1A2A3A4 | 没有被包含在若干个子集的并集中的元素个数: