Solving a DE with a Series Index Shifts & Recurrence Relations

In summary, you can solve this problem using a power series method, or by solving the characteristic equation.
  • #1
Benny
584
0
Ok I'm giving these another go. I found the following DE from a reduction of order problem and figured that it would be an alright question if I turned it into one requiring a series solution. However I'm stuck. I think it's just a matter of index shifts to get an appropriate recurrence relation between the coefficients. Here is the equation and what I've done.

[tex]
2x^2 y'' + 3xy' - y = 0
[/tex]

[tex]
y = \sum\limits_{n = 0}^\infty {c_n x^n } \Rightarrow y' = \sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } \Rightarrow y'' = \sum\limits_{n = 2}^\infty {c_n n\left( {n - 1} \right)x^{n - 2} }
[/tex]

The reason why I haven't just straight away shifted the starting indices for y' and y'' is that the coefficients of those derivatives in the DE, are not constant. So I think that initially leaving the derivatives with different starting values makes it easier to decide on index shifts later on. Is that the right way to start?

[tex]
2x^2 y'' = 2x^2 \sum\limits_{n = 2}^\infty {n\left( {n - 1} \right)x^{n - 2} } = \sum\limits_{n = 2}^\infty {2c_n n\left( {n - 1} \right)x^n }
[/tex]

[tex]
3xy' = 3x\sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } = \sum\limits_{n = 1}^\infty {3c_n nx^n }
[/tex]

I know that I need to get a 'common power' for x in each of the summations eg. x^n, x^(n+1), x^(n+2) etc. I can't think of a way to do this. Does anyone have any suggestions?
 
Physics news on Phys.org
  • #2
Benny said:
Ok I'm giving these another go. I found the following DE from a reduction of order problem and figured that it would be an alright question if I turned it into one requiring a series solution. However I'm stuck. I think it's just a matter of index shifts to get an appropriate recurrence relation between the coefficients. Here is the equation and what I've done.
[tex]
2x^2 y'' + 3xy' - y = 0
[/tex]
[tex]
y = \sum\limits_{n = 0}^\infty {c_n x^n } \Rightarrow y' = \sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } \Rightarrow y'' = \sum\limits_{n = 2}^\infty {c_n n\left( {n - 1} \right)x^{n - 2} }
[/tex]
The reason why I haven't just straight away shifted the starting indices for y' and y'' is that the coefficients of those derivatives in the DE, are not constant. So I think that initially leaving the derivatives with different starting values makes it easier to decide on index shifts later on. Is that the right way to start?
[tex]
2x^2 y'' = 2x^2 \sum\limits_{n = 2}^\infty {n\left( {n - 1} \right)x^{n - 2} } = \sum\limits_{n = 2}^\infty {2c_n n\left( {n - 1} \right)x^n }
[/tex]
[tex]
3xy' = 3x\sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } = \sum\limits_{n = 1}^\infty {3c_n nx^n }
[/tex]
I know that I need to get a 'common power' for x in each of the summations eg. x^n, x^(n+1), x^(n+2) etc. I can't think of a way to do this. Does anyone have any suggestions?
You can't think of a way to do that? Isn't it obvious that you already have "a common power"- n? If it's the fact that each sum starts with a different value, you could do the cases n= 0, n= 1, n> 1 separately.
Actually, this is an "equipotential" equation. also known as an "Euler-type equation", (the coefficient of each derivative is a power of x- the power is the same as the order of the derivative): you don't need to use a power series method.
Either: Let y= xr, substitute into the equation to get a "characteristic equation" just as you do with erx for equations with constant coefficients or
Make the substitution u= ln x to convert to an equation in u with constant coefficients.
 
Last edited by a moderator:
  • #3
Benny, your equation has a singular point at x=0 and therefore if you wished to solve it via power series, you would need to use:

[tex]y(x)=\sum_{n=0}^\infty a_n x^{n+c}[/tex]

where c is a root of the indicial equation. Depending if the difference of the roots is nonintegral, 0 or integer, logarithms may enter into the solutions. Check out "solutions near regular singular points" and the indicial equation for these types of DEs.
 
  • #4
I don't know what I was thinking. Yeah, I already had a common power. The starting index being different for the summations shouldn't be a problem. I could always just do something starting each summation at a common value of n by taking out the first few terms from the relevant summations. This will allow me to set some coefficients equal to zero and from the recurrence this should mean that a whole lot of other coefficients are also zero. Something like that.

