5.33 problem 33

Internal problem ID [14262]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number: 33.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {\left (t^{2}+4\right ) y^{\prime }+2 t y=2 t} \] With initial conditions \begin {align*} [y \left (0\right ) = -4] \end {align*}

Solution by Maple

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

dsolve([(t^2+4)*diff(y(t),t)+2*t*y(t)=2*t,y(0) = -4],y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {t^{2}-16}{t^{2}+4} \]

Solution by Mathematica

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

DSolve[{(t^2+4)*y'[t]+2*t*y[t]==2*t,{y[0]==-4}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {t^2-16}{t^2+4} \]