82.12.14 problem Ex. 14

Internal problem ID [18779]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Examples on chapter II at page 29
Problem number : Ex. 14
Date solved : Tuesday, January 28, 2025 at 12:17:04 PM
CAS classification : [_linear]

\begin{align*} x \left (-x^{2}+1\right ) y^{\prime }+\left (2 x^{2}-1\right ) y&=a \,x^{3} \end{align*}

Solution by Maple

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

dsolve(x*(1-x^2)*diff(y(x),x)+(2*x^2-1)*y(x)=a*x^3,y(x), singsol=all)
 
\[ y \left (x \right ) = x \left (\sqrt {x -1}\, \sqrt {x +1}\, c_{1} +a \right ) \]

Solution by Mathematica

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

DSolve[x*(1-x^2)*D[y[x],x]+(2*x^2-1)*y[x]==a*x^3,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x \left (a+c_1 \sqrt {1-x^2}\right ) \]