ODE
\[ 1-y'(x)=y(x)+x \] ODE Classification
[[_linear, `class A`]]
Book solution method
Homogeneous equation
Mathematica ✓
cpu = 0.159881 (sec), leaf count = 18
\[\left \{\left \{y(x)\to -x+c_1 e^{-x}+2\right \}\right \}\]
Maple ✓
cpu = 0.009 (sec), leaf count = 15
\[[y \left (x \right ) = -x +2+\textit {\_C1} \,{\mathrm e}^{-x}]\] Mathematica raw input
DSolve[1 - y'[x] == x + y[x],y[x],x]
Mathematica raw output
{{y[x] -> 2 - x + C[1]/E^x}}
Maple raw input
dsolve(1-diff(y(x),x) = x+y(x), y(x))
Maple raw output
[y(x) = -x+2+_C1*exp(-x)]