29.2.29 problem 54

Internal problem ID [4662]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 2
Problem number : 54
Date solved : Monday, January 27, 2025 at 09:30:40 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=a +b y^{2} \end{align*}

Solution by Maple

Time used: 0.007 (sec). Leaf size: 23

dsolve(diff(y(x),x) = a+b*y(x)^2,y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {\tan \left (\sqrt {a b}\, \left (x +c_{1} \right )\right ) \sqrt {a b}}{b} \]

Solution by Mathematica

Time used: 10.050 (sec). Leaf size: 68

DSolve[D[y[x],x]==a+b y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {\sqrt {a} \tan \left (\sqrt {a} \sqrt {b} (x+c_1)\right )}{\sqrt {b}} \\ y(x)\to -\frac {i \sqrt {a}}{\sqrt {b}} \\ y(x)\to \frac {i \sqrt {a}}{\sqrt {b}} \\ \end{align*}