Internal
problem
ID
[18471]
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
29.
Problems
at
page
81
Problem
number
:
5
Date
solved
:
Saturday, April 26, 2025 at 11:21:40 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, [_Abel, `2nd type`, `class A`]]
Time used: 0.361 (sec)
Solve
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
Which is now solved as separable in
The ode
is separable as it can be written as
Where
Integrating gives
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
Converting
Which simplifies to
Summary of solutions found
Time used: 0.118 (sec)
Solve
Applying change of variables
Which is now solved The ode
is separable as it can be written as
Where
Integrating gives
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
Converting
Which simplifies to
Summary of solutions found
Time used: 0.305 (sec)
Solve
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
Which is now solved as separable in
The ode
is separable as it can be written as
Where
Integrating gives
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
Converting
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Which simplifies to
Summary of solutions found
Time used: 0.220 (sec)
Solve
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
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
Converting
Solving for
Which simplifies to
Summary of solutions found
Time used: 12.161 (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
Summary of solutions found
ode:=y(x)*diff(y(x),x)+x = m*y(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+y[x]*D[y[x],x]==m*y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") m = symbols("m") y = Function("y") ode = Eq(-m*y(x) + x + y(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
RecursionError : maximum recursion depth exceeded