15.12.2012 Views

Why Read This Book? - Index of

Why Read This Book? - Index of

Why Read This Book? - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.9 Combinations and Partitions 151<br />

who ordered what. In how many different ways could he set these 4 dishes down<br />

among the 6 people at the table?<br />

4.9 Combinations and Partitions<br />

In this section, we build on this result to determine the number <strong>of</strong> ways we may<br />

select m out <strong>of</strong> n objects, where we do not distinguish between different arrangements.<br />

Then we generalize this to determine how many ways we may partition a<br />

given set into distinguishable subsets <strong>of</strong> given sizes.<br />

4.9.1 Combinations<br />

Given a set <strong>of</strong> n objects and an integer 0 ≤ m ≤ n, we can calculate the number <strong>of</strong><br />

ways we may choose m <strong>of</strong> the n objects, with no order taken into consideration.<br />

<strong>This</strong> is precisely the same as asking how many distinct subsets containing m objects<br />

may be formed from a set with n objects. We call this the number <strong>of</strong> combinations<br />

<strong>of</strong> � n objects taken m at a time, and we denote it C(n, m). An alternate notation is<br />

n�<br />

m , which is read “n choose m.”<br />

A natural way to derive the formula for �n �<br />

m is with an equivalence relation.<br />

Let S be the set <strong>of</strong> all the P(n, m) permutations <strong>of</strong> the n objects taken m at a<br />

time. Define two permutations in S to be equivalent provided they contain precisely<br />

the same elements <strong>of</strong> the set, regardless <strong>of</strong> the order <strong>of</strong> these elements.<br />

Clearly, this is an equivalence relation, so that S is partitioned into equivalence<br />

classes, where any given class contains all the possible arrangements <strong>of</strong> a particular<br />

m-element subset <strong>of</strong> the n objects. The number <strong>of</strong> equivalence classes is therefore<br />

C(n, m), the expression whose formula we are trying to determine. Notice that<br />

each equivalence class contains precisely m! elements. Since |S| = P(n, m), we<br />

have that m!×C(n, m) = P(n, m), so that<br />

C(n, m) =<br />

We have therefore proved the following.<br />

� �<br />

n<br />

=<br />

m<br />

P(n, m)<br />

m! =<br />

n!<br />

m!(n − m)!<br />

(4.25)<br />

Theorem 4.9.1 Suppose A is a finite set <strong>of</strong> cardinality n, and let 0 ≤ m ≤ n.<br />

Then the number <strong>of</strong> subsets <strong>of</strong> A <strong>of</strong> cardinality m is given by Eq. (4.25).<br />

Notice that C(n, m) = C(n, n − m), so the number <strong>of</strong> ways to choose m out <strong>of</strong> n<br />

objects is the same as the number <strong>of</strong> ways to choose n − m <strong>of</strong> the objects. Notice<br />

also that C(n, 0) = 1 is meaningful in that there is precisely one zero-element<br />

subset <strong>of</strong> a given set.

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

Saved successfully!

Ooh no, something went wrong!