Solutions about an ordinary point x =
We assume that a power series solution of the form
exists and our task is to determine the coefficients This task is accomplished by substituting this series into the differential equation, combining the result into a single series by collecting the result in powers of x and then in order for this series to be identically zero, we must have that all of its coefficients must be equal to zero.
We make use of Maples commands , series,
series
,coeff,
coeff
,convert,
convert
collect,
collect
, etc to carry out the required work.
Example 1 Solve the equation 2y'' +xy' + y = 0 about the ordinary point x = 0.
Step 1. Define the deq
 |
(3.1.1.1) |
Step 2. Define the series solution (begin by setting the order to be used for the series)
 |
(3.1.1.2) |

 |
(3.1.1.3) |
Step 3. Substitute the series into the deq.
Step 4 convert the series into a polynomial and collect in terms of powers of x
Step 5. Use the Maple command coeff to select the coefficients of the powers of x. An example of this command is
 |
(3.1.1.6) |
We then set the coefficients equal to zero and solve for the unknown derivatives i terms of the initial conditions that are required in order to solve a second order DEQ IE y(0) = a and y'(0) = b

 |
(3.1.1.7) |
Step 6. Finally we substitute these values into our solution and collect the terms in terms of the parameters a and b.
 |
(3.1.1.8) |
We can check our result using Maple's dsolve command
 |
(3.1.1.9) |
Example 2. Solve the differential equation
about the ordinary point x = 0.
Step 1. Define the deq
 |
(3.1.2.1) |
Step 2. Define the series solution (begin by setting the order to be used for the series)

 |
(3.1.2.2) |
Step 3. Substitute the series into the equation
Step 4 convert the series into a polynomial and collect in terms of powers of x
Step 5. Use the Maple command coeff to select the coefficients of the powers of x. Then set the coefficients equal to zero and solve for the unknown derivatives i terms of the initial conditions that are required in order to solve a second order DEQ ie y(0) = a and y'(0) = b

 |
(3.1.2.5) |
Step 6. Finally we substitute these values into our solution and collect the terms in terms of the parameters a and b.

 |
(3.1.2.6) |
We can check our result using Maple's dsolve command

 |
