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.

9<br />

Asymptotics<br />

EXACT ANSWERS are great when we can find them; there’s something<br />

very satisfying about complete knowledge. But there’s also a time when<br />

approximations are in order. If we run into a sum or a recurrence whose<br />

solution doesn’t have a closed <strong>for</strong>m (as far as we can tell), we still would like<br />

to know something about the answer; we don’t have to insist on all or nothing.<br />

And even if we do have a closed <strong>for</strong>m, our knowledge might be imperfect, since<br />

we might not know how to compare it with other closed <strong>for</strong>ms.<br />

For example, there is (apparently) no closed <strong>for</strong>m <strong>for</strong> the sum<br />

But it is nice to know that<br />

Uh oh . . here we say that the sum is “asymptotic to” 2(3,“). It’s even nicer to have more<br />

comes that A-word. detailed in<strong>for</strong>mation, like<br />

s, = (3(2-;+0($)). (9.1)<br />

which gives us a “relative error of order 1 /n’.” But even this isn’t enough to<br />

tell us how big S, is, compared with other quantities. Which is larger, S, or<br />

the Fibonacci number Fan? Answer: We have S2 = 22 > Fs = 21 when n = 2;<br />

but Fan is eventually larger, because F4,, N $4n/& and +4 z 6.8541, while<br />

S, = /36.751”(1 - g + O($)) . (9.2)<br />

Our goal in this chapter is to learn how to understand and to derive results<br />

like this without great pain.<br />

425

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

Saved successfully!

Ooh no, something went wrong!