Solve the Differential Equation by method of Series

In summary: So, for even n, Cn = -C0 * (n!/(2^(-n)(n/2)!)) / [n!/(n/2)!] = -C0 * 2^(-n)For odd n > 3, Cn = -C0 * [(n-1)(n-3)...(5)(3)(1)] / [(n)(n-2)(n-4)...(4)(2)] = -C0 * (n-1)!!/(n!!), where n!! means double factorial of n.In summary, the problem can be solved by substituting in the series y(x
  • #1
Sol-chan
6
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
  • #2
Hi Sol-chan ! :smile:
Sol-chan said:
C2 = -C0/2

hint:

C4 = C0 *… ?

C6 = C0 *… ?

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

I get (for n even):

[tex]C_{\,n+2}=\frac{(n-1)C_n}{(n+1)(n+2)}[/tex]

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:
  • #4
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?
 
  • #5
y''-xy'+y=0
 
  • #6
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...
 
  • #7
Right, so C1x is a solution. Right?

C1 is an arbitrary coefficient. So is C0 arbitrary.
 
  • #8
Okay, arbitrary... meaning I can just set them equal to whatever I want, right? But I still don't see how that helps me...
 
  • #9
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: [tex]C_{\,n+2}=\frac{(n-1)C_n}{(n+1)(n+2)}[/tex] 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:

1. What is the method of series used for in solving differential equations?

The method of series is used to find approximate solutions to differential equations that cannot be solved analytically. It involves representing the solution as a series of terms and using a recursive process to find the coefficients of the series.

2. What are the key steps in solving a differential equation by the method of series?

The key steps in solving a differential equation by the method of series are:

  1. Express the unknown function as a series of terms
  2. Substitute the series into the differential equation
  3. Solve for the coefficients of the series using a recursive process
  4. Use the coefficients to construct the solution as a series
  5. Check the convergence of the series solution

3. What types of differential equations can be solved using the method of series?

The method of series is typically used to solve linear ordinary differential equations with constant coefficients. However, it can also be applied to some non-linear and partial differential equations.

4. What are the advantages of using the method of series to solve differential equations?

The method of series allows for the approximation of solutions to differential equations that cannot be solved analytically. It also provides a systematic approach to finding solutions and can be extended to solve more complex equations.

5. What are the limitations of using the method of series to solve differential equations?

The method of series can only provide approximate solutions, which may not be accurate for all values of the independent variable. It also relies on the convergence of the series solution, which may not always occur for certain types of equations. Additionally, the method may become more complex and time-consuming for higher order differential equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
371
  • Calculus and Beyond Homework Help
Replies
5
Views
530
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
420
  • Calculus and Beyond Homework Help
Replies
1
Views
251
  • Calculus and Beyond Homework Help
Replies
3
Views
410
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
471
  • Calculus and Beyond Homework Help
Replies
6
Views
755
Back
Top