-
04-01-08, 12:36 AM #1Registered Member
- Posts
- 4
solving ODE using power series
I'm trying to solve an ordinary differential equation, with non-constant coefficients, using a
power series solution. The question is as follows:
----------------------------------------------------------------
solve the initial value problem:
hint: since the initial condition is given at, it is best to write the
solution as a series centered at.
---------------------------------------------------------------
I have attempted the question, but I got stuck in one of the steps. Here's what I have so far:
assume the solution can be written as a power series centered about x = 1. Then the solution and
its derivatives are:
where theare constant coefficients.
Substitute y, y', and y'' into the ODE in order to determine the:
now I need to shift indices to make all the exponents of (x-1) equal to n, and also to try to
make all the summations start at n=0:
I don't know how to proceed from here. I have 4 summations. Two of them start at n=0 and has
thefactor. The other two summations start at n=2 or n=1. I can't get them
to start at n=0 because if I try to do that, then I get:
and
As you can see, these have the factorsand
instead of. So I don't know how to combine all this, since the summations
do not start at the same number.
--------------------------------------------------------------
I'm told that in the end, the answer to the coefficients should be:
and
So I just don't know how to get from the point I'm stuck to this answer. I'm also quite confused
as to how to solve the initial value problem, after obtaining the expected answer. The initial
conditions are:,
. Using the initial condition y(1)
= 1, I get:
This does not make sense...what am I doing wrong?
-
04-01-08, 12:54 AM #2
You have to consider the first few terms separately. If one sum starts at 0 and the other starts at 1, it just means that the first coefficient in the latter sum is zero. So if you only consider the coefficient in front of the zero order term in the whole expression, that will consist of only the term coming from (the first term of) the first sum.
-
04-01-08, 01:25 AM #3
On the second thought, you don't even need to write out the first terms separately, because the expressions in this case are so that if you just extend the summation limit down to n=0, exactly the right terms become zero. For example,
because the factor n(n-1) is zero when n=0 or n=1.
Your attempt to make the sums start at 0 is not exactly how it should be done in this case, because that makes the power of x inconsistent with the other sums.
I would also suggest first make the variable substitution z=x-1 to make computation simpler.
-
04-01-08, 06:05 AM #4Registered Member
- Posts
- 4
Thanks for your response. So it seems that I can just rewrite the two summations that are giving me trouble as starting at zero, without shifting the indices.
I'm still not sure how to solve the initial value problem. Since the initial value is x=1, when I try to substitute x=1 into the expression for y, the whole sum becomes 0
-
04-01-08, 06:31 AM #5Valued Senior Member
- Posts
- 15,481
edit: oh, that's what we're doing. Never mind - --
Last edited by iceaura; 04-01-08 at 12:20 PM.
-
04-01-08, 07:58 AM #6
-
04-01-08, 08:18 AM #7
-
04-01-08, 09:39 AM #8Some other guy
- Posts
- 2,257
The whole sum does not become zero when x=1. When you write power series in the form
you are implicitly assuming
for all x including
. In short,
when it comes to power series. Without this shorthand one must write the power series in the form
.
To solve this particular problem, the first thing to do is to make the substitution. This will simplify things a lot; hence the hint. The derivatives with respect to z are easy to compute via the chain rule:
. Thus the same differential equation applies with the substitution, but now you have
This simplifies even more (I'll let you work that out). Next write y as a power series in z about z=0 (this is the same power series as the series in x about x=1) and compute the derivatives. Next collect terms with equal powers so you have something that looks like
This can be true for all z if and only if each bn is identically zero (Jess: Justify this step.) Setting the terms to zero should give you a recursive relationship of the form
I'll let you figure out what that offset is. With this, you should be able to show that
and
Finally, solve for a0 and a1 using the given initial conditions.
Similar Threads
-
By Forceman in forum ChemistryLast Post: 04-13-08, 12:49 AMReplies: 41
-
By coberst in forum General PhilosophyLast Post: 03-31-08, 11:58 AMReplies: 2
-
By weed_eater_guy in forum Computer Science & CultureLast Post: 03-06-08, 12:52 AMReplies: 5
-
By Buffalo Roam in forum PoliticsLast Post: 09-02-07, 09:42 PMReplies: 21
-
By ghost7584 in forum Religion ArchivesLast Post: 06-20-05, 09:59 AMReplies: 73

Reply With Quote

Bookmarks