We are given
y′′−2tanx(y′)+5y=exsecx
cosxy′′−2sinx(y′)+5ycosx=ex We will be looking for a solution in the form
u(x)=y(x)cosx Then
u′=y′cosx−ysinx
u′′=y′′cosx−2y′sinx−ycosx Hence
cosxy′′−2sinx(y′)=u′′+u Substitute
u′′+u+5u=ex Corresponding homogeneous differentional equation
u′′+6u=0 Characteristic (auxiliary) equation
r2+6=0
r=±i6 The general solution of the homogeneous differentional equation is
uh=c1cos(6x)+c2sin(6x) Find the partial solution in the form
up=Aex
up′=Aex
up′′=Aex Substitute
Aex+6Aex=ex
A=71
up=71ex The general solution of the non homogeneous differentional equation is
u=c1cos(6x)+c2sin(6x)+71ex Therefore the solution of the given differential equation is
y=cosx1(c1cos(6x)+c2sin(6x)+71ex)
Comments
Leave a comment