2
$\begingroup$

I have the following function to simplify and solve but there definitely is something wrong with my method as the initial conditions do not work with my final result so if anyone could pinpoint what I'm doing wrong, I would really appreciate it.

Solving: $\frac{(N-0.5)^4}{N^2(-N+1)^2}=Ae^t$ where A is a constant.

Essentially to solve for N my tutor recommended using the substitution $k=N-\frac{1}{2}$.

$\Rightarrow \frac{k^4}{(k+\frac{1}{2})^2(-k+\frac{1}{2})^2}=Ae^t$

$\Rightarrow \frac{k^2}{(k+(\frac{1}{2})(-k+\frac{1}{2})}=\sqrt{Ae^t}$

$\Rightarrow k^2=(k+\frac{1}{2})(-k+\frac{1}{2})\sqrt{Ae^t}$

$\Rightarrow k^2=(\frac{1}{4}-k^2)\sqrt{Ae^t}$

$\Rightarrow (1-\sqrt{Ae^t})k^2-\frac{1}{4}\sqrt{Ae^t}=0$

Then solving this like a quadratic gave me:

$k= \pm\frac{(\sqrt{Ae^t})^\frac{1}{4}}{2\sqrt(Ae^t)^\frac{1}{4}+1}$

Subbing back $N$ we get the following formula:

$N= \frac{1}{2}\pm\frac{(\sqrt{Ae^t})^\frac{1}{4}}{2\sqrt(Ae^t)^\frac{1}{4}+1}$

However, I was given the initial condition $N(0)=2$ which does not hold for either of my equations, so I have gone wrong somewhere but I'm not sure where personally. Any insight would be much appreciated.

  • 0
    *Mathematica* gives the answer instantly: $\left\{\frac{1}{2} \left(1-\sqrt{\frac{1-\sqrt{a} e^{t/2}}{a e^t-1}+1}\right),\frac{1}{2} \left(\sqrt{\frac{1-\sqrt{a} e^{t/2}}{a e^t-1}+1}+1\right),\frac{1}{2} \left(1-\sqrt{\frac{\sqrt{a} e^{t/2}+1}{a e^t-1}+1}\right),\frac{1}{2} \left(\sqrt{\frac{\sqrt{a} e^{t/2}+1}{a e^t-1}+1}+1\right)\right\}$ and $A=1$2017-02-28
  • 0
    What's $\,N(0)\,$ supposed to mean?2017-02-28
  • 0
    if $N(0) = 2,$ you are going to have $k > (1/2)$ so need to change the step of taking square roots2017-02-28
  • 0
    @dxiv $N(t)=2$ so when $t=0$ my equation should equal $2$, apologies.2017-02-28
  • 0
    @N.K Regardless of $A\,$?2017-02-28
  • 1
    @dxiv pretty sure this is solving a first order ODE where $N = N(t).$ The main error is that $N(0) = 2$ requires $\sqrt {(N-1)^2} = N-1$2017-02-28
  • 0
    @dxiv The initial conditions will essentially help you solve for $A$ but when my final equation was set to equal $2$ and with $t=0$ there were no possible solutions so I could not find an $A$ hence why I know my method is incorrect.2017-02-28
  • 0
    @WillJagy Yes I see, thank you. Is there a different step you could propose instead of square rooting at the point in which I did?2017-02-28
  • 0
    just change to $\sqrt {(-k + \frac{1}{2})^2} = k - \frac{1}{2} $2017-02-28
  • 0
    I'm not sure I'm following, why is that not equal to $-k+\frac{1}{2}$?2017-02-28
  • 0
    I think I figured out what you are asking in your most recent comment. We have $N(0) = 2.$ We get $k(0) = 3/2.$ This is positive. Even more, $k(0) - \frac{1}{2} = 1$ is also positive. We are required to assume $k - \frac{1}{2} >0$ on the domain of $N.$ This means $-k + \frac{1}{2} <0$ in the domain of $N.$ Alright, now think about this fact: $\sqrt {(-7)^2} = 7$2017-02-28

2 Answers 2

1

Beginning with \begin{equation} \frac{k^4}{\left(k^2-\frac{1}{4}\right)^2}=Ae^t \end{equation}

we get

\begin{equation} \frac{k^2}{\left(k^2-\frac{1}{4}\right)}=\pm\sqrt{Ae^t} \end{equation}

Solving for $k^2$ gives

\begin{equation} k^2=\frac{\pm\sqrt{Ae^t}}{4\left(1\pm\sqrt{Ae^t}\right)} \end{equation}

So

\begin{equation} k=\pm\sqrt{\frac{\pm\sqrt{Ae^t}}{4\left(1\pm\sqrt{Ae^t}\right)}} \end{equation}

giving

\begin{equation} N=\frac{1}{2}+\sqrt{\frac{\pm\sqrt{Ae^t}}{4\left(1\pm\sqrt{Ae^t}\right)}} \end{equation}

with the negative option being ruled out by the requirement that $N(0)=2$.

So when $t=0$ it must be the case that

\begin{eqnarray} \frac{1}{2}+\sqrt{\frac{\pm\sqrt{A}}{4\left(1\pm\sqrt{A}\right)}}&=&2\\ \frac{\pm\sqrt{A}}{1\pm\sqrt{A}}&=&9\\ \frac{-\sqrt{A}}{1-\sqrt{A}}&=&9 \end{eqnarray}

Choosing the positive option would require $\sqrt{A}$ to be negative.

Thus $\sqrt{A}=\frac{9}{8}$ and $A=\frac{81}{64}$ which is verified when substituted into the original equation.

0

First of all is $A$ any constant ? Because if $A<0$ there is no solutions. But the real problem comes from $$\frac{k^4}{(k+\frac{1}{2})^2(-k+\frac{1}{2})^2}=Ae^t \implies \frac{k^2}{(k+(\frac{1}{2})(-k+\frac{1}{2})}=\sqrt{Ae^t}.$$ You're essentially saying that if $a^2 = b^2$ then $a=b$, but that's simply not true. For example $(-2)^2 = 2^2$ but $-2 \neq 2$. Actually if one knows that $a^2 = b^2$ one can only deduce that $a=b$ or $a=-b$. I suspect that if you take this into account you'll arrive to the right answer (but I'm not sure as I have not done the computations myself).

  • 0
    the initial condition demands $\sqrt {(-k + \frac{1}{2})^2} = k - \frac{1}{2} $ for the duration of this solution $N$2017-02-28
  • 0
    Well you're confirming what I'm saying then, from $a^2 = b^2$ he deduced $a=b$ while as you point out it was $a=-b$. Anyway if he was asked to find all the solutions and only then use the initial condition to find a particular solution then he must consider both cases.2017-02-28