31.1.15 problem 6.2

Internal problem ID [5713]
Book : Differential Equations, By George Boole F.R.S. 1865
Section : Chapter 2
Problem number : 6.2
Date solved : Monday, January 27, 2025 at 01:11:11 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.003 (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.058 (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 ) \]