Internal problem ID [11371]
Internal file name [OUTPUT/10354_Wednesday_May_17_2023_07_49_49_PM_11615872/index.tex
]
Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag,
NY. 2015.
Section: Chapter 1, First order differential equations. Section 1.3.1 Separable equations. Exercises
page 26
Problem number: 1(e).
ODE order: 1.
ODE degree: 1.
The type(s) of ODE detected by this program : "quadrature"
Maple gives the following as the ode type
[_quadrature]
\[ \boxed {x^{\prime }-a x=b} \]
Integrating both sides gives \begin {align*} \int \frac {1}{a x +b}d x &= t +c_{1}\\ \frac {\ln \left (a x +b \right )}{a}&=t +c_{1} \end {align*}
Solving for \(x\) gives these solutions \begin {align*} x_1&=\frac {{\mathrm e}^{a c_{1} +t a}-b}{a}\\ &=\frac {c_{1} {\mathrm e}^{t a}-b}{a} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} x &= \frac {c_{1} {\mathrm e}^{t a}-b}{a} \\ \end{align*}
Verification of solutions
\[ x = \frac {c_{1} {\mathrm e}^{t a}-b}{a} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & x^{\prime }-a x=b \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & x^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & x^{\prime }=a x+b \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {x^{\prime }}{a x+b}=1 \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} t \\ {} & {} & \int \frac {x^{\prime }}{a x+b}d t =\int 1d t +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \frac {\ln \left (a x+b \right )}{a}=t +c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} x \\ {} & {} & x=\frac {{\mathrm e}^{c_{1} a +t a}-b}{a} \end {array} \]
Maple trace
`Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful`
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 19
dsolve(diff(x(t),t)=a*x(t)+b,x(t), singsol=all)
\[ x \left (t \right ) = \frac {{\mathrm e}^{a t} c_{1} a -b}{a} \]
✓ Solution by Mathematica
Time used: 0.062 (sec). Leaf size: 30
DSolve[x'[t]==a*x[t]+b,x[t],t,IncludeSingularSolutions -> True]
\begin{align*} x(t)\to -\frac {b}{a}+c_1 e^{a t} \\ x(t)\to -\frac {b}{a} \\ \end{align*}