20.5.3 problem Problem 3

Internal problem ID [3686]
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
Date solved : Monday, January 27, 2025 at 07:55:22 AM
CAS classification : [_linear]

\begin{align*} y+3 x^{2}+x y^{\prime }&=0 \end{align*}

Solution by Maple

Time used: 0.000 (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.029 (sec). Leaf size: 17

DSolve[(y[x]+3*x^2)+x*D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {-x^3+c_1}{x} \]