Internal
problem
ID
[4082]
Book
:
Differential
equations,
Shepley
L.
Ross,
1964
Section
:
2.4,
page
55
Problem
number
:
6
Date
solved
:
Tuesday, March 04, 2025 at 05:24:24 PM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
Solve
Time used: 0.187 (sec)
This is ODE of type polynomial. Where the RHS of the ode is ratio of equations of two lines. Writing the ODE in the form
Where
Taking derivative w.r.t
Substituting the above into the ODE results in the ODE
Or
Or
Which is now solved as separable in
Singular solutions are found by solving
for
Each of the above solutions is now converted converted back to
The solution
Or
Solving for
Summary of solutions found
Time used: 0.574 (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: 0.414 (sec)
Let
Solving for
This has the form
Where
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
Integrating gives
Singular solutions are found by solving
for
Substituing the above solution for
Summary of solutions found
ode:=3*x-y(x)+1-(6*x-2*y(x)-3)*diff(y(x),x) = 0; 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) = 3, 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=(3*x-y[x]+1)-(6*x-2*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(3*x - (6*x - 2*y(x) - 3)*Derivative(y(x), x) - y(x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)