74.5.21 problem 21

Internal problem ID [15985]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number : 21
Date solved : Tuesday, January 28, 2025 at 08:25:40 AM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.036 (sec). Leaf size: 28

DSolve[D[y[x],x]-x==y[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to e^x \left (\int _1^xe^{-K[1]} K[1]dK[1]+c_1\right ) \]