8.9 problem 9

Internal problem ID [14411]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Review exercises, page 80
Problem number: 9.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }+3 y=-10 \sin \left (t \right )} \]

Solution by Maple

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

dsolve(diff(y(t),t)+3*y(t)=-10*sin(t),y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.114 (sec). Leaf size: 20

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

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