Internal problem ID [2684]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth
edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.8, Change of Variables. page
79
Problem number: Problem 29(a).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
\[ \boxed {y^{\prime }-\frac {x +y a}{a x -y}=0} \]
✓ Solution by Maple
Time used: 0.359 (sec). Leaf size: 25
dsolve(diff(y(x),x)=(x+a*y(x))/(a*x-y(x)),y(x), singsol=all)
\[ y \left (x \right ) = \tan \left (\operatorname {RootOf}\left (-2 a \textit {\_Z} +\ln \left (\sec \left (\textit {\_Z} \right )^{2} x^{2}\right )+2 c_{1} \right )\right ) x \]
✓ Solution by Mathematica
Time used: 0.039 (sec). Leaf size: 34
DSolve[y'[x]==(x+a*y[x])/(a*x-y[x]),y[x],x,IncludeSingularSolutions -> True]
\[ \text {Solve}\left [a \arctan \left (\frac {y(x)}{x}\right )-\frac {1}{2} \log \left (\frac {y(x)^2}{x^2}+1\right )=\log (x)+c_1,y(x)\right ] \]