1.11 problem Problem 11.13

Internal problem ID [5173]

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`]]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(x)\to \frac {2 x}{5}-\frac {3 e^x}{4}+c_1 e^{5 x}-\frac {3}{25} \]