SOLUTION: Solve the general solution of y'''+ 4y'= x+3cosx by undertermine coeeficient. Find the particular solution of y'''+y'=tanx -pi/2<x<-pi/2 by variation

Algebra ->  Equations -> SOLUTION: Solve the general solution of y'''+ 4y'= x+3cosx by undertermine coeeficient. Find the particular solution of y'''+y'=tanx -pi/2<x<-pi/2 by variation      Log On


   



Question 844495: Solve the general solution of y'''+ 4y'= x+3cosx by undertermine
coeeficient.
Find the particular solution of y'''+y'=tanx -pi/2 by variation

Answer by Edwin McCravy(20055) About Me  (Show Source):
You can put this solution on YOUR website!
First we find the complementary solution of the 
complementary homogeneous differential equation:

y''' + 4y' = 0

The auriliary polynomial equation is

r³ + 4r = 0
r(r²+4) = 0
r=0, r=±2i, which we think of as 0%B12i

y%5Bc%5D%22%22=%22%22c%5B1%5De%5E%280x%29%22%22%2B%22%22e%5E%280x%29%28c%5B2%5Dcos%282x%29%2Bc%5B3%5Dsin%28x%29%29

y%5Bc%5D%22%22=%22%22c%5B1%5D%2A1%22%22%2B%22%221%2A%28c%5B2%5Dcos%282x%29%2Bc%5B3%5Dsin%28x%29%29

y%5Bc%5D%22%22=%22%22c%5B1%5D%2Bc%5B2%5Dcos%282x%29%2Bc%5B3%5Dsin%28x%29

Now we look for a particular solution to the original differential equation.

The right side is x + 3cos(x)

That would ordinarily make us think of this particular solution;

Ax + Bcos(x) + Csin(x)

We do not need a constant term because the complementary solution
already has c1.

However there is a "conflict" with the term x in the right side
and the term Ax in that choice for a particular solution. So we
must change that term by multiplying the term Ax by x, getting Ax².  
That means we must still have a term in x.  So we redo the assumed 
particular solution to this:

yp = Ax² + Bx + Ccos(x) + Dsin(x)

yp' = 2Ax + B - Csin(x) + Dcos(x) [we can ignore the B, since we have c1]

yp" = 2A - Ccos(x) - Dsin(x)   [we can ignore the 2A, since we have c1]

yp''' =  Csin(x) - Dcos(x)

No we'll line up the terms of the original differential equation:

 yp''' =        Csin(x) -  Dcos(x)

+4yp'  = 8Ax - 4Csin(x) + 4Dcos(x)
--------------------------------------------------
x + 3cos(x)       = 8Ax - 3Csin(x) + 3Dcos(x)

Equating coefficients of x:  1 = 8A, so A = 1%2F8

Equating constants: 0 = 4B, so B=0

Equating coefficients of cos(x): 3 = 3D, so D = 1  

Equating coefficients of sin(x): 0 = -3C, so C = 0

Particular solution:

yp = Ax² + Bx + Ccos(x) + Dsin(x)

yp = expr%281%2F8%29x%5E2+%2B+0x+%2B+0cos%28x%29+%2B+1sin%28x%29

yp = expr%281%2F8%29x%5E2+%2B+sin%28x%29


General solution: 

y%22%22=%22%22y%5Bc%5D%22%22%2B%22%22y%5Bp%5D

y%22%22=%22%22c%5B1%5D%2Bc%5B2%5Dcos%282x%29%2Bc%5B3%5Dsin%28x%29%22%22%2B%22%22expr%281%2F8%29x%5E2+%2B+sin%28x%29.

--------------------------------------

If I have time I'll do the other one by variation of parameters later.

Edwin