6.3 problem 3

Internal problem ID [12992]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Exercises section 1.8 page 121
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

\[ \boxed {y^{\prime }+3 y=4 \cos \left (2 t \right )} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 23

dsolve(diff(y(t),t)=-3*y(t)+4*cos(2*t),y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {12 \cos \left (2 t \right )}{13}+\frac {8 \sin \left (2 t \right )}{13}+c_{1} {\mathrm e}^{-3 t} \]

Solution by Mathematica

Time used: 0.155 (sec). Leaf size: 31

DSolve[y'[t]==-3*y[t]+4*Cos[2*t],y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {4}{13} (2 \sin (2 t)+3 \cos (2 t))+c_1 e^{-3 t} \]