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.

474 ASYMPTOTICS<br />

This is our approximation, with<br />

22n+l/2<br />

bk(n) = ~ e -k2/n<br />

e”fi ’<br />

ck(n) = 22nnp1+3e e-k2/n.<br />

Notice that k enters bk(n) and ck(n) in a very simple way. We’re in luck,<br />

because we will be summing over k.<br />

The tail-exchange trick tells us that tk ok(n) will be approximately<br />

tk bk(n) if we have done a good job of estimation. Let us there<strong>for</strong>e evaluate<br />

xbk(n) = g I- e-k*/n<br />

k k-<br />

=<br />

(Another stroke of luck: We get to use the sum 0, from the previous example.)<br />

This is encouraging, because we know that the original sum is actually<br />

A, = x ‘k”<br />

( )<br />

k<br />

= (1 f 1)2, = 22n.<br />

There<strong>for</strong>e it looks as if we will have e“ = 6, as advertised.<br />

But there’s a catch: We still need to prove that our estimates are good<br />

enough. So let’s look first at the error contributed by C&(n):<br />

L(n) = x 22nn~1+3ee~k2/n < 22nn~1+3c@<br />

\ n= O(22”npt+3’).<br />

~kl$n’/2+~<br />

Good; this is asymptotically smaller than the previous sum, if 3~ < i.<br />

Next we must check the tails. We have<br />

x epk2/n < exp(--Ln’/2+eJ2/n) (1 + e-‘/n + e-21” + . )<br />

k>n’/ZiC<br />

= O(ep1L2F) . O(n),<br />

which is O(nPM) <strong>for</strong> all M; XI Eke,,, bk(n) is asymptotically negligible. (We<br />

chose the cutoff at n’/2fe just so that eek21n would be exponentially small<br />

outside of D,. Other choices like n ‘/2 logn would have been good enough<br />

too, and the resulting estimates would have been slightly sharper, but the<br />

<strong>for</strong>mulas would have come out more complicated. We need not make the<br />

strongest possible estimates, since our main goal is to establish the value of<br />

the constant o.) Similarly, the other tail<br />

What an amazing<br />

coincidence.<br />

I’m tired of getting<br />

to the end of long,<br />

hard books and not<br />

even getting a word<br />

of good wishes from<br />

the author. It would<br />

be nice to read a<br />

“thanks <strong>for</strong> reading<br />

this, hope it comes<br />

in handy,” instead<br />

of just running into<br />

a hard, cold, cardboard<br />

cover at the<br />

end of a long, dry<br />

proof You know?

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

Saved successfully!

Ooh no, something went wrong!