I need to find the value of B so the function $y=c_1e^{3x}+c_2e^{5x}+Be^{4x}$ is a solution to $y''-8y'+15y=6e^{4x}$.
Here's the work I have done. I know that $y_1=e^{3x}$ so I can use that to find some differentials: $y_1'=3e^{3x}$ and $y_1''=9e^{3x}$ substituting these values into the homogenous equation above just verifies that the functions are solutions to the nonhomogeneous equation (sorry if I have the homogenous and nonhomogeneous equations backward).
Anyway, after that verification, I would take $y_p=6e^{4x}$ and verify it too by subbing. However, this does not help me find the value of B.
I'm really not sure what to do with this question and would really appreciate some help. I've been looking at this for quite a while now.
Thank you.
$$y''-8y'+15y=6e^{4x}$$ Plug the particular solution in the equation $$16Be^{4x}-32Be^{4x}+15Be^{4x}=6e^{4x}$$ $$\implies (B+6)e^{4x}=0 \implies B=-6$$
Solving the homogeneous equation you get $$y''-8y'+15y=6e^{4x}$$ $$r^2-8r+15 =0 \implies (r-3)(r-5)=0$$ $$y(x)=c_1e^{3x}+c_2e^{5x}$$ $y_p=Be^{4x}$ is the particular solution of the inhomogeneous equation