- #1

- 18

- 1

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?

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- I
- Thread starter Pnin
- Start date

- #1

- 18

- 1

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?

- #2

Gaussian97

Homework Helper

- 631

- 354

Try to add and subtract ##m \log{n}## in your first expresion

- #3

- 18

- 1

thanks!

Share: