Appendix I

On Deductions from Stirling’s Formula

The formula is

lim n= n! nnen2πn = 1, (a)

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

n! = n en2πn. (b)

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 = N e N N1 e N1 N2 e N2 2πN 2πN1 2πN2.
On account of (165) this reduces at once to
NN N1N1N2N2 2πN 2πN1 2πN2.
Passing now to the logarithmic expression we get

S = k log W = k[N log N N1 log N1 N2 log N2 + log 2πN log 2πN1 log 2πN2 ],

or,

S = k log W = k[(N log N + log 2πN) (N1 log N1 + log 2πN1) (N2 log N2 + log 2πN2) ].

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

S = k log W = k[N log N N1 log N1 N2 log N2 ].
Introducing now the values of the densities of distribution w by means of the relation
Ni = wiN
we obtain
S = k log W = kN[log N w1 log N1 w2 log N2 ],
or, since
w1 + w2 + w3 + = 1,
and hence
(w1 + w2 + w3 + ) log N = log N,
and
log N log N1 = log N N1 = log 1 w1 = log w1,
we obtain by substitution, after one or two simple transformations
S = k log W = kN w1 log w1,
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 log Wm = k log (N + P 1)! (N 1)!P!
Now
log(N 1)! = log N! log N,
and, for large values of N, log N is negligible compared with log N!. Applying the same reasoning to the numerator we may without appreciable error write
S = k log Wm = 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 log N P log P] = k[(N + P) log N + P N + P log N P log P] = kN P N + 1 log P N + 1 P N log P N.

This is the relation of Sec. 143.