# Thread: Solve y'' +2y' + 5y = cos(2t).

1. ## Solve y'' +2y' + 5y = cos(2t).

Solve y'' +2y' + 5y = cos(2t).

I found the Yc = e^-t(A cos(2t) + Bsin(2t)).

I am finding trouble in working out the particluar integral. This is what i have done so far:

Yp= t(Acos(2t) + Bsin(2t))
Y'p= t(-2Asin(2t) + 2Bcos(2t))+ Acos(2t) + Bsin(2t)
Y''p = t(-4Acos(2t) - 4Bsin(2t) + 2(-2Asin(2t) + 2Bcos(2t))

Sub this back into equation:
y'' +2y' + 5y=
t(-4Acos(2t) - 4Bsin(2t) + 2(-2Asin(2t) + 2Bcos(2t)) + 2(t(-2Asin(2t) + 2Bcos(2t))+ Acos(2t) + Bsin(2t)) + 5(t(Acos(2t) + Bsin(2t)).

Now, I dont know how this should be simplified because of the 't' function and how I can equate this to find out A and B.

Thanks

2. If I remember correctly you've chosen the wrong particular solution.
Try $\displaystyle y_p=(At+B)(Ccos(2t)+Dsin(2t))$

3. I am not sure whether that would be right because I was taught that as there is a cos (bt) and sin (bt) in the complimentary function the particular integral becomes Atcos(2t) + Btsin(2t)

4. You do not need the t multiplier, because the particular solution does not show up additively in the complimentary solution. The complimentary solution has that exponential multiplying everything. That means the differential operator represented by the LHS is not going to annihilate the RHS. Just pick $\displaystyle y_{p}(t)=A \cos(2t)+B\sin(2t).$

### y''-2y' 5y=cos(2t)e^t

Click on a term to search for related topics.