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.

466 ASYMPTOTIC3<br />

where 0 < a,,,, < 1; this will allow us to conclude from (9.85) that<br />

S, = F(n) + C + T (n) + f Tzk(n) + Gm,nT2m+2(n) ,<br />

k=l<br />

(9.86)<br />

hence the remainder will truly be between zero and the first discarded term.<br />

A slight modification of our previous argument will patch things up perfectly.<br />

Let us assume that<br />

f(2m+2'(x) 3 0 and fc2m+4)(x) 3 0, as x + 0~). (9.87)<br />

The right-hand side of (9.85) is just like the negative of the right-hand side of<br />

Euler’s summation <strong>for</strong>mula (9.67) with a = n and b = 00, as far as remainder<br />

terms are concerned, and successive remainders are generated by induction<br />

on m. There<strong>for</strong>e our previous argument can be applied.<br />

Summation 2: Harmonic numbers harmonized.<br />

Now that we’ve learned so much from a trivial (but safe) example, we can<br />

readily do a nontrivial one. Let us use Euler’s summation <strong>for</strong>mula to derive<br />

the approximation <strong>for</strong> H, that we have been claiming <strong>for</strong> some time.<br />

In this case, f(x) = l/x. We already know about the integral and derivatives<br />

of f, because of Summation 1; also f(ml(x) = O(xpmp') as x + 00.<br />

There<strong>for</strong>e we can immediately plug into <strong>for</strong>mula (9.85):<br />

l

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

Saved successfully!

Ooh no, something went wrong!