4.4 problem Problem 3.4

Internal problem ID [5125]

Book: THEORY OF DIFFERENTIAL EQUATIONS IN ENGINEERING AND MECHANICS. K.T. CHAU, CRC Press. Boca Raton, FL. 2018
Section: Chapter 3. Ordinary Differential Equations. Section 3.6 Summary and Problems. Page 218
Problem number: Problem 3.4.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }+\frac {2 y^{\prime }}{x}-\frac {2 y}{\left (1+x \right )^{2}}=0} \end {gather*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 30

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

\[ y \relax (x ) = \frac {c_{1}}{\left (x +1\right ) x}+\frac {c_{2} \left (x^{2}+3 x +3\right )}{x +1} \]

Solution by Mathematica

Time used: 0.015 (sec). Leaf size: 33

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

\begin{align*} y(x)\to \frac {c_2 x (x (x+3)+3)+3 c_1}{3 x (x+1)} \\ \end{align*}