Non homogeneous ODE particular solution using power series

In summary, i attempted to solve the original equation using power series and found that the coefficients of x were not equal. I then found a partial solution which had only one term.
  • #1
cybla
16
0

Homework Statement


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

Homework Equations



y=[itex]\sum(a_{n}x^{n})[/itex]

The Attempt at a Solution



i tried plugging in y=[itex]\sum(a_{n}x^{n})[/itex] 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
  • #2
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
 
  • #3
Ok... so

y=a[itex]_{0}[/itex]+a[itex]_{1}[/itex]x+a[itex]_{2}[/itex]x[itex]^{2}[/itex]+a[itex]_{3}[/itex]x[itex]^{3}[/itex]+a[itex]_{4}[/itex]x[itex]^{4}[/itex]+a[itex]_{5}[/itex]x[itex]^{5}[/itex]...

y"= 2a[itex]_{2}[/itex]+6a[itex]_{3}[/itex]x+12a[itex]_{4}[/itex]x[itex]^{2}[/itex]+20a[itex]_{5}[/itex]x[itex]^{3}[/itex]+30a[itex]_{6}[/itex]x[itex]^{4}[/itex]+42a[itex]_{7}[/itex]x[itex]^{5}[/itex]...

x= 0+x+0x[itex]^{2}[/itex]+0x[itex]^{3}[/itex]+0x[itex]^{4}[/itex]+0x[itex]^{5}[/itex]...

y"+y=x

2a[itex]_{2}[/itex]+6a[itex]_{3}[/itex]x+12a[itex]_{4}[/itex]x[itex]^{2}[/itex]+20a[itex]_{5}[/itex]x[itex]^{3}[/itex]+30a[itex]_{6}[/itex]x[itex]^{4}[/itex]+42a[itex]_{7}[/itex]x[itex]^{5}[/itex]...+a[itex]_{0}[/itex]+a[itex]_{1}[/itex]x+a[itex]_{2}[/itex]x[itex]^{2}[/itex]+a[itex]_{3}[/itex]x[itex]^{3}[/itex]+a[itex]_{4}[/itex]x[itex]^{4}[/itex]+a[itex]_{5}[/itex]x[itex]^{5}[/itex]...
= 0+x+0x[itex]^{2}[/itex]+0x[itex]^{3}[/itex]+0x[itex]^{4}[/itex]+0x[itex]^{5}[/itex]...

a[itex]_{0}[/itex]+2a[itex]_{2}[/itex]=0
a[itex]_{1}[/itex]+6a[itex]_{3}[/itex]=1
a[itex]_{2}[/itex]+12a[itex]_{4}[/itex]=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:
  • #4
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
 
  • #5
So the choice of a's (in this case a[itex]_{0}[/itex] and a[itex]_{1}[/itex]) is up to me, but the final answer has to satisfy the DE, right?
 
Last edited:
  • #6
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
 
  • #7
alright i understand. So for this problem if a[itex]_{0}[/itex]=0 and a[itex]_{1}[/itex]=1 then the solution is y=x

Thank you for your help
 
  • #8
cybla said:
alright i understand. So for this problem if a[itex]_{0}[/itex]=0 and a[itex]_{1}[/itex]=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
 

FAQ: Non homogeneous ODE particular solution using power series

What is a non-homogeneous ODE?

A non-homogeneous ODE (ordinary differential equation) is an equation that contains both dependent and independent variables, as well as a function that is not equal to zero. This type of ODE is also known as an inhomogeneous or non-linear equation.

What is a particular solution for a non-homogeneous ODE?

A particular solution for a non-homogeneous ODE is a specific solution that satisfies the equation. It is obtained by finding a solution to the non-homogeneous part of the equation, while setting the homogeneous part to zero.

What is the power series method for finding a particular solution?

The power series method is a technique used to find a particular solution for a non-homogeneous ODE. It involves expressing the solution as an infinite series of powers of the independent variable and determining the coefficients of the series by substituting it into the original equation.

When is the power series method useful for finding a particular solution?

The power series method is useful for finding a particular solution when the non-homogeneous part of the ODE can be expressed as a power series. This is often the case for simple functions such as polynomials, exponentials, and trigonometric functions.

What are the steps for using the power series method to find a particular solution?

The steps for using the power series method to find a particular solution are as follows: 1) Substitute the power series into the original ODE, 2) Expand the series using the binomial theorem, 3) Equate coefficients of like powers, 4) Solve for the coefficients, 5) Substitute the coefficients back into the power series to obtain the particular solution.

Similar threads

Back
Top