Internal problem ID [2715]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth
edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.9, Exact Differential Equations.
page 91
Problem number: Problem 3.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y+x y^{\prime }=-3 x^{2}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 15
dsolve((y(x)+3*x^2)+x*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {-x^{3}+c_{1}}{x} \]
✓ Solution by Mathematica
Time used: 0.028 (sec). Leaf size: 17
DSolve[(y[x]+3*x^2)+x*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {-x^3+c_1}{x} \]