- #1
karnten07
- 213
- 0
[SOLVED] Logs and rearranging
I want to show that NlnN - n1ln(n1) - n2ln(n2) is equal to:
-N{(n1/N)ln(n1/N) + (n2/N)ln(n2/N)}
apparently i can do this by the artifice of adding and subtracting the term n1lnN and then regrouping.
I can get the form required but i still have leftover N's and n1s and n2s, anyone know how to do this? thanks
Homework Statement
I want to show that NlnN - n1ln(n1) - n2ln(n2) is equal to:
-N{(n1/N)ln(n1/N) + (n2/N)ln(n2/N)}
apparently i can do this by the artifice of adding and subtracting the term n1lnN and then regrouping.
Homework Equations
The Attempt at a Solution
I can get the form required but i still have leftover N's and n1s and n2s, anyone know how to do this? thanks