Internal problem ID [5298]
Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres.
McGraw Hill 1952
Section: Chapter 6. Equations of first order and first degree (Linear equations). Supplemetary
problems. Page 39
Problem number: 19 (a).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, `class A`]]
\[ \boxed {y^{\prime }+y=2 x +2} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(diff(y(x),x)+y(x)=2+2*x,y(x), singsol=all)
\[ y = 2 x +c_{1} {\mathrm e}^{-x} \]
✓ Solution by Mathematica
Time used: 0.025 (sec). Leaf size: 17
DSolve[y'[x]+y[x]==2+2*x,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to 2 x+c_1 e^{-x} \]