Characteristic equation: r2+4r+3=0→r1=−3,r2=−1.
General solution of the homogeneous equation y′′+4y′+3y=0 is y=C1e−4x+C2e−x .
The particular solution might have the form: yp=Ax+b.
After substitution yp into the equation we have: 4A+3Ax+3B=x.
So, A=31,B=−94.
General solution of our ODE: y=C1e−4x+C2e−x+3x−94.
Comments