English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

the ans is -log2 but let me know the steps of solution

2007-10-22 20:47:06 · 1 answers · asked by mohdumar_amu 4 in Science & Mathematics Mathematics

1 answers

Note by symmetry we expect it to be when x = y, so x = y = 1/2 and x log x + y log y = 1/2 (log 1/2) + 1/2 (log 1/2) = log (1/2) = -log 2. But that doesn't prove it. ;-)

Rewrite as x log x + (1-x) log (1-x) and differentiate:
(I'm assuming natural logs here, but if you want base b logs, it's just a constant factor of log b out the front, so it makes no difference):
x (1/x) + log x - (1-x) / (1-x) - log (1-x) = 0
=> log x = log (1-x)
=> x = 1-x
=> x = 1/2
so we get x = y = 1/2 and the value of -log 2 as expected.

2007-10-22 20:55:36 · answer #1 · answered by Scarlet Manuka 7 · 1 0

fedest.com, questions and answers