I Transforming an equation with logarithms

  • I
  • Thread starter Thread starter Pnin
  • Start date Start date
  • Tags Tags
    Logarithms
AI Thread Summary
To transform the logarithm of the binomial coefficient using the Stirling approximation, the initial expression n log n - m log m - (n - m) log(n - m) can be manipulated by adding and subtracting m log n. This adjustment allows for the reorganization of terms to achieve the desired form of (n - m) log(n/(n - m)) + m log(n/m). The key is to recognize how to group and factor the logarithmic terms appropriately. By carefully applying logarithmic properties, the transformation can be completed. This method effectively simplifies the approximation of the binomial coefficient's logarithm.
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?
 
Mathematics news on Phys.org
Try to add and subtract ##m \log{n}## in your first expresion
 
  • Like
Likes Pnin and mfb
thanks!
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
3
Views
2K
Replies
2
Views
14K
Replies
4
Views
2K
Replies
44
Views
4K
Replies
10
Views
2K
Replies
37
Views
4K
Replies
6
Views
2K
Back
Top