69.1.7 problem 7

Internal problem ID [14160]
Book : DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section : Chapter 8. Differential equations. Exercises page 595
Problem number : 7
Date solved : Tuesday, January 28, 2025 at 06:18:19 AM
CAS classification : [_Gegenbauer, [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]

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

Solution by Maple

Time used: 0.002 (sec). Leaf size: 35

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

Solution by Mathematica

Time used: 0.037 (sec). Leaf size: 42

DSolve[(1-x^2)*D[y[x],{x,2}]-x*D[y[x],x]-a^2*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_1 \cos \left (a \log \left (\sqrt {x^2-1}+x\right )\right )+c_2 \sin \left (a \log \left (\sqrt {x^2-1}+x\right )\right ) \]