80.1.2 problem 3

Internal problem ID [18532]
Book : Elementary Differential Equations. By Thornton C. Fry. D Van Nostrand. NY. First Edition (1929)
Section : Chapter 1. section 5. Problems at page 19
Problem number : 3
Date solved : Tuesday, January 28, 2025 at 11:54:24 AM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.044 (sec). Leaf size: 29

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