1.15 problem 15

Internal problem ID [3066]

Book: Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section: Chapter 11.3, page 316
Problem number: 15.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

\[ y \left (x \right ) = 2 \,{\mathrm e}^{x^{2}}-1 \]

Solution by Mathematica

Time used: 0.038 (sec). Leaf size: 14

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

\[ y(x)\to 2 e^{x^2}-1 \]