Internal
problem
ID
[9159]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
37
Date
solved
:
Friday, April 25, 2025 at 05:58:31 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Time used: 0.147 (sec)
Solve
In normal form the given ode is written as
Where
Calculating the Liouville ode invariant
Since the Liouville ode invariant does not depend on the independent variable
is used to change the original ode to a constant coefficients ode in
Hence (3) becomes
Applying this change of variable to the original ode results in
Which is now solved for
This is second order with constant coefficients homogeneous ODE. In standard form the ODE is
Where in the above
Since exponential function is never zero, then dividing Eq(2) throughout by
Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula
Substituting
Hence
Which simplifies to
Since roots are real and distinct, then the solution is
Or
Will add steps showing solving for IC soon.
Now that
But from (5)
Hence (7) becomes
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.106 (sec)
Solve
Writing the ode as
Bessel ode has the form
The generalized form of Bessel ode is given by Bowman (1958) as the following
With the standard solution
Comparing (3) to (1) and solving for
Substituting all the above into (4) gives the solution as
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.076 (sec)
Solve
Writing the ode as
Comparing (1) and (2) shows that
Applying the Liouville transformation on the dependent variable gives
Then (2) becomes
Where
Substituting the values of
Comparing the above to (5) shows that
Therefore eq. (4) becomes
Equation (7) is now solved. After finding
The first step is to determine the case of Kovacic algorithm this ode belongs to. There are 3 cases depending on the order of poles of
Case |
Allowed pole order for |
Allowed value for |
1 |
|
|
2 |
Need to have at least one pole
that is either order |
no condition |
3 |
|
|
The order of
There are no poles in
Since
Using the above, the solution for the original ode can now be found. The first solution to the original ode in
Which simplifies to
The second solution
Substituting gives
Therefore the solution is
Will add steps showing solving for IC soon.
Summary of solutions found
ode:=x*diff(diff(y(x),x),x)+2*diff(y(x),x)-x*y(x) = 0; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for second order ODEs: --- Trying classification methods --- trying a quadrature checking if the LODE has constant coefficients checking if the LODE is of Euler type trying a symmetry of the form [xi=0, eta=F(x)] checking if the LODE is missing y -> Trying a Liouvillian solution using Kovacics algorithm A Liouvillian solution exists Reducible group (found an exponential solution) Reducible group (found another exponential solution) <- Kovacics algorithm successful
Maple step by step
ode=x*D[y[x],{x,2}]+2*D[y[x],x]-x*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x) + x*Derivative(y(x), (x, 2)) + 2*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)