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.

A ANSWERS TO EXERCISES 567<br />

9.9 (For completeness, we assume that there is a side condition n + 00,<br />

so that two constants are implied by each 0.) Every function on the left has<br />

the <strong>for</strong>m a(n) + b(n), where there exist constants Q, B, no, C such that<br />

la(n)/ 6 Blf(n)[ <strong>for</strong> n 3 mc and [b(n)1 6 Clg(n)l <strong>for</strong> n 3 no. There<strong>for</strong>e the<br />

left-handfunctionisatmostmax(B,C)(lf(n)l+Ig(n)l),<strong>for</strong>n3max(~,no),<br />

so it is a member of the right side.<br />

9.10 If g(x) belongs to the left, so that g(x) = cosy <strong>for</strong> some y, where<br />

Iy/ < Clxl <strong>for</strong> some C, then 0 6 1 - g(x) = 2sin2(y/2) < $y2 6 iC2x2; hence<br />

the set on the left is contained in the set on the right, and the <strong>for</strong>mula is true.<br />

9.11 The proposition is true. For if, say, 1x1 < /yI, we have (x + Y)~ 6 4y2.<br />

Thus (x+Y)~ = 0(x2) +O(y’). Thus O(x+y)’ = O((x+y)‘) = 0(0(x2) +<br />

O(y2)) = 0(0(x2)) -t O(O(y2)) = 0(x2) + O(y2).<br />

9.12 1 +2/n + O(nP2) = (1 + 2/n)(l + O(nP2)/(1 +2/n)) by (g.26), and<br />

l/(1 +2/n) = O(1); now use (9.26).<br />

9.13 n”(1 + 2nP’ + O(nP2))” = nnexp(n(2n-’ + O(nP2))) = e2nn +<br />

O(n”-‘).<br />

9.14 It is nn+Pexp((n+ @)(ol/n- ta2/n2 +O(ne3)))<br />

9.15 In (n2n) = 3nln3 - 1nn+tln3-ln2n+<br />

(+f)n-’ +O(nP3), so<br />

the answer is‘<br />

=(I - 5n-l + 82jnp2 + o(n-3)).<br />

9.16 If 1 is any integer in the range a 6 1 < b we have<br />

1<br />

1<br />

B(x)f(l+x) dx = B(x)f(l+x) dx-<br />

0 l/2 s0<br />

=s<br />

1<br />

l/2<br />

l/2<br />

B(l -x)f(l+x)dx<br />

B(x)(f(l+x) -f(l+ 1 -x)) dx.<br />

Since 1 + x > 1 + 1 - x when x 3 i, this integral is positive when f(x) is<br />

nondecreasing.<br />

9.17 L>O B,(i)z."'/m! = ~e~'~/(e~-l) = z/(eZ/2-1)-z/(e"-1)<br />

9.18 The text’s derivation <strong>for</strong> the case OL = 1 generalizes to give<br />

2(2n+1/2)a<br />

bk(n) = - - e -k’a/n<br />

(27rn)"/2 '<br />

the answer is 22na(~n)i’~a1’20L~1’2(1 + O(n-1/2+36)).<br />

ck(n) = 22nan -(l+cx)/2+3ykb./n.<br />

I

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

Saved successfully!

Ooh no, something went wrong!