Proving the inclusion-exclusion principle

  • Thread starter Thread starter cookiesyum
  • Start date Start date
  • Tags Tags
    Principle
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
cookiesyum
Messages
72
Reaction score
0

Homework Statement



Prove the general inclusion-exclusion formula.

Homework Equations



Inclusion-exclusion Formula:

P(C1 U C2 U...U Ck) = p1 - p2 + p3 - ... + (-1)(k+1)pk

where pi equals the sum of the probabilities of all possible intersections involving i sets.

The Attempt at a Solution



Assume that the formula holds for n sets. Then for n+1 sets...

P(union k=1 to n+1 of Ck) = P((union k=1 to n of Ck) union Cn+1) = P(union k=1 to n of Ck) + P(Cn+1) - P((union k=1 to n of Ck) intersect Cn+1) = P(union k=1 to n of Ck) + P(Cn+1) - P(union k=1 to n of (Ck intersect Cn+1)) = sum k=1 to n of P(Ck) + P(Cn+1)...

From there I don't know how to show the alternating pattern.
 
Last edited:
Physics news on Phys.org
cookiesyum said:
P(union k=1 to n+1 of Ck) = P((union k=1 to n of Ck) union Cn+1) = P(union k=1 to n of Ck) + P(Cn+1) - P((union k=1 to n of Ck) intersect Cn+1) = P(union k=1 to n of Ck) + P(Cn+1) - P(union k=1 to n of (Ck intersect Cn+1)) = sum k=1 to n of P(Ck) + P(Cn+1)...

From there I don't know how to show the alternating pattern.

You can use your inductive hypothesis to write out

P(union k=1 to n of Ck)

and

P((union k=1 to n of Ck) intersect Cn+1)

Using the fact that Cn+1 intersected with the union from 1 to n of Ck is the same as the union from 1 to n of (Ck intersected with Cn+1)