Related homogeneous differential equation
y′′+3y′+2y=0 The roots of the characteristic equation are
r2+3r+2=0
(r+1)(r+2)=0
r1=−2,r2=−1 The general solution of the homogeneous differential equation is
yh=c1e−2x+c2e−xUse the method of variation of parameters
c1′e−2x+c2′e−x=0
c1′(e−2x)′+c2′(e−x)′=1+ex1
Then
c2′e−x=−c1′e−2x
−2c1′e−2x+c1′e−2x=1+ex1
c1′=−1+exe2x
c1=−∫1+exe2xdx=ln(ex+1)−ex+C1
c2′=1+exex
c2=∫1+exexdx=ln(ex+1)+C2 The general solution of the homogeneous differential equation is
y=e−2xln(ex+1)+C1e−2x+e−xln(ex+1)+C3e−x
Comments