15.30 problem 438

Internal problem ID [3184]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 15
Problem number: 438.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {1-y^{\prime }-x -y=0} \end {gather*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 15

dsolve(1-diff(y(x),x) = x+y(x),y(x), singsol=all)
 

\[ y \relax (x ) = -x +2+{\mathrm e}^{-x} c_{1} \]

Solution by Mathematica

Time used: 0.1 (sec). Leaf size: 18

DSolve[1-y'[x]==x+y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -x+c_1 e^{-x}+2 \\ \end{align*}