Differential equations

how would you solve

y''-xy'+2y=0?

it says, {2a2+6a3x+12a4x^2+.......n(n-1_anx^n-1

ahh i dont know..how would you solve this? can someone explain? my math teacher is un willing to help me...
 

HallsofIvy

Science Advisor
41,626
821
You mean your teacher is unwilling to tell you the answer. How mean of him! Does he expect you to actually LEARN how to do it?

The problem you have is a linear homogeneous d.e. with variable coefficients. The standard way of solving such an equation is to use power series (as you can see from the given solution).

Let y= Σ anxn where the an are to be determined. Calculate the derivatives of that, plug into your equation and combine like powers of x. You will get a recurrence relation for the ans.
 
yeah..thnaks but why are there two types of reserection and when do i use them? like sigma n=0 anX^n and other one with the & lambda ; x^ sigma anX^n...when do i use which ones and how? and how do i plug in answers in the differential equation/ like 8x^2y''+10xy'+(x-1)y=0
x^ &lambda ; {8 &lambda ; -1) a0 +10 &lambda ; ....and so on...any help is welcomed
 

HallsofIvy

Science Advisor
41,626
821
Please do not post the same thing on different threads. I responded to this on a different thread.
 

The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top