Transforming an equation with logarithms

  • Level: Undergrad 
  • Thread starter Pnin
  • Start date
  • Tags Tags
    Logarithms
2 replies · 1K views · last reply
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?