Series solution of a differential equation

In summary, the power series solution of the differential equation yields a series that does not match the solution obtained via an elementary method.
  • #1
spaghetti3451
1,344
33

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 \\
\frac{d^{2}y}{dx^{2}} + 4y = 0 \\
Characteristic\ equation : λ^{2} + 4 = 0 \Rightarrow λ = ± 2i \\
y = A\cos(2x) + B\sin(2x) \\
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} \\
\sum^{n = ∞}_{n = 0} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 0} a_{n}x^{n} = 0 \\
\sum^{n = ∞}_{n = 2} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 0} a_{n}x^{n} = 0 \\
\sum^{n = ∞}_{n = 2} n(n-1)a_{n}x^{n-2} + 4\sum^{n = ∞}_{n = 2} a_{n-2}x^{n-2} = 0 \\
\sum^{n = ∞}_{n = 2} [ n(n-1)a_{n} + 4 a_{n-2} ] x^{n-2} = 0 \\
n(n-1)a_{n} + 4 a_{n-2} = 0,\ n = 2, 3, 4, ... \\
a_{n} = - \frac{(2)^{2}}{n(n-1)} a_{n-2},\ n = 2, 3, 4, ... \\
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, ... \\
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, ... \\
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
  • #2
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.
 
  • #3
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?
 
  • #4
You mean A and B instead of C and D I guess. Yup, otherwise looks fine.
 

Related to Series solution of a differential equation

1. What is a series solution of a differential equation?

A series solution of a differential equation is a method of solving a differential equation by expressing the solution as an infinite sum of polynomial terms. This method is useful for solving certain types of differential equations that cannot be solved using other methods.

2. What are the advantages of using a series solution to solve a differential equation?

One advantage of using a series solution is that it can provide an exact solution to a differential equation, as opposed to numerical approximations. It is also a versatile method that can be applied to a wide range of differential equations, including those that are non-linear or have variable coefficients.

3. How is a series solution of a differential equation obtained?

A series solution is obtained by first assuming a solution in the form of a power series, then substituting this into the differential equation and solving for the coefficients of the series. The convergence of the series can be tested to ensure an accurate solution is obtained.

4. What are the limitations of using a series solution to solve a differential equation?

A series solution may not always be possible or practical to use, as it requires the differential equation to be in a specific form that can be solved using this method. In addition, the convergence of the series may be difficult to determine, and the number of terms needed for an accurate solution may be large.

5. How does a series solution compare to other methods of solving differential equations?

Series solutions are often considered more elegant and powerful than other methods, as they can provide exact solutions and can be applied to a wider range of equations. However, they may not be the most efficient method and may require more advanced mathematical techniques to solve. In some cases, a combination of methods may be used for the most accurate and efficient solution.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
741
  • Calculus and Beyond Homework Help
Replies
2
Views
282
  • Calculus and Beyond Homework Help
Replies
4
Views
329
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
605
  • Calculus and Beyond Homework Help
Replies
17
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
612
  • Calculus and Beyond Homework Help
Replies
1
Views
287
  • Calculus and Beyond Homework Help
Replies
1
Views
347
Back
Top