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

Short Answer

Expert verified

The general solution is y(t)=c1cost+c2sint+(ln|cost|)cost+tsint.

Step by step solution

01

Find a particular solution.          

The homogenous equation is r2+1=0.

Two independent solutions are r=±i.

y1=cost,y2=sint

Thenyh(t)=c1cost+c2sint

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

02

evaluate v1 and v2.

Hereyp=v1(t)cost+v2(t)sint

And referring to (9) and solve the system then

role="math" localid="1655137296914" v1'cost+v2'sint=0-v1'sint+v2'cost=fa-v1'sint+v2'cost=sect

03

Find v1' and  v1.

v1'=-f(t)y2(t)a[y1(t)y'2(t)-y'1(t)y2(t)]=-sect.sint1[-cos2t.-sin2t]=-sect.sint[-cos2t-sin2t]=tant

Now integrating this.

v1(t)=-tantdt=ln|cost|+C

04

Determine v2' and v2 .

v2'=f(t)y1(t)a[y1(t)y'2(t)-y'1(t)y2(t)]=sect.cost1[cos2t+sin2t]=1

Integrate this.

v2(t)=1dt=t+C

Thus particular solution is

yp=(ln|cost|+C)cost+(t+C)sintyp=(ln|cost|)cost+tsint

Thus, general solution is:

y(t)=yh(t)+yp(t)y(t)=c1cost+c2sint+(ln|cost|)cost+tsint

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free