Getting stuck when solving second order non-homogeneous linear differential equation

ordinary differential equations

I'm trying to solve: $y'' + 10y' + 25y = (3x+2)e^{-5x}$

I start by rewriting as $(D^2 + 10D + 25)y = (3x + 2)e^{-5x}$

We have a non-distinct real root of multiplicity 2 which is -5.

The homogeneous solution is then $y_{h} = (C_{1} + C_{2})e^{-5x}$

We now find the candidate for the undermined coefficients method.

$F(x) = (3x+2)e^{-5x}$

$F'(x) = (-5Ax + A – 5B)e^{-5x}$

$F''(x) = (25Ax – 10A + 25B)e^{-5x}$

$(3x+2)$ is in the form of a first-degree polynomial and $e^{-5x}$ is an exponential function.

So our particular solution is $y_{p} = (Ax + B)e^{-5x}$ (Should the exponential be multiplied by C?)

My problem is that when I replace $y_{p}$ into the differential equation of line 1, I get 0, so I can't continue the problem…

Thank you.

Best Answer

Since your root $-5$ is double, the right form of $y_p$ is $$ Y_p=x^2(ax+b)e^{-5x}. $$

Related Question