Internal
problem
ID
[8470]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
81
Date
solved
:
Tuesday, December 17, 2024 at 12:55:01 PM
CAS
classification
:
[_quadrature]
Solve
With initial conditions
This is non linear first order ODE. In canonical form it is written as
The \(y\) domain of \(f(x,y)\) when \(x=0\) is
And the point \(y_0 = 0\) is inside this domain. Now we will look at the continuity of
The \(y\) domain of \(\frac {\partial f}{\partial y}\) when \(x=0\) is
But the point \(y_0 = 0\) is not inside this domain. Hence existence and uniqueness theorem does not apply. Solution exists but no guarantee that unique solution exists.
Time used: 0.078 (sec)
Since the ode has the form \(y^{\prime }=f(y)\) and initial conditions \(\left (x_0,y_0\right ) \) are given such that they satisfy the ode itself, then we can write
And the solution is immediately written as
Singular solutions are found by solving
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.
The following diagram is the phase line diagram. It classifies each of the above equilibrium points as stable or not stable or semi-stable.
Summary of solutions found
Time used: 0.115 (sec)
In canonical form, the ODE is
This is a Bernoulli ODE.
The standard Bernoulli ODE has the form
Comparing this to (1) shows that
The first step is to divide the above equation by \(y^n \) which gives
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
Dividing both sides of ODE (1) by \(y^n=\sqrt {y}\) gives
Let
Taking derivative of equation (5) w.r.t \(x\) gives
Substituting equations (5) and (6) into equation (4) gives
The above now is a linear ODE in \(v \left (x \right )\) which is now solved.
Since the ode has the form \(v^{\prime }\left (x \right )=f(x)\), then we only need to integrate \(f(x)\).
The substitution \(v = y^{1-n}\) is now used to convert the above solution back to \(y\) which results in
Solving for the constant of integration from initial conditions, the solution becomes
Solving for \(y\) gives
Summary of solutions found
Time used: 0.178 (sec)
To solve an ode of the form
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
Hence
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
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
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
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
Since \(B\) does not depend on \(x\), it can be used to obtain an integrating factor. Let the integrating factor be \(\mu \). Then
The result of integrating gives
\(M\) and \(N\) are now multiplied by this integrating factor, giving new \(M\) and new \(N\) which are called \(\overline {M}\) and \(\overline {N}\) so not to confuse them with the original \(M\) and \(N\).
And
So now a modified ODE is obtained from the original ODE which will be exact and can be solved using the standard method. The modified ODE is
The following equations are now set up to solve for the function \(\phi \left (x,y\right )\)
Integrating (1) w.r.t. \(x\) gives
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 equation (2) says that \(\frac {\partial \phi }{\partial y} = \frac {1}{\sqrt {y}}\). Therefore equation (4) becomes
Solving equation (5) for \( f'(y)\) gives
Integrating the above w.r.t \(y\) gives
Where \(c_1\) is constant of integration. Substituting result found above for \(f(y)\) into equation (3) gives \(\phi \)
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
Solving for the constant of integration from initial conditions, the solution becomes
Solving for \(y\) gives
Summary of solutions found
Time used: 0.346 (sec)
Writing the ode as
The condition of Lie symmetry is the linearized PDE given by
To determine \(\xi ,\eta \) then (A) is solved using ansatz. Making bivariate polynomials of degree 1 to use as anstaz gives
Where the unknown coefficients are
Substituting equations (1E,2E) and \(\omega \) into (A) gives
Putting the above in normal form gives
Setting the numerator to zero gives
Looking at the above PDE shows the following are all the terms with \(\{x, y\}\) in them.
The following substitution is now made to be able to collect on all terms with \(\{x, y\}\) in them
The above PDE (6E) now becomes
Collecting the above on the terms \(v_i\) introduced, and these are
Equation (7E) now becomes
Setting each coefficients in (8E) to zero gives the following equations to solve
Solving the above equations for the unknowns gives
Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any unknown in the RHS) gives
Shifting is now applied to make \(\xi =0\) in order to simplify the rest of the computation
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
\(S\) is found from
Which results in
Now that \(R,S\) are found, we need to setup the ode in these coordinates. This is done by evaluating
Where in the above \(R_{x},R_{y},S_{x},S_{y}\) are all partial derivatives and \(\omega (x,y)\) is the right hand side of the original ode given by
Evaluating all the partial derivatives gives
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.
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)\).
To complete the solution, we just need to transform the above back to \(x,y\) coordinates. This results in
Which gives
The following diagram shows solution curves of the original ode and how they transform in the canonical coordinates space using the mapping shown.
Original ode in \(x,y\) coordinates |
Canonical coordinates transformation |
ODE in canonical coordinates \((R,S)\) |
\( \frac {dy}{dx} = 2 \sqrt {y}\) |
|
\( \frac {d S}{d R} = -1\) |
|
\(\!\begin {aligned} R&= x\\ S&= -\sqrt {y} \end {aligned} \) |
|
Solving for the constant of integration from initial conditions, the solution becomes
Summary of solutions found
`Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli <- Bernoulli successful`
Solving time : 0.005
(sec)
Leaf size : 5
dsolve([diff(y(x),x) = 2*y(x)^(1/2), op([y(0) = 0])],y(x),singsol=all)