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

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

[_separable]

Book solution method
Separable ODE, Neither variable missing

Mathematica
cpu = 0.173164 (sec), leaf count = 20

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

Maple
cpu = 0.019 (sec), leaf count = 18

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

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

Mathematica raw output

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

Maple raw input

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

Maple raw output

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