Internal problem ID [14366]
Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton.
Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.5, page 64
Problem number: 23.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime } t -y=-t} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 12
dsolve((t-y(t))+t*diff(y(t),t)=0,y(t), singsol=all)
\[ y \left (t \right ) = \left (-\ln \left (t \right )+c_{1} \right ) t \]
✓ Solution by Mathematica
Time used: 0.035 (sec). Leaf size: 14
DSolve[(t-y[t])+t*y'[t]==0,y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to t (-\log (t)+c_1) \]