Q20E

Question

Use the method of variation of parameters to show that y(t)=c1cost+c2sint+0tf(s)sin(t-s)ds is a general solution to the differential

equation y''+y=f(t), where f(t) is a continuous function on (-,).[Hint: Use the trigonometric identity sin(t-s)=sintcoss-sinscost.]

Step-by-Step Solution

Verified
Answer

The general solution is y(t)=c1cost+c2sint-lnsect+tant.cost+110e3t-1.

 

1Step 1: Find particular solution

The homogenous equation is r2+1=0.

 

Two independent solutions are r=±i.

 

Then y1=cost,y2=sint

yh(t)=c1cost+c2sint 

The particular solution is yp=v1(t)cost+v2(t)sint 

2Step 2: Evaluate v 1   and   v 2

Here yp=v1(t)cost+v2(t)sint

 

And referring to (9) and solve the system then

v1'cost+v2'sint=0-v1'sint+v2cost=fa-v1'sint+v2cost=f(t) 


3Step 3: Find v 1 ' and v 1

v1'=-f(t)y2(t)ay1(t)y'2(t)-y'1(t)y2(t)=-(f(t)).sintcos2t+sin2t=-f(t).sint 

Now integrating this.

v1(t)=-f(t).sintdt

 

4Step 4: Determine v 2 ' and v 2

v2'=f(t)y1(t)ay1(t)y'2(t)-y'1(t)y2(t)=f(t).costcos2t+sin2t=f(t).cost

Integrate this.

v2(t)=f(t)costdt 


Thus the particular solution is:

yp=-f(t).sintdtcost+f(t)costdtsint

 

And the general solution is: 

y(t)=yh(t)+yp(t)y(t)=c1cost+c2sint+-f(t).sintdtcost+f(t)costdtsinty(t)=c1cost+c2sint+0sf(s)sin(t-s)ds

This is the required result.