(D2−2D+3)y=x2−1
The differential equation can be written as
y′′−2y′+3y=x2−1
The auxiliary equation of the homogenous part is
m2−2m+3=0
Solving the quadratic equation, we have that
m=1±2i
Hence the solution of the homogenous part is
y=ex(c1cos2x+ic2sin2x)
We use the method of undetermined coefficient to solve the other part.
Suppose
y=ax2+bx+c
Then
y′=2ax+b
y′′=2a
Substituting into the given differential equation, we have
2a−2(2ax+b)+3(ax2+bx+c)=x2−1
Comparing the coefficients of x2 we have
3a=1⟹a=31
Comparing the coefficients of x, we have
−4a+3b=0⟹b=94
Comparing the constants, we have2a−2b+3c=−1⟹c=−277
Hence, we have that the solution for this part is y=31x2+94x−277
So the general solution is
y=ex(c1cos2x+ic2sin2x)+31x2+94x−277
Comments
Dear Nshalati, please submit a new question and describe all requirements to avoid any misunderstanding.
Thank you. Can you solve it using the D-operator method?