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

Create successful ePaper yourself

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

Actually I’m not<br />

into dominance.<br />

9.6 FINAL SUMMATIONS 473<br />

We have to make D, small enough that we can make a good estimate; <strong>for</strong><br />

example, we had better not let k get near n, or the term O((n - k)-‘) in<br />

(9.95) will blow up. Yet D, must be large enough that the tail terms (the<br />

terms with k @ Dn) are negligibly small compared with the overall sum. Trial<br />

and error is usually necessary to find an appropriate set D,; in this problem<br />

the calculations we are about to make will show that it’s wise to define things<br />

as follows:<br />

kED, % Ikl < n”‘+‘. bg6)<br />

Here E is a small positive constant that we can choose later, after we get to<br />

know the territory. (Our 0 estimates will depend on the value of e.) Equation<br />

(9.95) now reduces to<br />

lnok(n) = (2n+~)ln2-o-~lnn+O(n~‘)<br />

- (n+k+i) ln(l+k/n) - (n--k+:) 141-k/n). (9.97)<br />

(We have pulled out the large parts of the logarithms, writing<br />

ln(nfk) = lnnfln(1 &k/n),<br />

and this has made a lot of Inn terms cancel out.)<br />

Now we need to expand the terms ln(l f k/n) asymptotically, until we<br />

have an error term that approaches zero as n -+ 00. We are multiplying<br />

ln( 141 k/n) by (n f k+ i), so we should expand the logarithm until we reach<br />

o(n-‘), using the assumption that Ikl 6 n1/2+E:<br />

In l*k = *t-$+O(nP3/2+3C).<br />

( ><br />

Multiplication by n f k + i yields<br />

k2 k2<br />

fk - 2n + ; + O(n-“2+3’) ,<br />

plus other terms that are absorbed in the 0(n-‘/2+3e). So (9.97) becomes<br />

lnok(n) = (2n+f)ln2-o-~lnn-k2/n+O(nP”2+3’).<br />

Taking exponentials, we have<br />

ak(n) = kw8)

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

Saved successfully!

Ooh no, something went wrong!