2.61 problem 61

Internal problem ID [9648]

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

CAS Maple gives this as type [_rational, _Riccati]

Solve \begin {gather*} \boxed {\left (a_{2} x^{2}+b_{2} x +c_{2} \right ) y^{\prime }-y^{2}-\left (a_{1} x +b_{1} \right ) y+\lambda \left (\lambda +a_{1} -a_{2} \right ) x^{2}-\lambda \left (b_{2} -b_{1} \right ) x -\lambda c_{2}=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 545927

dsolve((a__2*x^2+b__2*x+c__2)*diff(y(x),x)=y(x)^2+(a__1*x+b__1)*y(x)-lambda*(lambda+a__1-a__2)*x^2+lambda*(b__2-b__1)*x+lambda*c__2,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 16.513 (sec). Leaf size: 189

DSolve[(a2*x^2+b2*x+c2)*y'[x]==y[x]^2+(a1*x+b1)*y[x]-\[Lambda]*(\[Lambda]+a1-a2)*x^2+\[Lambda]*(b2-b1)*x+\[Lambda]*c2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \lambda x-\frac {(x (\text {a2} x+\text {b2})+\text {c2})^{\frac {\text {a1}+2 \lambda }{2 \text {a2}}} \exp \left (\frac {(2 \text {a2} \text {b1}-\text {b2} (\text {a1}+2 \lambda )) \text {ArcTan}\left (\frac {2 \text {a2} x+\text {b2}}{\sqrt {4 \text {a2} \text {c2}-\text {b2}^2}}\right )}{\text {a2} \sqrt {4 \text {a2} \text {c2}-\text {b2}^2}}\right )}{\int _1^x\exp \left (\frac {(\text {a1}-2 \text {a2}+2 \lambda ) \log (\text {c2}+K[1] (\text {b2}+\text {a2} K[1]))-\frac {2 (-2 \text {a2} \text {b1}+\text {a1} \text {b2}+2 \text {b2} \lambda ) \text {ArcTan}\left (\frac {\text {b2}+2 \text {a2} K[1]}{\sqrt {4 \text {a2} \text {c2}-\text {b2}^2}}\right )}{\sqrt {4 \text {a2} \text {c2}-\text {b2}^2}}}{2 \text {a2}}\right )dK[1]+c_1} \\ y(x)\to \lambda x \\ \end{align*}