7.14 problem 14

Internal problem ID [13116]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 8. Review exercises for part of part II. page 143
Problem number: 14.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 16

dsolve(2+2*x^2-2*x*y(x)+(x^2+1)*diff(y(x),x)=0,y(x), singsol=all)
 

\[ y = \left (x^{2}+1\right ) \left (c_{1} -2 \arctan \left (x \right )\right ) \]

Solution by Mathematica

Time used: 0.035 (sec). Leaf size: 18

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

\[ y(x)\to \left (x^2+1\right ) (-2 \arctan (x)+c_1) \]