Art of Problem Solving

Principle of Inclusion-Exclusion: Difference between revisions

Put discussions of what is to be added on the talk page, not on the page itself
Thor (talk | contribs)
No edit summary
Line 1: Line 1:
=== Statement ===
=== Statement ===
 
If <math>(A_i)_{1\leq i\leq n}</math> are finite sets, then:
<math> \left|\bigcup_{i=1}^n A_i\right|=\sum_{i=1}^n\left|A_i\right|
-\sum_{i < j}\left|A_i\cap A_j\right| +\sum_{i<j<k}\left|A_i\cap A_j\cap A_k\right|-\ \cdots\cdots\ +(-1)^n \left|A_1\cap\cdots\cap A_n\right| </math>.


=== Examples ===
=== Examples ===

Revision as of 12:04, 18 June 2006