suk
- 4
- 0
Hi all
I am trying to minimize a function by setting the first derivative equal to 0. The strange thing is that I end up with a negative result, which cannot be true (for the application). Any ideas on how this could happen? Do I have an error in my equation somewhere?
[tex]f(m)=m+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Proceeding with Differentiation on m)[tex]\Rightarrow[/tex]
[tex]\frac{df(m)}{dm}=1+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*\frac{ln(2)}{n}[/tex]
[tex]\frac{df(m)}{dm}=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)[/tex]
(Equal to zero for Minimization) [tex]\Rightarrow[/tex]
[tex]0=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)[/tex]
[tex]1=-(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(-ln(2))*ln(2)[/tex]
[tex]1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(2)*ln(2)[/tex]
[tex]1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(ln(2))^{2}[/tex]
[tex](\frac{1}{(ln(2))^{2}})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Substituting values for [tex](ln(2))^{2})\Rightarrow[/tex]
[tex](\frac{1}{0.480453015})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
[tex]2.08136898=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Taking natural logarithm on both sides)[tex]\Rightarrow[/tex]
[tex]ln(2.08136898)=(\frac{m}{n}*ln(2))*(ln(\frac{1}{2}))[/tex]
(Substituting values)[tex]\Rightarrow[/tex]
[tex]0.733025841=(\frac{m}{n}*0.693147181)(-0.693147181)[/tex]
[tex](\frac{m}{n})=-1.52569724[/tex]
The result I need is the ratio between m and n (the LHS in the above equation). But, the practical application of this equation doesn't make sense if the ratio is negative. Am I missing something?
I am trying to minimize a function by setting the first derivative equal to 0. The strange thing is that I end up with a negative result, which cannot be true (for the application). Any ideas on how this could happen? Do I have an error in my equation somewhere?
[tex]f(m)=m+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Proceeding with Differentiation on m)[tex]\Rightarrow[/tex]
[tex]\frac{df(m)}{dm}=1+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*\frac{ln(2)}{n}[/tex]
[tex]\frac{df(m)}{dm}=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)[/tex]
(Equal to zero for Minimization) [tex]\Rightarrow[/tex]
[tex]0=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)[/tex]
[tex]1=-(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(-ln(2))*ln(2)[/tex]
[tex]1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(2)*ln(2)[/tex]
[tex]1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(ln(2))^{2}[/tex]
[tex](\frac{1}{(ln(2))^{2}})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Substituting values for [tex](ln(2))^{2})\Rightarrow[/tex]
[tex](\frac{1}{0.480453015})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
[tex]2.08136898=(\frac{1}{2})^{\frac{m}{n}*ln(2)}[/tex]
(Taking natural logarithm on both sides)[tex]\Rightarrow[/tex]
[tex]ln(2.08136898)=(\frac{m}{n}*ln(2))*(ln(\frac{1}{2}))[/tex]
(Substituting values)[tex]\Rightarrow[/tex]
[tex]0.733025841=(\frac{m}{n}*0.693147181)(-0.693147181)[/tex]
[tex](\frac{m}{n})=-1.52569724[/tex]
The result I need is the ratio between m and n (the LHS in the above equation). But, the practical application of this equation doesn't make sense if the ratio is negative. Am I missing something?