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 633 — #641<br />

15.10. Combinatorial Proofs 633<br />

<strong>for</strong> any nonempty set I Œ1::m. This lets us calculate:<br />

m[<br />

jSj D<br />

C<br />

ˇ<br />

pi<br />

ˇˇˇˇˇ<br />

so<br />

D<br />

D<br />

D<br />

D<br />

iD1<br />

X<br />

;¤I Œ1::m<br />

X<br />

;¤I Œ1::m<br />

n<br />

n<br />

X<br />

;¤I Œ1::m<br />

mY<br />

iD1<br />

\<br />

. 1/<br />

ˇˇˇˇˇ<br />

jI jC1 C pi<br />

ˇˇˇˇˇ<br />

i2I<br />

. 1/ jI jC1 n<br />

Q<br />

<br />

1<br />

j 2I p j<br />

1<br />

Q<br />

j 2I . p j /<br />

1<br />

p i<br />

! C n;<br />

.n/ D n<br />

jSj D n<br />

mY<br />

iD1<br />

(by (15.8))<br />

(by Inclusion-Exclusion (15.6))<br />

<br />

1<br />

<br />

1<br />

;<br />

p i<br />

(by (15.9))<br />

which proves (15.7).<br />

Yikes! That was pretty hairy. Are you getting tired of all that nasty algebra? If<br />

so, then good news is on the way. In the next section, we will show you how to<br />

prove some heavy-duty <strong>for</strong>mulas without using any algebra at all. Just a few words<br />

and you are done. No kidding.<br />

15.10 Combinatorial Proofs<br />

Suppose you have n different T-shirts, but only want to keep k. You could equally<br />

well select the k shirts you want to keep or select the complementary set of n k<br />

shirts you want to throw out. Thus, the number of ways to select k shirts from<br />

among n must be equal to the number of ways to select n k shirts from among n.<br />

There<strong>for</strong>e:<br />

!<br />

n n<br />

D<br />

k n k<br />

!<br />

:<br />

This is easy to prove algebraically, since both sides are equal to:<br />

nŠ<br />

kŠ .n k/Š :

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

Saved successfully!

Ooh no, something went wrong!