1.7 problem 7

Internal problem ID [7323]

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

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

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.03 (sec). Leaf size: 18

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

\[ y(x)\to -a (x+1)+c_1 e^x \]