62.30.3 problem Ex 3

Internal problem ID [12967]
Book : An elementary treatise on differential equations by Abraham Cohen. DC heath publishers. 1906
Section : Chapter VIII, Linear differential equations of the second order. Article 53. Change of dependent variable. Page 125
Problem number : Ex 3
Date solved : Tuesday, January 28, 2025 at 04:45:38 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.006 (sec). Leaf size: 14

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

Solution by Mathematica

Time used: 0.019 (sec). Leaf size: 48

DSolve[(1+x^2)*D[y[x],{x,2}]+2*x*D[y[x],x]-2*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {1}{2} i (2 c_1 x-c_2 x \log (1-i x)+c_2 x \log (1+i x)+2 i c_2) \]