Internal problem ID [10393]
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: 63.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_rational, [_1st_order, `_with_symmetry_[F(x),G(x)]`], _Riccati]
\[ \boxed {\left (x -a \right ) \left (x -b \right ) y^{\prime }+y^{2}+k \left (y+x -a \right ) \left (y+x -b \right )=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 54
dsolve((x-a)*(x-b)*diff(y(x),x)+y(x)^2+k*(y(x)+x-a)*(y(x)+x-b)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {k \left (\left (b -x \right )^{1+k}+c_{1} \left (a -x \right )^{k} \left (a -x \right )\right )}{\left (1+k \right ) \left (c_{1} \left (a -x \right )^{k}+\left (b -x \right )^{k}\right )} \]
✓ Solution by Mathematica
Time used: 60.572 (sec). Leaf size: 99
DSolve[(x-a)*(x-b)*y'[x]+y[x]^2+k*(y[x]+x-a)*(y[x]+x-b)==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {1}{2} \left (\frac {k (a+b-2 x)}{k+1}+\sqrt {-\frac {k^2 (a-b)^2}{(k+1)^2}} \tan \left (\frac {(k+1) \sqrt {-\frac {k^2 (a-b)^2}{(k+1)^2}} (\log (x-b)-\log (x-a))}{2 (a-b)}+c_1\right )\right ) \]