44.3.3 problem 9

Internal problem ID [6984]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 1. Introduction to differential equations. Review problems at page 34
Problem number : 9
Date solved : Monday, January 27, 2025 at 02:39:48 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=2 y-4 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)=2*y(x)-4,y(x), singsol=all)
 
\[ y = 2+{\mathrm e}^{2 x} c_{1} \]

Solution by Mathematica

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

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