6.33 problem 33

Internal problem ID [14321]

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

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.072 (sec). Leaf size: 19

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

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