82.54.4 problem Ex. 4

Internal problem ID [18949]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter IX. Equations of the second order. problems at end of chapter at page 120
Problem number : Ex. 4
Date solved : Monday, March 31, 2025 at 06:26:20 PM
CAS classification : [[_2nd_order, _exact, _linear, _homogeneous]]

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

Maple. Time used: 0.001 (sec). Leaf size: 18
ode:=(x^2+1)*diff(diff(y(x),x),x)+3*x*diff(y(x),x)+y(x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {c_1 \,\operatorname {arcsinh}\left (x \right )+c_2}{\sqrt {x^{2}+1}} \]
Mathematica. Time used: 0.037 (sec). Leaf size: 23
ode=(1+x^2)*D[y[x],{x,2}]+3*x*D[y[x],x]+y[x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \frac {c_2 \text {arcsinh}(x)+c_1}{\sqrt {x^2+1}} \]
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(3*x*Derivative(y(x), x) + (x**2 + 1)*Derivative(y(x), (x, 2)) + y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
False