1.30 problem 30

Internal problem ID [477]

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

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

Solve \begin {gather*} \boxed {-y+y^{\prime }-1-3 \sin \relax (t )=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.061 (sec). Leaf size: 25

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

\begin{align*} y(t)\to -\frac {3 \sin (t)}{2}-\frac {3 \cos (t)}{2}+c_1 e^t-1 \\ \end{align*}