1.12 problem 12

Internal problem ID [459]

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

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

Solve \begin {gather*} \boxed {y+2 y^{\prime }-3 t^{2}=0} \end {gather*}

Solution by Maple

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

dsolve(y(t)+2*diff(y(t),t) = 3*t^2,y(t), singsol=all)
 

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

Solution by Mathematica

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

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

\begin{align*} y(t)\to 3 (t-4) t+c_1 e^{-t/2}+24 \\ \end{align*}