Internal problem ID [573]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Miscellaneous problems, end of chapter 2. Page 133
Problem number: 6.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y x +y^{\prime } x +y=1} \] With initial conditions \begin {align*} [y \left (1\right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 18
dsolve([x*y(x)+x*diff(y(x),x) = 1-y(x),y(1) = 0],y(x), singsol=all)
\[ y \left (x \right ) = \frac {1-{\mathrm e}^{1-x}}{x} \]
✓ Solution by Mathematica
Time used: 0.03 (sec). Leaf size: 20
DSolve[{x*y[x]+x*y'[x] == 1-y[x],y[1]==0},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {1-e^{1-x}}{x} \]