83.8.29 problem 30

Internal problem ID [19084]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter II. Equations of first order and first degree. Misc examples on chapter II at page 25
Problem number : 30
Date solved : Monday, March 31, 2025 at 06:47:56 PM
CAS classification : [_linear]

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

Maple. Time used: 0.020 (sec). Leaf size: 56
ode:=diff(y(x),x)+y(x)/(-x^2+1)^(3/2) = (x+(-x^2+1)^(1/2))/(-x^2+1)^2; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \left (\int \frac {{\mathrm e}^{\frac {x}{\sqrt {-x^{2}+1}}} \left (x +\sqrt {-x^{2}+1}\right )}{\left (x -1\right )^{2} \left (x +1\right )^{2}}d x +c_1 \right ) {\mathrm e}^{-\frac {x}{\sqrt {-x^{2}+1}}} \]
Mathematica. Time used: 0.191 (sec). Leaf size: 38
ode=D[y[x],x]+y[x]/(1-x^2)^(3/2)== (x+Sqrt[1-x^2])/(1-x^2)^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {x}{\sqrt {1-x^2}}+c_1 e^{-\frac {x}{\sqrt {1-x^2}}} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x) - (x + sqrt(1 - x**2))/(1 - x**2)**2 + y(x)/(1 - x**2)**(3/2),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out