7.7.28 problem 28

Internal problem ID [206]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Review problems at page 98
Problem number : 28
Date solved : Monday, January 27, 2025 at 02:41:32 AM
CAS classification : [_linear]

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

Solution by Maple

Time used: 0.002 (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.050 (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} \]