8.6.28 problem 28

Internal problem ID [798]
Book : Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section : Chapter 1 review problems. Page 78
Problem number : 28
Date solved : Monday, January 27, 2025 at 03:07:32 AM
CAS classification : [_linear]

\begin{align*} y+x y^{\prime }&=2 \,{\mathrm e}^{2 x} \end{align*}

Solution by Maple

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

dsolve(y(x)+x*diff(y(x),x) = 2*exp(2*x),y(x), singsol=all)
 
\[ y = \frac {{\mathrm e}^{2 x}+c_1}{x} \]

Solution by Mathematica

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

DSolve[y[x]+x*D[y[x],x] == 2*Exp[2*x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {e^{2 x}+c_1}{x} \]