Internal
problem
ID
[4077] Book
:
Differential
equations,
Shepley
L.
Ross,
1964 Section
:
2.4,
page
55 Problem
number
:
1 Date
solved
:
Tuesday, December 17, 2024 at 06:21:25 AM CAS
classification
:
[_rational, [_Abel, `2nd type`, `class B`]]
Solve
\begin{align*} 5 x y+4 y^{2}+1+\left (x^{2}+2 x y\right ) y^{\prime }&=0 \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
\begin{align*} \frac {\partial M}{\partial y} &= \frac {\partial }{\partial y} \left (5 x y +4 y^{2}+1\right )\\ &= 5 x +8 y \end{align*}
And
\begin{align*} \frac {\partial N}{\partial x} &= \frac {\partial }{\partial x} \left (x^{2}+2 x y\right )\\ &= 2 x +2 y \end{align*}
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
\begin{align*} A &= \frac {1}{N} \left (\frac {\partial M}{\partial y} - \frac {\partial N}{\partial x} \right ) \\ &=\frac {1}{x \left (x +2 y \right )}\left ( \left ( 5 x +8 y\right ) - \left (2 x +2 y \right ) \right ) \\ &=\frac {3}{x} \end{align*}
Since \(A\) does not depend on \(y\), then it can be used to find an integrating factor. The integrating
factor \(\mu \) is
\(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 \\ &= x^{3}\left (5 x y +4 y^{2}+1\right ) \\ &= \left (5 x y +4 y^{2}+1\right ) x^{3} \end{align*}
And
\begin{align*} \overline {N} &=\mu N \\ &= x^{3}\left (x^{2}+2 x y\right ) \\ &= x^{4} \left (x +2 y \right ) \end{align*}
Now a modified ODE is ontained from the original ODE, which is exact and can be solved.
The modified ODE is
Where \(f(y)\) 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 \(y\) 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
\[
c_1 = x^{5} y +x^{4} y^{2}+\frac {1}{4} x^{4}
\]
Solving for \(y\) gives
\begin{align*}
y &= \frac {-x^{3}-\sqrt {x^{6}-x^{4}+4 c_1}}{2 x^{2}} \\
y &= \frac {-x^{3}+\sqrt {x^{6}-x^{4}+4 c_1}}{2 x^{2}} \\
\end{align*}
Summary of solutions found
\begin{align*}
y &= \frac {-x^{3}-\sqrt {x^{6}-x^{4}+4 c_1}}{2 x^{2}} \\
y &= \frac {-x^{3}+\sqrt {x^{6}-x^{4}+4 c_1}}{2 x^{2}} \\
\end{align*}
Maple step by step solution
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & 5 x y \left (x \right )+4 y \left (x \right )^{2}+1+\left (x^{2}+2 x y \left (x \right )\right ) \left (\frac {d}{d x}y \left (x \right )\right )=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & \frac {d}{d x}y \left (x \right ) \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=\frac {-5 x y \left (x \right )-4 y \left (x \right )^{2}-1}{x^{2}+2 x y \left (x \right )} \end {array} \]
Maple trace
`Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparabletryinginverse lineartryinghomogeneous types:tryingChinidifferentialorder: 1; looking for linear symmetriestryingexact<-exact successful`