Transforming an equation with logarithms

  • Context: Undergrad 
  • Thread starter Thread starter Pnin
  • Start date Start date
  • Tags Tags
    Logarithms
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
Pnin
Messages
20
Reaction score
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?
 
Physics news on Phys.org