Question
Question: How do you solve power series to solve the Power series to solve the differential equation \(y''+2xy...
How do you solve power series to solve the Power series to solve the differential equation y′′+2xy′+y=0?
Solution
Now we are given with a differential equation y′′+2xy′+y=0 . To solve the equation by differential equation we will first consider the expansion of power series y=1∑∞anxn . Now we will differentiate the equation to find y’ and y’’ and hence substitute the values in the given equation. Now we will simplify the equation by making the limits common. Now we will solve the equation to find a recurrence relation. Now with the recurrence relation we will get all the variables an and hence the function y as y=1∑∞anxn
Complete step-by-step answer:
Now let us say y=0∑∞anxn be power series expansion of the function y.
Now differentiating we get y′=1∑∞nanxn−1 and y′′=2∑∞n(n−1)anxn−2 .
Now let us substitute the values in the given equation.
⇒y′′+2xy′+2y=2∑∞n(n−1)anxn−2+2x1∑∞nanxn−1+0∑∞anxn⇒y′′+2xy′+2y=2∑∞n(n−1)anxn−2+21∑∞nanxn+0∑∞anxn
Now substituting n = n + 2 to change the limits in the first summation we get,
⇒y′′+2xy′+2y=0∑∞(n+2)(n+1)an+2xn+21∑∞nanxn+0∑∞anxn
Now let us separate the first term from the first and last summation. Hence we get,
⇒y′′+2xy′+2y=2a2+1∑∞(n+2)(n+1)an+2xn+21∑∞nanxn+a0+1∑∞anxn