1.11 problem 2(e)

Internal problem ID [2530]

Book: Elementary Differential equations, Chaundy, 1969
Section: Exercises 3, page 60
Problem number: 2(e).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 22

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

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

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 23

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

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