Here's the problem: Consider the DE $y''−5y'+6y=e^t\cos(2t)+e^{2t}(3t+4)\sin(t).$ Determine a suitable form $Y (t)$ if the method of undetermined coefficient is to be used.
So I understand that I'm supposed to come up with a "guess" for $Y(t)$ which contains an undetermined coefficient. For instance, if it were simply $y''−5y'+6y=e^t,$ I would begin with $Y(t)=Ae^t.$ Then I would take the derivative of $Y(t)$ twice and plug that back in to the original DE.
I also realize that when $\cos/\sin$ are involved, you need to include both (like if it were $y''−5y'+6y=\cos(2t),\; Y(t)$ would be $A\cos(2t)+B\sin(2t)$). But since they're already both in $g(t),$ I don't need to do that, right?
Right now my initial guess for $Y(t)$ is $Ae^t\cos(2t)+Be^{2t}(3t+4)\sin(t)$... Is this correct?
try $$y_P=Ae^{t}\left(B\cos(2t)+C\sin(2t)+((Dt+E)\cos(t)+(Ft+G)\sin(t))e^t\right)$$