6.6 problem 1.2-1 (f)

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]

Solve \begin {gather*} \boxed {2 y+t y^{\prime }-\sin \relax (t )=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 17

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

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

Solution by Mathematica

Time used: 0.016 (sec). Leaf size: 10

DSolve[t*y'[t]==Sin[t],y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \text {Si}(t)+c_1 \\ \end{align*}