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.

480 ASYMPTOTICS<br />

a What is the asymptotic expected return after one year, if n million<br />

dollars are invested? (In other words, what is the mean value of the<br />

payment?) Your answer should be correct within an absolute error I once earned<br />

of O(10-n) dollars.<br />

b What is the asymptotic probability that you make a profit, if you<br />

invest n million? (In other words, what is the chance that you get<br />

back more than you put in?) Your answer here should be correct<br />

within an absolute error of O(np3).<br />

Bonus problems<br />

51 Prove or disprove: j,” O(xp2) dx = O(n’) as n -+ co.<br />

52 Show that there exists a power series A(z) = xk>c anon, convergent <strong>for</strong><br />

all complex z, such that<br />

.n<br />

A(n) + nn” > n,<br />

53 Prove that if f(x) is a function whose derivatives satisfy<br />

f’(x) 6 0, -f"(x) 6 0, fU'(X) 6 0, . ..) (-l)"f'"+')(x) < 0<br />

<strong>for</strong> all x 3 0, then we have<br />

f(x) = f(O)+ yx+...+ :'""~~/xrnel + O(xm),<br />

m .<br />

<strong>for</strong> x 3 0.<br />

In particular, the case f(x) = -ln(l + x) proves (9.64) <strong>for</strong> all k,n > 0.<br />

54 Let f(x) be a positive, differentiable function such that xf'(x) + f(x) as<br />

x + 00. Prove that<br />

-f(k)<br />

Ix k3n k’+‘x<br />

if 01 > 0.<br />

Hint: Consider the quantity f(k - l)/(k - i)” - f(k + i)/(k + i)“.<br />

55 Improve (9.99) to relative error O(n-3/2+5f).<br />

56 The quantity Q(n) = 1 + $i$ + ey +. . . = &, nk/nk occurs in the<br />

analysis of many algorithms. Find its asymptotic value, with absolute<br />

error o(l).<br />

5’7 An asymptotic <strong>for</strong>mula <strong>for</strong> Golomb’s sum xka, 1 /kll +log, k]’ is derived<br />

in (9.54). Find an asymptotic <strong>for</strong>mula <strong>for</strong> the analogous sum without<br />

floor brackets, xk2, l/k( 1 +log, k)2. Hint: We have j,” uee”ketu du =<br />

l/(1 +tlnk)2.<br />

O(lO-") dollars.

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

Saved successfully!

Ooh no, something went wrong!