Internal problem ID [1963]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-1, page 12
Problem number: 1.2-1 (f).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {2 y+t y^{\prime }-\sin \left (t \right )=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 17
dsolve(t*diff(y(t),t)+2*y(t)=sin(t),y(t), singsol=all)
\[ y \left (t \right ) = \frac {\sin \left (t \right )-\cos \left (t \right ) t +c_{1}}{t^{2}} \]
✓ Solution by Mathematica
Time used: 0.033 (sec). Leaf size: 19
DSolve[t*y'[t]+2*y[t]==Sin[t],y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \frac {\sin (t)-t \cos (t)+c_1}{t^2} \\ \end{align*}