4.11 problem 5.2 (a)

Internal problem ID [13357]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 5. LINEAR FIRST ORDER EQUATIONS. Additional exercises. page 103
Problem number: 5.2 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }+2 y=6} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 12

dsolve(diff(y(x),x)+2*y(x)=6,y(x), singsol=all)
 

\[ y \left (x \right ) = 3+{\mathrm e}^{-2 x} c_{1} \]

Solution by Mathematica

Time used: 0.03 (sec). Leaf size: 20

DSolve[y'[x]+2*y[x]==6,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 3+c_1 e^{-2 x} \\ y(x)\to 3 \\ \end{align*}