74.15.43 problem 46 (a)

Internal problem ID [16482]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 4. Higher Order Equations. Exercises 4.7, page 195
Problem number : 46 (a)
Date solved : Tuesday, January 28, 2025 at 09:09:12 AM
CAS classification : [[_Emden, _Fowler]]

\begin{align*} x^{2} y^{\prime \prime }-x y^{\prime }+2 y&=0 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 20

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