1.14 problem 5(c)

Internal problem ID [882]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 1, Introduction. Section 1.2 Page 14
Problem number: 5(c).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

Time used: 0.063 (sec). Leaf size: 10

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

\[ y \left (x \right ) = \tan \left (\frac {x^{2}}{2}\right ) \]

Solution by Mathematica

Time used: 0.161 (sec). Leaf size: 13

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

\[ y(x)\to \tan \left (\frac {x^2}{2}\right ) \]