Q12E

Question

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

12.y''+y=tan2t

Step-by-Step Solution

Verified
Answer

The general solution is c1cost+c2sint-sintlnsect+tant-2

1Step 1: Find a particular solution .

The homogenous equation is r2+1=0.

 

Two independent solutions are r=±i.

 

Then y1=cost,y2=sint

yht=c1cost+c2sint

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

2Step 2: Find v 1 ' and v 1

v1'=-fty2tay1ty'2t-y'1ty2t=-tan2t.sintcos2t+sin2t=-tan2t.sint

Now integrating this,

v1t=-tan2t.sintdt=-cost-sect+C 

3Step 3: Determine v 2 ' and v 2

v2'=fty1tay1ty'2t-y'1ty2t=tan2t.costcos2t+sin2t=tan2t.cost 

Integrate this.

v2t=tan2t.costdt=lnsect+tant-sint+C 


Thus, a particular solution is:

yp=-cost-sect+Ccost+lnsect+tant-sint+Csintyp=sintlnsect+tant-2 

 

Therefore, the general solution is: 

y(t)=yh(t)+yp(t)y(t)=c1cost+±c2sint-sintlnsect+tant-2