Q21E

Question

Find a general solution to the differential equation. y''(θ)+2y'(θ)+2y(θ)=e-θcosθ

Step-by-Step Solution

Verified
Answer

The general solution to the differential equation is:  y=e-θ[c1cosθ+c2sinθ]+12θe-θsinθ

1Step 1: Write the auxiliary equation of the given differential equation.

The differential equation is,

 

y''(θ)+2y'(θ)+2y(θ)=e-θcosθ                        (1)

 

Write the homogeneous differential equation of the equation (1),

 

y''(θ)+2y'(θ)+2y(θ)=0

 

The auxiliary equation for the above equation,

 

m2+2m+2=0

2Step 2: Now find the complementary solution of the given equation.

Solve the auxiliary equation,


m2+2m+2=0m=-2±4-82m=-2±-42m=-1±i


The roots of the auxiliary equation are, 

m1=-1+i,      m2=-1-i


The complementary solution of the given equation is,

yc=e-θ[c1cosθ+c2sinθ]

3Step 3: Use the method of undetermined coefficients.

According to the method of undetermined coefficients, to find a particular solution to the differential equation; 

 ay''+by'+cy=Ctmeαtcosβt             orCtmeαtsinβt                     ......(2)



For β0, use the form

 

yp(x)=ts[(Amtm+...+A1t+A0)eαtcosβt+ts(Bmtm+...+B1t+B0)eαtsinβt]

 

With s = 1 if α+ is a root of the associated auxiliary equation.

 

And s = 0 if  α+is not a root of the associated auxiliary equation.

4Step 4: Find the particular solution to find a general solution for the equation.

Comparing equations (1) and (2), we get;

 

M=0 and α=-1;β=1

 

Therefore,α+=-1+i is a root of the associated auxiliary equation so here s =1.


Assume, the particular solution of equation (1),

yp(t)=ts(Amtm+...+A1t+A0)eαxcosβx+ts(Bmtm+...+B1t+B0)eαxsinβxyp(θ)=θ1(A0)e(-1)θcos(1)θ+θ1(B0)e(-1)θsin(1)θyp(θ)=θe-θ(A0cosθ+B0sinθ)yp(θ)=θe-θ(Acosθ+Bsinθ)                   ......(3)


Now find the first and second derivatives of the above equation,

yp'(θ)=e-θ[A(-θsinθ+cosθ)+B(θcosθ+sinθ)]-θe-θ(Acosθ+Bsinθ)yp'(θ)=e-θ[(-A-B)θsinθ+Acosθ+(B-A)θcosθ+Bsinθ]yp''(θ)=e-θ[(2A)θsinθ+(2B-2A)cosθ+(-2B)θcosθ+(-2A-2B)sinθ]


Substitute the value of  yp(θ),  yp'(θ)and yp''(θ) the equation (1),


y''(θ)+2y'(θ)+2y(θ)=e-θcosθe-θ[(2A)θsinθ+(2B-2A)cosθ+(-2B)θcosθ+(-2A-2B)sinθ]      +2e-θ[(-A-B)θsinθ+Acosθ+(B-A)θcosθ+Bsinθ]+2θe-θ(Acosθ+Bsinθ)=e-θcosθe-θ[(2B)cosθ+(-2A)sinθ]=e-θcosθ


Comparing all coefficients of the above equation,

  -2A=0  A=02B=1  B=12


Substitute the value of A and B in the equation (3),

yp(θ)=θe-θ(Acosθ+Bsinθ)yp(θ)=θe-θ((0)cosθ+12sinθ)yp(θ)=12θe-θsinθ


Therefore, the particular solution of equation (1),

yp(θ)=12θe-θsinθ

5Step 5: Conclusion.

Therefore, the general solution is,

y=yc(θ)+yp(θ)y=e-θ[c1cosθ+c2sinθ]+12θe-θsinθ