6.28 problem 28

Internal problem ID [595]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 28.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {3 t +2 y+t y^{\prime }=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 13

dsolve(3*t+2*y(t) = -t*diff(y(t),t),y(t), singsol=all)
 

\[ y \relax (t ) = -t +\frac {c_{1}}{t^{2}} \]

Solution by Mathematica

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

DSolve[3*t+2*y[t] == -t*y'[t],y[t],t,IncludeSingularSolutions -> True]
 

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