6.3 problem 3

Internal problem ID [570]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational]

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

Solution by Maple

Time used: 0.109 (sec). Leaf size: 75

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

\[ y \left (x \right ) = \frac {\left (108 x^{2}+12 \sqrt {81 x^{4}-12 x^{3}+108 x^{2}-324 x +324}\right )^{\frac {2}{3}}+12 x -36}{6 \left (108 x^{2}+12 \sqrt {81 x^{4}-12 x^{3}+108 x^{2}-324 x +324}\right )^{\frac {1}{3}}} \]

Solution by Mathematica

Time used: 5.408 (sec). Leaf size: 114

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

\[ y(x)\to -\frac {\sqrt [3]{2} \left (\sqrt {3} \sqrt {27 x^4-4 x^3+36 x^2-108 x+108}-9 x^2\right )^{2/3}+2 \sqrt [3]{3} x-6 \sqrt [3]{3}}{6^{2/3} \sqrt [3]{\sqrt {3} \sqrt {27 x^4-4 x^3+36 x^2-108 x+108}-9 x^2}} \]