Q19 E

Question

In Problems 13-19find at least the first four nonzero terms in a power series expansion of the solution to the given initial value problem.

y''-e2xy'+(cosx)y=0y(0)=-1,  y'(0)=1

Step-by-Step Solution

Verified
Answer

The first four nonzero terms in the power series expansion of the given initial value problem y''-e2xy'+(cosx)y=0 is y(x)=-1+x+x2+x32+.

1Step 1: Define 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 coefficient recurrence relation. 

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=0anxn

2Step 2: Find the relation.

Given,

y''-e2xy'+(cosx)y=0y(0)=-1,  y'(0)=1

Use the formula

Y(x)=n=0antnY'(t)=n=1n·an(x)n-1Y''(t)=n=2n(n-1)·an(x)n-2cosx=1-x22+x424-e2x=1+2x+2x2+43x3+


Substitute it in the above equation we get,

n=2n(n-1)·an(x)n-2-1+2x+2x2+43x3+n=1n·an(x)n-1-1-x22+x424+n=0an(t)n=0

Hence, we get the relation: n=2n(n-1)·an(x)n-2-1+2x+2x2+43x3+n=1n·an(x)n-1-1-x22+x424+n=0an(t)n=0.

3Step 3: Find the expression after expansion.

The series expansion for the function is:

2a2+6a3x+12a4x2+20a5x3+-a1+2a2x+3a3x2+4a4x3+-2a1x+4a2x2+6a3x3+8a4x4+-2a1x3+4a2x2+6a3x4+8a4x5+--a1t33!+2a2t43!+3a3t53!+4a4t63!++a0+a1x+a2x2+a3x3+a4x4+a5x5++a0x22+a1x32+a2x42+a3x52+a4x62+=0


Taking coefficients and exponents of the same power. Simplify the expression:

2a2-a1+a0+6a3-2a2-2a1+a1x+12a4-3a3+4a2-2a1+a2-a02x2+=0


Hence the expression after the expansion is:

2a2-a1+a0+6a3-2a2-2a1+a1x+12a4-3a3+4a2-2a1+a2-a02x2+=0

4Step 4: Find the first four nonzero terms.

By equating the coefficients, we get,

2a2-a1+a0=0a2=16a3-2a2-2a1+a1=0a3=12

The general solution was:

Y(t)=n=0antn=a0+a1t+a2t2+a3t3+

Apply the initial condition and substitute the coefficient.

y(x)=-1+x+x2+x32+

Hence, the first four nonzero terms are y(x)=-1+x+x2+x32+.