Internal
problem
ID
[4123] Book
:
Elementary
Differential
equations,
Chaundy,
1969 Section
:
Exercises
3,
page
60 Problem
number
:
1(a) Date
solved
:
Saturday, November 09, 2024 at 07:21:56 PM CAS
classification
:
[_separable]
Solve
\begin{align*} y^{\prime } y&=x \end{align*}
Solved as first order separable ode
Time used: 0.173 (sec)
The ode \(y^{\prime } = \frac {x}{y}\) is separable as it can be written as
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=x\) and \(N=y\) are both homogeneous and of the same order \(n=1\). 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 \(\frac {u^{2}-1}{u}=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-1\\ 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.
Converting \(u \left (x \right ) = -1\) back to \(y\) gives
\begin{align*} y = -x \end{align*}
Converting \(u \left (x \right ) = 1\) back to \(y\) gives
\begin{align*} y = x \end{align*}
Converting \(u \left (x \right ) = \frac {\sqrt {{\mathrm e}^{2 c_1}+x^{2}}}{x}\) back to \(y\) gives
\begin{align*} y = \sqrt {{\mathrm e}^{2 c_1}+x^{2}} \end{align*}
Converting \(u \left (x \right ) = -\frac {\sqrt {{\mathrm e}^{2 c_1}+x^{2}}}{x}\) back to \(y\) gives
\begin{align*} y = -\sqrt {{\mathrm e}^{2 c_1}+x^{2}} \end{align*}
Summary of solutions found
\begin{align*}
y &= -x \\
y &= x \\
y &= \sqrt {{\mathrm e}^{2 c_1}+x^{2}} \\
y &= -\sqrt {{\mathrm e}^{2 c_1}+x^{2}} \\
\end{align*}
Solved as first order homogeneous class D2 ode
Time used: 0.287 (sec)
Applying change of variables \(y = u \left (x \right ) x\), then the ode becomes
\begin{align*} \left (u^{\prime }\left (x \right ) x +u \left (x \right )\right ) u \left (x \right ) x = x \end{align*}
Which is now solved The ode \(u^{\prime }\left (x \right ) = -\frac {u \left (x \right )^{2}-1}{u \left (x \right ) 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 \(\frac {u^{2}-1}{u}=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-1\\ 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.
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=X\) and \(N=Y\) are both homogeneous and of the same order \(n=1\). 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 \(\frac {u^{2}-1}{u}=0\) for \(u \left (X \right )\) gives
\begin{align*} u \left (X \right )&=-1\\ 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.
The first step is to divide the above equation by \(y^n \) which gives
\[ \frac {y'}{y^n} = f_1(x) \tag {3} \]
The next step is use the
substitution \(v = y^{1-n}\) in equation (3) which generates a new ODE in \(v \left (x \right )\) which will be linear and can be
easily solved using an integrating factor. Backsubstitution then gives the solution \(y(x)\) which is
what we want.
This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows
that
\begin{align*} f_0(x)&=0\\ f_1(x)&=x\\ n &=-1 \end{align*}
Dividing both sides of ODE (1) by \(y^n=\frac {1}{y}\) gives
\begin{align*} y'y &= 0 +x \tag {4} \end{align*}
Let
\begin{align*} v &= y^{1-n} \\ &= y^{2} \tag {5} \end{align*}
Taking derivative of equation (5) w.r.t \(x\) gives
\begin{align*} v' &= 2 yy' \tag {6} \end{align*}
Substituting equations (5) and (6) into equation (4) gives
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}= \frac {\partial N}{\partial x}\), then the ODE is exact 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
\[
c_1 = -\frac {x^{2}}{2}+\frac {y^{2}}{2}
\]
Solving for \(y\) gives
\begin{align*}
y &= \sqrt {x^{2}+2 c_1} \\
y &= -\sqrt {x^{2}+2 c_1} \\
\end{align*}
Summary of solutions found
\begin{align*}
y &= \sqrt {x^{2}+2 c_1} \\
y &= -\sqrt {x^{2}+2 c_1} \\
\end{align*}
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^{2}-1}{u}=0\) for \(u \left (x \right )\) gives
\begin{align*} u \left (x \right )&=-1\\ 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.
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 {-x^{2}+y^{2}}{y}}} 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
\begin{align*} \frac {dS}{dR} &= 0 \end{align*}
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)\).