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.

46 SUMS<br />

One way to use this fact is to examine the error in the approximation,<br />

E, = 0, - in3. Since � ,, satisfies the recurrence 0, = [7,-l + n2, we find<br />

that E, satisfies the simpler recurrence<br />

En = II,-fn3 = IJP1 +n2-in3 = E,p1+~(n-1)3+n2-3n3<br />

= E,-1 +n-5.<br />

Another way to pursue the integral approach is to find a <strong>for</strong>mula <strong>for</strong> E, by<br />

summing the areas of the wedge-shaped error terms. We have<br />

n<br />

on -<br />

s 0<br />

x2dx = 2 (k2-/;P,x2dx)<br />

k2 _ k3 - (k- 1)3<br />

Either way, we could find E, and then !I,.<br />

3<br />

= f(k-f)<br />

Method 5: Expand and contract.<br />

Yet another way to discover a closed <strong>for</strong>m <strong>for</strong> Cl, is to replace the original<br />

sum by a seemingly more complicated double sum that can actually be<br />

simplified if we massage it properly:<br />

= t (F)(n-j+l)<br />

l

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

Saved successfully!

Ooh no, something went wrong!