Series solution of a differential equation

spaghetti3451
Messages
1,311
Reaction score
31

Homework Statement



Solve the following differential equation by power series and also by an elementary method. Verify that the series solution is the power series expansion of your other solution.

y'' = - 4y

Homework Equations



The Attempt at a Solution



<br /> y&#039;&#039; = - 4y \\<br /> \frac{d^{2}y}{dx^{2}} + 4y = 0 \\<br /> Characteristic\ equation : λ^{2} + 4 = 0 \Rightarrow λ = ± 2i \\<br /> y = A\cos(2x) + B\sin(2x) \\<br /> y = A\ \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2x)^{2m}}{(2m)!} + B\ \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2x)^{2m+1}}{(2m+1)!}<br /><br /> Let\ y\ = \sum^{n = ∞}_{n = 0} a_{n}x^{n} \\<br /> \sum^{n = ∞}_{n = 0} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 0} a_{n}x^{n} = 0 \\<br /> \sum^{n = ∞}_{n = 2} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 0} a_{n}x^{n} = 0 \\<br /> \sum^{n = ∞}_{n = 2} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 2} a_{n-2}x^{n-2} = 0 \\<br /> \sum^{n = ∞}_{n = 2} [ n(n-1)a_{n} + 4 a_{n-2} ] x^{n-2} = 0 \\<br /> n(n-1)a_{n} + 4 a_{n-2} = 0,\ n = 2, 3, 4, ... \\<br /> a_{n} = - \frac{(2)^{2}}{n(n-1)} a_{n-2},\ n = 2, 3, 4, ... \\<br /> a_{2m} = - \frac{(2)^{2}}{(2m)(2m-1)} a_{2m-2}\ and\ a_{2m+1} = - \frac{(2)^{2}}{(2m+1)(2m)} a_{2m-1},\ m = 1, 2, 3, ... \\<br /> a_{2m} = (-1)^{m} \frac{(2)^{2m}}{(2m)!} a_{0}\ and\ a_{2m+1} = (-1)^{m} \frac{(2)^{2m}}{(2m+1)!} a_{1},\ m = 1, 2, 3, ... \\<br /> y = a_{0} \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2x)^{2m}}{(2m)!} + a_{1} \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2)^{2m}(x)^{2m+1}}{(2m+1)!} \\<br />

So, the solutions don't match because of the missing factor of 2 in the second summation of the series solution.

Could you please help me out?
 
Last edited:
Physics news on Phys.org
a0, a1, A and B are as-yet undetermined constants that come from the initial or boundary conditions. They can and will happily absorb any constant factors.
 
Yeah, I figured this out just before I logged on to read your post.

Anyway, here's the corrected solution:

The last line of my solution could be written as follows:

<br /> y = a_{0} \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2x)^{2m}}{(2m)!} + \frac{a_{1}}{2} \sum^{m = ∞}_{m = 0} (-1)^{m} \frac{(2x)^{2m+1}}{(2m+1)!} \\<br />

so that a comparison with the solution obtained via the elementary method will lead us to conclude that

<br /> C\ = a_{0}\ and\ D\ = \frac{a_{1}}{2}.<br />

What do you think?
 
You mean A and B instead of C and D I guess. Yup, otherwise looks fine.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top