7.7 problem 7

Internal problem ID [10492]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 1, section 1.2. Riccati Equation. subsection 1.2.5-1. Equations Containing Logarithmic Functions
Problem number: 7.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime } x^{2}-y^{2} x^{2}=a \ln \left (x \right )^{2}+b \ln \left (x \right )+c} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 850

dsolve(x^2*diff(y(x),x)=x^2*y(x)^2+a*(ln(x))^2+b*ln(x)+c,y(x), singsol=all)
 

\[ \text {Expression too large to display} \]

Solution by Mathematica

Time used: 1.151 (sec). Leaf size: 868

DSolve[x^2*y'[x]==x^2*y[x]^2+a*(Log[x])^2+b*Log[x]+c,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {i b \operatorname {ParabolicCylinderD}\left (\frac {-i b^2-4 a^{3/2}+i a (4 c-1)}{8 a^{3/2}},-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )+2 i a \log (x) \operatorname {ParabolicCylinderD}\left (\frac {-i b^2-4 a^{3/2}+i a (4 c-1)}{8 a^{3/2}},-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )-\sqrt {a} \operatorname {ParabolicCylinderD}\left (\frac {-i b^2-4 a^{3/2}+i a (4 c-1)}{8 a^{3/2}},-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )+2 (-1)^{3/4} \sqrt {2} a^{3/4} \operatorname {ParabolicCylinderD}\left (\frac {-i b^2+4 a^{3/2}+i a (4 c-1)}{8 a^{3/2}},-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )-i c_1 \left (2 a \log (x)-i \sqrt {a}+b\right ) \operatorname {ParabolicCylinderD}\left (\frac {i b^2-4 a^{3/2}+i a-4 i a c}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )+2 \sqrt [4]{-1} \sqrt {2} a^{3/4} c_1 \operatorname {ParabolicCylinderD}\left (\frac {i b^2+4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )}{2 \sqrt {a} x \left (\operatorname {ParabolicCylinderD}\left (\frac {-i b^2-4 a^{3/2}+i a (4 c-1)}{8 a^{3/2}},-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )+c_1 \operatorname {ParabolicCylinderD}\left (\frac {i b^2-4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )\right )} y(x)\to -\frac {-\frac {2 \sqrt [4]{-1} \sqrt {2} \sqrt [4]{a} \operatorname {ParabolicCylinderD}\left (\frac {i b^2+4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )}{\operatorname {ParabolicCylinderD}\left (\frac {i b^2-4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )}+\frac {i b}{\sqrt {a}}+2 i \sqrt {a} \log (x)+1}{2 x} y(x)\to -\frac {-\frac {2 \sqrt [4]{-1} \sqrt {2} \sqrt [4]{a} \operatorname {ParabolicCylinderD}\left (\frac {i b^2+4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )}{\operatorname {ParabolicCylinderD}\left (\frac {i b^2-4 a^{3/2}-i a (4 c-1)}{8 a^{3/2}},\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) (b+2 a \log (x))}{a^{3/4}}\right )}+\frac {i b}{\sqrt {a}}+2 i \sqrt {a} \log (x)+1}{2 x} \end{align*}