Non homogeneous ODE particular solution using power series

Click For Summary

Homework Help Overview

The discussion revolves around finding a particular solution to the non-homogeneous ordinary differential equation (ODE) y'' + y = x using power series methods.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the method of substituting a power series into the ODE and comparing coefficients. There is uncertainty about how to effectively compare these coefficients. Some suggest writing out the power series explicitly and collecting terms based on their powers.

Discussion Status

Participants are exploring different approaches to determine the coefficients of the power series. Some guidance has been provided regarding the freedom in choosing initial coefficients, and there is recognition that these choices influence the resulting series. The discussion includes considerations about simplifying the series and the implications of choosing specific values for the coefficients.

Contextual Notes

There is an emphasis on the need for the final solution to satisfy the differential equation, and participants are considering how the choice of coefficients affects the overall solution. The discussion also touches on the idea of terminating the power series for simplicity.

cybla
Messages
16
Reaction score
0

Homework Statement


Find the particular solution to the ODE y"+y=x using power series

Homework Equations



y=\sum(a_{n}x^{n})

The Attempt at a Solution



i tried plugging in y=\sum(a_{n}x^{n}) into the original equation and comparing coefficients of x to the first degree, but i am not sure how to really compare them.
 
Physics news on Phys.org
Try to write out the power series: y=a0+a1x+a2x2+a3x3 ... Find the second derivative and plug back into the DE. Collect and compare the x terms on equal power, they must be equal on both sides of the equation.
Show your work.

ehild
 
Ok... so

y=a_{0}+a_{1}x+a_{2}x^{2}+a_{3}x^{3}+a_{4}x^{4}+a_{5}x^{5}...

y"= 2a_{2}+6a_{3}x+12a_{4}x^{2}+20a_{5}x^{3}+30a_{6}x^{4}+42a_{7}x^{5}...

x= 0+x+0x^{2}+0x^{3}+0x^{4}+0x^{5}...

y"+y=x

2a_{2}+6a_{3}x+12a_{4}x^{2}+20a_{5}x^{3}+30a_{6}x^{4}+42a_{7}x^{5}...+a_{0}+a_{1}x+a_{2}x^{2}+a_{3}x^{3}+a_{4}x^{4}+a_{5}x^{5}...
= 0+x+0x^{2}+0x^{3}+0x^{4}+0x^{5}...

a_{0}+2a_{2}=0
a_{1}+6a_{3}=1
a_{2}+12a_{4}=0

etc.

do i write a linear system of equations for 3 variables and solve it in order to find some of the a values? Or i should i use the fact from the undetermined coefficients method that the form must be y=A + Bx... and then solve?
 
Last edited:
You need to find one particular solution, so you have quite great freedom to choose the first a-s. And a0 and a1 determine all the other coefficients. Notice that choosing a0=0 all other coefficients of even index are also zero. What happens if you choose a1=1?

ehild
 
So the choice of a's (in this case a_{0} and a_{1}) is up to me, but the final answer has to satisfy the DE, right?
 
Last edited:
The choice of the first two a-s, a0 and a1 is up to you, and all the others are obtained from them. The resultant power series is solution of the DE. But you need something simple, and an infinite power series is not that. So you may try to terminate it. If one of the a2k coefficients is zero, then a2(k-1)=0 and a2(k+1)=0 so all the even index a-s are zero. The same with the a2k+1 coefficients. If a2k+1=0, a2(k+1)+1=0 and so on, and also a2k-1=0 so all the odd-index a-s are zero but the first one, a1. That is you can find a partial solution which has only one term. What is it then?ehild
 
alright i understand. So for this problem if a_{0}=0 and a_{1}=1 then the solution is y=x

Thank you for your help
 
cybla said:
alright i understand. So for this problem if a_{0}=0 and a_{1}=1 then the solution is y=x

Thank you for your help


Yes, that simple! One could have seen at once, but using the power series was such a fun! :wink:

ehild
 

Similar threads

Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K