Power series differential equations question

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 1K views
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[itex]\sum[/itex](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:
[tex]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}[/tex]
as you write. Now note that for n = 0, the first term of the first sum vanishes, so you can rewrite this to
[tex]\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}.[/tex]
Now you can merge the sums again:
[tex]y'(x) + y(x) = \sum_{n = 0}^\infty b_n (x - x_0)^n[/tex]
and derive a recursive equation for the [itex]a_n[/itex].