32.5.2 problem Exercise 11.2, page 97

Internal problem ID [5840]
Book : Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section : Chapter 2. Special types of differential equations of the first kind. Lesson 11, Bernoulli Equations
Problem number : Exercise 11.2, page 97
Date solved : Monday, January 27, 2025 at 01:20:20 PM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

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

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