6.28 problem 28

Internal problem ID [148]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Chapter 1 review problems. Page 78
Problem number: 28.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y+y^{\prime } x=2 \,{\mathrm e}^{2 x}} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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