1.11 problem Problem 11.13

Internal problem ID [4665]

Book: Schaums Outline Differential Equations, 4th edition. Bronson and Costa. McGraw Hill 2014
Section: Chapter 11. THE METHOD OF UNDETERMINED COEFFICIENTS. page 95
Problem number: Problem 11.13.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {y^{\prime }-5 y-3 \,{\mathrm e}^{x}+2 x -1=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 19

dsolve(diff(y(x),x)-5*y(x)=3*exp(x)-2*x+1,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {2 x}{5}-\frac {3}{25}-\frac {3 \,{\mathrm e}^{x}}{4}+{\mathrm e}^{5 x} c_{1} \]

Solution by Mathematica

Time used: 0.1 (sec). Leaf size: 29

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

\begin{align*} y(x)\to \frac {2 x}{5}-\frac {3 e^x}{4}+c_1 e^{5 x}-\frac {3}{25} \\ \end{align*}