If you use trig identities on your answer
and simplify you end up with
.
The first term can be absorbed into the complimentary solution leaving the particular solution as you mentioned.
Use the method of variation of parameters to find a particular solution of the given differential equation.
My attempt:
----------------------------------------------------------------------------------------------------------------
However, the answer given in the book is
Where have I gone wrong?