1.8 problem Problem 1.6(b)

Internal problem ID [11053]

Book: Differential Equations, Linear, Nonlinear, Ordinary, Partial. A.C. King, J.Billingham, S.R.Otto. Cambridge Univ. Press 2003
Section: Chapter 1 VARIABLE COEFFICIENT, SECOND ORDER DIFFERENTIAL EQUATIONS. Problems page 28
Problem number: Problem 1.6(b).
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {x^{2} y^{\prime \prime }+x \left (x +1\right ) y^{\prime }-y=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 22

dsolve(x^2*diff(y(x),x$2)+x*(1+x)*diff(y(x),x)-y(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {c_{1} \left (x -1\right )}{x}+\frac {c_{2} {\mathrm e}^{-x}}{x} \]

Solution by Mathematica

Time used: 0.007 (sec). Leaf size: 26

DSolve[x^2*y''[x]+x*(1+x)*y'[x]-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {e^{-x} \left (c_1 e^x (x-1)+c_2\right )}{x} \\ \end{align*}