I have a quite basic mathematical question.
I am trying to find the maximum of I(q)=-q∙log2(q)-(1-q)∙log2(1-q).
I tried to solve d/dq I(q)=0 but got a wrong answer (the right one is q=0.5).
I am going to detail how I solved it, and I will be happy to understand what is wrong.
I attached a file.
I am trying to find the maximum of I(q)=-q∙log2(q)-(1-q)∙log2(1-q).
I tried to solve d/dq I(q)=0 but got a wrong answer (the right one is q=0.5).
I am going to detail how I solved it, and I will be happy to understand what is wrong.
I attached a file.