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.

Asymptotics is<br />

the art of knowing<br />

where to be sloppy<br />

and where to be<br />

precise.<br />

9.4 TWO ASYMPTOTIC TRICKS 153<br />

3 Now prove that<br />

each of the following three sums is small:<br />

L(n) =<br />

xc<br />

x ok(n); tb(n) = x ‘Jk(n) ;<br />

MT, kET,<br />

(n) = x (ck(n)l. (9W<br />

If all three steps can be completed successfully, we have a good estimate:<br />

t ak(n) = t bk(n) + o(L(n)) + O(xb(n)) + o(L(n)) .<br />

kED,uT, kED,uT,<br />

Here’s why. We can “chop off” the tail of the given sum, getting a good<br />

estimate in the range D, where a good estimate is necessary:<br />

x ak(n) = x @k(n) + O(ck(n))) = t bk(n) + o&(n)).<br />

G-D, kCD, ND,<br />

And we can replace the tail with another one, even though the new tail might<br />

be a terrible approximation to the old, because the tails don’t really matter:<br />

x ak(n) = x @k(n) - bk(n) + ak(n))<br />

&T, MT,<br />

= x h(n) + O(xb(n)) + o&,(n)).<br />

MT,<br />

When we evaluated the sum in (g.6o), <strong>for</strong> example, we had<br />

ak(n) = [06k

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

Saved successfully!

Ooh no, something went wrong!