40.1.6 problem 18

Internal problem ID [6574]
Book : Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section : Chapter 2. Solutions of differential equations. Supplemetary problems. Page 11
Problem number : 18
Date solved : Monday, January 27, 2025 at 02:13:52 PM
CAS classification : [[_2nd_order, _with_linear_symmetries]]

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

Solution by Maple

Time used: 0.004 (sec). Leaf size: 12

dsolve((x-1)*diff(y(x),x$2)-x*diff(y(x),x)+y(x)=0,y(x), singsol=all)
 
\[ y = c_1 x +{\mathrm e}^{x} c_2 \]

Solution by Mathematica

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

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