Saltydog - From the reduction of order question, a given solution is y = 1/x. So that is probably part of the problem with my series 'solution' attempt.

Now instead of just trying to make up a question (there's not much point in taking the reduction of order questions I have because the equations are all Cauchy - Euler equations), I'll take an actual series question. The examples associated with this question only use the standard trial series for y so the following shouldn't require any modifications to be made to y. Here it is.

[tex]
x^2 y'' + x^2 y' + xy = 0,y\left( 0 \right) = 1,y'\left( 0 \right) = 1
[/tex]

[tex]
y = \sum\limits_{n = 0}^\infty {c_n x^n } \Rightarrow y' = \sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } \Rightarrow y'' = \sum\limits_{n = 2}^\infty {c_n n\left( {n - 1} \right)x^{n - 2} }
[/tex]

Substitute into the equation.

[tex]
x^2 \sum\limits_{n = 2}^\infty {c_n n\left( {n - 1} \right)x^{n - 2} } + x\sum\limits_{n = 1}^\infty {c_n nx^{n - 1} } + x^2 \sum\limits_{n = 0}^\infty {c_n x^n } = 0
[/tex]

[tex]
\sum\limits_{n = 2}^\infty {c_n n\left( {n - 1} \right)} x^n + \sum\limits_{n = 1}^\infty {c_n nx^n } + \sum\limits_{n = 0}^\infty {c_n x^{n + 2} } = 0
[/tex]

[tex]
\sum\limits_{n = 0}^\infty {c_{n + 2} \left( {n + 2} \right)\left( {n + 1} \right)x^{n + 2} } + \sum\limits_{n = 0}^\infty {c_n x^{n + 2} } + \sum\limits_{n = 1}^\infty {c_n nx^n } = 0
[/tex]

[tex]
\sum\limits_{n = 0}^\infty {\left[ {c_{n + 2} \left( {n + 2} \right)\left( {n + 1} \right) + c_n } \right]} x^{n + 2} + \sum\limits_{n = - 1}^\infty {c_{n + 2} \left( {n + 2} \right)x^{n + 2} } = 0
[/tex]

Extract the n = -1 term to get:

[tex]
\sum\limits_{n = 0}^\infty {\left[ {c_{n + 2} \left( {n + 2} \right)\left( {n + 1} \right) + \left( {n + 3} \right)c_n } \right]} x^{n + 1} + c_1 x = 0
[/tex]

Edit: Erased my query about the IC contradicting the equation.

Edit 2: I wrote this problem down on paper and basically got down to the following.

[tex]
\sum\limits_{n = 0}^\infty {\left[ {c_{n + 2} \left( {n + 2} \right)^2 + c_n } \right]} x^{n + 2} + c_1 x = 0
[/tex]

This implies c_1 = 0 which is consistent with the ICs. This leaves me with [tex]c_{n + 2} \left( {n + 2} \right)^2 + c_n = 0[/tex].

[tex]
c_{n + 2} = - \frac{{c_n }}{{\left( {n + 2} \right)^2 }}
[/tex]

[tex]
n = 1:c_3 = - c_1 \times stuff = 0
[/tex] since c_1 = 0.

[tex]
\Rightarrow c_{2n + 1} = 0,\forall n \in N
[/tex]

Concentrating on the even coefficients:

[tex]
c_{2n} = - \frac{{c_{2n - 2} }}{{\left( {2n} \right)^2 }}
[/tex]

Iterating a few times I find that [tex]c_{2n} = \frac{{\left( { - 1} \right)^n c_0 }}{{\left( {2^n n!} \right)^2 }}[/tex].

Using c_0 = 1 I get:

[tex]
y\left( x \right) = \sum\limits_{n = 0}^\infty {\frac{{\left( { - 1} \right)^n }}{{\left( {2^n n!} \right)^2 }}x^{2n} }
[/tex]

That's my best attempt. I'm really being bogged down by this final topic.
 
Last edited:
  • #5
Benny, this is again an equation that is singular at x= 0 (the coefficient of y" is 0 at x= 0) so a simple power series may not be enough. As salty dog said, you should use "Frobenius' method": try a series of the form
[tex]y(x)=\sum_{n=0}^\infty a_n x^{n+c}[/tex]
Because that "c" can be chosen in many different ways, assume that a0 is not 0. Put that into your differential equation, collect like terms and set the coefficient of the lowest power term equal to 0 (setting n=0). That will typically give you a formula in c times a0. Since a0 is not 0 you can solve for c (and, typically, since this is a second order equation, that "indicial equation" will be quadratic and will give two different solutions for c).
 
  • #6
Ok I'll try that method out. It's just that from the examples that were given in the section containing this problem, only a standard power series was required. But I'll try saltydog's suggestion anyway. Thanks for the help.
 
  • #7
Benny, you sure your initial conditions are correct? I suspect y(0) can't be 0. This is why:

When I use the trial solution:

[tex]\sum_0^{\infty} a_nx^{n+c}[/tex]

and substitute into the DE and shifted indexes so that all the sums have the same power of x, I obtain:

**** edited to show c's ****

[tex]\sum_0 a_n(n+c)(n+c-1)x^{n+c}+\sum_1 a_{n-1}(n-1+c)x^{n+c}+\sum_1 a_{n-1}x^{n+c}[/tex]

The indicial equation comes from the n=0 term when this method is used so therefore it's:

[tex]c(c-1)=0[/tex]

The roots are therefore 0 and 1. The difference is integral so there is a likelyhood a logarithm will enter into the solution.

Letting c=0:

[tex]\sum_0^\infty a_n n(n-1)x^n+\sum_1^\infty a_{n-1}(n+1-1)x^n[/tex]

Sure enough, when I solve for the coefficients, I obtain:

[tex]a_0=0[/tex]

[tex]a_1=\text{arbitrary}[/tex]

[tex]a_n=-\frac{a_{n-1}}{n-1};\quad n\ge 2[/tex]

That's only 1 arbitrary constant so at most I can obtain only one solution unless I use another method (such as the logarithmic method).

Anyway, when I form the product for n ge 2:

[tex]a_2a_3a_4\cdots a_n=\frac{(-1)a_1}{1}\frac{(-1)a_2}{2}\frac{-1)a_3}{3}\cdots\frac{(-1)a_{n-1}}{n-1}[/tex]

and cancel, I'm left with:

[tex]a_n=\frac{(-1)^na_1}{(n-1)!}[/tex]

Thus, one solution is:

[tex]y(x)=\sum_1^\infty \frac{(-1)^na_n}{(n-1)!} x^n[/tex]

Using the magic of Mathematica:

Code:
[tex]y(x)=\sum_1^\infty \frac{(-1)^na_n}{(n-1)! }x^n[/tex]

yd1[x_]=D[y[x],x];

yd2[x_]=D[y[x],{x,2};

Simplify[x^2 yd2[x]+x^2 yd1[x]+x y[x]
Mathematica returns 0 so I have some confidence this series solution is correct.

Note that y(0) can only be 0 and the logarithm solution will not admit x=0.
 
Last edited:

1. What is a differential equation?

A differential equation is a mathematical equation that relates a function to its derivatives. It expresses how a quantity changes over time or in relation to another variable.

2. What is a series index shift?

A series index shift is a technique used to simplify the form of a series solution to a differential equation. It involves changing the index of the series by a constant value to make the series easier to manipulate and solve.

3. How do you use recurrence relations to solve a differential equation?

Recurrence relations are used to express the terms of a series solution to a differential equation in terms of previous terms. This allows for a recursive calculation of the terms, making it easier to solve the differential equation.

4. What are the benefits of using series index shifts and recurrence relations to solve a differential equation?

Using series index shifts and recurrence relations can simplify the form of the series solution and make it easier to manipulate and solve. It also allows for a recursive calculation of the terms, which can save time and effort in the solving process.

5. What are some common applications of solving differential equations using series index shifts and recurrence relations?

Solving differential equations using series index shifts and recurrence relations is commonly used in physics, engineering, and other fields to model and understand various phenomena such as heat transfer, fluid flow, and electrical circuits.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
217
  • Calculus and Beyond Homework Help
Replies
2
Views
189
  • Calculus and Beyond Homework Help
Replies
1
Views
259
  • Calculus and Beyond Homework Help
Replies
4
Views
311
Replies
8
Views
996
  • Calculus and Beyond Homework Help
Replies
6
Views
477
  • Calculus and Beyond Homework Help
Replies
16
Views
566
  • Calculus and Beyond Homework Help
Replies
3
Views
418
  • Calculus and Beyond Homework Help
Replies
6
Views
241
  • Calculus and Beyond Homework Help
Replies
17
Views
619
Back
Top