1.15 problem 15

Internal problem ID [7331]

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

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

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 19

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

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

Solution by Mathematica

Time used: 0.05 (sec). Leaf size: 22

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

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