82.2.3 problem Ex. 3

Internal problem ID [18729]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Exercises at page 14
Problem number : Ex. 3
Date solved : Tuesday, January 28, 2025 at 12:12:58 PM
CAS classification : [_separable]

\begin{align*} y-x y^{\prime }&=a \left (y^{2}+y^{\prime }\right ) \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 15

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

Solution by Mathematica

Time used: 0.612 (sec). Leaf size: 34

DSolve[(y[x]-x*D[y[x],x])==a*(y[x]^2+D[y[x],x]),y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to \frac {a+x}{a^2+a x+e^{c_1}} \\ y(x)\to 0 \\ y(x)\to \frac {1}{a} \\ \end{align*}