Internal problem ID [1666]
Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 9
Problem number: 22.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {y^{\prime }+\frac {y}{t}-\cos \relax (t )-\frac {\sin \relax (t )}{t}=0} \end {gather*}
✓ Solution by Maple
Time used: 0.004 (sec). Leaf size: 12
dsolve(diff(y(t),t)+1/t*y(t)=cos(t)+sin(t)/t,y(t), singsol=all)
\[ y \relax (t ) = \sin \relax (t )+\frac {c_{1}}{t} \]
✓ Solution by Mathematica
Time used: 0.045 (sec). Leaf size: 14
DSolve[y'[t]+1/t*y[t]==Cos[t]+Sin[t]/t,y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \sin (t)+\frac {c_1}{t} \\ \end{align*}