1
Albert R Meyer, April 24, 2013
Mathematics for Computer Science
MIT 6.042J/18.062J
Inclusion- Exclusion 2 set proof
incexcI.1 Albert R Meyer, April 24, 2013
Inclusion-Exclusion
|A ∪B| =|A|+|B|-|A∩B|
A B
incexcI.2 Albert R Meyer, April 24, 2013
Inc-Exc from Sum Rule
A B
A ∪B = A∪(B−A)
disjoint
incexcI.3
proof:
Albert R Meyer, April 24, 2013
Inc-Exc from Sum Rule
A B proof:
∪ |A B| =|A|+|B−A|
by Sum Rule
incexcI.4