Internal
problem
ID
[3639] Book
:
Differential
equations,
Shepley
L.
Ross,
1964 Section
:
2.4,
page
55 Problem
number
:
4 Date
solved
:
Sunday, October 20, 2024 at 06:25:22 PM CAS
classification
:
[[_homogeneous, `class G`], _rational, [_Abel, `2nd type`, `class B`]]
Solve
\begin{align*} 4 y^{2} x +6 y+\left (5 x^{2} y+8 x \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 (4 y^{2} x +6 y\right )\\ &= 8 x y +6 \end{align*}
And
\begin{align*} \frac {\partial N}{\partial x} &= \frac {\partial }{\partial x} \left (5 y \,x^{2}+8 x\right )\\ &= 10 x y +8 \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}{5 y \,x^{2}+8 x}\left ( \left ( 8 x y +6\right ) - \left (10 x y +8 \right ) \right ) \\ &=\frac {-2 x y -2}{5 y \,x^{2}+8 x} \end{align*}
Since \(A\) depends on \(y\), it can not be used to obtain an integrating factor. We will now try a
second method to find an integrating factor. Let
\begin{align*} B &= \frac {1}{M} \left ( \frac {\partial N}{\partial x} - \frac {\partial M}{\partial y} \right ) \\ &=\frac {1}{4 y^{2} x +6 y}\left ( \left ( 10 x y +8\right ) - \left (8 x y +6 \right ) \right ) \\ &=\frac {x y +1}{2 y^{2} x +3 y} \end{align*}
Since \(B\) depends on \(x\), it can not be used to obtain an integrating factor.We will now try a third
method to find an integrating factor. Let
\[ R = \frac { \frac {\partial N}{\partial x} - \frac {\partial M}{\partial y} } {x M - y N} \]
\(R\) is now checked to see if it is a function of only \(t=xy\).
Therefore
\begin{align*} R &= \frac { \frac {\partial N}{\partial x} - \frac {\partial M}{\partial y} } {x M - y N} \\ &= \frac {\left (10 x y +8\right )-\left (8 x y +6\right )} {x\left (4 y^{2} x +6 y\right ) - y\left (5 y \,x^{2}+8 x\right )} \\ &= \frac {-2 x y -2}{x y \left (x y +2\right )} \end{align*}
Replacing all powers of terms \(xy\) by \(t\) gives
\[ R = \frac {-2 t -2}{t \left (t +2\right )} \]
Since \(R\) depends on \(t\) only, then it can be used to find
an integrating factor. Let the integrating factor be \(\mu \) then
Multiplying \(M\) and \(N\) by this integrating factor gives new \(M\)
and new \(N\) which are called \( \overline {M}\) and \( \overline {N}\) so not to confuse them with the original \(M\) and \(N\)
\begin{align*} \overline {M} &=\mu M \\ &= \frac {1}{x y \left (x y +2\right )}\left (4 y^{2} x +6 y\right ) \\ &= \frac {4 x y +6}{x \left (x y +2\right )} \end{align*}
And
\begin{align*} \overline {N} &=\mu N \\ &= \frac {1}{x y \left (x y +2\right )}\left (5 y \,x^{2}+8 x\right ) \\ &= \frac {5 x y +8}{y \left (x y +2\right )} \end{align*}
A modified ODE is now obtained from the original ODE, which is exact and can solved. The
modified ODE is
\begin{align*} \overline {M} + \overline {N} \frac { \mathop {\mathrm {d}y}}{\mathop {\mathrm {d}x}} &= 0 \\ \left (\frac {4 x y +6}{x \left (x y +2\right )}\right ) + \left (\frac {5 x y +8}{y \left (x y +2\right )}\right ) \frac { \mathop {\mathrm {d}y}}{\mathop {\mathrm {d}x}} &= 0 \end{align*}
The following equations are now set up to solve for the function \(\phi \left (x,y\right )\)
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
The ode \(u^{\prime }\left (x \right ) = \frac {u \left (x \right ) \left (u \left (x \right )+2\right )}{x \left (5 u \left (x \right )+8\right )}\) is
separable as it can be written as
We now need to find the singular solutions, these are found by finding for what values \(g(u)\) is
zero, since we had to divide by this above. Solving \(g(u)=0\) or \(\frac {u \left (u +2\right )}{5 u +8}=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-2\\ u \left (x \right )&=0 \end{align*}
Now we go over each such singular solution and check if it verifies the ode itself and
any initial conditions given. If it does not then the singular solution will not be
used.
Therefore the solutions found are
\begin{align*} \ln \left (\left (u \left (x \right )+2\right ) u \left (x \right )^{4}\right ) = \ln \left (x \right )+c_{1}\\ u \left (x \right ) = -2\\ u \left (x \right ) = 0 \end{align*}
Converting \(\ln \left (\left (u \left (x \right )+2\right ) u \left (x \right )^{4}\right ) = \ln \left (x \right )+c_{1}\) back to \(y\) gives
Substituting equations
(1E,2E) and \(\omega \) into (A) gives
\begin{equation}
\tag{5E} b_{2}-\frac {2 y \left (2 x y +3\right ) \left (b_{3}-a_{2}\right )}{x \left (5 x y +8\right )}-\frac {4 y^{2} \left (2 x y +3\right )^{2} a_{3}}{x^{2} \left (5 x y +8\right )^{2}}-\left (-\frac {4 y^{2}}{x \left (5 x y +8\right )}+\frac {2 y \left (2 x y +3\right )}{x^{2} \left (5 x y +8\right )}+\frac {10 y^{2} \left (2 x y +3\right )}{x \left (5 x y +8\right )^{2}}\right ) \left (x a_{2}+y a_{3}+a_{1}\right )-\left (-\frac {2 \left (2 x y +3\right )}{x \left (5 x y +8\right )}-\frac {4 y}{5 x y +8}+\frac {10 y \left (2 x y +3\right )}{\left (5 x y +8\right )^{2}}\right ) \left (x b_{2}+y b_{3}+b_{1}\right ) = 0
\end{equation}
Putting the above in normal form gives
\[
\frac {45 x^{4} y^{2} b_{2}-36 x^{2} y^{4} a_{3}+20 x^{3} y^{2} b_{1}-20 x^{2} y^{3} a_{1}+144 x^{3} y b_{2}+2 x^{2} y^{2} a_{2}+2 x^{2} y^{2} b_{3}-108 x \,y^{3} a_{3}+64 x^{2} y b_{1}-60 x \,y^{2} a_{1}+112 b_{2} x^{2}-84 y^{2} a_{3}+48 x b_{1}-48 y a_{1}}{x^{2} \left (5 x y +8\right )^{2}} = 0
\]
Setting the
numerator to zero gives
\begin{equation}
\tag{6E} 45 x^{4} y^{2} b_{2}-36 x^{2} y^{4} a_{3}+20 x^{3} y^{2} b_{1}-20 x^{2} y^{3} a_{1}+144 x^{3} y b_{2}+2 x^{2} y^{2} a_{2}+2 x^{2} y^{2} b_{3}-108 x \,y^{3} a_{3}+64 x^{2} y b_{1}-60 x \,y^{2} a_{1}+112 b_{2} x^{2}-84 y^{2} a_{3}+48 x b_{1}-48 y a_{1} = 0
\end{equation}
Looking at the above PDE shows the following are all
the terms with \(\{x, y\}\) in them.
\[
\{x, y\}
\]
The following substitution is now made to be able to
collect on all terms with \(\{x, y\}\) in them
Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any
unknown in the RHS) gives
\begin{align*}
\xi &= -x \\
\eta &= y \\
\end{align*}
Shifting is now applied to make \(\xi =0\) in order to simplify the rest of
the computation
\begin{align*} \eta &= \eta - \omega \left (x,y\right ) \xi \\ &= y - \left (-\frac {2 y \left (2 x y +3\right )}{x \left (5 x y +8\right )}\right ) \left (-x\right ) \\ &= \frac {y^{2} x +2 y}{5 x y +8}\\ \xi &= 0 \end{align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( x,y\right ) \to \left ( R,S \right )\)
where \(\left ( R,S \right )\) are the canonical coordinates which make the original ode become a quadrature and
hence solved by integration.
The characteristic pde which is used to find the canonical coordinates is
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial y}\right ) S(x,y) = 1\). Starting with the first pair of ode’s in (1)
gives an ode to solve for the independent variable \(R\) in the canonical coordinates, where \(S(R)\). Since
\(\xi =0\) then in this special case
\begin{align*} R = x \end{align*}
\(S\) is found from
\begin{align*} S &= \int { \frac {1}{\eta }} dy\\ &= \int { \frac {1}{\frac {y^{2} x +2 y}{5 x y +8}}} dy \end{align*}
We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,y\) in terms of
\(R,S\) from the result obtained earlier and simplifying. This gives
The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts
an ode, no matter how complicated it is, to one that can be solved by integration when the
ode is in the canonical coordiates \(R,S\).
Since the ode has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), then we only need to integrate \(f(R)\).
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & 4 y^{2} x +6 y+\left (5 x^{2} y+8 x \right ) y^{\prime }=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\frac {-4 y^{2} x -6 y}{5 x^{2} y+8 x} \end {array} \]
1.4.5 Maple trace
`Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparabletryinginverse lineartryinghomogeneous types:tryinghomogeneous G<-homogeneous successful`