Linear Algebra and Differential Equations Chapter 4 Power Se
Linear Algebra and Differential Equations
Chapter 4. Power Series & Numerical Solutions
4.1 The Power Series Method
Please solve 3 questions.
Use power series to solve the differential equation. Give at least six terms explicitly.
Use the power series method to solve the initial-value problem.
Solution
Given that
y = a0+a1x+a2x2+....
we have
y\'\'+ y\'- y = 3x2 =>(1)
let y = a0+a1x+a2x2+a3x3+a4x4
y\' = a1+2a2x+3a3x2+4a4x3
y\'\' = 2a2+6a3x+12a4x2
sustitude this values in (1) we will get
=> 2a2+6a3x+12a4x2+a1+2a2x+3a3x2+4a4x3-a0-a1x-a2x2-a3x3-a4x4 = 3x2
=> -a0+a1+2a2+x(6a3+2a2-a1)+x2(12a4+3a3-a2)+x3(4a4-a3)-a4x4 = 3x2
comparing the coefficients of eq both sides we will get
-a0+a1+2a2 = 0
6a3+2a2-a1 = 0
12a4+3a3-a2 =3
4a4-a3 = 0
a4 =0
by solving above equations we will get
a0 = -12, a1 = -6, a2 = -3, a3 = 0, a4 = 0
then the eq of y is
y= a0+a1x+a2x2+a3x3+a4x4
y= -12-6x-3x2+0x3+0x4
y = -12 - 6x -3x2

