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.6 FINAL SUMMATIONS 471<br />

when they haven’t been tabulated. Elementary calculus suffices to evaluate C<br />

if we are clever enough to look at the double integral<br />

+CC<br />

+CC +m +a2<br />

C2 = epxz dx e-y’ dy = e-(X'+Yz) dx dy.<br />

J-M<br />

J-0c)<br />

J -03 J-00<br />

Converting to polar coordinates gives<br />

c2 =<br />

2n co<br />

J J<br />

0 0<br />

12" 00<br />

EZ-<br />

J J0<br />

1<br />

=-<br />

2x<br />

e -“T dr d0<br />

2 0 d0 epu du<br />

J<br />

2 0<br />

d0 = rr.<br />

(u = l-2)<br />

So C = ,/%. The fact that x2 + y2 = r2 is the equation of a circle whose<br />

circumference is 27rr somehow explains why rr gets into the act.<br />

Another way to evaluate C is to replace x by fi and dx by itt’/2 dt:<br />

J +oO<br />

C = epx2 dx = 2<br />

J”<br />

epxz dx =<br />

-DC, 0<br />

t-‘/+t dt<br />

This integral equals r(i), since I == jr taP’ePt dt according to (5.84).<br />

There<strong>for</strong>e we have demonstrated that r(i) = ,,/?r.<br />

Our final <strong>for</strong>mula, then, is<br />

0, = x eCkzin = &iii+ O(neM) , <strong>for</strong> all fixed M. (9.93)<br />

k<br />

The constant in the 0 depends on M; that’s why we say that M is “fixed!’<br />

When n = 2, <strong>for</strong> example, the infinite sum 02 is equal to 2.506628288;<br />

this is already an excellent approximation to fi = 2.506628275, even though<br />

n is quite small. The value of @loo agrees with 1Ofi to 427 decimal places!<br />

Exercise 59 uses ad.vanced methods to derive a rapidly convergent series<br />

<strong>for</strong> 0,; it turns out ,that<br />

@,/&ii = 1 -I- 2eCnnz + 0( eC4nnL ) . (9.94)<br />

Summation 5: The clincher.<br />

Now we will do one last sum, which will turn out to tell us the value<br />

of Stirling’s constant cr. This last sum also illustrates many of the other<br />

techniques of this last chapter (and of this whole book), so it will be a fitting<br />

way <strong>for</strong> us to conclude our explorations of <strong>Concrete</strong> Mathematics.

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

Saved successfully!

Ooh no, something went wrong!