Transforming an equation with logarithms

  • Context: Undergrad 
  • Thread starter Thread starter Pnin
  • Start date Start date
  • Tags Tags
    Logarithms
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?
 
on Phys.org
Try to add and subtract ##m \log{n}## in your first expresion
 
  • Like
Likes   Reactions: Pnin and mfb
thanks!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 13 ·
Replies
13
Views
3K