74.8.12 problem 12

Internal problem ID [16148]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Review exercises, page 80
Problem number : 12
Date solved : Tuesday, January 28, 2025 at 08:52:10 AM
CAS classification : [[_linear, `class A`]]

\begin{align*} y-x +y^{\prime }&=0 \end{align*}

Solution by Maple

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

dsolve((y(x)-x)+diff(y(x),x)=0,y(x), singsol=all)
 
\[ y = c_{1} {\mathrm e}^{-x}-1+x \]

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 16

DSolve[(y[x]-x)+D[y[x],x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x+c_1 e^{-x}-1 \]