5.17 problem 21

Internal problem ID [2621]

Book: Differential equations with applications and historial notes, George F. Simmons, 1971
Section: Chapter 2, End of chapter, page 61
Problem number: 21.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {\left (x^{2}+1\right ) y^{\prime }+2 y x -4 x^{3}=0} \end {gather*}

Solution by Maple

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

dsolve((1+x^2)*diff(y(x),x)+2*x*y(x)=4*x^3,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {x^{4}+c_{1}}{x^{2}+1} \]

Solution by Mathematica

Time used: 0.036 (sec). Leaf size: 19

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

\begin{align*} y(x)\to \frac {x^4+c_1}{x^2+1} \\ \end{align*}