1.4 problem 3

Internal problem ID [3267]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 1
Problem number: 3.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }-c y=b x +a} \]

Solution by Maple

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

dsolve(diff(y(x),x) = a+b*x+c*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {{\mathrm e}^{c x} c_{1} c^{2}+\left (-b x -a \right ) c -b}{c^{2}} \]

Solution by Mathematica

Time used: 0.106 (sec). Leaf size: 28

DSolve[y'[x]==a+b*x+c*y[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -\frac {a c+b c x+b}{c^2}+c_1 e^{c x} \]