Confused on how I can approach this ODE, and I just need some help on figuring out what to do
$y''-4y'-21=5e ^{-t}$ with initial conditions $y(0)=0$ and $y'(0)=4$
After Laplace transforming, I got: $(\frac{(5)}{(s+1)}{+ 4+\frac{(21)}{(s+1)}}) /( s^2-4s) $
And now I am stuck on what to do here
I don't know about Laplace transformation but I would solve it a little differently. Look at it the following way: $$y''-4y' = 5e^{-t} + 21$$ Now solving the homogenous equation $y''-4y'=0$ is not too complicated. It has the characteristic polynomial $t^2-4t$ with zeros at $t=0$ and $t=4$. Therefore the solution to the homogenous part equation is $c_1 e^{4t} + c_2e^{0t} = c_1e^{4t} + c_2$.
Now we need to find a special solution to the inhomogenous problem. To be honest I don't know how to do that systematically, but a little "good guessing" can get us there: How do we get the $+21$? Let us put a $\frac{21}{4} t$ in the solution, so that the $4y'$ produces our $21$. How do we get $5e^{-t}$? Because of the fact that the second derivative of $e^{-t}$ is $e^{-t}$ and the first derivative is $-e^{-t}$ we can find the special solution $$u_{sp} = e^{-t} - \frac{21}{4} t$$
Then the whole solution to this equation is: $$u= c_1e^{4t}+c_2 + e^{-t} - \frac{21}{4} t$$
Now we try to find $c_1, c_2$ via the initial conditions. Note $0=u(0) = c_1 + c_2+1$ and $4=u'(0) = 4c_1 -1- \frac{21}{4}$ Solving this we get $c_1 = \frac{41}{16}$ and $c_2 = \frac{-57}{16}$.
If anybody knows how we could have gotten the special solution in a more systematic way feel free to let me know. If the Laplace transform method would be easier than my approach to solving linear ODEs with constant coefficients I am also happy if you let me know because I don't know how to do Laplace transformation.