Someone asked me to do this question and post it here. For those interested, it is taken from "Elementary Differential Equations and Boundary Value Problems," 8th Edition. By Boyce. Section 5.2 (Page 259), problem 8
The standard approach for problems of this nature is to assume a solution of the formSolve using series:
,
so here we would assume
but there's a problem here, how would we multiply such a series by ? Sure we can just attach an to the formula, but that's not very convenient. The way I was taught, and have always dealt with it is that we can treat as a variable unto itself, and rewrite in terms of this variable.
so we would realize that , so, for instance,
now we can multiply the series representation of y with (x - 1) no problem, we just bump up the power by 1 and done. However, in my experience, students have problems coming to grips with this method. In my experience as a tutor, I find that the following method, which really is the same thing in disguise, is much more well-received.
since the (x - 1) is causing problems, make a substitution and replace it with a variable, say . then we can rewrite x in terms of this z, and continue with that, and we would work in the single variable z, as opposed to the nasty variable (x - 1), and just replace the z with (x - 1) at the very end. Let's see how this works out. Go grab a snack, and come back and get comfortable, these problems take forever and are very intricate, it's easy to get lost or wonder off mentally or just get tired of it all together.
Here goes.
for
Thus we can assume a solution of the form,
Let
So our equation becomes:
with a particular solution of the form,
Plugging these into the original equation, we get:
Now we get all the powers the same, we want the all powers to be n
Now we want to get all the indexes, that is, starting points for the series the same. the only way to do that here is to evaluate the first term of the series that start at n = 0 a write the remainder of the series as the summation from n = 1 onward, so we get all the indexes to 1
Now combine all the series into one.
Now we want this expression to be zero independent of the value of , hence we must have that all the coefficients are zero.
the boxed expression above is our recursive formula, we will use it to get all the coefficients above .
Thus, our coefficients are:
we'll stop there, those calculations were getting to me. Note that all coefficients are written in terms of and , we had to back substitute to get the coefficients in that form.
Now that we have our coefficients, we can reveal our solution and simplify things a bit.
Remember, we assumed our solution is of the form, , that is:
now fill in the coefficients
Now separate the 's and 's and factor out the common and , we get:
Now remember, at the beginning we replaced x - 1 with z, so we have to be good little boys and girls and put the x - 1 back where we found it. Thus we get:
Thus we have the solution to our differential equation through the sum of these two series, note that each series (apart from the arbitrary constants and ) are linearly independent homogeneous solutions to the differential equation
that is,
and
where and are linearly independent homogeneous solutions