Series solution up to a term, power series

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 2K views
dp182
Messages
19
Reaction score
0

Homework Statement


consider the initial value problem (1-x)y,,+xy,-2y=0 find the series solution up to the term with x6


Homework Equations


(1-x)y,,+xy,-2y=0


The Attempt at a Solution


assuming the answer has the form [itex]\Sigma[/itex]anxn
that gives y,,=[itex]\Sigma[/itex]nanxn-1 and y,,=[itex]\Sigma[/itex]n(n-1)anxn-2 then plugging these back in and getting rid of the xn-2 and xn-1 you get the equation [itex]\Sigma[/itex](n+2)(n+1)an+2xn-[itex]\Sigma[/itex]n(n+1)an+1xn+[itex]\Sigma[/itex]nanxn-2[itex]\Sigma[/itex]anxn so what I'm wondering is how do you replace the an+1 with an an so you can solve for an+2
 
Physics news on Phys.org
It makes sense that the recurrence relation for a_n+2 involves a_n+1 and a_n. It would require you to define a_0 and a_1 and Second order differential equations require two boundary/initial conditions for a solution.
 
So If I solve for an+2 I get an+2=n(n+1)an+1+an(2-n)/(n+2)(n+1) so to get my terms up to x6 I will just input values of n, so my series will be in terms of a0and a1?