y′′+2y′+5y=1+ex The characteristic (auxiliary) equation for homogeneous differential equation is
r2+2r+5=0
(r+1)2=−4
r=−1±2i The general solution of the homogeneous differential equation is
yh=C1e−xcos2x+C2e−xsin2x Find a particular solution of the nonhomogeneous differential equation.
y1=Aex+B
y1′=Aex
y1′′=Aex Substitute
Aex+2Aex+5Aex+5B=1+ex
A=81,B=51
y1=81ex+51 The general solution of the given differential equation is
yh=C1e−xcos2x+C2e−xsin2x+81ex+51
Comments