Internal
problem
ID
[9122]
Book
:
Second
order
enumerated
odes
Section
:
section
1
Problem
number
:
51
Date
solved
:
Sunday, March 30, 2025 at 02:08:06 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
Time used: 92.645 (sec)
Solve
This is missing independent variable second order ode. Solved by reduction of order by using substitution which makes the dependent variable
Then
Hence the ode becomes
Which is now solved as first order ode for
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
In canonical form, the ODE is
An ode of the form
In this case, it can be seen that both
Applying the
transformation
Or
Or
Or
Which is now solved as separable in
The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
We now need to find the singular solutions, these are found by finding for what values
for
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
Converting
Converting
Solving Eq. (2)
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
Simplifying the above gives
Since the PDE has radicals, simplifying 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
Solving Eq. (3)
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
Simplifying the above gives
Since the PDE has radicals, simplifying 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
For solution (1) found earlier, since
Solving for the derivative gives these ODE’s to solve
Now each of the above is solved separately.
Solving Eq. (1)
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Solving Eq. (2)
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Solving Eq. (3)
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Solving Eq. (4)
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
Solving Eq. (5)
Unable to integrate (or intergal too complicated), and since no initial conditions are given, then the result can be written as
Singular solutions are found by solving
for
For solution (2) found earlier, since
Integrating gives
Singular solutions are found by solving
for
Will add steps showing solving for IC soon.
Solving for
Summary of solutions found
ode:=y(x)*diff(diff(y(x),x),x)^3+y(x)^3*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: *** Sublevel 2 *** Methods for second order ODEs: Successful isolation of d^2y/dx^2: 3 solutions were found. Trying to solve e\ ach resulting ODE. *** Sublevel 3 *** Methods for second order ODEs: --- Trying classification methods --- trying 2nd order Liouville trying 2nd order WeierstrassP trying 2nd order JacobiSN differential order: 2; trying a linearization to 3rd order trying 2nd order ODE linearizable_by_differentiation trying 2nd order, 2 integrating factors of the form mu(x,y) trying differential order: 2; missing variables -> Computing symmetries using: way = 3 Try integration with the canonical coordinates of the symmetry [0, y] -> Calling odsolve with the ODE, diff(_b(_a),_a) = -_b(_a)^2+(-_b(_a))^(1 /3), _b(_a), explicit, HINT = [[1, 0]] *** Sublevel 4 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [1, 0] 1st order, trying the canonical coordinates of the invariance group <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful ------------------- * Tackling next ODE. *** Sublevel 3 *** Methods for second order ODEs: --- Trying classification methods --- trying 2nd order Liouville trying 2nd order WeierstrassP trying 2nd order JacobiSN differential order: 2; trying a linearization to 3rd order trying 2nd order ODE linearizable_by_differentiation trying 2nd order, 2 integrating factors of the form mu(x,y) trying differential order: 2; missing variables -> Computing symmetries using: way = 3 Try integration with the canonical coordinates of the symmetry [0, y] -> Calling odsolve with the ODE, diff(_b(_a),_a) = -1/2*I*(-_b(_a))^(1/3) *3^(1/2)-_b(_a)^2-1/2*(-_b(_a))^(1/3), _b(_a), explicit, HINT = [[1, 0]] *** Sublevel 4 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [1, 0] 1st order, trying the canonical coordinates of the invariance group <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful ------------------- * Tackling next ODE. *** Sublevel 3 *** Methods for second order ODEs: --- Trying classification methods --- trying 2nd order Liouville trying 2nd order WeierstrassP trying 2nd order JacobiSN differential order: 2; trying a linearization to 3rd order trying 2nd order ODE linearizable_by_differentiation trying 2nd order, 2 integrating factors of the form mu(x,y) trying differential order: 2; missing variables -> Computing symmetries using: way = 3 Try integration with the canonical coordinates of the symmetry [0, y] -> Calling odsolve with the ODE, diff(_b(_a),_a) = 1/2*I*(-_b(_a))^(1/3)* 3^(1/2)-_b(_a)^2-1/2*(-_b(_a))^(1/3), _b(_a), explicit, HINT = [[1, 0]] *** Sublevel 4 *** symmetry methods on request 1st order, trying reduction of order with given symmetries: [1, 0] 1st order, trying the canonical coordinates of the invariance group <- 1st order, canonical coordinates successful <- differential order: 2; canonical coordinates successful <- differential order 2; missing variables successful -> Calling odsolve with the ODE, diff(y(x),x) = 0, y(x), singsol = none *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful
ode=y[x]*D[y[x],{x,2}]^3+y[x]^3*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)**3*Derivative(y(x), x) + y(x)*Derivative(y(x), (x, 2))**3,0) ics = {} dsolve(ode,func=y(x),ics=ics)