y′′−y′−12y=e4x Write the related homogeneous or complementary equation:
y′′−y′−12y=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′−12y=0 Write the characteristic (auxiliary) equation:
r2−r−12=0
(r−4)(r+3)=0
r1=4,r2=−3 The general solution of the homogeneous equation is
yh(x)=C1e4x+C2e−3x
Method of undetermined coefficients
Let the general solution of a second order homogeneous differential equation be
y(x)=C1(x)e4x+C2(x)e−3x The unknown functions C1(x) and C2(x) can be determined from the system of two equations:
C1′e4x+C2′e−3x=0
C1′(4e4x)+C2′(−3e−3x)=e4x
C2′e−3x=−C1′e4x
4C1′e4x+3C1′e4x=e4x
C1′=71
C2′=−71e7x
C1=71x+c3
C2=−491e7x+c2
The general solution of a second order homogeneous differential equation be
y(x)=c1e4x+c2e−3x+71xe4x
Comments