Internal
problem
ID
[18468]
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
:
3
Date
solved
:
Thursday, March 13, 2025 at 12:03:03 PM
CAS
classification
:
[[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
Solve
Time used: 0.411 (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
Where the constants
Substituting the values for
Solving for
Therefore the transformation becomes
Using this transformation in
This is now a homogeneous ODE which will now be solved for
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
Converting
The solution is implicit
Summary of solutions found
Time used: 0.930 (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
Taking the exponential of both sides the solution becomes
Converting
Using the solution for
And replacing back terms in the above solution using
Or
Then the solution in
Solving for
Time used: 0.434 (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
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.820 (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
Summary of solutions found
Time used: 0.629 (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
The ode
is separable as it can be written as
Where
Integrating gives
Taking the exponential of both sides the solution becomes
Substituing the above solution for
Summary of solutions found
ode:=2*a*x+b*y(x)+(2*c*y(x)+b*x+e)*diff(y(x),x) = g; 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 trying homogeneous types: trying homogeneous D <- homogeneous successful <- homogeneous successful`
Maple step by step
ode=(2*a*x+b*y[x])+(2*c*y[x]+b*x+e)*D[y[x],x]==g; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") c = symbols("c") e = symbols("e") g = symbols("g") y = Function("y") ode = Eq(2*a*x + b*y(x) - g + (b*x + 2*c*y(x) + e)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : The given ODE -(-2*a*x - b*y(x) + g)/(b*x + 2*c*y(x) + e) + Derivative(y(x), x) cannot be solved by the factorable group method