2.10 problem 11

Internal problem ID [1658]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 9
Problem number: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(t)\to \frac {1}{2} \left (3 e^{t^2}-1\right ) \]