1.10 problem Problem 11.12

Internal problem ID [5172]

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.12.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }-5 y=\left (x -1\right ) \sin \left (x \right )+\left (1+x \right ) \cos \left (x \right )} \]

Solution by Maple

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

dsolve(diff(y(x),x)-5*y(x)=(x-1)*sin(x)+(x+1)*cos(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {3 \cos \left (x \right ) x}{13}-\frac {69 \cos \left (x \right )}{338}-\frac {2 \sin \left (x \right ) x}{13}+\frac {71 \sin \left (x \right )}{338}+c_{1} {\mathrm e}^{5 x} \]

Solution by Mathematica

Time used: 0.229 (sec). Leaf size: 36

DSolve[y'[x]-5*y[x]==(x-1)*Sin[x]+(x+1)*Cos[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{338} ((71-52 x) \sin (x)-3 (26 x+23) \cos (x))+c_1 e^{5 x} \]