Internal problem ID [2717]
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 5.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_separable]
\[ \boxed {2 y x +\left (x^{2}+1\right ) y^{\prime }=0} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 13
dsolve(2*x*y(x)+(x^2+1)*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {c_{1}}{x^{2}+1} \]
✓ Solution by Mathematica
Time used: 0.028 (sec). Leaf size: 20
DSolve[2*x*y[x]+(x^2+1)*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {c_1}{x^2+1} \\ y(x)\to 0 \\ \end{align*}