Internal
problem
ID
[18486]
Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929)
Section
:
Chapter
IV.
Methods
of
solution:
First
order
equations.
section
32.
Problems
at
page
89
Problem
number
:
8
Date
solved
:
Saturday, April 26, 2025 at 11:23:04 AM
CAS
classification
:
[[_homogeneous, `class C`], _Riccati]
Time used: 0.019 (sec)
Solve
Let
Then
Therefore
Hence the given ode can now be written as
This is separable first order ode. Integrating
Replacing
Summary of solutions found
Time used: 0.307 (sec)
Solve
Writing the ode as
The condition of Lie symmetry is the linearized PDE given by
To determine
Where the unknown coefficients are
Substituting equations (1E,2E) and
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
The following substitution is now made to be able to collect on
all terms with
The above PDE (6E) now becomes
Collecting the above on the terms
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
Shifting is now applied to make
The next step is to determine the canonical coordinates
The characteristic pde which is used to find the canonical coordinates is
The above comes from the requirements that
Which results in
Now that
Where in the above
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
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
Since the ode has the form
To complete the solution, we just need to transform the above back to
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 |
Canonical coordinates transformation |
ODE in canonical coordinates |
|
|
|
|
|
|
|
||
|
Solving for
Summary of solutions found
Time used: 0.546 (sec)
Solve
In canonical form the ODE is
This is a Riccati ODE. Comparing the ODE to solve
With Riccati ODE standard form
Shows that
Using the above substitution in the given ODE results (after some simplification)in a second order ODE to solve for
But
Substituting the above terms back in equation (2) gives
Time used: 0.214 (sec)
In normal form the given ode is written as
Where
Calculating the Liouville ode invariant
Since the Liouville ode invariant does not depend on the independent variable
is used to change the original ode to a constant coefficients ode in
Hence (3) becomes
Applying this change of variable to the original ode results in
Which is now solved for
The above ode can be simplified to
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above
Since exponential function is never zero, then dividing Eq(2) throughout by
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting
Hence
Which simplifies to
Since roots are complex conjugate of each others, then let the roots be
Where
Which becomes
Or
Will add steps showing solving for IC soon.
Now that
But from (5)
Hence (7) becomes
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.143 (sec)
Solve
Writing the ode as
Comparing (1) and (2) shows that
Applying the Liouville transformation on the dependent variable gives
Then (2) becomes
Where
Substituting the values of
Comparing the above to (5) shows that
Therefore eq. (4) becomes
Equation (7) is now solved. After finding
The first step is to determine the case of Kovacic algorithm this ode belongs to. There are 3 cases depending on the order of poles of
Case |
Allowed pole order for |
Allowed value for |
1 |
|
|
2 |
Need to have at least one pole
that is either order |
no condition |
3 |
|
|
The order of
There are no poles in
Since
Using the above, the solution for the original ode can now be found. The first solution to the original ode in
Which simplifies to
The second solution
Substituting gives
Therefore the solution is
Will add steps showing solving for IC soon.
Summary of solutions found
Taking derivative gives
Doing change of constants, the solution becomes
Which simplifies to
Summary of solutions found
ode:=diff(y(x),x) = (x+y(x))^2; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable trying inverse linear trying homogeneous types: trying homogeneous C 1st order, trying the canonical coordinates of the invariance group -> Calling odsolve with the ODE, diff(y(x),x) = -1, y(x) *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful <- 1st order, canonical coordinates successful <- homogeneous successful
Maple step by step
ode=D[y[x],x]==(x+y[x])^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-(x + y(x))**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)