8.12 problem 25

Internal problem ID [13040]

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. Review Exercises for chapter 1. page 136
Problem number: 25.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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