10.9.24 problem 30

Internal problem ID [1326]
Book : Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section : Chapter 3, Second order linear equations, 3.4 Repeated roots, reduction of order , page 172
Problem number : 30
Date solved : Monday, January 27, 2025 at 04:51:03 AM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Using reduction of order method given that one solution is

\begin{align*} y&=\frac {\sin \left (x \right )}{\sqrt {x}} \end{align*}

Solution by Maple

Time used: 0.013 (sec). Leaf size: 17

dsolve([x^2*diff(y(x),x$2)+x*diff(y(x),x)+(x^2-25/100)*y(x)=0,x^(-1/2)*sin(x)],singsol=all)
 
\[ y = \frac {c_1 \sin \left (x \right )+c_2 \cos \left (x \right )}{\sqrt {x}} \]

Solution by Mathematica

Time used: 0.032 (sec). Leaf size: 39

DSolve[x^2*D[y[x],{x,2}]+x*D[y[x],x]+(x^2-25/100)*y[x]==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 \sqrt {x}} \]