4.1.4 \(y'(x)=a+b x+c y(x)\)

ODE
\[ y'(x)=a+b x+c y(x) \] ODE Classification

[[_linear, `class A`]]

Book solution method
Linear ODE

Mathematica
cpu = 0.168429 (sec), leaf count = 28

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

Maple
cpu = 0.02 (sec), leaf count = 30

\[\left [y \left (x \right ) = -\frac {b x}{c}-\frac {a}{c}-\frac {b}{c^{2}}+{\mathrm e}^{c x} \textit {\_C1}\right ]\] Mathematica raw input

DSolve[y'[x] == a + b*x + c*y[x],y[x],x]

Mathematica raw output

{{y[x] -> -((b + a*c + b*c*x)/c^2) + E^(c*x)*C[1]}}

Maple raw input

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

Maple raw output

[y(x) = -b/c*x-1/c*a-1/c^2*b+exp(c*x)*_C1]