Solving an ODE with variable coefficients

  • Thread starter c0der
  • Start date
  • #1
c0der
54
0

Homework Statement


Solve the following:
[/B]
y'' = c2 / (x2 + c1*x) * y
c1, c2 are constants, x is variable


Homework Equations


As above

The Attempt at a Solution


I have used the method of Frobenius and regular power series and obtained an infinite series on top of an infinite series, which is indefinite. What are the normal methods to solve that ODE? It's not quite in the Frobenius or Bessel forms
 

Answers and Replies

  • #2
2,813
605
I used a regular power series and there was no problem. Just multiply the equation by [itex] x^2+c_1 x [/itex] to get [itex] x^2 y''+c_1 x y''-c_2 y=0 [/itex].
The regular series gives only one of the solutions.So you should also consider a solution of the form [itex] y=\sum_{n=0}^\infty a_n x^{n+m} [/itex].
 
Last edited:
  • #3
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,722

Homework Statement


Solve the following:
[/B]
y'' = c2 / (x2 + c1*x) * y
c1, c2 are constants, x is variable


Homework Equations


As above

The Attempt at a Solution


I have used the method of Frobenius and regular power series and obtained an infinite series on top of an infinite series, which is indefinite. What are the normal methods to solve that ODE? It's not quite in the Frobenius or Bessel forms

Maple gets a solution in terms of hypergeometric functions with (variable) argument ##-c_1/x##. Thus, the power-series expansion of Maple's solution will be in powers of ##1/x##, not of ##x## itself.
 
  • #4
c0der
54
0
Thank you, I have done this however as follows:

Equating coefficients of x0 gives:
a0=0

For x1:

a2 = c2/2c1

Equating coefficients of xm:

am+1 = [ c2 - (m-1)m ] / [ c1m(m+1) ] am for m>=2

Then:

a3 = [ (c2 - 2) / 3!2!c12 ] a1

a4 = [ (c2 - 6)(c2 - 2)c2 / 4!3!c13 ] a1

a5 = [ (c2 - 12)(c2 - 6)(c2 - 2)c2 / 5!4!c14 ] a1

a6 = [ (c2 - 20)(c2 - 12)(c2 - 6)(c2 - 2)c2 / 6!5!c15 ] a1

How can I correlate this with the hypergeometric series or any other recognizable series? The numerator terms in the brackets have a pattern to it 2+4=6 6+6=12 12+8=20 etc but getting the terms in powers of m is difficult
 
  • #5
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
2022 Award
39,567
8,830
y'' = c2 / (x2 + c1*x) * y
Is that (c2 / (x2 + c1*x)) * y or c2 / ((x2 + c1*x) * y)?
 
  • #6
c0der
54
0
(c2 / (x2 + c1x)) * y
 

Suggested for: Solving an ODE with variable coefficients

Replies
7
Views
484
Replies
8
Views
850
Replies
8
Views
489
Replies
2
Views
661
Replies
0
Views
256
  • Last Post
Replies
2
Views
458
Replies
6
Views
1K
Replies
11
Views
622
  • Last Post
Replies
33
Views
2K
Replies
9
Views
622
Top