Solve the Differential Equation by method of Series

Sol-chan
Messages
6
Reaction score
0
Solve by the method of series

y''-xy'+y=0

From what I understand, I need to substitute in
y(x)=SUM(Cn*xn) from n=0 to infinity
I get that:
y'(x)=SUM(n*Cn*xn-1) from n=1 to infinity
and
y''(x)=SUM(n*(n-1)*Cn*xn-2) from n=2 to infinity

When I substitute in and collect the terms, I get:
2C2 + C0 + SUM[(Cn+2*(n+2)*(n+1)-Cn*n+Cn)*xn] from n=1 to infinity = 0

So then I get that
C2 = -C0/2
and
Cn+2 = Cn/(n+2)

And I don't know what to do after that. Any hints on where to go from there would be much appreciated...
 
Physics news on Phys.org
Hi Sol-chan ! :smile:
Sol-chan said:
C2 = -C0/2

hint:

C4 = C0 *… ?

C6 = C0 *… ?

C8 = C0 *… ? :wink:
 
Sol-chan said:
So then I get that
C2 = -C0/2
and
Cn+2 = Cn/(n+2)

I get (for n even):

C_{\,n+2}=\frac{(n-1)C_n}{(n+1)(n+2)}

Plug in y = C1x to find out about C1.

Take the derivative of both sides of y''-xy'+y=0, to get the recurrence relation for Cn for odd n > 1.
 
Last edited:
Ah, right, I solved that wrong. So, with

Cn+2 = (n-1)Cn/(n+1)(n+2)

I get that
C4 = -C0/24
C6 = -C0/240
C8 = -C0/2688

What am I plugging y=C1x into?
 
y''-xy'+y=0
 
Doesn't that just give 0 = 0?
Because if y=C1x then y'=C1 and y''=0, then you get
0-x*C1 + x*C1 = 0
0 = 0

And I don't really understand the recurrence relation, either. I'm not sure if I'm doing this right, but taking the derivative of both sides I get
y''' - xy'' +2y' = 0
And I'm not sure what that's supposed to be telling me...
 
Right, so C1x is a solution. Right?

C1 is an arbitrary coefficient. So is C0 arbitrary.
 
Okay, arbitrary... meaning I can just set them equal to whatever I want, right? But I still don't see how that helps me...
 
No, it means you have to set them to something general, like ... C0 & C1.

Try to come up with a general expression for Cn, where n is even. It will be of the form, C0*f(n).

The expression: C_{\,n+2}=\frac{(n-1)C_n}{(n+1)(n+2)} tells you what about Cn for n=3 and odd n > 3?
 
  • #10
Sol-chan said:
Ah, right, I solved that wrong. So, with

Cn+2 = (n-1)Cn/(n+1)(n+2)

I get that
C4 = -C0/24
C6 = -C0/240
C8 = -C0/2688
Write these without canceling or combining factors, so that you can the general form for Cn :
C4 = -C0 (1) / [(1)(2)(3)(4)]
C6 = -C0 (1)(3) / [(1)(2)(3)(4)(5)(6)]
C8 = -C0 (1)(3)(5) / [(1)(2)(3)(4)(5)(6)(7)(8)]
...​
Note: For even n, (n-1)(n-3)...(5)(3)(1) = [(n-1)(n-3)...(5)(3)(1)][(n)(n-2)(n-4)...(4)(2)]/[(n)(n-2)(n-4)...(4)(2)] = n!/[2(n/2)(n/2)!]
 
Last edited:

Similar threads

Back
Top