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.

468 ASYMPTOTICS<br />

In Chapter 5, equation (5.83), we generalized factorials to arbitrary real OL<br />

by using a definition<br />

1_ = lim n + O1 Nina<br />

a! n-+m ( n 1<br />

suggested by Euler. Suppose a is a large number; then<br />

lncx! = Ji+mJalnn+lnn!-fln(a+k)),<br />

k=l<br />

and Euler’s summation <strong>for</strong>mula can be used with f(x) = ln(x+ a) to estimate<br />

this sum:<br />

k=l<br />

ln(k+ a) = F,(a,n) - F,(a,O) + Rz,,,(a,n) ,<br />

ln(x + a)<br />

F,(a,x) = (x+a)ln(x+cx-xf 2<br />

n Bz,n(IxI) dx<br />

RI,,,(a,n) = - -<br />

J0<br />

.2m (x + a)2m ’<br />

B2k<br />

k=, 2k(2k - 1 )(x + a)2kp1 ’<br />

(Here we have used (9.67) with a = 0 and b = n, then added ln(n + a) -<br />

lna to both sides.) If we subtract this approximation <strong>for</strong> xE=, ln(k + a)<br />

from Stirling’s approximation <strong>for</strong> Inn!, then add alnn and take the limit as<br />

n + 00, we get<br />

lna! = alna-a+lnf+o<br />

B2k<br />

+fm-l)a2kP1<br />

k=l<br />

m<br />

J o<br />

B2m(b>) dx<br />

2m (x+ OoZrn ’<br />

because alnn+nlnn-n+i.lnn-(n+a) ln(nt-a)+n-i ln(n+a) + -a and<br />

the other terms not shown ‘here tend to zero. Thus Stirling’s approximation<br />

behaves <strong>for</strong> generalized factorials (and <strong>for</strong> the Gamma function r( a + 1) = a!)<br />

exactly as <strong>for</strong> ordinary factorials.<br />

Summation 4: A bell-shaped summand.<br />

Let’s turn now to a sum that has quite a different flavor:<br />

. + e-9/n + e-4/n + e l/n + , + e-l/n + e -4/n + e-9/n +. . . .<br />

(9.92)

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

Saved successfully!

Ooh no, something went wrong!