8.22 problem 22

Internal problem ID [14424]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Review exercises, page 80
Problem number: 22.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {x^{\prime }+\frac {x}{y}=y^{2}} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 16

dsolve(diff(x(y),y)+x(y)/y=y^2,x(y), singsol=all)
 

\[ x \left (y \right ) = \frac {y^{4}+4 c_{1}}{4 y} \]

Solution by Mathematica

Time used: 0.025 (sec). Leaf size: 19

DSolve[x'[y]+x[y]/y==y^2,x[y],y,IncludeSingularSolutions -> True]
 

\[ x(y)\to \frac {y^3}{4}+\frac {c_1}{y} \]