Q1E

Question

In Problems 1–8, find a general solution to the differential equation using the method of variation of parameters.

y''+4y=tan2t

Step-by-Step Solution

Verified
Answer

The general solution is y(t)=c1cos2t+c2sin2t-cos2t4([ln(tan2t+sec2t)]).

1Step 1: Find a particular solution .

The homogenous equation is r2+4=0.

 

Two independent solutions are r=±2i.

 

Then y1=cos2t,y2=sin2t

 

yh(t)=c1cos2t+c2sin2t

 

The particular solution is yp=v1(t)cos2t+v2(t)sin2t

2Step 2: Evaluate v 1    and    v 2

Here  yp=v1(t)cos2t+v2(t)sin2t


And referring to (9) and solve the system then

v1'cos2t+v2'sin2t=0-2v1'sin2t+2v2'cos2t=fa-2v1'sin2t+2v2'cos2t=tan2t



3Step 3: Find v 1 ' and v 1

v1'=-f(t)y2(t)a[y1(t)y'2(t)-y'1(t)y2(t)]=-tan2t.sin2t1[2cos22t+2sin22t]=-tan2t.sin2t2[cos22t+sin22t]=-sin22t2cos2t


Now integrating this.


v1(t)=-sin22t2cos2tdt=-14sin2xcosxdx=14cos2x-1cosxdx=14[cosxdx-secxdx]=14[sinx-ln(tanx+secx)]+C=14[sin2t-ln(tan2t+sec2t)]+C



4Step 4. Determine v 2 ' and v 2

v2'=f(t)y1(t)a[y1(t)y'2(t)-y'1(t)y2(t)]=tan2t.cos2t1[2cos22t+2sin22t]=-tan2t.sin2t2[cos22t+sin22t]=sin2t2


Now integrate this.

v2(t)=sin2t2dt=-14cos2t+C


Thus, a particular solution is:

yp=14[sin2t-ln(tan2t+sec2t)]+Ccos2t+-14cos2t+Csin2t=-cos2t4[ln(tan2t+sec2t)]


Thus, the general solution is: 

y(t)=yh(t)+yp(t)y(t)=c1cos2t+c2sin2t-cos2t4([ln(tan2t+sec2t)])