12.2.1 problem 1

Internal problem ID [1537]
Book : Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section : Chapter 2, First order equations. Linear first order. Section 2.1 Page 41
Problem number : 1
Date solved : Monday, January 27, 2025 at 04:59:14 AM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.027 (sec). Leaf size: 19

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