1.34 problem 34

Internal problem ID [3179]

Book: Differential equations for engineers by Wei-Chau XIE, Cambridge Press 2010
Section: Chapter 2. First-Order and Simple Higher-Order Differential Equations. Page 78
Problem number: 34.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational]

\[ \boxed {3 y^{2}+x \left (x^{2}+3 y^{2}+6 y\right ) y^{\prime }=-3 x^{2}} \]

Solution by Maple

Time used: 0.047 (sec). Leaf size: 22

dsolve(3*(x^2+y(x)^2)+x*(x^2+3*y(x)^2+6*y(x))*diff(y(x),x)=0,y(x), singsol=all)
 

\[ c_{1} +\frac {{\mathrm e}^{y \left (x \right )} x^{3}}{3}+{\mathrm e}^{y \left (x \right )} x y \left (x \right )^{2} = 0 \]

Solution by Mathematica

Time used: 0.149 (sec). Leaf size: 26

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

\[ \text {Solve}\left [x^3 e^{y(x)}+3 x e^{y(x)} y(x)^2=c_1,y(x)\right ] \]