1.53 problem 73

Internal problem ID [14097]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 73.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, _Bernoulli]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to -\frac {x^2}{x-c_1} \\ y(x)\to 0 \\ \end{align*}