Internal
problem
ID
[8894]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
4.0
Problem
number
:
5
Date
solved
:
Wednesday, March 05, 2025 at 07:07:40 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Solve
Using series expansion around
The type of the expansion point is first determined. This is done on the homogeneous part of the ODE.
The following is summary of singularities for the above ode. Writing the ode as
Where
Combining everything together gives the following summary of singularities for the ode as
Regular singular points :
Irregular singular points :
Since
Since this is an inhomogeneous, then let the solution be
Where
First, we solve for
Then
Substituting the above back into the ode gives
Which simplifies to
The next step is to make all powers of
Substituting all the
above in Eq (2A) gives the following equation where now all powers of
The indicial equation is obtained from
When
Or
Since
Since the above is true for all
Solving for
The corresponding balance equation is found by replacing
This equation will used later to find the particular solution.
Since
Solving for
Since
Or
We start by finding
For
Solving for
Which for the root
At this point, it is a good idea to keep track of
|
|
|
|
| |
| | |
For
Which for the root
And the table now becomes
|
|
|
|
| |
| | |
| | |
For
And the table now becomes
|
|
|
|
|
|
|
| |
| | |
|
|
|
For
Which for the root
And the table now becomes
|
|
|
|
|
|
|
| |
| | |
| | |
|
|
|
For
And the table now becomes
|
|
|
|
|
|
|
|
|
|
| |
| | |
|
|
|
|
|
|
Using the above table, then the solution
Now the second solution
For
Solving for
Which for the root
At this point, it is a good idea to keep track of
|
|
|
|
| |
| | |
For
Which for the root
And the table now becomes
|
|
|
|
| |
| | |
| | |
For
And the table now becomes
|
|
|
|
|
|
|
| |
| | |
|
|
|
For
Which for the root
And the table now becomes
|
|
|
|
|
|
|
| |
| | |
| | |
|
|
|
For
And the table now becomes
|
|
|
|
|
|
|
|
|
|
| |
| | |
|
|
|
|
|
|
Using the above table, then the solution
Therefore the homogeneous solution is
The particular solution is found by solving for
Where
The following are the values of
|
|
|
|
|
Since the
Now we determine the particular solution
For
The particular solution is therefore
Where in the above
The remaining
|
|
|
|
|
|
The particular solution is now found using
Using the values found above for
Unable to solve the balance equation
Failed to convert RHS
Order:=6; ode:=2*x^2*diff(diff(y(x),x),x)-x*diff(y(x),x)+(-x^2+1)*y(x) = x^2+x+1; dsolve(ode,y(x),type='series',x=0);
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable trying differential order: 2; linear nonhomogeneous with symmetry [0,1] trying a double symmetry of the form [xi=0, eta=F(x)] -> Try solving first the homogeneous part of the ODE 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 <- No Liouvillian solutions exists -> Trying a solution in terms of special functions: -> Bessel <- Bessel successful <- special function solution successful <- solving first the homogeneous part of the ODE successful`
ode=2*x^2*D[y[x],{x,2}] - x*D[y[x],x] + (1-x^2 )*y[x] ==1+x+x^2; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x**2*Derivative(y(x), (x, 2)) - x**2 - x*Derivative(y(x), x) - x + (1 - x**2)*y(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
ValueError : ODE 2*x**2*Derivative(y(x), (x, 2)) - x**2 - x*Derivative(y(x), x) - x + (1 - x**2)*y(x) - 1 does not match hint 2nd_power_series_regular