1.16 problem 16

Internal problem ID [7332]

Book: First order enumerated odes
Section: section 1
Problem number: 16.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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