Tom K. answered 08/08/20
Knowledgeable and Friendly Math and Statistics Tutor
Power series methods means we let y = ∑[0,∞) an xn, where the bracket indicates the upper and lower limits of the sum.
Then, our problem is xy'' + 2y = 0.
If y = ∑[0,∞) an xn, then y' = ∑[1,∞) nan xn-1 , and y'' = ∑[2,∞) n(n-1)an xn-2
Then, as xy'' + 2y = 0, we have
x∑[2,∞) n(n-1)an xn-2 + 2 ∑[0,∞) an xn = 0
Bringing x inside, we have
∑[2,∞) n(n-1)anxn-1 + 2 ∑[0,∞) an xn = 0
Let k = n-1 in the first expression, and k = n in the second expression. Then,
∑[1,∞) (k+1)(k)ak+1xk + 2 ∑[0,∞) ak xk = 0
The only x0 term is from the second expression, so 2a0 = 0, or a0 = 0
Thus, ∑[1,∞)( (k+1)(k)ak+1 + 2ak)xk = 0
Then, (k+1)(k)ak+1 + 2ak= 0, k>= 1
ak+1 = -2/(k(k+1)) ak, k >= 1
As we want a solution for an, though, it might make more sense to write
an = -2/((n-1)(n)) an-1, n >= 1
Then, let a1 = c
a2 = -2/((2-1)(2) c
a3 = -2/((3-1)(3) a2 = -2/((3-1)3) (-2/((2-1)(2) c) = (-2)^2/((3-1)(2-1)(3)(2)) c = (-2)^n-1 /(n-1!n!) c n = 3
We thus have the solution
y = ∑[1,∞) c(-2)n-1/(n!(n-1)!) xn

Joy J.
08/09/20