7.4.31 problem 31 (a)

Internal problem ID [103]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.5 (linear equations). Problems at page 54
Problem number : 31 (a)
Date solved : Friday, February 07, 2025 at 07:49:30 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }+p \left (x \right ) y&=0 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)+p(x)*y(x)=0,y(x), singsol=all)
 
\[ y = c_1 \,{\mathrm e}^{-\int p \left (x \right )d x} \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 27

DSolve[D[y[x],x]+p[x]*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 \exp \left (\int _1^x-p(K[1])dK[1]\right ) \\ y(x)\to 0 \\ \end{align*}