Internal problem ID [11669]
Book: Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi.
2004.
Section: Chapter 2, section 2.3 (Linear equations). Exercises page 56
Problem number: 35 (b).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }+y=2 \sin \left (x \right )+5 \sin \left (2 x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 27
dsolve(diff(y(x),x)+y(x)=2*sin(x)+5*sin(2*x),y(x), singsol=all)
\[ y \left (x \right ) = -\cos \left (x \right )-2 \cos \left (2 x \right )+\sin \left (x \right )+\sin \left (2 x \right )+c_{1} {\mathrm e}^{-x} \]
✓ Solution by Mathematica
Time used: 0.131 (sec). Leaf size: 30
DSolve[y'[x]+y[x]==2*Sin[x]+5*Sin[2*x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \sin (x)+\sin (2 x)-\cos (x)-2 \cos (2 x)+c_1 e^{-x} \]