Appendix I

On Deductions from Stirling’s Formula

The formula is

(a)

limn=n!nnen2π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=NeNN1eN1N2eN22πN2πN12πN2.

On account of (165) this reduces at once to

NNN1N1N2N22πN2πN12πN2.

Passing now to the logarithmic expression we get

S=k logW=k[N logNN1 logN1N2 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 logNN1 logN1N2 logN2].

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

Ni=wiN

we obtain

S=k logW=kN[logNw1 logN1w2 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=kNw1 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+P1)!(N1)!P!

Now

log(N1)!= 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 logNP logP]=k[(N+P) logN+PN+P logNP logP]=kNPN+1 logPN+1PN logPN.

This is the relation of Sec. 143.