Internal
problem
ID
[8734]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
23
Date
solved
:
Wednesday, March 05, 2025 at 06:42:44 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class B`]]
Solve
Time used: 0.728 (sec)
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
Converting
Solving for
Summary of solutions found
Time used: 0.409 (sec)
Applying change of variables
Which is now solved The ode
is separable as it can be written as
Where
Integrating gives
Converting
Solving for
Summary of solutions found
Time used: 0.588 (sec)
Let
Solving for possible values of
Using these values now it is possible to easily solve for
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
Converting
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Solving for
Time used: 0.240 (sec)
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
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
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
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
Integrating (1) w.r.t.
Where
But equation (2) says that
Solving equation (5) for
Integrating the above w.r.t
Where
But since
Solving for
Summary of solutions found
Time used: 0.474 (sec)
Solving for
Each of the above ode’s is now solved An ode
Where here
Since the ode is isobaric of order
Converts the ODE to a separable in
The ode
is separable as it can be written as
Where
Integrating gives
Converting
Solving for
Summary of solutions found
Time used: 0.567 (sec)
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
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 |
Canonical coordinates transformation |
ODE in canonical coordinates |
|
|
|
|
|
|
Summary of solutions found
Time used: 36.493 (sec)
Let
Solving for
This has the form
Where
Solving ode 1A
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
The ode
is separable as it can be written as
Where
Integrating gives
Substituing the above solution for
Solving ode 2A
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
Solving the above for
Substituting these in (1A) and keeping singular solution that verifies the ode gives
The general solution is found when
This ODE is now solved for
The ode
is separable as it can be written as
Where
Integrating gives
Substituing the above solution for
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
ode:=x^2*diff(y(x),x)+y(x)^2 = x*y(x)*diff(y(x),x); 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 D <- homogeneous successful`
Maple step by step
ode=x^2*D[y[x],x]+y[x]^2==x*y[x]*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), x) - x*y(x)*Derivative(y(x), x) + y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)