Internal
problem
ID
[19703] Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929) Section
:
Chapter
1.
section
5.
Problems
at
page
19 Problem
number
:
3 Date
solved
:
Friday, November 28, 2025 at 06:27:27 PM CAS
classification
:
[_quadrature]
Solved using first_order_ode_autonomous
Time used: 0.171 (sec)
Solve
\begin{align*}
y^{\prime }+c y&=a \\
\end{align*}
Integrating gives
\begin{align*} \int \frac {1}{-c y +a}d y &= dx\\ -\frac {\ln \left (-c y +a \right )}{c}&= x +c_1 \end{align*}
Singular solutions are found by solving
\begin{align*} -c y +a&= 0 \end{align*}
for \(y\). This is because we had to divide by this in the above step. This gives the following singular
solution(s), which also have to satisfy the given ODE.
\begin{align*} y = \frac {a}{c} \end{align*}
The following diagram is the phase line diagram. It classifies each of the above equilibrium
points as stable or not stable or semi-stable.
Solving for \(y\) gives
\begin{align*}
y &= \frac {a}{c} \\
y &= -\frac {{\mathrm e}^{-c_1 c -c x}-a}{c} \\
\end{align*}
Summary of solutions found
\begin{align*}
y &= \frac {a}{c} \\
y &= -\frac {{\mathrm e}^{-c_1 c -c x}-a}{c} \\
\end{align*}
We assume there exists a function \(\phi \left ( x,y\right ) =c\) where \(c\) is constant,
that satisfies the ode. Taking derivative of \(\phi \) w.r.t. \(x\) gives
But since \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) then for the above to be valid, we require that
If the above condition is satisfied, then
the original ode is called exact. We still need to determine \(\phi \left ( x,y\right ) \) but at least we know now that we can
do that since the condition \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) is satisfied. If this condition is not satisfied then this method will not
work and we have to now look for an integrating factor to force this condition, which might or
might not exist. The first step is to write the ODE in standard form to check for exactness, which
is
Since \(\frac {\partial M}{\partial y} \neq \frac {\partial N}{\partial x}\), then the ODE is not exact. Since the ODE is not exact, we will try to find an integrating
factor to make it exact. Let
\(M\) and \(N\) are multiplied by this integrating factor, giving new \(M\) and new \(N\) which are called \(\overline {M}\) and \(\overline {N}\) for now
so not to confuse them with the original \(M\) and \(N\).
\begin{align*} \overline {M} &=\mu M \\ &= {\mathrm e}^{c x}\left (c y -a\right ) \\ &= \left (c y -a \right ) {\mathrm e}^{c x} \end{align*}
Where \(f(x)\) is used for the constant of integration since \(\phi \) is a function of
both \(x\) and \(y\). Taking derivative of equation (3) w.r.t \(x\) gives
But since \(\phi \)
itself is a constant function, then let \(\phi =c_2\) where \(c_2\) is new constant and combining \(c_1\) and \(c_2\) constants
into the constant \(c_1\) gives the solution as
This ODE is now solved for \(p \left (x \right )\).
No inversion is needed.
Integrating gives
\begin{align*} \int -\frac {1}{p c}d p &= dx\\ -\frac {\ln \left (p \right )}{c}&= x +c_1 \end{align*}
Singular solutions are found by solving
\begin{align*} -p c&= 0 \end{align*}
for \(p \left (x \right )\). This is because we had to divide by this in the above step. This gives the following singular
solution(s), which also have to satisfy the given ODE.
\begin{align*} p \left (x \right ) = 0 \end{align*}
Substituing the above solution for \(p\) in (2A) gives
\begin{align*}
y &= \frac {-{\mathrm e}^{-c_1 c -c x}+a}{c} \\
y &= \frac {a}{c} \\
\end{align*}
Simplifying the above gives
\begin{align*}
y &= \frac {a}{c} \\
y &= \frac {-{\mathrm e}^{-c \left (x +c_1 \right )}+a}{c} \\
y &= \frac {a}{c} \\
\end{align*}
Summary of solutions found
\begin{align*}
y &= \frac {a}{c} \\
y &= \frac {-{\mathrm e}^{-c \left (x +c_1 \right )}+a}{c} \\
\end{align*}