60.3.238 problem 1243

Internal problem ID [11248]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 2, linear second order
Problem number : 1243
Date solved : Monday, January 27, 2025 at 11:00:27 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.043 (sec). Leaf size: 41

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