Series solution of a differential equation

Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation y'' = -4y using power series and an elementary method. Participants are exploring the relationship between the series solution and the elementary solution, particularly focusing on the constants involved.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the power series representation of the solution and the implications of constants a0, a1, A, and B. There is an exploration of how these constants relate to the solutions derived from different methods.

Discussion Status

Some participants have provided corrections and clarifications regarding the constants in the solutions. There is an ongoing examination of how the series solution aligns with the elementary method, with no explicit consensus reached yet.

Contextual Notes

Participants note that the constants are undetermined and depend on initial or boundary conditions, which are not provided in the problem statement.

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



[itex] y'' = - 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)!}[/itex][itex] 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)!} \\[/itex]

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:

[itex] 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)!} \\[/itex]

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

[itex] C\ = a_{0}\ and\ D\ = \frac{a_{1}}{2}.[/itex]

What do you think?
 
You mean A and B instead of C and D I guess. Yup, otherwise looks fine.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
8
Views
3K
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
14
Views
2K