Internal
problem
ID
[9140]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
18
Date
solved
:
Sunday, March 30, 2025 at 02:23:15 PM
CAS
classification
:
[_Gegenbauer, [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]
Time used: 0.373 (sec)
Solve
In normal form the ode
Becomes
Where
Applying change of variables
Where
Let
This ode is solved resulting in
Using (6) to evaluate
Substituting the above in (3) and noting that now
The above ode is now solved for
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 complex conjugate of each others, then let the roots be
Where
Which becomes
Or
Will add steps showing solving for IC soon.
The above solution is now transformed back to
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.173 (sec)
Solve
In normal form the ode
Becomes
Where
Applying change of variables
Where
Let
Substituting the above into (4) results in
Therefore ode (3) now becomes
The above ode is now solved for
Now from (6)
Substituting the above into the solution obtained gives
Will add steps showing solving for IC soon.
Summary of solutions found
Time used: 0.526 (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
The poles of
Attempting to find a solution using case
Unable to find solution using case one
Attempting to find a solution using case
Looking at poles of order 2. The partial fractions decomposition of
For the pole at
For the pole at
Since the order of
Since the
The following table summarizes the findings so far for poles and for the order of
pole |
pole order | |
| | |
| | |
Order of |
|
|
|
Using the family
Gives a non negative integer
We now form the following rational function
Now we search for a monic polynomial
Since
Substituting
And solving for
Now that
Let
Substituting the values for
Solving for
Therefore the first solution to the ode
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^2+1)*diff(diff(y(x),x),x)-diff(y(x),x)*x-c^2*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)] <- linear_1 successful
Maple step by step
ode=(1-x^2)*D[y[x],{x,2}]-x*D[y[x],x]-c^2*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") c = symbols("c") y = Function("y") ode = Eq(-c**2*y(x) - x*Derivative(y(x), x) + (1 - x**2)*Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
False