D2+4D+4=9ex
Where D is the linear differential operator dxd
Thus we can write the equation as:
dx2d2y+4dxdy+4y=9ex
The associated auxilliary equation is;
m2+4m+4=0(m+2)(m+2)m=−2 twice
Thus the solution of the homogeneous part is
yc=(A+Bx)e−2x
For the particular solution
Consider the solution y=Aex
⟹y′=Aex,y′′=Aex
Substitute this into the equation.
Aex+4Aex+4Aex=9ex9Aex=9exA=1
Thus the particular solution is;
yp=ex
Hence, the general solution is
y=(A+Bx)e−2x+ex
Now, consider the initial value given. y(0)=2,y′(0)=1
y(0)=A+1=2A=1
y′(x)=Be−2x−2(A+Bx)e−2x+exy′(0)=B−2A+1=1B=2A=2
Hence the solution to the IVP is;
y=(1+2x)e−2x+ex
Comments