For all humankind
Academicsubsite
ZixuanZhang
ZixuanZhang
Ponder...

Inclusion-Exclusion Formula

For events ,

and for two events this reads .

Proposition 2.4 (Inclusion-Exclusion Formula)

Let . Then

In general, for events , we have

Combinatorial form

On a finite probability space with and , multiplying by turns the formula into

the inclusion-exclusion principle of combinatorics.

Proof

Induction on . The case is . Assume the formula holds for events. Then

Applying the induction hypothesis to both unions of events and collecting terms gives the formula for events.

Alternative proof via indicators and expectation

Indicator algebra reduces the formula to expanding a product. For two events,

More generally, for events ,

Taking expectation and using term by term yields

Related

Stated in