15.30 problem 438

Internal problem ID [3183]

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`]]

\[ \boxed {1-y^{\prime }-x -y=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.041 (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*}