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.

9.6 FINAL SUMMATIONS 463<br />

This is kind of a mess; it certainly doesn’t look like the real answer 1 - n-l.<br />

But let’s keep going anyway, to see what we’ve got. We know how to expand<br />

the right-hand terms in negative powers of n up to, say, O(n5):<br />

In n- = -n-l + Lgp2 - in-3 -+ $np4 + o(ne5) ;<br />

n+l<br />

1<br />

-= n -1 _ ,-2 + np3 - - n+ + O(np5);<br />

n+l<br />

1<br />

___ zz<br />

(n-t 1)2<br />

nm2 - 2n ~3 + 3n m4 + O(np5) ;<br />

np4 + O(n5)<br />

There<strong>for</strong>e the terms on the right of our approximation add up to<br />

ln2 + t + & - j$ + (-1 - t + t)n-’ + (+ - t - & + &)np2<br />

+(-+-&)n-3 + (1; - i + & + & - &)nm4 + R4(n)<br />

= ln2+$$-n-‘+R4(n)+O(n~5).<br />

The coefficients of ne2, np3, and nm4 cancel nicely, as they should.<br />

If all were well with the world, we would be able to show that R,+(n) is<br />

asymptotically small, maybe O(n5), and we would have an approximation<br />

to the sum. But we can’t possibly show this, because we happen to know that<br />

the correct constant term is 1, not ln2 + s (which is approximately 0.9978).<br />

So R4(n) is actually equal to G - ln2 + O(n4), but Euler’s summation<br />

<strong>for</strong>mula doesn’t tell us this.<br />

In other words, we lose.<br />

One way to try fixing things is to notice that the constant terms in the<br />

approximation <strong>for</strong>m a. pattern, if we let m get larger and larger:<br />

ln2-tB,+t.~B2-~.~B3+~.~B4--.~B5+...<br />

Perhaps we can show that this series approaches 1 as the number of terms<br />

becomes infinite? But no; the Bernoulli numbers get very large. For example,<br />

f322 = @$$ > 6192; there<strong>for</strong>e IR22(n)l will be much larger than 1 R4 (n) 1.<br />

We lose totally.<br />

There is a way out, however, and this escape route will turn out to be<br />

important in other applications of Euler’s <strong>for</strong>mula. The key is to notice that<br />

R4(n) approaches a definite limit as n + 00:<br />

lim R4(n) = -jyB4({x))(&&) dx = R4(m)<br />

n-02

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

Saved successfully!

Ooh no, something went wrong!