23.1.9 problem 1(i)

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

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

Solution by Maple

Time used: 0.000 (sec). Leaf size: 10

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

Solution by Mathematica

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

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