10.1.4 problem 4

Internal problem ID [1101]
Book : Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section : Section 2.1. Page 40
Problem number : 4
Date solved : Monday, January 27, 2025 at 04:33:27 AM
CAS classification : [_linear]

\begin{align*} \frac {y}{t}+y^{\prime }&=3 \cos \left (2 t \right ) \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 26

dsolve(y(t)/t+diff(y(t),t) = 3*cos(2*t),y(t), singsol=all)
 
\[ y = \frac {4 c_1 +6 t \sin \left (2 t \right )+3 \cos \left (2 t \right )}{4 t} \]

Solution by Mathematica

Time used: 0.070 (sec). Leaf size: 30

DSolve[y[t]/t+D[y[t],t] == 3*Cos[2*t],y[t],t,IncludeSingularSolutions -> True]
 
\[ y(t)\to \frac {6 t \sin (2 t)+3 \cos (2 t)+4 c_1}{4 t} \]