Q23E

Question

In Problems 21-28, use the procedure illustrated in Problem 20 to find at least the first four nonzero terms in a power series expansion about’s x=0 of a general solution to the given differential equation.

z"+xz'+z=x2+2x+1

Step-by-Step Solution

Verified
Answer

The first four nonzero terms in a power series expansion to the given differential equation z"+xz'+z=x2+2x+1 is,

z(x)=a0 (1-x2/2+x4/8+...)+a1 (x-x3/3+...) + (x2/2+x3/3-x4/24+...)

1Define power series expansion:

The power series approach is used in mathematics to find a power series solution to certain differential equations. In general, such a solution starts with an unknown power series and then plugs that solution into the differential equation to obtain a recurrence relation for the coefficients. 

A differential equation's power series solution is a function with an infinite number of terms, each holding a different power of the dependent variable. 

It is generally given by the formula,

y(x)=Σn=0 anxn

2Find the expression:

Given,

z"+xz'+z=x2+2x+1

Use the formula,

z(x)=Σn=0 anxn

Taking derivative of the above equation,

z'(x)=Σn=1 nanxn-1

z"(x)=Σn=2 n(n-1)anxn-2

Substitute the values in the above formula you get,

Σn=2 n(n-1)anxn-2 +x Σn=1 nanxn-1 + Σn=0 anxn =x2+2x+1


In order to make the exponent common for all terms we will make the substitution n-1=k therefore k=n+2 in first term and k=n+2 in the other term.

Σk=0 (k+2)(k+1)ak+2 xk+ Σk=1 k axk+ Σk=0  ax=x2+2x+1 

2a2+a0k=1  [(k+2)(k+1)ak+2+(k+1)ak] xk =x2+2x+1  


Hence the expression is 2a2+a0k=1  [(k+2)(k+1)ak+2+(k+1)ak] xk =x2+2x+1  .

3Find the first four nonzero terms:

Expand the expression given in the previous step.

(2a2+a0)+(6a3+2a1) x+(12a4+3a2)x2+.....=x2+2x+1


By equating the coefficients you get,

2a2+a0=1

a2=(1-a0)/2


6a3+2a1=2

a3=1/3-a1/3


12a4+3a2=1

a4=a0/8-1/24


Substitute the coefficient.

z(x)=a0+a1x+((1-a0)/2)x2+((a1-1)/3)x3+(a0/8-1/24) x4+...

=a0 (1-x2/2+x4/8+...)+a1 (x-x3/3+...) + (x2/2+x3/3-x4/24+...)