y′′−y′=e−x Write the related homogeneous or complementary equation:
y′′−y′=0
The general solution of a nonhomogeneous equation is the sum of the general solution yh(x) of the related homogeneous equation and a particular solution yp(x) of the nonhomogeneous equation:
y(x)=yh(x)+yp(x) Consider a homogeneous equation
y′′−y′=0 Write the characteristic (auxiliary) equation:
r2−r=0
r(r−1)=0
r1=0,r2=1 The general solution of the homogeneous equation is
yh(x)=C1+C2ex
Find the particular solution of the nonhomogeneous differential equation
yp(x)=Ae−x
yp′=−Ae−x
yp′′=Ae−x Substitute
Ae−x−(−Ae−x)=e−x
A=21
yp(x)=21e−x
The general solution of a second order homogeneous differential equation is
y(x)=C1+C2ex+21e−x
Initial conditions: y(0)=0,y′(0)=1
y(0)=C1+C2e0+21e−0=0
y′(x)=C2ex−21e−x
y′(0)=C2e0−21e−0=1
C2=23
C1=−2 The solution of the given differential equation is
y(x)=−2+23ex+21e−x
Comments