(D^2-2D+5)y=x+5
Solution
For the homogeneous equation the characteristic equation is
λ2 - 2λ + 5=0 => => λ1 = 1+2i, λ2 = 1-2i
So the solution of homogeneous equation is
where C1, C2 are arbitrary constants.
Partial solution can be found in the form y1(x) = Ax+B. Substitution into equation gives
-2A+5(Ax+B)=x+5 => 5Ax = x, 5B - 2A = 5 => A = 0.2, B = 0.2*(5 + 0.4) = 1.08
Therefore the solution of the given equation is
Comments