Appendix I

On Deductions from Stirling’s Formula

The formula is

(a)

limn=∞n!nne−n2πn=1,

or, to an approximation quite sufficient for all practical purposes, provided that n is larger than 7

(b)

n!=nen2πn.

For a proof of this relation and a discussion of its limits of accuracy a treatise on probability must be consulted.

On substitution in (170) this gives

W=NeNN1eN1⋅N2eN2…⋅2πN2πN1⋅2πN2….

On account of (165) this reduces at once to

NNN1N1N2N2…⋅2πN2πN1⋅2πN2….

Passing now to the logarithmic expression we get

S=k logW=k[N logN−N1 logN1−N2 logN2−…+ log2πN− log2πN1− log2πN2−…],

or,

S=k logW=k[(N logN+ log2πN)−(N1 logN1+ log2πN1)−(N2 logN2+ log2πN2)−…].

 

Now, for a large value of Ni, the term Ni logNi is very much larger than log2πNi, as is seen by writing the latter in the form 12 log2π+12 logNi. Hence the last expression will, with a fair approximation, reduce to

S=k logW=k[N logN−N1 logN1−N2 logN2−…].

Introducing now the values of the densities of distribution w by means of the relation

Ni=wiN

we obtain

S=k logW=kN[logN−w1 logN1−w2 logN2−…],

or, since

w1+w2+w3+⋯=1,

and hence

(w1+w2+w3+…) logN= logN,

and

logN− logN1= logNN1= log1w1=− logw1,

we obtain by substitution, after one or two simple transformations

S=k logW=−kN∑w1 logw1,

a relation which is identical with (173).

The statements of Sec. 143 may be proven in a similar manner. From (232) we get at once

S=k logWm=k log(N+P−1)!(N−1)!P!

Now

log(N−1)!= logN!− logN,

and, for large values of N, logN is negligible compared with logN!. Applying the same reasoning to the numerator we may without appreciable error write

S=k logWm=k log(N+P)!N!P!.

Substituting now for (N+P)!, N!, and P! their values from (b) and omitting, as was previously shown to be approximately correct, the terms arising from the 2π(N+P) etc., we get, since the terms containing e cancel out

S=k[(N+P) log(N+P)−N logN−P logP]=k[(N+P) logN+PN+P logN−P logP]=kNPN+1 logPN+1−PN logPN.

This is the relation of Sec. 143.