The auxiliary equation is m2−3m+2=0
m2−m−2m+2=0
m(m−1)−2(m−1)=0
(m−1)(m−2)=0
m=1 or 2
The solution to the homogeneous part is y=Aex+Be2x
Suppose the general solution is y=A(x)ex+B(x)e2x
Then, y′=A′(x)ex+A(x)ex+B′(x)e2x+2B(x)e2x
Set A′(x)ex+B′(x)e2x=0...(∗)
Then y′ becomes A(x)ex+2B(x)e2x
And y′′=A′(x)ex+A(x)ex+2B′(x)e2x+4B(x)e2x
Substituting all into the given DE we have
A′(x)ex+A(x)ex+2B′(x)e2x+4B(x)e2x−3(A(x)ex+2B(x)e2x)+2(A(x)ex+B(x)e2x)=5e2x
Substituting (*) into the above DE and simplifying further we have
−A′(x)ex=5e2x
A′(x)=−5ex
A(x)=−5ex
And hence B(x)=5x
And the general solution of the DE is
y=−5e2x+5xe2x=5(x−1)e2x
Comments
Leave a comment