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?
f(m)=m+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Proceeding with Differentiation on m)\Rightarrow
\frac{df(m)}{dm}=1+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*\frac{ln(2)}{n}
\frac{df(m)}{dm}=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)
(Equal to zero for Minimization) \Rightarrow
0=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)
1=-(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(-ln(2))*ln(2)
1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(2)*ln(2)
1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(ln(2))^{2}
(\frac{1}{(ln(2))^{2}})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Substituting values for (ln(2))^{2})\Rightarrow
(\frac{1}{0.480453015})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
2.08136898=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Taking natural logarithm on both sides)\Rightarrow
ln(2.08136898)=(\frac{m}{n}*ln(2))*(ln(\frac{1}{2}))
(Substituting values)\Rightarrow
0.733025841=(\frac{m}{n}*0.693147181)(-0.693147181)
(\frac{m}{n})=-1.52569724
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?
f(m)=m+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Proceeding with Differentiation on m)\Rightarrow
\frac{df(m)}{dm}=1+n*(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*\frac{ln(2)}{n}
\frac{df(m)}{dm}=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)
(Equal to zero for Minimization) \Rightarrow
0=1+(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(\frac{1}{2})*ln(2)
1=-(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(-ln(2))*ln(2)
1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*ln(2)*ln(2)
1=(\frac{1}{2})^{\frac{m}{n}*ln(2)}*(ln(2))^{2}
(\frac{1}{(ln(2))^{2}})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Substituting values for (ln(2))^{2})\Rightarrow
(\frac{1}{0.480453015})=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
2.08136898=(\frac{1}{2})^{\frac{m}{n}*ln(2)}
(Taking natural logarithm on both sides)\Rightarrow
ln(2.08136898)=(\frac{m}{n}*ln(2))*(ln(\frac{1}{2}))
(Substituting values)\Rightarrow
0.733025841=(\frac{m}{n}*0.693147181)(-0.693147181)
(\frac{m}{n})=-1.52569724
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?