Q22E

Question

A particular solution and a fundamental solution set are given for a nonhomogeneous equation and its corresponding homogeneous equation. 

(a) Find a general solution to the nonhomogeneous equation. 

(b) Find the solution that satisfies the specified initial condition.

y(4)-4y=5cosx;y(0)=2,y'(0)=1,y''(0)=-1,y'''(0)=-2;yp=cosx;{excosx,exsinx,e-xcosx,e-xsinx}

Step-by-Step Solution

Verified
Answer

(a) The value is y=c1excosx+c2exsinx+c3e-xcosx+c4e-xsinx+cosx

(b) The value is y=excosx+cosx

1(a) Step 1: Firstly solve for y n

The given equation is, y4-4y=5cosx

Solve for yn,

y4-4y=0

Here it is given that; the fundamental solution set for the homogeneous equation is,

excosx,exsinx,e-xcosx,e-xsinx

Then, the general solution is:

yn=c1excosx+c2exsinx+c3e-xcosx+c4e-xsinx

2Step 2 :A general solution to the nonhomogeneous equation.

y=yn+ypy=c1excosx+c2exsinx+c3e-xcosx+c4e-xsinx+cosx

3(b) Step 3:Solve for given initial conditions.

Given initial conditions are, y0=2,y'0=1,y''0=-1,y'''0=-2;

Firstly, solve for, y0=2

We have, 

y=c1excosx+c2exsinx+c3e-xcosx+c4e-xsinx+cosx

Substitute y0=2 in the above equation

,2=c1e0cos0+c2e0sin0+c3e-0cos0+c4e-0sin0+cos02=c1+c3+1c1+c3=1......1

4Step 4: Now, solve for y ' (0)=1 ,

One has, 

y'=c1excosx-exsinx+c2exsinx+cosxex+c3-e-xcosx-e-xsinx+c4-e-xsinx+e-xcosx-sinx

Substitute y'0=1 in the above equation,

1=c1e0cos0-e0sin0+c2e0sin0+cos0e0+c3-e-0cos0-e-0sin0+c4-e-0sin0+e-0cos0-sin01=c1+c2+c3-1+c4c1+c2-c3+c4=1......2

5Step 5: Now, solve for y '' (0)=-1 ,

One has, y''=-2c1exsinx+2c2excosx+2c3e-xsinx-2c4e-xcosx-cosx

Substitute y''0=-1 in the above equation,

-1=-2c1e0sin0+2c2e0cos0+2c3e-0sin0-2c4e-0cos0-cos0-1=2c2-2c4-12c2-2c4=0......3

6Step 6: Now, solve for y'''(0)=-2 ,

One has,

y'''=-2c1exsinx+excosx+2c2excosx-exsinx\hfill+2c3-e-xsinx+e-xcosx-2c4-e-xcosx-e-xsinx+sinx\hfill

Substitute in the above equation, 

-2=-2c1e0sin0+e0cos0+2c2e0cos0-e0sin0+2c3-e-0sin0+e-0cos0-2c4-e-0cos0-e-0sin0+sin0-2=-2c1+2c2+2c3+2c4-2c1+2c2+2c3+2c4=-2......4

7Step 7: Find the value of c 1 ,c 2 , c 3 and , c 4


Solve the equation (2) and (4),


Solve the equation (3) and (5),

2c2-2c4=0×24c2-4c4=04c2+4c4=08c2=0¯c2=0

Substitute the value of  c2 in the equation (3),

2c2-2c4=0-2c4=0c4=0

Substitute the value of c2 and c4 in the equation (2),

" width="9" style="max-width: none;" >

Solve the equation (1) and (6),


Substitute the value of   in the equation (1),



c1+c2-c3+c4=1c1-c3=16