Internal problem ID [579]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 12.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y=\frac {1}{1+{\mathrm e}^{x}}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve(y(x)+diff(y(x),x) = 1/(1+exp(x)),y(x), singsol=all)
\[ y \left (x \right ) = \left (\ln \left (1+{\mathrm e}^{x}\right )+c_{1} \right ) {\mathrm e}^{-x} \]
✓ Solution by Mathematica
Time used: 0.067 (sec). Leaf size: 20
DSolve[y[x]+y'[x] == 1/(1+Exp[x]),y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to e^{-x} \left (\log \left (e^x+1\right )+c_1\right ) \]