(3.1.2.7) |
NOTE: One of the difficulties is determining the radius of convergence when we are not able to find a general form for the coefficients and use the ratio test.
EXISTENCE OF ANALYTIC SOLUTIONS.
There is a theorem that states that if
is an ordinary point then equation has two linearly independent analytic solutions of the form
and that the radius of convergence is as least as large as the distance from
to the nearest singular point (real or complex-valued) of the deq.
In example 1 above since there are no singular points the radius of convergence is ∞.
In example 2 there are two singular points ? i and hence the radius of convergence of our solutions about the point x = 0 is at least 1.
Maple also has a power series package
PowerSeries
that allows you to work directly with power series.
We will use this package in the following examples.
Example 1. Solve the IVP y'' - (x-2)y' + 2y = 0; y(0) = 1, y'(0) = -1
We will use power series package in Maple to find the solution
First to create the series solution Ys(x) =
The command tpsform converts the Powseries created above into a power series form of the variable stated in the command.
![series(`+`(a[0], `*`(a[1], `*`(x)), `*`(a[2], `*`(`^`(x, 2))), `*`(a[3], `*`(`^`(x, 3))), `*`(a[4], `*`(`^`(x, 4))), `*`(a[5], `*`(`^`(x, 5))), `*`(a[6], `*`(`^`(x, 6))), `*`(a[7], `*`(`^`(x, 7))), `*...](/view.aspx?SI=4966/seriessoln-07_147.gif) |
(3.1.3.1) |
Next we determine the necessary derivatives found in the given deq.
![proc (powparm) local nn, t1; option `Copyright (c) 1990 by the University of Waterloo. All rights reserved.`; table( [( _k ) = `*`(`+`(_k, 1), `*`(Ys(`+`(_k, 1)))) ] ) if type(powparm, integer) then `...](/view.aspx?SI=4966/seriessoln-07_149.gif) |
(3.1.3.2) |
![proc (powparm) local nn, t1; option `Copyright (c) 1990 by the University of Waterloo. All rights reserved.`; table( [( _k ) = `*`(`+`(_k, 1), `*`(dy(`+`(_k, 1)))) ] ) if type(powparm, integer) then `...](/view.aspx?SI=4966/seriessoln-07_151.gif) |
(3.1.3.3) |
Note the answer is in the form of a procedure. You can see the power series by using the tpsform command.We also need to make the coeff of our eqn into a power series in order to use the powseries commands.
You can see the power series by using the tpsform command. For example
 |
(3.1.3.4) |
Next we combine these series to form the lhs of the equation given using the commands for multiplying and adding power series.
![proc (powparm) local nn, t1; option `Copyright (c) 1990 by the University of Waterloo. All rights reserved.`; table( [( _k ) = `+`(ddy(_k), _powser1(_k), _powser2(_k)) ] ) if type(powparm, integer) th...](/view.aspx?SI=4966/seriessoln-07_157.gif) |
(3.1.3.5) |
![series(`+`(`+`(`*`(2, `*`(a[2])), `*`(2, `*`(a[1])), `*`(2, `*`(a[0]))), `*`(`+`(`*`(6, `*`(a[3])), a[1], `*`(4, `*`(a[2]))), `*`(x)), `*`(`+`(`*`(12, `*`(a[4])), `*`(6, `*`(a[3]))), `*`(`^`(x, 2))), ...](/view.aspx?SI=4966/seriessoln-07_159.gif)
![series(`+`(`+`(`*`(2, `*`(a[2])), `*`(2, `*`(a[1])), `*`(2, `*`(a[0]))), `*`(`+`(`*`(6, `*`(a[3])), a[1], `*`(4, `*`(a[2]))), `*`(x)), `*`(`+`(`*`(12, `*`(a[4])), `*`(6, `*`(a[3]))), `*`(`^`(x, 2))), ...](/view.aspx?SI=4966/seriessoln-07_160.gif) |
(3.1.3.6) |
Using the op command to identify the coefficients , setting them equal to zero, and solving for them in terms of a[0] and a[1]
![{a[11] = `+`(`*`(`/`(7193, 13305600), `*`(a[1])), `*`(`/`(7193, 9979200), `*`(a[0]))), a[10] = `+`(`-`(`*`(`/`(37, 24192), `*`(a[1]))), `-`(`*`(`/`(37, 18144), `*`(a[0])))), a[2] = `+`(`-`(a[1]), `-`(...](/view.aspx?SI=4966/seriessoln-07_162.gif)
![{a[11] = `+`(`*`(`/`(7193, 13305600), `*`(a[1])), `*`(`/`(7193, 9979200), `*`(a[0]))), a[10] = `+`(`-`(`*`(`/`(37, 24192), `*`(a[1]))), `-`(`*`(`/`(37, 18144), `*`(a[0])))), a[2] = `+`(`-`(a[1]), `-`(...](/view.aspx?SI=4966/seriessoln-07_163.gif) |
(3.1.3.7) |
Substituting the coeff into Y(x)
![series(`+`(a[0], `*`(a[1], `*`(x)), `*`(`+`(`-`(a[1]), `-`(a[0])), `*`(`^`(x, 2))), `*`(`+`(`*`(`/`(1, 2), `*`(a[1])), `*`(`/`(2, 3), `*`(a[0]))), `*`(`^`(x, 3))), `*`(`+`(`-`(`*`(`/`(1, 4), `*`(a[1])...](/view.aspx?SI=4966/seriessoln-07_165.gif)
![series(`+`(a[0], `*`(a[1], `*`(x)), `*`(`+`(`-`(a[1]), `-`(a[0])), `*`(`^`(x, 2))), `*`(`+`(`*`(`/`(1, 2), `*`(a[1])), `*`(`/`(2, 3), `*`(a[0]))), `*`(`^`(x, 3))), `*`(`+`(`-`(`*`(`/`(1, 4), `*`(a[1])...](/view.aspx?SI=4966/seriessoln-07_166.gif) |
(3.1.3.8) |
Converting our solution into a polynomial and collecting in terms of
![`+`(a[0], `*`(a[1], `*`(x)), `*`(`+`(`-`(a[1]), `-`(a[0])), `*`(`^`(x, 2))), `*`(`+`(`*`(`/`(1, 2), `*`(a[1])), `*`(`/`(2, 3), `*`(a[0]))), `*`(`^`(x, 3))), `*`(`+`(`-`(`*`(`/`(1, 4), `*`(a[1]))), `-`...](/view.aspx?SI=4966/seriessoln-07_169.gif)
![`+`(a[0], `*`(a[1], `*`(x)), `*`(`+`(`-`(a[1]), `-`(a[0])), `*`(`^`(x, 2))), `*`(`+`(`*`(`/`(1, 2), `*`(a[1])), `*`(`/`(2, 3), `*`(a[0]))), `*`(`^`(x, 3))), `*`(`+`(`-`(`*`(`/`(1, 4), `*`(a[1]))), `-`...](/view.aspx?SI=4966/seriessoln-07_170.gif) |
(3.1.3.9) |

 |
(3.1.3.10) |
Finally, substituting the initial conditions and solving for a[0] and a[1]
![{a[0] = 1, a[1] = -1}](/view.aspx?SI=4966/seriessoln-07_175.gif) |
(3.1.3.11) |
 |
(3.1.3.12) |
Using Maples dsolve command to solve the given deq.
 |
(3.1.3.13) |
NOTE: Since this deq has NO singular points the radius of convergence for this solution is ∞. ie it is valid for all values of x.
Example 2. Solve the DEQ y'' + xy' +(2x-3)y = 0 near x = -1.
Note x = -1 is an ordinary point for this deq.
We first make the substitution t = x - (-1) = x + 1. The resulting deq can then be solved near t = 0 using the above techniques.
ie Since y(x) = y(t-1) and
and
the eqn becomes
First create the power series solution
To calculate the derivative of Y(x)
![proc (powparm) local nn, t1; option `Copyright (c) 1990 by the University of Waterloo. All rights reserved.`; table( [( _k ) = `*`(`+`(_k, 1), `*`(Ys(`+`(_k, 1)))) ] ) if type(powparm, integer) then `...](/view.aspx?SI=4966/seriessoln-07_188.gif) |
(3.1.4.1) |
![proc (powparm) local nn, t1; option `Copyright (c) 1990 by the University of Waterloo. All rights reserved.`; table( [( _k ) = `*`(`+`(_k, 1), `*`(dy(`+`(_k, 1)))) ] ) if type(powparm, integer) then `...](/view.aspx?SI=4966/seriessoln-07_190.gif) |
(3.1.4.2) |
converting the coefficients into power series
Combining these series as defined by the equation
Using the op command to identify the coefficients , setting them equal to zero, and solving for them in terms of a[0] and a[1]
![{a[6] = `+`(`-`(`*`(`/`(7, 180), `*`(a[1]))), `-`(`*`(`/`(1, 60), `*`(a[0])))), a[5] = `+`(`*`(`/`(1, 15), `*`(a[1])), `-`(`*`(`/`(1, 20), `*`(a[0])))), a[4] = `+`(`*`(`/`(1, 6), `*`(a[1])), `*`(`/`(3...](/view.aspx?SI=4966/seriessoln-07_199.gif)
![{a[6] = `+`(`-`(`*`(`/`(7, 180), `*`(a[1]))), `-`(`*`(`/`(1, 60), `*`(a[0])))), a[5] = `+`(`*`(`/`(1, 15), `*`(a[1])), `-`(`*`(`/`(1, 20), `*`(a[0])))), a[4] = `+`(`*`(`/`(1, 6), `*`(a[1])), `*`(`/`(3...](/view.aspx?SI=4966/seriessoln-07_200.gif) |
(3.1.4.4) |
Substituting the coeff into Y(x) and converting the solution into a polynomial

 |
(3.1.4.5) |
Substituting that t = x+1 we obtain the solution to the original problem
Again since this eqn has NO singular points this solution is valid for all values of x.
Given initial conditions we could then proceed to determine the values for
and
Suppose that y(-1) = 2 and y'(-1) = -2
![{a[0] = 2, a[1] = -2}](/view.aspx?SI=4966/seriessoln-07_211.gif) |
(3.1.4.7) |
 |
(3.1.4.8) |
Using Maple's dsolve command.

 |
(3.1.4.9) |
Solutions about a regular singular point --- Method of Frobenius.
Definition 3. If
is a regular singular point of y'' + p(x) y' +q(x) y = 0, then the indicial equation for this point is
where
and
The roots of the indicial equation are called the exponents(indices) of the singularity
Frobenius method of solving ordinary differential equations near a regular singular point,
, by positing a solution of the form
the values of r and the coefficients
are then found by iteration by substituting the potential solution into the equation.
NOTE The first step in this method is to find the roots
and
(Re
) of the indicial equation. Then utilizing the larger root Frobenius's theorem assures us that our deq has a series solution of the form above and that this series converges for all x such that
where R is the distance from
to the nearest other singular point (real or complex).
If
is not an integer, then there exist two linearly independent solutions of the form
If
then there exist two linearly independent solutions of the form
If
is a positive integer, then there exist two linearly independent solutions of the form
where C is a constant that could be zero.
Example 1. Find a series solution for the differential equation
Now x = 0 and x = -2 are both singular points for this deq.
Also x = 0 is a regular singular point since
and
are analytic at
We are looking for a solution of the form
Step 1. Define our deq
 |
(3.2.1.1) |
Step 2. Define our series solution

 |
(3.2.1.2) |

 |
(3.2.1.3) |
Step 3. Substitute our series into the deq.
Step 4. Determine the coefficient of the term
( it in effect is the indicial eqn needed to determine the values of r in Frobenius' method )
 |
(3.2.1.6) |
From the above we see that r = 1 or r = 1/2
Step 5. We use the larger value of r = 1 first. We now substitute that y1(0) = a , D(y1)(0) = b and r =1 into the coefficients of the lhs our eqn1

 |
(3.2.1.7) |
We now want to solve the above coefficients = 0 for the values of the derivatives in each of themTo do this we must drop the first and 2nd items. NOTE : the 2nd item a + 3b =0 says that b = -1/3 a

 |
(3.2.1.8) |

 |
(3.2.1.9) |
Step 6. Substitute these values into slna minus the last three terms since we have not calculated their correct coefficients
 |
(3.2.1.10) |
It may be possible to obtain the second independent series solution by repeating the above using the other value of r ( This will work in this example since the two r values do not differ by an integer).
We now want to solve the above coefficients = 0 for the values of the derivatives in each of themTo do this we must drop the first and 2nd items. NOTE : 2nd item says b=-3/4a

 |
(3.2.1.12) |

 |
(3.2.1.13) |
Finally we substitute these values into slna minus the last three terms since we have not calculated their correct coefficients
 |
(3.2.1.14) |
Hence the general solution to the given differential equation will be

 |
(3.2.1.15) |
MAPLE dsolve solution
 |
(3.2.1.16) |
Example 2. Find a series solution for the differential equation
about the point x = 0
x = 0 is a regular singular point for this deq.
 |
(3.2.2.1) |

 |
(3.2.2.2) |

 |
(3.2.2.3) |
 |
(3.2.2.5) |
We see that r = 1 is a double root and proceed to find the first solution using the procedures outlined above.

 |
(3.2.2.6) |

 |
(3.2.2.7) |

 |
(3.2.2.8) |
 |
(3.2.2.9) |
We now proceed to find the second solution using the fact that it will be of the form
![`+`(`*`(y1(x), `*`(ln(x))), sum(`*`(b[n], `*`(`^`(x, `+`(n, 1)))), n = 1 .. infinity))](/view.aspx?SI=4966/seriessoln-07_349.gif) |
(3.2.2.10) |
![`+`(`*`(diff(y1(x), x), `*`(ln(x))), `/`(`*`(y1(x)), `*`(x)), sum(`/`(`*`(b[n], `*`(`^`(x, `+`(n, 1)), `*`(`+`(n, 1)))), `*`(x)), n = 1 .. infinity))](/view.aspx?SI=4966/seriessoln-07_351.gif) |
(3.2.2.11) |

 |
(3.2.2.12) |
Since y1(x) is a solution of the deq the factor on ln(x) is zero (We also convert our series into a finite sum in order to deal with the summations...)

![`+`(`-`(`*`(b[10], `*`(`^`(x, 12)))), `*`(`+`(`*`(100, `*`(b[10])), `-`(b[9])), `*`(`^`(x, 11))), `*`(`+`(`-`(b[8]), `*`(81, `*`(b[9]))), `*`(`^`(x, 10))), `*`(`+`(`*`(64, `*`(b[8])), `*`(`/`(1, 10160...](/view.aspx?SI=4966/seriessoln-07_357.gif)
![`+`(`-`(`*`(b[10], `*`(`^`(x, 12)))), `*`(`+`(`*`(100, `*`(b[10])), `-`(b[9])), `*`(`^`(x, 11))), `*`(`+`(`-`(b[8]), `*`(81, `*`(b[9]))), `*`(`^`(x, 10))), `*`(`+`(`*`(64, `*`(b[8])), `*`(`/`(1, 10160...](/view.aspx?SI=4966/seriessoln-07_358.gif) |
(3.2.2.13) |
![{b[6] = `+`(`-`(`*`(`/`(49, 5184000), `*`(a)))), b[7] = `+`(`-`(`*`(`/`(121, 592704000), `*`(a)))), b[5] = `+`(`-`(`*`(`/`(137, 432000), `*`(a)))), b[4] = `+`(`-`(`*`(`/`(25, 3456), `*`(a)))), b[3] = ...](/view.aspx?SI=4966/seriessoln-07_360.gif) |
(3.2.2.14) |
 |
(3.2.2.15) |

 |
(3.2.2.17) |
 |
(3.2.2.19) |
MAPLE dsolve solution.....
 |
(3.2.2.20) |
Example 3. Find a series solution for the differential equation
Note x = 0 is a regular singular point for this deq.
 |
(3.2.3.1) |

 |
(3.2.3.2) |
 |
(3.2.3.4) |
roots are 0 and -3 In this case they differ by a positive integer
roots are r = 0 and -3. Using the larger root r = 0

 |
(3.2.3.6) |

 |
(3.2.3.7) |
 |
(3.2.3.8) |
A second solution of the form
and where C is a constant that may be zero.
![`+`(`*`(C, `*`(y1(x), `*`(ln(x)))), sum(`*`(b[n], `*`(`^`(x, `+`(n, `-`(3))))), n = 0 .. infinity))](/view.aspx?SI=4966/seriessoln-07_420.gif) |
(3.2.3.9) |

 |
(3.2.3.10) |
Again since y1(x) is a solution the factor on ln(x) is 0.

![`+`(`-`(`*`(b[10], `*`(`^`(x, 8)))), `*`(`+`(`*`(`/`(19, 1330560), `*`(C, `*`(a))), `-`(b[9])), `*`(`^`(x, 7))), `*`(`+`(`*`(70, `*`(b[10])), `-`(b[8])), `*`(`^`(x, 6))), `*`(`+`(`*`(54, `*`(b[9])), `...](/view.aspx?SI=4966/seriessoln-07_426.gif)
![`+`(`-`(`*`(b[10], `*`(`^`(x, 8)))), `*`(`+`(`*`(`/`(19, 1330560), `*`(C, `*`(a))), `-`(b[9])), `*`(`^`(x, 7))), `*`(`+`(`*`(70, `*`(b[10])), `-`(b[8])), `*`(`^`(x, 6))), `*`(`+`(`*`(54, `*`(b[9])), `...](/view.aspx?SI=4966/seriessoln-07_427.gif) |
(3.2.3.11) |

![{b[5] = `+`(`*`(28, `*`(b[7]))), b[4] = `+`(`*`(18, `*`(b[6]))), b[3] = `+`(`*`(280, `*`(b[7]))), b[0] = `+`(`-`(`*`(144, `*`(b[6])))), b[1] = 0, b[7] = b[7], b[6] = b[6], b[2] = `+`(`*`(72, `*`(b[6])...](/view.aspx?SI=4966/seriessoln-07_430.gif) |
(3.2.3.12) |
![`+`(`*`(`+`(280, `*`(28, `*`(`^`(x, 2))), `*`(`^`(x, 4))), `*`(b[7])), `*`(`+`(`-`(`/`(`*`(144), `*`(`^`(x, 3)))), `/`(`*`(72), `*`(x)), `*`(18, `*`(x)), `*`(`^`(x, 3))), `*`(b[6])))](/view.aspx?SI=4966/seriessoln-07_432.gif) |
(3.2.3.13) |
![`+`(`*`(`+`(1, `*`(`/`(1, 10), `*`(`^`(x, 2))), `*`(`/`(1, 280), `*`(`^`(x, 4)))), `*`(b[3])), `*`(`+`(`-`(`*`(`/`(1, 8), `*`(x))), `-`(`*`(`/`(1, 144), `*`(`^`(x, 3)))), `/`(1, `*`(`^`(x, 3))), `-`(`...](/view.aspx?SI=4966/seriessoln-07_434.gif) |
(3.2.3.14) |
NOTE The factor on
for another independent solution we must choose
to be nonzero.
In effect sln2aff is a general solution to the given deq.
 |
(3.2.3.15) |