6.13 problem 13

Internal problem ID [1999]

Book: Differential Equations by Alfred L. Nelson, Karl W. Folley, Max Coral. 3rd ed. DC heath. Boston. 1964
Section: Exercise 10, page 41
Problem number: 13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to \frac {e^x+c_1}{(x+1)^2} \]