Q15E

Question

In Problems 11–18, find a general solution to the differential equation.

y''+y=3sect-t2+1

Step-by-Step Solution

Verified
Answer

The general solution is yt=c1cost+c2sint+3lncostcost-t2+3+3tsint.

1Step 1: Find a particular solution.

The homogenous equation is r2+1=0.

 

Two independent solutions are r=±i.

 

Then y1=cost,v2=sint

yht=c1cost+c2sint

 

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

2Step 2: Evaluate v 1     and     v 2

Here yp=v1tcost+v2tsint

Here f=3sect-t2+1 and a=1

 

And referring to (9) yt=c1eαtcosβtc2eαtsinβt and solve the system by derivative then;

v1'cost+v2'sint=0-v1'sint+v2cost=fa-v1'sint+v2cost=3sect-t2+1

3Step 3: Find v 1 ' and v 1

v1'=-ftv2tay1ty'2t-y'1ty2t=-3sect-t2+1.sintcos2t+sin2t=-3sect-t2+1.sint

Now integrating this;

v1t=-3sect-t2+1.sintdt=2lncost-t2cost++2tsint+3cost+C

4Step 4: Determine v 2 ' and v 2

v2'=fty1tay1ty'2t-y'1ty2t=-3sect-t2+1.costcos2t+sin2t=3sect-t2+1.cost


Integrate this.

 y2t=3sect-t2+1.costdt=3t-t2sint-2tcost+3sint+C

 

Thus, the particular solution is:

yp=2lncost-t2cost++2tsint+3cost+Ccost+3t-t2sint-2tcost+3sint+Csintyp=3lncostcost-t2+3+3tsint 


Therefore, the general solution is:

y(t)=yh(t)+yp(t)y(t)=c1cost+c2sint+3lncostcost-t2+3+3tsint