23.1.1 problem 1(a)

Internal problem ID [4091]
Book : Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section : Chapter 2. First order equations. Exercises at page 14
Problem number : 1(a)
Date solved : Monday, January 27, 2025 at 08:08:22 AM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

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

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