06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 631 — #639<br />

15.9. Inclusion-Exclusion 631<br />

The <strong>for</strong>mulas <strong>for</strong> unions of two and three sets are special cases of this general<br />

rule.<br />

This way of expressing Inclusion-Exclusion is easy to understand and nearly<br />

as precise as expressing it in mathematical symbols, but we’ll need the symbolic<br />

version below, so let’s work on deciphering it now.<br />

We already have a concise notation <strong>for</strong> the sum of sizes of the individual sets,<br />

namely,<br />

nX<br />

jS i j:<br />

iD1<br />

A “two-way intersection” is a set of the <strong>for</strong>m S i \ S j <strong>for</strong> i ¤ j . We regard S j \ S i<br />

as the same two-way intersection as S i \ S j , so we can assume that i < j . Now<br />

we can express the sum of the sizes of the two-way intersections as<br />

X<br />

jS i \ S j j:<br />

1i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!