44.1.54 problem 68

Internal problem ID [6929]
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. Exercises 1.1 at page 12
Problem number : 68
Date solved : Monday, January 27, 2025 at 02:37:11 PM
CAS classification : [_quadrature]

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

Solution by Maple

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

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

Solution by Mathematica

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

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