1.16 problem 16

Internal problem ID [463]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.1. Page 40
Problem number: 16.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }+\frac {2 y}{t}=\frac {\cos \left (t \right )}{t^{2}}} \] With initial conditions \begin {align*} [y \left (\pi \right ) = 0] \end {align*}

Solution by Maple

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

dsolve([2*y(t)/t+diff(y(t),t) = cos(t)/t^2,y(Pi) = 0],y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {\sin \left (t \right )}{t^{2}} \]

Solution by Mathematica

Time used: 0.041 (sec). Leaf size: 11

DSolve[{2*y[t]/t+y'[t] == Cos[t]/t^2,y[Pi]==0},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {\sin (t)}{t^2} \]