Question #81521

Solve the following ODE using the power series method:
(x + 2)y′′ + yx ′ − y = 0

Expert's answer

Answer on Question #81521- Math - Differential Equations

Solve the following ODE using the power series method:


(x+2)y+xyy=0(x + 2) y'' + x y' - y = 0

Solution

We assume there is a solution of the form


y=n=0cnxn.y = \sum_{n=0}^{\infty} c_n x^n.


Then


y=n=1ncnxn1,y' = \sum_{n=1}^{\infty} n \cdot c_n x^{n-1},


and


y=n=2(n1)ncnxn2y'' = \sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-2}


Substituting in the differential equation, we get


(x+2)n=2(n1)ncnxn2+xn=1ncnxn1n=0cnxn=0(x + 2) \sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-2} + x \sum_{n=1}^{\infty} n \cdot c_n x^{n-1} - \sum_{n=0}^{\infty} c_n x^n = 0xn=2(n1)ncnxn2+2n=2(n1)ncnxn2+n=1ncnxnn=0cnxn=0x \sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-2} + 2 \sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-2} + \sum_{n=1}^{\infty} n \cdot c_n x^n - \sum_{n=0}^{\infty} c_n x^n = 0n=2(n1)ncnxn1+2n=2(n1)ncnxn2+n=1ncnxnn=0cnxn=0\sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-1} + 2 \sum_{n=2}^{\infty} (n - 1) n \cdot c_n x^{n-2} + \sum_{n=1}^{\infty} n \cdot c_n x^n - \sum_{n=0}^{\infty} c_n x^n = 0n=1(n+1)ncn+1xn+2n=0(n+2)(n+1)cn+2xn+n=0(n1)cnxn=0\sum_{n=1}^{\infty} (n + 1) n \cdot c_{n+1} x^n + 2 \sum_{n=0}^{\infty} (n + 2) (n + 1) \cdot c_{n+2} x^n + \sum_{n=0}^{\infty} (n - 1) \cdot c_n x^n = 0n=1[(n+1)ncn+1+2(n+1)(n+2)cn+2+(n1)cn]xn=0\sum_{n=1}^{\infty} \left[ (n + 1) n \cdot c_{n+1} + 2 (n + 1) (n + 2) \cdot c_{n+2} + (n - 1) \cdot c_n \right] x^n = 0


This equation is true if the coefficient of xnx^n is 0:


n=1[(n+1)ncn+1+2(n+1)(n+2)cn+2+(n1)cn]xn=0\sum_{n=1}^{\infty} \left[ (n + 1) n \cdot c_{n+1} + 2 (n + 1) (n + 2) \cdot c_{n+2} + (n - 1) \cdot c_n \right] x^n = 0n(n+1)cn+1+2(n+1)(n+2)cn+2+(n1)cn=0n (n + 1) \cdot c_{n+1} + 2 (n + 1) (n + 2) \cdot c_{n+2} + (n - 1) \cdot c_n = 0cn+2=(1n)cnn(n+1)cn+12(n+1)(n+2),n=0,1,2,3c_{n+2} = \frac{(1 - n) \cdot c_n - n(n + 1) \cdot c_{n+1}}{2(n + 1)(n + 2)}, \quad n = 0, 1, 2, 3 \dots


Put n=0,1,2,3n = 0,1,2,3\ldots

n=0n = 0:


c2=c0212=c04c_2 = \frac{c_0}{2 \cdot 1 \cdot 2} = \frac{c_0}{4}

n=1n = 1:


c3=12c2223=c223=c0234=c04!c_3 = \frac{-1 \cdot 2 \cdot c_2}{2 \cdot 2 \cdot 3} = -\frac{c_2}{2 \cdot 3} = -\frac{c_0}{2 \cdot 3 \cdot 4} = -\frac{c_0}{4!}

n=2n = 2:


c4=1c223c3234=c046(c0234)234=0c_4 = \frac{-1 \cdot c_2 - 2 \cdot 3c_3}{2 \cdot 3 \cdot 4} = \frac{-\frac{c_0}{4} - 6 \cdot \left(-\frac{c_0}{2 \cdot 3 \cdot 4}\right)}{2 \cdot 3 \cdot 4} = 0

n=3n = 3:


c5=2c334c4245=2(c04!)245=c045!c_5 = \frac{-2 \cdot c_3 - 3 \cdot 4c_4}{2 \cdot 4 \cdot 5} = \frac{-2 \cdot \left(-\frac{c_0}{4!}\right)}{2 \cdot 4 \cdot 5} = \frac{c_0}{4 \cdot 5!}

n=4n = 4:


c6=3c445c5256=45c045!256=c026!c_6 = \frac{-3 \cdot c_4 - 4 \cdot 5c_5}{2 \cdot 5 \cdot 6} = \frac{-4 \cdot 5 \cdot \frac{c_0}{4 \cdot 5!}}{2 \cdot 5 \cdot 6} = -\frac{c_0}{2 \cdot 6!}


The solution is


y=c0+c1x+c2x2+c3x3+==c0(1+14x214!x3+145!x5126!x6+)\begin{aligned} y &= c_0 + c_1 x + c_2 x^2 + c_3 x^3 + \cdots = \\ &= c_0 \left(1 + \frac{1}{4} x^2 - \frac{1}{4!} x^3 + \frac{1}{4 \cdot 5!} x^5 - \frac{1}{2 \cdot 6!} x^6 + \cdots\right) \end{aligned}


Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS