I would like to solve the following ODE
$$HH^{\prime\prime\prime}+H^\prime=0, $$
in which $H=H(x)\ge 0$. To deal with this 3rd-order monster, I tried
DSolve[H[x]*H'''[x] + H'[x] == 0, H[x], x]
In Version 9, after $6.5$ minutes of calculation, Mathematica gave
Solve[ Integrate[1/Sqrt[2*(C[1]*K[1] + K[1] - K[1]*Log[K[1]]) + C[2]], {K[1], 1, H[x]}]^2 == (C[3] + x)^2, H[x]]
I understand that the ODE only has an analytical solution in an implicit form; i.e., the above solution in which K[1]
is a dummy variable and H
appears in the upper limit of integration with three constants of integration C[1]
, C[2]
, C[3]
.
For convenience, I write the solution in the following form:
$$x=\pm \int_1^{H(x)}\frac{dt}{\sqrt{2(t+c_1t-t\ln t)+c_2}}+c_3. \quad (1)$$
As suggested by the title and the reason why I am asking this question is that I have access to a paper which gives the solution to in a more concise form:
$$x=\pm \sqrt{\pi H_\text{m}} \text{erf}\left(\sqrt{\frac{1}{2}\ln\frac{H_\text{m}}{H}} \right),\quad (2)$$ where $H_\text{m}=\text{max}\{ H(x)\}$ and $\text{erf}(z)=\sqrt{\frac{2}{\pi}}\int_0^z e^{-t^2}dt$.
My question is whether or not I can further reduce or convert the solution given by DSolve
to the form in the paper. More specifically
Can I conclude that answer given by
Solve[..., H[x]]
is an analytical but implicit solution?How can I introduce $H_\text{m}$ into the solution?
How can I introduce the special function $\text{erf}$ ?
Note that the lower limit of integration in solution from DSolve
is $1$, while in the integral for $\text{erf}$ it is $0$.
DSolve[H[x]*H'''[x] + H'[x] == 0, H[x], x]
for over an hour on Version 11.1.1 without receiving an answer of any sort. $\endgroup$DSolve
Version 11.1 tries harder to find closed-form solutions and, therefore, can be much slower. $\endgroup$z
is related toH
. $\endgroup$withTimedIntegrate[DSolve[...], 1]
. $\endgroup$