Power series differential equations question

JamesGoh
Messages
140
Reaction score
0

Homework Statement



Using power series, find solutions to the following DE

y' + y= x^2, y(1)= 2 and xo=1



Homework Equations



y(x)=an\sum(x-xo)^n for n=1 to infinity

The Attempt at a Solution



See the attachment

NOTE: I only want to find a way to collect all the x terms in the series as one like group. Similary, I want to do the same with the coefficeints

I will try to solve the rest myself
 

Attachments

Physics news on Phys.org
I think the usual way to do this is:
y'(x) + y(x) = \sum_{n = 0}^\infty a_n n (x - x_0)^{n - 1} + \sum_{n = 0}^\infty a_n (x - x_0)^{n}
as you write. Now note that for n = 0, the first term of the first sum vanishes, so you can rewrite this to
\sum_{n = 0}^\infty a_n n (x - x_0)^{n - 1} = \sum_{n = 1}^\infty a_n n (x - x_0)^{n - 1} = \sum_{n = 0}^\infty a_{n + 1} (n + 1) (x - x_0)^{n}.
Now you can merge the sums again:
y'(x) + y(x) = \sum_{n = 0}^\infty b_n (x - x_0)^n
and derive a recursive equation for the a_n.
 
thanks
 
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...

Similar threads

Back
Top