10.6.28 problem 28

Internal problem ID [1245]
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
Date solved : Monday, January 27, 2025 at 04:47:34 AM
CAS classification : [_linear]

\begin{align*} 3 t +2 y&=-t y^{\prime } \end{align*}

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 = -t +\frac {c_1}{t^{2}} \]

Solution by Mathematica

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

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