- #1
Pnin
- 20
- 1
I want to approximate the logarithm of the Binomial coefficient log (n!/ ((n - m)! m!) with the the Stirling approximation log x! ≈ x log x - x
I got
n log n - m log m - (n - m) log(n - m)
but I want
(n - m) log (n/(n - m)) + m log (n/m)
Can someone help how to transform the first equation into the latter?
I got
n log n - m log m - (n - m) log(n - m)
but I want
(n - m) log (n/(n - m)) + m log (n/m)
Can someone help how to transform the first equation into the latter?