74.8.22 problem 22

Internal problem ID [16158]
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
Date solved : Tuesday, January 28, 2025 at 08:53:05 AM
CAS classification : [_linear]

\begin{align*} x^{\prime }+\frac {x}{y}&=y^{2} \end{align*}

Solution by Maple

Time used: 0.001 (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.027 (sec). Leaf size: 19

DSolve[D[x[y],y]+x[y]/y==y^2,x[y],y,IncludeSingularSolutions -> True]
 
\[ x(y)\to \frac {y^3}{4}+\frac {c_1}{y} \]