Internal
problem
ID
[1653] Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001 Section
:
Chapter
2,
First
order
equations.
Transformation
of
Nonlinear
Equations
into
Separable
Equations.
Section
2.4
Page
68 Problem
number
:
26 Date
solved
:
Thursday, October 17, 2024 at 11:42:41 AM CAS
classification
:
[[_homogeneous, `class A`], _rational, _Riccati]
Solve
\begin{align*} x^{2} y^{\prime }&=2 x^{2}+y^{2}+4 x y \end{align*}
With initial conditions
\begin{align*} y \left (1\right )&=1 \end{align*}
5.29.1 Existence and uniqueness analysis
This is non linear first order ODE. In canonical form it is written as
\begin{align*} y^{\prime } &= f(x,y)\\ &= \frac {2 x^{2}+4 x y +y^{2}}{x^{2}} \end{align*}
The \(x\) domain of \(f(x,y)\) when \(y=1\) is
\[
\{x <0\boldsymbol {\lor }0<x\}
\]
And the point \(x_0 = 1\) is inside this domain. The \(y\) domain of \(f(x,y)\) when \(x=1\)
is
\[
\{-\infty <y <\infty \}
\]
And the point \(y_0 = 1\) is inside this domain. Now we will look at the continuity of
\begin{align*} \frac {\partial f}{\partial y} &= \frac {\partial }{\partial y}\left (\frac {2 x^{2}+4 x y +y^{2}}{x^{2}}\right ) \\ &= \frac {2 y +4 x}{x^{2}} \end{align*}
The \(x\) domain of \(\frac {\partial f}{\partial y}\) when \(y=1\) is
\[
\{x <0\boldsymbol {\lor }0<x\}
\]
And the point \(x_0 = 1\) is inside this domain. The \(y\) domain of \(\frac {\partial f}{\partial y}\)
when \(x=1\) is
\[
\{-\infty <y <\infty \}
\]
And the point \(y_0 = 1\) is inside this domain. Therefore solution exists and is
unique.
5.29.2 Solved as first order homogeneous class A ode
Time used: 0.401 (sec)
In canonical form, the ODE is
\begin{align*} y' &= F(x,y)\\ &= \frac {2 x^{2}+4 x y +y^{2}}{x^{2}}\tag {1} \end{align*}
An ode of the form \(y' = \frac {M(x,y)}{N(x,y)}\) is called homogeneous if the functions \(M(x,y)\) and \(N(x,y)\) are both homogeneous
functions and of the same order. Recall that a function \(f(x,y)\) is homogeneous of order \(n\) if
\[ f(t^n x, t^n y)= t^n f(x,y) \]
In this
case, it can be seen that both \(M=2 x^{2}+4 x y +y^{2}\) and \(N=x^{2}\) are both homogeneous and of the same order \(n=2\). Therefore
this is a homogeneous ode. Since this ode is homogeneous, it is converted to separable ODE
using the substitution \(u=\frac {y}{x}\), or \(y=ux\). Hence
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 \(u^{2}+3 u +2=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-2\\ u \left (x \right )&=-1 \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.
Which is now solved The ode \(u^{\prime }\left (x \right ) = \frac {u \left (x \right )^{2}+3 u \left (x \right )+2}{x}\) 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 \(u^{2}+3 u +2=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-2\\ u \left (x \right )&=-1 \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.
\begin{align*} Y' &= F(X,Y)\\ &= \frac {2 X^{2}+4 X Y +Y^{2}}{X^{2}}\tag {1} \end{align*}
An ode of the form \(Y' = \frac {M(X,Y)}{N(X,Y)}\) is called homogeneous if the functions \(M(X,Y)\) and \(N(X,Y)\) are both homogeneous
functions and of the same order. Recall that a function \(f(X,Y)\) is homogeneous of order \(n\) if
\[ f(t^n X, t^n Y)= t^n f(X,Y) \]
In this
case, it can be seen that both \(M=2 X^{2}+4 X Y +Y^{2}\) and \(N=X^{2}\) are both homogeneous and of the same order \(n=2\). Therefore
this is a homogeneous ode. Since this ode is homogeneous, it is converted to separable ODE
using the substitution \(u=\frac {Y}{X}\), or \(Y=uX\). Hence
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 \(u^{2}+3 u +2=0\) for \(u \left (X \right )\) gives
\begin{align*} u \left (X \right )&=-2\\ u \left (X \right )&=-1 \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.
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 \(u^{2}+3 u +2=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-2\\ u \left (x \right )&=-1 \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.
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 x^{2}+4 x y +y^{2}}{x^{2}}\right ) \left (x\right ) \\ &= \frac {-2 x^{2}-3 x y -y^{2}}{x}\\ \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 {-2 x^{2}-3 x y -y^{2}}{x}}} 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)\).
This is Euler second order ODE. Let the solution be \(u = x^r\), then \(u'=r x^{r-1}\) and \(u''=r(r-1) x^{r-2}\). Substituting these back
into the given ODE gives
\[ x^{2}(r(r-1))x^{r-2}-2 x r x^{r-1}+2 x^{r} = 0 \]
`Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparabletryinginverse lineartryinghomogeneous types:tryinghomogeneous D<-homogeneous successful`