Q18 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''-(cosx)y'-y=0y(π/2)=1,  y'(π/2)=1

Step-by-Step Solution

Verified
Answer

The first four nonzero terms in the power series expansion of the given initial value problem y''-(cosx)y'-y=0 is Y(x)=1+x-π2+12x-π22+13x-π23+

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''-(cosx)y'-y=0y(π/2)=1,  y'(π/2)=1

Apply a substitution and transform the equation,

y''-cost+π2·y'-y=0y''-sint·y'-y=0

Use the formula

Y(x)=n=0antnY'(t)=n=1n·an(t)n-1Y''(t)=n=2n(n-1)·an(t)n-2


Substitute it in the above equation we get,

n=2n(n-1)·an(t)n-2-t-t33!+t55!-t77!+n=1n·an(t)n-1-n=0an(t)n=0


Hence we get the relation:

n=2n(n-1)·an(t)n-2-t-t33!+t55!-t77!+n=1n·an(t)n-1-n=0an(t)n=0.

3Step 3: Find the expression after expansion.

The series expansion for the function is

2a2+6a3t+12a4t2+20a5t3+-a1t+2a2t2+3a3t3+4a4t4++a1t33!+2a2t43!+3a3t53!+4a4t63!+-a1t55!+2a2t65!+3a3t75!+4a4t85!++-a0+a1t+a2t2+a3t3+a4t4+=0


Taking coefficients and exponents of the same power.

2a2-a0+6a3-a1-a1t+12a4-2a2-a2t2+20a5-3a3+a16-a3t3+=0


Simplify the expression:

2a2-a0+6a3-a1-a1x-π2+12a4-2a2-a2x-π22+20a5-3a3+a16-a3x-π23+=0


Hence, the expression after the expansion is:

2a2-a0+6a3-a1-a1x-π2+12a4-2a2-a2x-π22+20a5-3a3+a16-a3x-π23+=0

4Step 4: Find the first four nonzero terms.

By equating the coefficients, we get,

2a2-a0=0a2=a02=126a3-a1-a1a3=a13=13

The general solution was

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

Apply the initial condition and substitute the coefficient.

Y(x)=1+x-π2+12x-π22+13x-π23+

Hence, the first four nonzero terms are:

Y(x)=1+x-π2+12x-π22+13x-π23+