- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello! (Wave)
The differential equation $y''+xy=0$ is given.
Find the general solution of the differential equation (with the power series method).
That's what I have tried:
We are looking for a solution of the form $y(x)=\sum_{n=0}^{\infty} a_n x^n$, where the radius of convergence is $R>0$.
$xy(x)=\sum_{n=1}^{\infty} a_{n-1}x^n$.
We have $y'(x)= \sum_{n=0}^{\infty} (n+1)a_{n+1} x^n$.
$y''(x)=\sum_{n=0}^{\infty} (n+2)(n+1) a_{n+2} x^n$.
So it has to hold:
$$2a_2 + \sum_{n=1}^{\infty} \left[ (n+2)(n+1) a_{n+2}+a_{n-1}\right]x^n=0, \forall x \in (-R,R)$$
Thus:
$$a_2=0$$
$$(n+2)(n+1)a_{n+2}+a_{n-1}=0, \forall n=1,2,3, \dots$$
$$3 \cdot 2 \cdot a_3+a_2=0 \Rightarrow a_3=0$$
$$4 \cdot 3 \cdot a_4 +a_1=0 \Rightarrow a_4=-\frac{a_1}{12}$$
Is it right so far? Or have I done something wrong?
The differential equation $y''+xy=0$ is given.
Find the general solution of the differential equation (with the power series method).
That's what I have tried:
We are looking for a solution of the form $y(x)=\sum_{n=0}^{\infty} a_n x^n$, where the radius of convergence is $R>0$.
$xy(x)=\sum_{n=1}^{\infty} a_{n-1}x^n$.
We have $y'(x)= \sum_{n=0}^{\infty} (n+1)a_{n+1} x^n$.
$y''(x)=\sum_{n=0}^{\infty} (n+2)(n+1) a_{n+2} x^n$.
So it has to hold:
$$2a_2 + \sum_{n=1}^{\infty} \left[ (n+2)(n+1) a_{n+2}+a_{n-1}\right]x^n=0, \forall x \in (-R,R)$$
Thus:
$$a_2=0$$
$$(n+2)(n+1)a_{n+2}+a_{n-1}=0, \forall n=1,2,3, \dots$$
$$3 \cdot 2 \cdot a_3+a_2=0 \Rightarrow a_3=0$$
$$4 \cdot 3 \cdot a_4 +a_1=0 \Rightarrow a_4=-\frac{a_1}{12}$$
Is it right so far? Or have I done something wrong?