09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

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.

Please, don’t remind<br />

me of the<br />

midterm.<br />

5.2 BASIC PRACTICE 175<br />

The more complicated the derivation, the more important it is to check<br />

the answer. This one wasn’t too complicated but we’ll check anyway. In the<br />

small case m = 2 and n = 4 we have<br />

(g/(40) + (f)/(Y) + ($yJ = l +i+i = :;<br />

yes, this agrees perfectly with our closed <strong>for</strong>m (4 + 1)/(4 + 1 - 2).<br />

Problem 2: From the literature of sorting.<br />

Our next sum appeared way back in ancient times (the early 1970s)<br />

be<strong>for</strong>e people were fluent with binomial coefficients. A paper that introduced<br />

an improved merging technique [165] concludes with the following remarks:<br />

“It can be shown that the expected number of saved transfers . . is given by<br />

the expression<br />

Here m and n are as defined above, and mCn is the symbol <strong>for</strong> the number<br />

of combinations of m objects taken n at a time. . . . The author is grateful to<br />

the referee <strong>for</strong> reducing a more complex equation <strong>for</strong> expected transfers saved<br />

to the <strong>for</strong>m given here.”<br />

We’ll see that this is definitely not a final answer to the author’s problem.<br />

It’s not even a midterm answer.<br />

First we should translate the sum into something we can work with; the<br />

ghastly notation m-rPICm-n-l is enough to stop anybody, save the enthusiastic<br />

referee (please). In our language we’d write<br />

T = gk(zI:I:>/(:)) integers m > n 3 0.<br />

The binomial coefficient in the denominator doesn’t involve the index of summation,<br />

so we can remove it and work with the new sum<br />

What next? The index of summation appears in the upper index of the<br />

binomial coefficient but not in the lower index. So if the other k weren’t there,<br />

we could massage the sum and apply summation on the upper index (5.10).<br />

With the extra k, though, we can’t. If we could somehow absorb that k into<br />

the binomial coefficient, using one of our absorption identities, we could then

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

Saved successfully!

Ooh no, something went wrong!