Internal problem ID [8340]
Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 3.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }+a y=b \sin \left (c x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 45
dsolve(diff(y(x),x) + a*y(x) - b*sin(c*x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {{\mathrm e}^{-a x} c_{1} \left (a^{2}+c^{2}\right )+b \left (-c \cos \left (c x \right )+\sin \left (c x \right ) a \right )}{a^{2}+c^{2}} \]
✓ Solution by Mathematica
Time used: 0.086 (sec). Leaf size: 40
DSolve[y'[x] + a*y[x] - b*Sin[c*x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {b (a \sin (c x)-c \cos (c x))}{a^2+c^2}+c_1 e^{-a x} \]