1.4 problem Example, page 30

Internal problem ID [3840]

Book: Differential and integral calculus, vol II By N. Piskunov. 1974
Section: Chapter 1
Problem number: Example, page 30.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.001 (sec). Leaf size: 13

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

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

Solution by Mathematica

Time used: 0.033 (sec). Leaf size: 15

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

\begin{align*} y(x)\to (x+1)^2 (x+c_1) \\ \end{align*}